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).
TGListTreeItemStd(const TGListTreeItemStd&) | |
TGListTreeItemStd& | operator=(const TGListTreeItemStd&) |
TGClient* | TGListTreeItem::fClient | pointer to TGClient |
Int_t | TGListTreeItem::fDNDState | EDNDFlags |
TGListTreeItem* | TGListTreeItem::fFirstchild | pointer to first child item |
UInt_t | TGListTreeItem::fHeight | item height |
TGListTreeItem* | TGListTreeItem::fLastchild | pointer to last child item |
TGListTreeItem* | TGListTreeItem::fNextsibling | pointer to next sibling |
Bool_t | TGListTreeItem::fOpen | true if item is open |
TGListTreeItem* | TGListTreeItem::fParent | pointer to parent |
TGListTreeItem* | TGListTreeItem::fPrevsibling | pointer to previous sibling |
Int_t | TGListTreeItem::fXtext | x position of item text |
Int_t | TGListTreeItem::fY | y position of item |
Int_t | TGListTreeItem::fYtext | y position of item text |
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 |
const TGPicture* | fClosedPic | icon for closed state |
Color_t | fColor | item's color |
Bool_t | fHasColor | true if item has assigned color |
const TGPicture* | fOpenPic | icon for open state |
Bool_t | fOwnsData | true if user data has to be deleted |
TString | fText | item text |
TString | fTipText | tooltip text |
const TGPicture* | fUncheckedPic | icon for unchecked item |
void* | fUserData | pointer to user data structure |
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.