 a list tree widget.
Create a list tree widget.
Returns height of currently used font.
Returns ascent of currently used font.
Highlight tree item.
Higlight item children.
Unselect all items.
Handle button events in the list tree.
Handle mouse crossing event.
Handle dragging position events.
Handle drag enter events.
Handle drag leave events.
Handle drop events.
Emit DataDropped() signal.
The key press event handler converts a key press to some line editor action.
Signal emitted when pointer is over entry.
Signal emitted when pointer is over entry.
Signal emitted when keyboard key pressed entry - selected item);
Emit ReturnPressed() signal.
Emit DoubleClicked() signal.
Emit DoubleClicked() signal.
Redraw list tree.
Set tool tip text associated with this item. The delay is in milliseconds (minimum 250). To remove tool tip call method with delayms = 0. To change delayms you first have to call this method with delayms=0.
This function removes the specified item from the linked list. It does not do anything with the data contained in the item, though.
Insert child in list.
Insert a list of ALREADY LINKED children into another list
Find item at postion findy.
Add given item to list tree.
Add item to list tree. Returns new item.
Add item to list tree. If item with same userData already exists don't add it. Returns new item.
Rename item in list tree.
Open item in list tree (i.e. show child items).
Close item in list tree (i.e. hide child items).
Make newparent the new parent of item.
Make newparent the new parent of the children of item.
Find sibling of item by name.
Find sibling of item by userData.
Find child of item by name.
Find child of item by userData.
Find item by pathname. Pathname is in the form of /xx/yy/zz. If zz in path /xx/yy is found it returns item, 0 otherwise.
Highlight item.
Un highlight items.
Get pathname from item. Use depth to limit path name to last depth levels. By default depth is not limited.
Return gray draw color in use.
Return default font structure in use.
Return graphics context for highlighted frame background.
Return graphics context for highlighted frame background.
Returns the icon used by items in open state.
Returns the icon used by items in closed state.
Returns the icon used for checked checkbox.
Returns the icon used for unchecked checkbox.
Save a list tree widget as a C++ statements on output stream out.
Save child items as a C++ statements on output stream out.
Set check button state for the node 'item'.
Set check button state for the node 'item'.
Toggle check button state of the node 'item'.
Update the state of the node 'item' according to the children states.
Add all checked list tree items of this list tree into the list 'checked'. This list is not adopted and must be deleted by the user later.
Add all child items of 'item' into the list 'checked'.
{ }
{ }
{ }
{ }
{ }
{ }
{ }
{ return TGDimension(fDefw, fDefh); }
{ fAutoCheckBoxPic = on; }
{ fDisableOpen = disable;}
{ return fBelowMouse; }
{ return (fSelected ? DeleteItem(fSelected) : 0); }
{ if (fSelected) RenameItem(fSelected, string); }
User control
{ fUserControlled = ctrl; }
{ return fUserControlled; }
{ fEventHandled = eh; }
{ return fEventHandled; }
{ return fColorMode; }
{ fColorMode = colorMode; }
{ return fCheckMode; }
{ fCheckMode = mode; }