TGListTreeItem
class description - source file - inheritance tree
public:
TGListTreeItem TGListTreeItem(TGClient* fClient, char* name, TGPicture* opened, TGPicture* closed)
TGListTreeItem TGListTreeItem(TGListTreeItem&)
virtual void ~TGListTreeItem()
TClass* Class()
TGListTreeItem* GetFirstChild()
TGListTreeItem* GetNextSibling()
TGListTreeItem* GetParent()
TGListTreeItem* GetPrevSibling()
const char* GetText()
void* GetUserData()
virtual TClass* IsA()
Bool_t IsActive()
Bool_t IsOpen()
void Rename(char* new_name)
void SetPictures(TGPicture* opened, TGPicture* closed)
void SetUserData(void* userData)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
TGClient* fClient pointer to TGClient
TGListTreeItem* fParent pointer to parent
TGListTreeItem* fFirstchild pointer to first child item
TGListTreeItem* fPrevsibling pointer to previous sibling
TGListTreeItem* fNextsibling pointer to next sibling
Bool_t fOpen true if item is open
Bool_t fActive true if item is active
char* fText item text
Int_t fLength length of item text
Int_t fY y position of item
Int_t fXtext x position of item text
Int_t fYtext y position of item text
UInt_t fHeight item height
UInt_t fPicWidth width of item icon
static const TGPicture* fOpenPic icon for open state
static const TGPicture* fClosedPic icon for closed state
void* fUserData pointer to user data structure
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(TGClient *client, const char *name,
const TGPicture *opened,
const TGPicture *closed)
Create list tree item.
~TGListTreeItem()
Delete list tree item.
void Rename(const char *new_name)
Rename a list tree item.
void SetPictures(const TGPicture* opened, const TGPicture* closed)
Change list tree item icons.
Inline Functions
TGListTreeItem* GetParent()
TGListTreeItem* GetFirstChild()
TGListTreeItem* GetPrevSibling()
TGListTreeItem* GetNextSibling()
Bool_t IsActive()
Bool_t IsOpen()
const char* GetText()
void SetUserData(void* userData)
void* GetUserData()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TGListTreeItem TGListTreeItem(TGListTreeItem&)
Author: Fons Rademakers 25/02/98
Last update: 2.22/05 10/06/99 19.26.10 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.