Creation/Dev/Script/Client/GuiMenuCtrl

From Graal Bible
Revision as of 15:25, 25 February 2006 by Stefan (talk | contribs) (→‎Variables)

Inherits GuiControl.


Variables

iconheight - integer (read only)

iconwidth - integer (read only)

menus[] - array of GuiContextMenuCtrl

Functions

addmenu(str) - returns object

clearmenus()

findmenu(str) - returns object

removemenu(str)

seticonsize(int, int)


Events

onSelect(menuname,entryid,entrytext,entryindex) - an entry of a submenu has been selected

onCancel() - a submenu has been collapsed without selecting an entry

onIconResized(newwidth,newheight) - the icons size has been modified (via setIconSize())