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

From Graal Bible
No edit summary
No edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Scripting Reference]]
Inherits [[Creation/Dev/Script/Client/TGraalVar|TGraalVar]].
Inherits [[Creation/Dev/Script/Client/TGraalVar|TGraalVar]].


Line 9: Line 10:


expandedselectedimage - integer
expandedselectedimage - integer
icon - [[Creation/Dev/Script/Client/TDrawingPanel|TDrawingPanel]]


image - integer
image - integer
Line 31: Line 34:


y - integer (read only)
y - integer (read only)


=Functions=
=Functions=


addlines(obj, bool)
{| border="1" cellpadding="2" width="100%"
 
| '''Name'''
addnode(str) - returns object
| '''Return Type'''
 
| '''Description'''
addnodebypath(str, str) - returns object
|-
 
| addlines(obj, bool)
addvars(obj, bool)
|
 
|
clearnodes()
|-
 
| addnode(str)
destroy()
| object
 
|
getfullname(str) - returns string
|-
 
| addnodebypath(str, str)
getnode(str) - returns object
| object
 
|
getnodebypath(str, str) - returns object
|-
 
| addvars(obj, bool)
select()
|
|
|-
| clearnodes()
|
|
|-
| destroy()
|
|
|-
| getfullname(str)
| string
| specify the separator character as parameter
|-
| getnode(str)
| object
|
|-
| getnodebypath(str, str)
| object
| parameters are the node name and delimiter (separator character, such as "/")
|-
| select()
|
|
|}

Latest revision as of 23:57, 15 February 2010

Inherits TGraalVar.


Variables

expanded - boolean

expandedimage - integer

expandedselectedimage - integer

icon - TDrawingPanel

image - integer

level - integer (read only)

name - string

nodes[] - array of GuiTreeViewNode

parent - object (read only)

selectedimage - integer

sortgroup - integer

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 specify the separator character as parameter
getnode(str) object
getnodebypath(str, str) object parameters are the node name and delimiter (separator character, such as "/")
select()