TorqueScript Reference
Public Member Functions | List of all members
GuiChainCtrl Class Reference

#include <guiChainCtrl_ScriptBinding.h>

Inherits GuiControl.

Public Member Functions

Integer getChildSpacing ()
 
Boolean getIsVertical ()
 
void setChildSpacing (int spacing)
 
- Public Member Functions inherited from GuiControl
void addGuiControl (int controlId)
 
Integer findHitControl (int x, int y)
 
String getCenter ()
 
String getExtent (...)
 
String getGlobalCenter ()
 
String getGlobalPosition ()
 
String getMinExtent ()
 
Integer getParent ()
 
String getPosition ()
 
String getText ()
 
Boolean getTextExtend ()
 
Boolean getTextWrap ()
 
String getValue ()
 
Boolean isActive ()
 
Boolean isAwake ()
 
Boolean isVisible ()
 
void makeFirstResponder (isFirst)
 
void performClick ()
 
Boolean pointInControl (int x, int y)
 
void reorderChild (child1, child2)
 
void resize (int x, int y, int w, int h)
 
void setActive (isActive)
 
void setCanSave (bool canSave)
 
void setCenter (int x, int y)
 
void setExtent (int width, int height)
 
void setFirstResponder ()
 
void setPosition (int x, int y)
 
void setPositionGlobal (int x, int y)
 
void setProfile (GuiControlProfile p)
 
void setText (text)
 
void setTextExtend (setting)
 
void setTextID (id)
 
void setTextWrap (setting)
 
void setValue (value)
 
void setVisible (isVisible)
 

Member Function Documentation

◆ getChildSpacing()

Integer getChildSpacing ( )

Gets the spacing that will be between each child control.

Returns
(int spacing) The spacing between each child.

◆ getIsVertical()

Boolean getIsVertical ( )

Returns true if the chain of children are arranged vertically, false if they are arranged horizontally.

Returns
The direction of the chain.

◆ setChildSpacing()

void setChildSpacing ( int  spacing)

Sets the spacing used between each child control. Note that if child controls use margin, there will appear to be additional spacing.

Parameters
spacingThe spacing to be used.
Returns
No return value.