Skip to content

Commit ad88ff8

Browse files
committed
Allow updating of tooltip
1 parent 1e2ea16 commit ad88ff8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/MenuBar/MenuBarManager.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ public function label(string $label)
3131
]);
3232
}
3333

34+
public function tooltip(string $tooltip)
35+
{
36+
$this->client->post('menu-bar/tooltip', [
37+
'tooltip' => $tooltip,
38+
]);
39+
}
40+
3441
public function contextMenu(Menu $contextMenu)
3542
{
3643
$this->client->post('menu-bar/context-menu', [

0 commit comments

Comments
 (0)