$menubar » History » Revision 6
« Previous |
Revision 6/12
(diff)
| Next »
Per Amundsen, 07/06/2018 11:55 PM
Added in 1.9.3
$menubar
Returns $true if Menubar is visible, otherwise $false.
Added in 1.9.7
$menubar(name|N)
Returns the Menubar item matching name or the Nth item.
Parameters
name|N - Item name or the Nth item.
Properties
.name - Item name.
.type - Returns the item type, 'separator' or 'menu'.
.text - Item text.
.icon - $true if the item is a icon, otherwise $false.
.visible - $true if the item is visible, otherwise $false.
.custom - $true if the item is custom, otherwise $false.
.popup - The @popup name if any.
Example
; Print number of menu items. //echo -ag $menubar(0) ; Print the first menu item name. //echo -ag $menubar(1)
Updated by Per Amundsen over 6 years ago · 6 revisions