Definition at line 141 of file TGListTree.h.
Public Member Functions | |
TGListTreeItemStd (TGClient *fClient=gClient, const char *name=0, const TGPicture *opened=0, const TGPicture *closed=0, Bool_t checkbox=kFALSE) | |
Create list tree item. More... | |
virtual | ~TGListTreeItemStd () |
Delete list tree item. More... | |
virtual void | CheckAllChildren (Bool_t state=kTRUE) |
Set all child items of this one checked if state=kTRUE, unchecked if state=kFALSE. More... | |
virtual void | CheckChildren (TGListTreeItem *item, Bool_t state) |
Set all child items of 'item' checked if state=kTRUE; unchecked if state=kFALSE. More... | |
virtual void | CheckItem (Bool_t checked=kTRUE) |
virtual void | ClearColor () |
virtual Pixel_t | GetActiveColor () const |
Return color for marking items that are active or selected. More... | |
virtual const TGPicture * | GetCheckBoxPicture () const |
virtual Color_t | GetColor () const |
virtual const TGPicture * | GetPicture () const |
virtual const char * | GetText () const |
virtual Int_t | GetTextLength () const |
virtual const char * | GetTipText () const |
virtual Int_t | GetTipTextLength () const |
virtual void * | GetUserData () const |
virtual Bool_t | HasCheckBox () const |
virtual Bool_t | HasCheckedChild (Bool_t first=kFALSE) |
Add all child items of 'item' into the list 'checked'. More... | |
virtual Bool_t | HasColor () const |
virtual Bool_t | HasUnCheckedChild (Bool_t first=kFALSE) |
Add all child items of 'item' into the list 'checked'. More... | |
virtual Bool_t | IsActive () const |
virtual Bool_t | IsChecked () const |
virtual void | SavePrimitive (std::ostream &out, Option_t *option, Int_t n) |
Save a list tree item attributes as a C++ statements on output stream. More... | |
virtual void | SetActive (Bool_t a) |
virtual void | SetCheckBox (Bool_t on=kTRUE) |
Set a check box on the tree node. More... | |
virtual void | SetCheckBoxPictures (const TGPicture *checked, const TGPicture *unchecked) |
Change list tree check item icons. More... | |
virtual void | SetColor (Color_t color) |
virtual void | SetPictures (const TGPicture *opened, const TGPicture *closed) |
Change list tree item icons. More... | |
virtual void | SetText (const char *text) |
virtual void | SetTipText (const char *tip) |
virtual void | SetUserData (void *userData, Bool_t own=kFALSE) |
virtual void | Toggle () |
virtual void | UpdateState () |
Update the state of the node 'item' according to the children states. More... | |
![]() | |
TGListTreeItem (TGClient *client=gClient) | |
Constructor. More... | |
virtual | ~TGListTreeItem () |
virtual void | CheckAllChildren (Bool_t=kTRUE) |
virtual void | CheckChildren (TGListTreeItem *, Bool_t) |
virtual void | CheckItem (Bool_t=kTRUE)=0 |
virtual void | ClearColor () |
virtual Pixel_t | GetActiveColor () const =0 |
virtual const TGPicture * | GetCheckBoxPicture () const =0 |
virtual Color_t | GetColor () const =0 |
TGListTreeItem * | GetFirstChild () const |
TGListTreeItem * | GetLastChild () const |
TGListTreeItem * | GetNextSibling () const |
TGListTreeItem * | GetParent () const |
virtual const TGPicture * | GetPicture () const =0 |
virtual UInt_t | GetPicWidth () const |
Return width of item's icon. More... | |
TGListTreeItem * | GetPrevSibling () const |
virtual const char * | GetText () const =0 |
virtual Int_t | GetTextLength () const =0 |
virtual const char * | GetTipText () const =0 |
virtual Int_t | GetTipTextLength () const =0 |
virtual void * | GetUserData () const =0 |
virtual void | HandleDrag () |
virtual void | HandleDrop () |
virtual Bool_t | HandlesDragAndDrop () const |
virtual Bool_t | HasCheckBox () const =0 |
virtual Bool_t | HasCheckedChild (Bool_t=kFALSE) |
virtual Bool_t | HasColor () const =0 |
virtual Bool_t | HasUnCheckedChild (Bool_t=kFALSE) |
virtual Bool_t | IsActive () const =0 |
virtual Bool_t | IsChecked () const =0 |
Bool_t | IsDNDSource () const |
Bool_t | IsDNDTarget () const |
virtual Bool_t | IsOpen () const |
void | Rename (const char *new_name) |
virtual void | SavePrimitive (std::ostream &, Option_t *, Int_t) |
virtual void | SetActive (Bool_t) |
virtual void | SetCheckBox (Bool_t=kTRUE) |
virtual void | SetCheckBoxPictures (const TGPicture *, const TGPicture *) |
virtual void | SetColor (Color_t) |
void | SetDNDSource (Bool_t onoff) |
void | SetDNDTarget (Bool_t onoff) |
virtual void | SetOpen (Bool_t o) |
virtual void | SetPictures (const TGPicture *, const TGPicture *) |
virtual void | SetText (const char *) |
virtual void | SetTipText (const char *) |
virtual void | SetUserData (void *, Bool_t=kFALSE) |
virtual void | Toggle () |
virtual void | UpdateState () |
Private Member Functions | |
TGListTreeItemStd (const TGListTreeItemStd &) | |
TGListTreeItemStd & | operator= (const TGListTreeItemStd &) |
Private Attributes | |
Bool_t | fActive |
Bool_t | fCheckBox |
Bool_t | fChecked |
const TGPicture * | fCheckedPic |
const TGPicture * | fClosedPic |
Color_t | fColor |
Bool_t | fHasColor |
const TGPicture * | fOpenPic |
Bool_t | fOwnsData |
TString | fText |
TString | fTipText |
const TGPicture * | fUncheckedPic |
void * | fUserData |
Additional Inherited Members | |
![]() | |
TGClient * | fClient |
Int_t | fDNDState |
TGListTreeItem * | fFirstchild |
UInt_t | fHeight |
TGListTreeItem * | fLastchild |
TGListTreeItem * | fNextsibling |
Bool_t | fOpen |
TGListTreeItem * | fParent |
TGListTreeItem * | fPrevsibling |
Int_t | fXtext |
Int_t | fY |
Int_t | fYtext |
#include <TGListTree.h>
|
private |
TGListTreeItemStd::TGListTreeItemStd | ( | TGClient * | fClient = gClient , |
const char * | name = 0 , |
||
const TGPicture * | opened = 0 , |
||
const TGPicture * | closed = 0 , |
||
Bool_t | checkbox = kFALSE |
||
) |
Create list tree item.
Definition at line 114 of file TGListTree.cxx.
|
virtual |
Delete list tree item.
Definition at line 153 of file TGListTree.cxx.
Set all child items of this one checked if state=kTRUE, unchecked if state=kFALSE.
Reimplemented from TGListTreeItem.
Definition at line 239 of file TGListTree.cxx.
|
virtual |
Set all child items of 'item' checked if state=kTRUE; unchecked if state=kFALSE.
Reimplemented from TGListTreeItem.
Definition at line 256 of file TGListTree.cxx.
Implements TGListTreeItem.
Definition at line 189 of file TGListTree.h.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 202 of file TGListTree.h.
|
virtual |
Return color for marking items that are active or selected.
Implements TGListTreeItem.
Definition at line 168 of file TGListTree.cxx.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 183 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 200 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 182 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 172 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 173 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 174 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 175 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 180 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 188 of file TGListTree.h.
Add all child items of 'item' into the list 'checked'.
Reimplemented from TGListTreeItem.
Definition at line 176 of file TGListTree.cxx.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 199 of file TGListTree.h.
Add all child items of 'item' into the list 'checked'.
Reimplemented from TGListTreeItem.
Definition at line 199 of file TGListTree.cxx.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 169 of file TGListTree.h.
|
inlinevirtual |
Implements TGListTreeItem.
Definition at line 191 of file TGListTree.h.
|
private |
Save a list tree item attributes as a C++ statements on output stream.
Reimplemented from TGListTreeItem.
Definition at line 2685 of file TGListTree.cxx.
Reimplemented from TGListTreeItem.
Definition at line 170 of file TGListTree.h.
Set a check box on the tree node.
Reimplemented from TGListTreeItem.
Definition at line 279 of file TGListTree.cxx.
|
virtual |
Change list tree check item icons.
Reimplemented from TGListTreeItem.
Definition at line 287 of file TGListTree.cxx.
Reimplemented from TGListTreeItem.
Definition at line 201 of file TGListTree.h.
Change list tree item icons.
Reimplemented from TGListTreeItem.
Definition at line 312 of file TGListTree.cxx.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 176 of file TGListTree.h.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 177 of file TGListTree.h.
Reimplemented from TGListTreeItem.
Definition at line 179 of file TGListTree.h.
|
inlinevirtual |
Reimplemented from TGListTreeItem.
Definition at line 190 of file TGListTree.h.
|
virtual |
Update the state of the node 'item' according to the children states.
Reimplemented from TGListTreeItem.
Definition at line 222 of file TGListTree.cxx.
|
private |
Definition at line 144 of file TGListTree.h.
|
private |
Definition at line 145 of file TGListTree.h.
|
private |
Definition at line 146 of file TGListTree.h.
|
private |
Definition at line 152 of file TGListTree.h.
|
private |
Definition at line 151 of file TGListTree.h.
|
private |
Definition at line 157 of file TGListTree.h.
|
private |
Definition at line 156 of file TGListTree.h.
|
private |
Definition at line 150 of file TGListTree.h.
|
private |
Definition at line 147 of file TGListTree.h.
|
private |
Definition at line 148 of file TGListTree.h.
|
private |
Definition at line 149 of file TGListTree.h.
|
private |
Definition at line 153 of file TGListTree.h.
|
private |
Definition at line 154 of file TGListTree.h.