Project

General

Profile

Actions

$menubar » History » Revision 3

« Previous | Revision 3/10 (diff) | Next »
Per Amundsen, 08/27/2015 07: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 menu item.

Parameters

name|N - Menu item name or the Nth menu item.

Properties

.name - Menu item name.
.text - Menu item text.
.icon - $true if the menu item is a icon, otherwise $false.
.visible - $true if the menu item is visible, otherwise $false.
.custom - $true if the menu item is custom, otherwise $false.

Example

; Print number of menu items.
//echo -ag $menubar(0)

; Print the first menu item name.
//echo -ag $menubar(1)

Updated by Per Amundsen about 7 years ago · 3 revisions

Also available in: PDF HTML TXT