Description | Hierarchy | Fields | Methods | Properties |
type TGUITreeView = class(TGUIElement)
Default tree view GUI element.
Displays a windows like tree buttons to expand/collaps the child nodes of an node and optional tree lines. Each node consits of an text, an icon text and a void pointer for user data.
![]() |
function GetImageList: TGUIImageList; inline; |
![]() |
function GetRoot: TGUITreeViewNode; inline; |
![]() |
function GetSelected: TGUITreeViewNode; inline; |
![]() |
procedure SetIconFont(Font: TGUIFont); inline; |
![]() |
procedure SetImageList(ImageList: TGUIImageList); inline; |
![]() |
property ImageLeftOfIcon: Boolean read GetImageLeftOfIcon write SetImageLeftOfIcon; |
![]() |
property LinesVisible: Boolean read GetLinesVisible write SetLinesVisible; |
![]() |
function GetImageList: TGUIImageList; inline; |
Returns the image list which is used for the nodes. |
![]() |
function GetRoot: TGUITreeViewNode; inline; |
Returns the invisble root node from the tree. |
![]() |
function GetSelected: TGUITreeViewNode; inline; |
Fetches the selected node. ReturnsThe node or nil if none is selected. |
![]() |
procedure SetIconFont(Font: TGUIFont); inline; |
Sets the font which should be used as icon font. This font is set to the Irrlicht engine built-in-font by default. Icons can be displayed in front of every list item. An icon is a string, displayed with the icon font. When using the build-in-font of the Irrlicht engine as icon font, the icon strings defined in the C++ GUIIcons.h can be used. |
![]() |
procedure SetImageList(ImageList: TGUIImageList); inline; |
Sets the image list which should be used for the image and selected image of every node. Parameters
|
![]() |
property ImageLeftOfIcon: Boolean read GetImageLeftOfIcon write SetImageLeftOfIcon; |
Specifies whether the image is displayed left of the icon. |
![]() |
property LinesVisible: Boolean read GetLinesVisible write SetLinesVisible; |
Specifies whether the tree lines are visible. |