Creation/Dev/Script/Client/GuiTreeViewCtrl: Difference between revisions
From Graal Bible
m (another mistake... whoops) |
No edit summary |
||
| Line 1: | Line 1: | ||
Inherits [[Creation/Dev/Script/Client/GuiArrayCtrl|GuiArrayCtrl]]. | Inherits [[Creation/Dev/Script/Client/GuiArrayCtrl|GuiArrayCtrl]]. | ||
=Variables= | =Variables= | ||
{| border="1" cellpadding="2" width="100%" | {| border="1" cellpadding="2" width="100%" | ||
| '''Name''' | | '''Name''' | ||
| Line 91: | Line 93: | ||
| | | | ||
|} | |} | ||
=Functions= | =Functions= | ||
{| border="1" cellpadding="2" width="100%" | {| border="1" cellpadding="2" width="100%" | ||
| '''Name''' | | '''Name''' | ||
| Line 154: | Line 158: | ||
| | | | ||
|} | |} | ||
=Events= | |||
onExpand(node,nodeslashpath,nodedotpath) - a node has been expanded | |||
onFold(node,nodeslashpath,nodedotpath) - a node has been folded | |||
onSelect(node,nodeslashpath,nodedotpath) - a node has been selected | |||
onDblClick(node,nodeslashpath,nodedotpath) - is invoked when the mouse is double-clicked while being over a node | |||
onOpenMenu(node,nodeslashpath,nodedotpath) - is invoked when the right mouse button is clicked while the mouse is over a node | |||
onIconResized(newwidth,newheight) - the icon size has been modified (via setIconSize()) | |||
Revision as of 13:39, 25 February 2006
Inherits GuiArrayCtrl.
Variables
| Name | Type | Description |
| clipcolumntext | boolean | |
| columns | string | Of format "0 16", offset of the tabulators |
| expanded | boolean | |
| expandedimage | integer | |
| expandedselectedimage | integer | |
| expandondoubleclick | boolean | |
| fitparentwidth | boolean | |
| groupsortorder | string | |
| image | integer | |
| level | integer (read only) | |
| name | string | |
| nodes | object (read only) | |
| parent | object (read only) | |
| selectedimage | integer | |
| sortgroup | integer | |
| sortmode | string | |
| sortorder | string | |
| sortvalue | integer | |
| visible | boolean | |
| x | integer (read only) | |
| y | integer (read only) |
Functions
| Name | Return Type | Description |
| addlines(obj, bool) | ||
| addnode(str) | object | |
| addnodebypath(str, str) | object | |
| addvars(obj, bool) | ||
| clearnodes() | ||
| destroy() | ||
| getfullname(str) | string | |
| getnode(str) | object | |
| getnodeat(int, int) | object | |
| getnodebypath(str, str) | object | |
| getselectednode() | object | |
| select() | ||
| seticonsize(int, int) | ||
| sort() |
Events
onExpand(node,nodeslashpath,nodedotpath) - a node has been expanded
onFold(node,nodeslashpath,nodedotpath) - a node has been folded
onSelect(node,nodeslashpath,nodedotpath) - a node has been selected
onDblClick(node,nodeslashpath,nodedotpath) - is invoked when the mouse is double-clicked while being over a node
onOpenMenu(node,nodeslashpath,nodedotpath) - is invoked when the right mouse button is clicked while the mouse is over a node
onIconResized(newwidth,newheight) - the icon size has been modified (via setIconSize())