ROOT » GUI » GUI » TGListTree

class TGListTree: public TGContainer

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).

Function Members (Methods)

voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
virtual voidTGCompositeFrame::AddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
voidAddItem(const char* string)MENU
voidAddItem(TGListTreeItem* parent, TGListTreeItem* item)
TGListTreeItem*AddItem(TGListTreeItem* parent, const char* string, const TGPicture* open = 0, const TGPicture* closed = 0, Bool_t checkbox = kFALSE)
TGListTreeItem*AddItem(TGListTreeItem* parent, const char* string, void* userData, const TGPicture* open = 0, const TGPicture* closed = 0, Bool_t checkbox = kFALSE)
voidAddRoot(const char* string)MENU
virtual voidAdjustPosition()
voidAdjustPosition(TGListTreeItem* item)
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
virtual voidTGContainer::Associate(const TGWindow* w)
static Bool_tTQObject::BlockAllSignals(Bool_t b)
Bool_tTQObject::BlockSignals(Bool_t b)
virtual voidTObject::Browse(TBrowser* b)
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)SIGNAL
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
voidCheckAllChildren(TGListTreeItem* item, Bool_t state)
virtual voidChecked(TObject* obj, Bool_t check)SIGNAL
voidCheckItem(TGListTreeItem* item, Bool_t check = kTRUE)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual voidTGContainer::ClearViewPort()
virtual voidClicked(TGListTreeItem* entry, Int_t btn)SIGNAL
virtual voidClicked(TGListTreeItem* entry, Int_t btn, Int_t x, Int_t y)SIGNAL
virtual voidClicked(TGListTreeItem* entry, Int_t btn, UInt_t mask, Int_t x, Int_t y)SIGNAL
virtual TObject*TObject::Clone(const char* newname = "") const
voidCloseItem(TGListTreeItem* item)
voidTQObject::CollectClassSignalLists(TList& list, TClass* cls)
virtual Int_tTObject::Compare(const TObject* obj) const
Bool_tTQObject::Connect(const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(TQObject* sender, const char* signal, const char* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::Connect(const char* sender_class, const char* signal, const char* receiver_class, void* receiver, const char* slot)
virtual voidTQObject::Connected(const char*)
Bool_tTGFrame::Contains(Int_t x, Int_t y) const
virtual voidTObject::Copy(TObject& object) const
virtual voidDataDropped(TGListTreeItem* item, TDNDData* data)SIGNAL
virtual voidTGFrame::Delete(Option_t* = "")
Int_tDeleteChildren(TGListTreeItem* item)
Int_tDeleteItem(TGListTreeItem* item)
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()SIGNAL
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
voidDisableOpen(Bool_t disable = kTRUE)
Bool_tTQObject::Disconnect(const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(TQObject* sender, const char* signal = 0, void* receiver = 0, const char* slot = 0)
static Bool_tTQObject::Disconnect(const char* class_name, const char* signal, void* receiver = 0, const char* slot = 0)
virtual voidTQObject::Disconnected(const char*)
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidDoubleClicked(TGListTreeItem* entry, Int_t btn)SIGNAL
virtual voidDoubleClicked(TGListTreeItem* entry, Int_t btn, Int_t x, Int_t y)SIGNAL
virtual voidDrawActive(Handle_t id, TGListTreeItem* item)
virtual voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidDrawOutline(Handle_t id, TGListTreeItem* item, Pixel_t col = 12303291, Bool_t clear = kFALSE)
virtual voidDrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
virtual voidTGFrame::Dump() const
voidTQObject::Emit(const char* signal)
voidTQObject::Emit(const char* signal, Long_t* paramArr)
voidTQObject::Emit(const char* signal, const char* params)
voidTQObject::Emit(const char* signal, Double_t param)
voidTQObject::Emit(const char* signal, Long_t param)
voidTQObject::Emit(const char* signal, Long64_t param)
voidTQObject::Emit(const char* signal, Bool_t param)
voidTQObject::Emit(const char* signal, Char_t param)
voidTQObject::Emit(const char* signal, UChar_t param)
voidTQObject::Emit(const char* signal, Short_t param)
voidTQObject::Emit(const char* signal, UShort_t param)
voidTQObject::Emit(const char* signal, Int_t param)
voidTQObject::Emit(const char* signal, UInt_t param)
voidTQObject::Emit(const char* signal, ULong_t param)
voidTQObject::Emit(const char* signal, ULong64_t param)
voidTQObject::Emit(const char* signal, Float_t param)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
voidTQObject::EmitVA<>(const char* signal_name, Int_t)
virtual voidEnd(Bool_t select = kFALSE)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
TGListTreeItem*FindChildByData(TGListTreeItem* item, void* userData)
TGListTreeItem*FindChildByName(TGListTreeItem* item, const char* name)
virtual TGFrameElement*TGContainer::FindFrame(Int_t x, Int_t y, Bool_t exclude = kTRUE)
virtual TGFrame*TGContainer::FindFrameByName(const char* name)
virtual TGFrameElement*TGCompositeFrame::FindFrameElement(TGFrame* f) const
TGListTreeItem*FindItemByObj(TGListTreeItem* item, void* ptr)
TGListTreeItem*FindItemByPathname(const char* path)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TGListTreeItem*FindSiblingByData(TGListTreeItem* item, void* userData)
TGListTreeItem*FindSiblingByName(TGListTreeItem* item, const char* name)
virtual Pixel_tTGFrame::GetBackground() const
static const TGGC&TGFrame::GetBckgndGC()
TGListTreeItem*GetBelowMouse() const
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
TGCanvas*TGContainer::GetCanvas() const
voidGetChecked(TList* checked)
voidGetCheckedChildren(TList* checked, TGListTreeItem* item)
static const TGPicture*GetCheckedPic()
TGListTree::ECheckModeGetCheckMode() const
TGClient*TGObject::GetClient() const
static const TGPicture*GetClosedPic()
TGListTree::EColorMarkupModeGetColorMode() const
static Int_tTGWindow::GetCounter()
TGListTreeItem*GetCurrent() const
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGCompositeFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionGetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
virtual TDNDData*GetDNDData(Atom_t)
virtual Int_tTGFrame::GetDragType() const
virtual Option_t*TObject::GetDrawOption() const
virtual Int_tTGFrame::GetDropType() const
static Long_tTObject::GetDtorOnly()
virtual UInt_tTGWindow::GetEditDisabled() const
UInt_tTGFrame::GetEventMask() const
TGListTreeItem*GetFirstItem() const
virtual Pixel_tTGFrame::GetForeground() const
TGFrameElement*TGFrame::GetFrameElement() const
virtual TGFrame*TGCompositeFrame::GetFrameFromPoint(Int_t x, Int_t y)
UInt_tTGFrame::GetHeight() const
static const TGGC&TGFrame::GetHilightGC()
virtual TGHScrollBar*TGContainer::GetHScrollbar() const
virtual const char*TObject::GetIconName() const
Handle_tTGObject::GetId() const
virtual TGFrame*TGContainer::GetLastActive() const
virtual TGLayoutManager*TGCompositeFrame::GetLayoutManager() const
virtual TList*TGCompositeFrame::GetList() const
TList*TQObject::GetListOfClassSignals() const
TList*TQObject::GetListOfConnections() const
TList*TQObject::GetListOfSignals() const
virtual const TGWindow*TGWindow::GetMainFrame() const
UInt_tTGFrame::GetMaxHeight() const
UInt_tTGFrame::GetMaxWidth() const
const TGWindow*TGContainer::GetMessageWindow() const
UInt_tTGFrame::GetMinHeight() const
UInt_tTGFrame::GetMinWidth() const
virtual const char*TGWindow::GetName() const
virtual const TGFrame*TGContainer::GetNextSelected(void** current)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
const TGPicture*TGContainer::GetObjPicture(TGFrame* f)
static const TGPicture*GetOpenPic()
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
virtual TGDimensionTGContainer::GetPageDimension() const
virtual TGPositionTGContainer::GetPagePosition() const
const TGWindow*TGWindow::GetParent() const
voidGetPathnameFromItem(TGListTreeItem* item, char* path, Int_t depth = 0)
TGListTreeItem*GetSelected() const
static const TGGC&TGFrame::GetShadowGC()
TGDimensionTGFrame::GetSize() const
Int_tTGCompositeFrame::GetState(TGFrame* f) const
virtual const char*TObject::GetTitle() const
static const TGPicture*GetUncheckedPic()
virtual UInt_tTObject::GetUniqueID() const
virtual TGVScrollBar*TGContainer::GetVScrollbar() const
static const TGGC&TGFrame::GetWhiteGC()
static Pixel_tTGFrame::GetWhitePixel()
UInt_tTGFrame::GetWidth() const
Int_tTGFrame::GetX() const
Int_tTGFrame::GetY() const
virtual Bool_tHandleButton(Event_t* event)
virtual Bool_tTGFrame::HandleClientMessage(Event_t* event)
virtual Bool_tTGFrame::HandleColormapChange(Event_t*)
virtual Bool_tTGFrame::HandleConfigureNotify(Event_t* event)
virtual Bool_tHandleCrossing(Event_t* event)
virtual Bool_tHandleDNDDrop(TDNDData* data)
virtual Atom_tHandleDNDEnter(Atom_t* typelist)
virtual Bool_tTGContainer::HandleDNDFinished()
virtual Bool_tHandleDNDLeave()
virtual Atom_tHandleDNDPosition(Int_t x, Int_t y, Atom_t action, Int_t xroot, Int_t yroot)
virtual Bool_tHandleDoubleClick(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleDragDrop(TGFrame* frame, Int_t x, Int_t y, TGLayoutHints* lo)
virtual Bool_tTGCompositeFrame::HandleDragEnter(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragLeave(TGFrame*)
virtual Bool_tTGCompositeFrame::HandleDragMotion(TGFrame*)
virtual Bool_tTGFrame::HandleEvent(Event_t* event)
virtual Bool_tTGContainer::HandleExpose(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleFocusChange(Event_t*)
virtual Bool_tTGWindow::HandleIdleEvent(TGIdleHandler*)
virtual Bool_tHandleKey(Event_t* event)
virtual Bool_tHandleMotion(Event_t* event)
virtual Bool_tTGCompositeFrame::HandleSelection(Event_t*)
virtual Bool_tTGFrame::HandleSelectionClear(Event_t*)
virtual Bool_tTGFrame::HandleSelectionRequest(Event_t*)
virtual Bool_tTGWindow::HandleTimer(TTimer*)
virtual Bool_tTQObject::HasConnection(const char* signal_name) const
virtual ULong_tTGObject::Hash() const
Bool_tHasUserControl() const
virtual voidTGCompositeFrame::HideFrame(TGFrame* f)
voidHighlightChildren(TGListTreeItem* item, Bool_t state, Bool_t draw)
voidHighlightItem(TGListTreeItem* item)
voidHighlightItem(TGListTreeItem* item, Bool_t state, Bool_t draw)
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
virtual voidHome(Bool_t select = kFALSE)
virtual voidTGWindow::IconifyWindow()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTGFrame::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual voidTGContainer::InvertSelection()SIGNAL
virtual TClass*IsA() const
virtual Bool_tTGFrame::IsActive() const
Bool_tTGCompositeFrame::IsArranged(TGFrame* f) const
Bool_tTGCompositeFrame::IsArranged(TGFrameElement* ptr) const
virtual Bool_tTGCompositeFrame::IsComposite() const
Bool_tTGFrame::IsDNDSource() const
Bool_tTGFrame::IsDNDTarget() const
virtual Bool_tTGCompositeFrame::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) const
Bool_tIsEventHandled() const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTGCompositeFrame::IsLayoutBroken() const
virtual Bool_tTGWindow::IsMapped()
virtual Bool_tTGCompositeFrame::IsMapSubwindows() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTGCompositeFrame::IsVisible(TGFrame* f) const
Bool_tTGCompositeFrame::IsVisible(TGFrameElement* ptr) const
Bool_tTObject::IsZombie() const
virtual voidKeyPressed(TGListTreeItem* entry, UInt_t keysym, UInt_t mask)SIGNAL
virtual voidLineDown(Bool_t select = kFALSE)
virtual voidTGContainer::LineLeft(Bool_t select = kFALSE)
virtual voidTGContainer::LineRight(Bool_t select = kFALSE)
virtual voidLineUp(Bool_t select = kFALSE)
virtual voidTGWindow::LowerWindow()
virtual voidTQObject::LowPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTObject::ls(Option_t* option = "") const
virtual voidTGFrame::MapRaised()
virtual voidTGCompositeFrame::MapSubwindows()
virtual voidTGFrame::MapWindow()
voidTObject::MayNotUse(const char* method) const
virtual voidTQObject::Message(const char* msg)SIGNAL
virtual voidMouseOver(TGListTreeItem* entry)SIGNAL
virtual voidMouseOver(TGListTreeItem* entry, UInt_t mask)SIGNAL
virtual voidTGFrame::Move(Int_t x, Int_t y)
virtual voidTGFrame::MoveResize(Int_t x, Int_t y, UInt_t w = 0, UInt_t h = 0)
virtual Int_tTGCompositeFrame::MustCleanup() const
virtual Bool_tTObject::Notify()
virtual Int_tTQObject::NumberOfConnections() const
virtual Int_tTQObject::NumberOfSignals() const
virtual Int_tTGContainer::NumItems() const
virtual Int_tTGContainer::NumSelected() const
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
voidOpenItem(TGListTreeItem* item)
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidPageDown(Bool_t select = kFALSE)
virtual voidPageUp(Bool_t select = kFALSE)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTGCompositeFrame::Print(Option_t* option = "") const
virtual voidTGFrame::ProcessedConfigure(Event_t* event)SIGNAL
virtual voidTGFrame::ProcessedEvent(Event_t* event)SIGNAL
virtual Bool_tTGCompositeFrame::ProcessMessage(Long_t, Long_t, Long_t)
virtual voidTGWindow::RaiseWindow()
virtual Int_tTObject::Read(const char* name)
virtual voidTGFrame::ReallyDelete()
Int_tRecursiveDeleteItem(TGListTreeItem* item, void* userData)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidTGContainer::RemoveAll()
virtual voidTGCompositeFrame::RemoveFrame(TGFrame* f)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGContainer::RemoveItem(TGFrame* item)
voidRenameItem(TGListTreeItem* item, const char* string)
voidRenameSelected(const char* string)MENU
Int_tReparent(TGListTreeItem* item, TGListTreeItem* newparent)
Int_tReparentChildren(TGListTreeItem* item, TGListTreeItem* newparent)
virtual voidTGFrame::ReparentWindow(const TGWindow* p, Int_t x = 0, Int_t y = 0)
virtual voidTGWindow::RequestFocus()
voidTObject::ResetBit(UInt_t f)
virtual voidTGFrame::Resize(TGDimension size)
virtual voidTGFrame::Resize(UInt_t w = 0, UInt_t h = 0)
virtual voidReturnPressed(TGListTreeItem* entry)SIGNAL
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidSavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGCompositeFrame::SavePrimitiveSubframes(ostream& out, Option_t* option = "")
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidSearch(Bool_t close = kTRUE)
virtual voidTGContainer::SelectAll()SIGNAL
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
voidSetAutoCheckBoxPic(Bool_t on)
voidSetAutoTips(Bool_t on = kTRUE)
virtual voidTGFrame::SetBackgroundColor(Pixel_t back)
virtual voidTGWindow::SetBackgroundPixmap(Pixmap_t pixmap)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidSetCanvas(TGCanvas* canvas)
voidSetCheckBox(TGListTreeItem* item, Bool_t on = kTRUE)
voidSetCheckMode(TGListTree::ECheckMode mode)
virtual voidTGCompositeFrame::SetCleanup(Int_t mode = kLocalCleanup)
voidSetColorMode(TGListTree::EColorMarkupMode colorMode)
voidTGFrame::SetDNDSource(Bool_t onoff)
voidTGFrame::SetDNDTarget(Bool_t onoff)
virtual voidTGContainer::SetDragPixmap(const TGPicture* pic)
virtual voidTGFrame::SetDragType(Int_t type)
virtual voidTGFrame::SetDrawOption(Option_t* = "")
virtual voidTGFrame::SetDropType(Int_t type)
static voidTObject::SetDtorOnly(void* obj)
virtual voidTGCompositeFrame::SetEditable(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetEditDisabled(UInt_t on = 1)
voidSetEventHandled(Bool_t eh = kTRUE)
virtual voidTGFrame::SetForegroundColor(Pixel_t)
voidTGFrame::SetFrameElement(TGFrameElement* fe)
virtual voidTGFrame::SetHeight(UInt_t h)
virtual voidTGContainer::SetHsbPosition(Int_t newPos)
virtual voidTGCompositeFrame::SetLayoutBroken(Bool_t on = kTRUE)
virtual voidTGCompositeFrame::SetLayoutManager(TGLayoutManager* l)
virtual voidTGCompositeFrame::SetMapSubwindows(Bool_t on)
virtual voidTGFrame::SetMaxHeight(UInt_t h)
virtual voidTGFrame::SetMaxWidth(UInt_t w)
virtual voidTGFrame::SetMinHeight(UInt_t h)
virtual voidTGFrame::SetMinWidth(UInt_t w)
virtual voidTGWindow::SetName(const char* name)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTGContainer::SetPageDimension(const TGDimension& dim)
virtual voidTGContainer::SetPageDimension(UInt_t w, UInt_t h)
virtual voidTGContainer::SetPagePosition(const TGPosition& pos)
virtual voidTGContainer::SetPagePosition(Int_t x, Int_t y)
voidSetSelected(TGListTreeItem* item)
virtual voidTGFrame::SetSize(const TGDimension& s)
voidSetToolTipItem(TGListTreeItem* item, const char* string)
voidSetToolTipText(const char* text, Int_t x, Int_t y, Long_t delayms)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUserControl(Bool_t ctrl = kTRUE)
virtual voidTGContainer::SetVsbPosition(Int_t newPos)
virtual voidTGFrame::SetWidth(UInt_t w)
virtual voidTGWindow::SetWindowName(const char* name = 0)
virtual voidTGFrame::SetX(Int_t x)
virtual voidTGFrame::SetY(Int_t y)
virtual voidTGCompositeFrame::ShowFrame(TGFrame* f)
virtual voidShowMembers(TMemberInspector& insp) const
Int_tSort(TGListTreeItem* item)
Int_tSortChildren(TGListTreeItem* item)
Int_tSortSiblings(TGListTreeItem* item)
virtual voidTGContainer::SpacePressed(TGFrame*)SIGNAL
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
Int_tTextWidth(const char* c)
TGListTree(TGCanvas* p, UInt_t options, Pixel_t back = GetWhitePixel())
TGListTree(TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0, Pixel_t back = GetWhitePixel())
voidToggleItem(TGListTreeItem* item)
virtual Bool_tTGCompositeFrame::TranslateCoordinates(TGFrame* child, Int_t x, Int_t y, Int_t& fx, Int_t& fy)
virtual voidTGFrame::UnmapWindow()
virtual voidTGContainer::UnSelectAll()SIGNAL
voidUnselectAll(Bool_t draw)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual voidTGContainer::ActivateItem(TGFrameElement* el)
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
virtual voidClicked(TGFrame*, Int_t)
virtual voidClicked(TGFrame*, Int_t, Int_t, Int_t)
static TStringTQObject::CompressName(const char* method_name)
static Bool_tTQObject::ConnectToClass(TQObject* sender, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
static Bool_tTQObject::ConnectToClass(const char* sender_class, const char* signal, TClass* receiver_class, void* receiver, const char* slot)
virtual voidCurrentChanged(TGFrame*)
virtual voidCurrentChanged(Int_t, Int_t)
virtual voidTGContainer::DeActivateItem(TGFrameElement* el)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidTGContainer::DoRedraw()
virtual voidDoubleClicked(TGFrame*, Int_t)
virtual voidDoubleClicked(TGFrame*, Int_t, Int_t, Int_t)
virtual voidDraw(Option_t* = "")
voidDraw(Handle_t id, Int_t yevent, Int_t hevent)
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
Int_tDrawChildren(Handle_t id, TGListTreeItem* item, Int_t x, Int_t y, Int_t xroot)
voidDrawItem(Handle_t id, TGListTreeItem* item, Int_t x, Int_t y, Int_t* xroot, UInt_t* retwidth, UInt_t* retheight)
voidDrawItemName(Handle_t id, TGListTreeItem* item)
voidDrawNode(Handle_t id, TGListTreeItem* item, Int_t x, Int_t y)
TGListTreeItem*FindItem(Int_t findy)
virtual void*FindItem(const TString& name, Bool_t direction = kTRUE, Bool_t caseSensitive = kTRUE, Bool_t beginWith = kFALSE)
static const TGGC&GetActiveGC()
static const TGGC&GetColorGC()
static FontStruct_tGetDefaultFontStruct()
static const TGGC&GetDrawGC()
static Pixel_tGetGrayPixel()
static const TGGC&GetHighlightGC()
static Time_tTGFrame::GetLastClick()
static const TGGC&GetLineGC()
TStringTGFrame::GetOptionString() const
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidInsertChild(TGListTreeItem* parent, TGListTreeItem* item)
voidInsertChildren(TGListTreeItem* parent, TGListTreeItem* item)
virtual voidKeyPressed(TGFrame*, UInt_t, UInt_t)
virtual voidLayout()
virtual voidTGContainer::OnAutoScroll()
virtual voidOnMouseOver(TGFrame*)
voidPDeleteChildren(TGListTreeItem* item)
voidPDeleteItem(TGListTreeItem* item)
voidRemoveReference(TGListTreeItem* item)
virtual voidTGContainer::RepeatSearch()
virtual voidReturnPressed(TGFrame*)
voidSaveChildren(ostream& out, TGListTreeItem* item, Int_t& n)
Int_tSearchChildren(TGListTreeItem* item, Int_t y, Int_t findy, TGListTreeItem** finditem)
virtual voidTGContainer::SearchPattern()
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)
virtual voidUpdateChecked(TGListTreeItem* item, Bool_t redraw = kFALSE)

Data Members

static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TGListTree::EColorMarkupModekColorBox
static TGListTree::EColorMarkupModekColorUnderline
static TGListTree::EColorMarkupModekDefault
static TGWindow::EEditModeTGWindow::kEditDisable
static TGWindow::EEditModeTGWindow::kEditDisableBtnEnable
static TGWindow::EEditModeTGWindow::kEditDisableEvents
static TGWindow::EEditModeTGWindow::kEditDisableGrab
static TGWindow::EEditModeTGWindow::kEditDisableHeight
static TGWindow::EEditModeTGWindow::kEditDisableKeyEnable
static TGWindow::EEditModeTGWindow::kEditDisableLayout
static TGWindow::EEditModeTGWindow::kEditDisableResize
static TGWindow::EEditModeTGWindow::kEditDisableWidth
static TGWindow::EEditModeTGWindow::kEditEnable
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TGListTree::ECheckModekRecursive
static TGListTree::ECheckModekSimple
static TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
GContext_tfActiveGCactivated (selected) drawing context
Bool_tfAutoCheckBoxPicchange check box picture if parent and children have diffrent state
Bool_tfAutoTipsassume item->fUserData is TObject and use GetTitle() for tip text
Pixel_tTGFrame::fBackgroundframe background color
TGListTreeItem*fBelowMousepointer to item below mouses cursor
Int_tTGFrame::fBorderWidthframe border width
TBufferFile*fBufbuffer used for Drag and Drop
TGCanvas*TGContainer::fCanvaspointer to canvas
TGListTree::ECheckModefCheckModehow to propagate check properties through the tree
TGClient*TGObject::fClientConnection to display server
GContext_tfColorGCdrawing context for main item color
TGListTree::EColorMarkupModefColorModeif/how to render item's main color
TGListTreeItem*fCurrentpointer to current item in list
TDNDDatafDNDDataDrag and Drop data
Atom_t*fDNDTypeListhandles DND types
UInt_tfDefhdefault list height
UInt_tfDefwdefault list width
Bool_tfDisableOpendisable branch opening on double-clicks
Bool_tTGContainer::fDraggingtrue if in dragging mode
GContext_tfDrawGCicon drawing context
TGListTreeItem*fDropItemitem on which DND is over
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
Bool_tfEventHandledflag used from user code to bypass standard event handling
UInt_tTGFrame::fEventMaskcurrenty active event mask
Int_tfExposeBottombottom y position of visible region
Int_tfExposeToptop y postion of visible region
TGRectangleTGContainer::fExposedRegionexposed area
TGFrameElement*TGFrame::fFEpointer to frame element
TGListTreeItem*fFirstpointer to first item in list
FontStruct_tfFontfont used to draw item text
Pixel_tfGrayPixelgray draw color
UInt_tTGFrame::fHeightframe height
GContext_tfHighlightGChighlighted icon drawing context
Int_tfHspacinghorizontal spacing between items
Handle_tTGObject::fIdX11/Win32 Window identifier
Int_tfIndentnumber of pixels indentation
TStringTGContainer::fKeyInputkeyboard input (buffer)
TTimer*TGContainer::fKeyTimerkeyboard timer
Bool_tTGContainer::fKeyTimerActivekTRUE - keyboard timer is active
TGListTreeItem*fLastpointer to last item in list
TGFrameElement*TGContainer::fLastActiveEllast active item
Bool_tTGContainer::fLastCasecase sensetivity of last search
Bool_tTGContainer::fLastDirdirection of last search
UInt_tfLastEventStatemodifier state of the last keyboard event
TStringTGContainer::fLastNamethe name of object of last search
Bool_tTGContainer::fLastSubstringsubstring search option of last search
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
TGLayoutManager*TGCompositeFrame::fLayoutManagerlayout manager
GContext_tfLineGCdashed line drawing context
TList*TGCompositeFrame::fListcontainer of frame elements
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
Int_tfMarginnumber of pixels margin from left side
UInt_tTGFrame::fMaxHeightmaximal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMinWidthminimal frame width
const TGWindow*TGContainer::fMsgWindowwindow handling container messages
Int_tTGCompositeFrame::fMustCleanupcleanup mode (see EFrameCleanup)
TStringTGWindow::fNamename of the window used in SavePrimitive()
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
Bool_tTGContainer::fOnMouseOverkTRUE when mouse pointer is over entry
UInt_tTGFrame::fOptionsframe options
const TGWindow*TGWindow::fParentParent window
TTimer*TGContainer::fScrollTimerautoscroll timer
Bool_tTGContainer::fScrollingkTRUE - when scrolling is ON
TGListTreeItem*fSelectedpointer to selected item in list
Int_tTGContainer::fSelectednumber of selected items
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
TGToolTip*fTiptooltip shown when moving over list items
TGListTreeItem*fTipItemitem for which tooltip is set
Int_tTGContainer::fTotaltotal items
Bool_tfUserControlledlet user decides what is the behaviour on events
TGViewPort*TGContainer::fViewPortcontainer viewport
Int_tfVspacingvertical spacing between items
UInt_tTGFrame::fWidthframe width
Int_tTGFrame::fXframe x position
Int_tTGContainer::fX0corner of rubber band box
Int_tTGContainer::fXfother corner of rubber band box
Int_tTGContainer::fXpprevious pointer position
Int_tTGFrame::fYframe y position
Int_tTGContainer::fY0corner of rubber band box
Int_tTGContainer::fYfother corner of rubber band box
Int_tTGContainer::fYpprevious pointer position
static TGGC*fgActiveGC
static Bool_tTQObject::fgAllSignalsBlockedflag used for suppression of all signals
static const TGGC*TGFrame::fgBckgndGC
static const TGGC*TGFrame::fgBlackGC
static Pixel_tTGFrame::fgBlackPixel
static const TGPicture*fgCheckedPicicon for checked item
static const TGPicture*fgClosedPicicon for closed item
static TGGC*fgColorGC
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
static Window_tTGFrame::fgDbw
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static const TGFont*fgDefaultFont
static Pixel_tTGFrame::fgDefaultFrameBackground
static TGLayoutHints*TGCompositeFrame::fgDefaultHintsdefault hints used by AddFrame()
static Pixel_tTGFrame::fgDefaultSelectedBackground
static TGGC*fgDrawGC
static Pixel_tfgGrayPixel
static TGGC*fgHighlightGC
static const TGGC*TGFrame::fgHilightGC
static Bool_tTGFrame::fgInit
static UInt_tTGFrame::fgLastButton
static Time_tTGFrame::fgLastClick
static TGGC*fgLineGC
static TGGC*TGContainer::fgLineGC
static const TGPicture*fgOpenPicicon for open item
static const TGGC*TGFrame::fgShadowGC
static const TGPicture*fgUncheckedPicicon for unchecked item
static UInt_tTGFrame::fgUserColor
static const TGGC*TGFrame::fgWhiteGC
static Pixel_tTGFrame::fgWhitePixel
static TGFrame::(anonymous)TGFrame::kDeleteWindowCalled

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGListTree(TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = 0, Pixel_t back = GetWhitePixel())
 Create a list tree widget.
TGListTree(TGCanvas* p, UInt_t options, Pixel_t back = GetWhitePixel())
 Create a list tree widget.
 Delete list tree widget.
Int_t FontHeight()
 Returns height of currently used font.
Int_t FontAscent()
 Returns ascent of currently used font.
Int_t TextWidth(const char* c)
 Returns text width relative to currently used font.
void HighlightItem(TGListTreeItem* item, Bool_t state, Bool_t draw)
 Highlight tree item.
void HighlightChildren(TGListTreeItem* item, Bool_t state, Bool_t draw)
 Higlight item children.
void UnselectAll(Bool_t draw)
 Unselect all items.
Bool_t HandleButton(Event_t* event)
 Handle button events in the list tree.
Bool_t HandleDoubleClick(Event_t* event)
 Handle double click event in the list tree (only for kButton1).
Bool_t HandleCrossing(Event_t* event)
 Handle mouse crossing event.
Atom_t HandleDNDPosition(Int_t x, Int_t y, Atom_t action, Int_t xroot, Int_t yroot)
 Handle dragging position events.
Atom_t HandleDNDEnter(Atom_t* typelist)
 Handle drag enter events.
Bool_t HandleDNDLeave()
 Handle drag leave events.
Bool_t HandleDNDDrop(TDNDData* data)
 Handle drop events.
void DataDropped(TGListTreeItem* item, TDNDData* data)
 Emit DataDropped() signal.
Bool_t HandleMotion(Event_t* event)
 Handle mouse motion event. Used to set tool tip, to emit
 MouseOver() signal and for DND handling.
Bool_t HandleKey(Event_t* event)
 The key press event handler converts a key press to some line editor
void MouseOver(TGListTreeItem* entry)
 Signal emitted when pointer is over entry.
void MouseOver(TGListTreeItem* entry, UInt_t mask)
 Signal emitted when pointer is over entry.
void KeyPressed(TGListTreeItem* entry, UInt_t keysym, UInt_t mask)
 Signal emitted when keyboard key pressed

 entry - selected item
 keysym - defined in "KeySymbols.h"
 mask - modifier key mask, defined in "GuiTypes.h"

 const Mask_t kKeyShiftMask   = BIT(0);
 const Mask_t kKeyLockMask    = BIT(1);
 const Mask_t kKeyControlMask = BIT(2);
 const Mask_t kKeyMod1Mask    = BIT(3);   // typically the Alt key
 const Mask_t kButton1Mask    = BIT(8);
 const Mask_t kButton2Mask    = BIT(9);
 const Mask_t kButton3Mask    = BIT(10);
 const Mask_t kButton4Mask    = BIT(11);
 const Mask_t kButton5Mask    = BIT(12);
 const Mask_t kAnyModifier    = BIT(15);
void ReturnPressed(TGListTreeItem* entry)
 Emit ReturnPressed() signal.
void Checked(TObject* obj, Bool_t check)
 Emit Checked() signal.
void Clicked(TGListTreeItem* entry, Int_t btn)
 Emit Clicked() signal.
void Clicked(TGListTreeItem* entry, Int_t btn, Int_t x, Int_t y)
 Emit Clicked() signal.
void Clicked(TGListTreeItem* entry, Int_t btn, UInt_t mask, Int_t x, Int_t y)
 Emit Clicked() signal.
void DoubleClicked(TGListTreeItem* entry, Int_t btn)
 Emit DoubleClicked() signal.
void DoubleClicked(TGListTreeItem* entry, Int_t btn, Int_t x, Int_t y)
 Emit DoubleClicked() signal.
void Home(Bool_t select = kFALSE)
 Move content to the top.
void End(Bool_t select = kFALSE)
 Move content to the bottom.
void PageUp(Bool_t select = kFALSE)
 Move content one page up.
void PageDown(Bool_t select = kFALSE)
 Move content one page down.
void LineUp(Bool_t select = kFALSE)
 Move content one item-size up.
void LineDown(Bool_t select = kFALSE)
 Move content one item-size down.
void AdjustPosition(TGListTreeItem* item)
 Move content to position of item. If item is 0, move to position
 of currently selected item.
void Search(Bool_t close = kTRUE)
 Invokes search dialog. Looks for item with the entered name.
void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
 Redraw list tree.
void Draw(Handle_t id, Int_t yevent, Int_t hevent)
 Draw list tree widget.
Int_t DrawChildren(Handle_t id, TGListTreeItem* item, Int_t x, Int_t y, Int_t xroot)
 Draw children of item in list tree.
void DrawItem(Handle_t id, TGListTreeItem* item, Int_t x, Int_t y, Int_t* xroot, UInt_t* retwidth, UInt_t* retheight)
 Draw list tree item.
void DrawOutline(Handle_t id, TGListTreeItem* item, Pixel_t col = 12303291, Bool_t clear = kFALSE)
 Draw a outline of color 'col' around an item.
void DrawActive(Handle_t id, TGListTreeItem* item)
 Draw active item with its active color.
void DrawItemName(Handle_t id, TGListTreeItem* item)
 Draw name of list tree item.
void DrawNode(Handle_t id, TGListTreeItem* item, Int_t x, Int_t y)
 Draw node (little + in box).
void SetToolTipText(const char* text, Int_t x, Int_t y, Long_t delayms)
 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.
void RemoveReference(TGListTreeItem* item)
 This function removes the specified item from the linked list.
 It does not do anything with the data contained in the item, though.
void PDeleteItem(TGListTreeItem* item)
 Delete given item. Takes care of list-tree state members
 fSelected, fCurrent and fBelowMouse.
void PDeleteChildren(TGListTreeItem* item)
 Recursively delete all children of an item.
void InsertChild(TGListTreeItem* parent, TGListTreeItem* item)
 Insert child in list.
void InsertChildren(TGListTreeItem* parent, TGListTreeItem* item)
 Insert a list of ALREADY LINKED children into another list
Int_t SearchChildren(TGListTreeItem* item, Int_t y, Int_t findy, TGListTreeItem** finditem)
 Search child item.
TGListTreeItem * FindItem(Int_t findy)
 Find item at postion findy.
void AddItem(TGListTreeItem* parent, TGListTreeItem* item)
 Add given item to list tree.
TGListTreeItem * AddItem(TGListTreeItem* parent, const char* string, const TGPicture* open = 0, const TGPicture* closed = 0, Bool_t checkbox = kFALSE)
 Add item to list tree. Returns new item.
TGListTreeItem * AddItem(TGListTreeItem* parent, const char* string, void* userData, const TGPicture* open = 0, const TGPicture* closed = 0, Bool_t checkbox = kFALSE)
 Add item to list tree. If item with same userData already exists
 don't add it. Returns new item.
void RenameItem(TGListTreeItem* item, const char* string)
 Rename item in list tree.
Int_t DeleteItem(TGListTreeItem* item)
 Delete item from list tree.
void OpenItem(TGListTreeItem* item)
 Open item in list tree (i.e. show child items).
void CloseItem(TGListTreeItem* item)
 Close item in list tree (i.e. hide child items).
Int_t RecursiveDeleteItem(TGListTreeItem* item, void* userData)
 Delete item with fUserData == ptr. Search tree downwards starting
 at item.
void SetToolTipItem(TGListTreeItem* item, const char* string)
 Set tooltip text for this item. By default an item for which the
 userData is a pointer to an TObject the TObject::GetTitle() will
 be used to get the tip text.
Int_t DeleteChildren(TGListTreeItem* item)
 Delete children of item from list.
Int_t Reparent(TGListTreeItem* item, TGListTreeItem* newparent)
 Make newparent the new parent of item.
Int_t ReparentChildren(TGListTreeItem* item, TGListTreeItem* newparent)
 Make newparent the new parent of the children of item.
Int_t Sort(TGListTreeItem* item)
 Sort items starting with item.
Int_t SortSiblings(TGListTreeItem* item)
 Sort siblings of item.
Int_t SortChildren(TGListTreeItem* item)
 Sort children of item.
TGListTreeItem * FindSiblingByName(TGListTreeItem* item, const char* name)
 Find sibling of item by name.
TGListTreeItem * FindSiblingByData(TGListTreeItem* item, void* userData)
 Find sibling of item by userData.
TGListTreeItem * FindChildByName(TGListTreeItem* item, const char* name)
 Find child of item by name.
TGListTreeItem * FindChildByData(TGListTreeItem* item, void* userData)
 Find child of item by userData.
TGListTreeItem * FindItemByPathname(const char* path)
 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.
void HighlightItem(TGListTreeItem* item)
 Highlight item.
void ClearHighlighted()
 Un highlight items.
void GetPathnameFromItem(TGListTreeItem* item, char* path, Int_t depth = 0)
 Get pathname from item. Use depth to limit path name to last
 depth levels. By default depth is not limited.
Pixel_t GetGrayPixel()
 Return gray draw color in use.
FontStruct_t GetDefaultFontStruct()
 Return default font structure in use.
const TGGC & GetActiveGC()
 Return default graphics context in use.
const TGGC & GetDrawGC()
 Return default graphics context in use.
const TGGC & GetLineGC()
 Return graphics context in use for line drawing.
const TGGC & GetHighlightGC()
 Return graphics context for highlighted frame background.
const TGGC & GetColorGC()
 Return graphics context for highlighted frame background.
const TGPicture * GetOpenPic()
 Returns the icon used by items in open state.
const TGPicture * GetClosedPic()
 Returns the icon used by items in closed state.
const TGPicture * GetCheckedPic()
 Returns the icon used for checked checkbox.
const TGPicture * GetUncheckedPic()
 Returns the icon used for unchecked checkbox.
void SavePrimitive(ostream& out, Option_t* option = "")
 Save a list tree widget as a C++ statements on output stream out.
void SaveChildren(ostream& out, TGListTreeItem* item, Int_t& n)
 Save child items as a C++ statements on output stream out.
void CheckItem(TGListTreeItem* item, Bool_t check = kTRUE)
 Set check button state for the node 'item'.
void SetCheckBox(TGListTreeItem* item, Bool_t on = kTRUE)
 Set check button state for the node 'item'.
void ToggleItem(TGListTreeItem* item)
 Toggle check button state of the node 'item'.
void UpdateChecked(TGListTreeItem* item, Bool_t redraw = kFALSE)
 Update the state of the node 'item' according to the children states.
TGListTreeItem * FindItemByObj(TGListTreeItem* item, void* ptr)
 Find item with fUserData == ptr. Search tree downwards starting
 at item.
void GetChecked(TList* checked)
 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.
void GetCheckedChildren(TList* checked, TGListTreeItem* item)
 Add all child items of 'item' into the list 'checked'.
void CheckAllChildren(TGListTreeItem* item, Bool_t state)
 Check all child items of 'item' and 'item' itself according
 to the state value: kTRUE means check all, kFALSE - uncheck all.
TGListTreeItem& operator=(const TGListTree& )
void Draw(Handle_t id, Int_t yevent, Int_t hevent)
TGListTreeItem * FindItem(Int_t findy)
void Layout()
void OnMouseOver(TGFrame* )
{ }
void CurrentChanged(Int_t , Int_t )
{ }
void CurrentChanged(TGFrame* )
{ }
void ReturnPressed(TGFrame* )
{ }
void Clicked(TGFrame* , Int_t )
{ }
void Clicked(TGFrame* , Int_t , Int_t , Int_t )
{ }
void DoubleClicked(TGFrame* , Int_t )
{ }
void DoubleClicked(TGFrame* , Int_t , Int_t , Int_t )
{ }
void KeyPressed(TGFrame* , UInt_t , UInt_t )
{ }
TGListTree(const TGListTree& )
void SetCanvas(TGCanvas* canvas)
{ fCanvas = canvas; }
TGDimension GetDefaultSize() const
{ return TGDimension(fDefw, fDefh); }
void AddItem(TGListTreeItem* parent, TGListTreeItem* item)
void SetAutoTips(Bool_t on = kTRUE)
{ fAutoTips = on; }
void SetAutoCheckBoxPic(Bool_t on)
void SetSelected(TGListTreeItem* item)
{ fSelected = item; }
void AdjustPosition(TGListTreeItem* item)
void DisableOpen(Bool_t disable = kTRUE)
{ fDisableOpen = disable;}
TGListTreeItem * GetFirstItem() const
{ return fFirst; }
TGListTreeItem * GetSelected() const
{ return fSelected; }
TGListTreeItem * GetCurrent() const
{ return fCurrent; }
TGListTreeItem * GetBelowMouse() const
{ return fBelowMouse; }
void AddRoot(const char* string)
{ AddItem(0, string); }
Int_t DeleteSelected()
{ return (fSelected ? DeleteItem(fSelected) : 0); }
void RenameSelected(const char* string)
{ if (fSelected) RenameItem(fSelected, string); }
void SetUserControl(Bool_t ctrl = kTRUE)
 User control
{ fUserControlled = ctrl; }
Bool_t HasUserControl() const
{ return fUserControlled; }
void SetEventHandled(Bool_t eh = kTRUE)
{ fEventHandled = eh; }
Bool_t IsEventHandled() const
{ return fEventHandled; }
TDNDData * GetDNDData(Atom_t )
EColorMarkupMode GetColorMode() const
{ return fColorMode; }
void SetColorMode(TGListTree::EColorMarkupMode colorMode)
{ fColorMode = colorMode; }
ECheckMode GetCheckMode() const
{ return fCheckMode; }
void SetCheckMode(TGListTree::ECheckMode mode)
{ fCheckMode = mode; }