HPL3/Amnesia: Rebirth/Scripting/cWidgetTreeItem
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
cWidgetTreeItem has no public fields.
Functions
Return Type | Function And Description |
---|---|
cWidgetTreeItem | AddChild(const tWString &in asText) |
cWidgetTreeItem | GetChild(int alIdx) |
int | GetNumChildren() |
cWidgetTreeItem | GetParent() |
cWidgetTreeItem | GetRoot() |
tWString | GetText() |
int | GetUserValue() |
bool | HasChildren() |
bool | IsExpanded() |
bool | IsSelectable() |
bool | IsSelected() |
void | SetExpanded(bool abX) |
void | SetSelectable(bool abX) |
void | SetSelected(bool abX) |
void | SetText(const tWString &in asText) |
void | SetUserValue(int alValue) |
Details
AddChild
cWidgetTreeItem@ AddChild(const tWString &in asText)
Parameters
- asText (tWString) —
Returns:
- cWidgetTreeItem@—
GetChild
cWidgetTreeItem@ GetChild(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cWidgetTreeItem@—
GetNumChildren
int GetNumChildren()
Returns:
- int—
GetParent
cWidgetTreeItem@ GetParent()
Returns:
- cWidgetTreeItem@—
GetRoot
cWidgetTreeItem@ GetRoot()
Returns:
- cWidgetTreeItem@—
GetText
const tWString& GetText()
Returns:
- const tWString&—
GetUserValue
int GetUserValue()
Returns:
- int—
HasChildren
bool HasChildren()
Returns:
- bool—
IsExpanded
bool IsExpanded()
Returns:
- bool—
IsSelectable
bool IsSelectable()
Returns:
- bool—
IsSelected
bool IsSelected()
Returns:
- bool—
SetExpanded
void SetExpanded(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSelectable
void SetSelectable(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetSelected
void SetSelected(bool abX)
Parameters
- abX (bool) —
Returns:
- void
SetText
SetUserValue
void SetUserValue(int alValue)
Parameters
- alValue (int) —
Returns:
- void