LavishGUI:lguitree (Data Type)

From Lavish Software Wiki
Revision as of 17:58, 30 May 2010 by Moagar (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Description

Object Type Vitals
lguitree
Defined By LavishGUI
Inherits lguiframe
Reduces To same as lguielement.Name
Variable Object Type none
Uses Sub-Types no
C/C++ Type LGUITree*

Members

Methods

none

Examples

   <Tree Name="my tree">
   </Height>100</Height>
   <Width>200</Width>
   <Border>1</Border>
   <BorderColor>FFFFFFFF</BorderColor>
   <BackgroundColor>FF000000</BackgroundColor>
   <SelectionBackgroundColor>FF000066</SelectionBackgroundColor>
   <SelectionTextColor>FFFFFFFF</SelectionTextColor>
   <ImageSize>12</ImageSize>
   <ItemHeight>14</ItemHeight>
   <ImageBorder>2</ImageBorder>
   <TextMargin>5</TextMargin>
   <IndentPerDepth>21</IndentPerDepth>
   <ScrollBar template='tree.scrollbar' />
   
   <ImageTexture template='checkbox.Texture' />
   <ImageTextureCollapsible template='checkbox.TextureChecked' />
   <ImageTextureCollapsed template='checkbox.TextureHover' />
   <OnLoad><![CDATA[
   variable int MyParent
   MyParent:Set[${This.Root.AddChild["Something in red",ffff0000]}]
   This.GetNode[${MyParent}]:SetMetadata["author","lax"]:AddChild["Something in the color specified by Font"]
   This.GetNode[${MyParent}].Children:Select
   This.Root:AddChild["Something else"]
   ]]></OnLoad>
   </Tree>


See Also