GUIWindow.AddChild

From Liberty Unleashed Wiki
Jump to: navigation, search
Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

This member function attaches another GUI element to the window as a child. Allowed element types are all the other GUI elements.

Note: Currently adding a GUISprite to a window causes a crash. You need to use a separate layer for the sprite to fix this.

Syntax

  1. bool GUIWindow.AddChild( GUIElement child )

Arguments

  • child - The GUI element you wish to add to this window

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation here.

  1.  
  2. -- todo
  3.  

Notes

Used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox