Creation/Dev/Script/Client/GuiMenuCtrl: Difference between revisions

From Graal Bible
mNo edit summary
 
No edit summary
Line 1: Line 1:
<pre>
Inherits [[Creation/Dev/Script/Client/GuiControl|GuiControl]].
    GuiMenuCtrl (GuiControl):
 
      iconheight - integer (read only)
 
      iconwidth - integer (read only)
=Variables=
      addmenu(str) - returns object
 
      clearmenus()
iconheight - integer (read only)
      findmenu(str) - returns object
 
      removemenu(str)
iconwidth - integer (read only)
      seticonsize(int, int)
 
</pre>
 
=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())

Revision as of 15:02, 25 February 2006

Inherits GuiControl.


Variables

iconheight - integer (read only)

iconwidth - integer (read only)


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())