TGListTree and TGListTreeItem A list tree is a widget that can contain a number of items arranged in a tree structure. The items are represented by small folder icons that can be either open or closed. The TGListTree is user callable. The TGListTreeItem is a service class of the list tree. A list tree can generate the following events: kC_LISTTREE, kCT_ITEMCLICK, which button, location (y<<16|x). kC_LISTTREE, kCT_ITEMDBLCLICK, which button, location (y<<16|x).
TGListTreeItem(const TGListTreeItem&) | |
TGListTreeItem& | operator=(const TGListTreeItem&) |
Bool_t | fActive | true if item is active |
Bool_t | fCheckBox | true if checkbox is visible |
Bool_t | fChecked | true if item is checked |
const TGPicture* | fCheckedPic | icon for checked item |
TGClient* | fClient | pointer to TGClient |
const TGPicture* | fClosedPic | icon for closed state |
Color_t | fColor | item's color |
Int_t | fDNDState | EDNDFlags |
TGListTreeItem* | fFirstchild | pointer to first child item |
Bool_t | fHasColor | true if item has assigned color |
UInt_t | fHeight | item height |
TGListTreeItem* | fNextsibling | pointer to next sibling |
Bool_t | fOpen | true if item is open |
const TGPicture* | fOpenPic | icon for open state |
Bool_t | fOwnsData | true if user data has to be deleted |
TGListTreeItem* | fParent | pointer to parent |
UInt_t | fPicWidth | width of item icon |
TGListTreeItem* | fPrevsibling | pointer to previous sibling |
TString | fText | item text |
TString | fTipText | tooltip text |
const TGPicture* | fUncheckedPic | icon for unchecked item |
void* | fUserData | pointer to user data structure |
Int_t | fXtext | x position of item text |
Int_t | fY | y position of item |
Int_t | fYtext | y position of item text |
Create list tree item.
Add all child items of 'item' into the list 'checked'.
Add all child items of 'item' into the list 'checked'.
Change list tree check item icons.
Save a list tree item attributes as a C++ statements on output stream.