library: libGui
#include "TGListTree.h"


class description - header file - source file
viewCVS header - viewCVS source

class TGListTree: public TGContainer

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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())
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)
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)
virtual voidAdjustPosition()
voidAdjustPosition(TGListTreeItem* item)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTGContainer::Associate(const TGWindow* w)
virtual voidTObject::Browse(TBrowser* b)
virtual voidTGFrame::ChangeBackground(Pixel_t back)
virtual voidTQObject::ChangedBy(const char* method)
virtual voidTGCompositeFrame::ChangeOptions(UInt_t options)
virtual voidTGCompositeFrame::ChangeSubframesBackground(Pixel_t back)
virtual voidChecked(TObject* obj, Bool_t check)
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 voidClicked(TGListTreeItem* entry, Int_t btn)
virtual voidClicked(TGListTreeItem* entry, Int_t btn, Int_t x, Int_t y)
virtual TObject*TObject::Clone(const char* newname = "") const
voidCloseItem(TGListTreeItem* item)
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 voidTGFrame::Delete(Option_t* = "")
Int_tDeleteChildren(TGListTreeItem* item)
Int_tDeleteItem(TGListTreeItem* item)
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()
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)
virtual voidDoubleClicked(TGListTreeItem* entry, Int_t btn, Int_t x, Int_t y)
virtual voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
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)
voidTQObject::EmitVA(const char* signal, Int_t nargs, va_list va)
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)
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()
static const TGGC&TGFrame::GetBlackGC()
static Pixel_tTGFrame::GetBlackPixel()
Int_tTGFrame::GetBorderWidth() const
TGCanvas*TGContainer::GetCanvas() const
TGClient*TGObject::GetClient() const
TGListTree::EColorMarkupModeGetColorMode() const
static Int_tTGWindow::GetCounter()
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGCompositeFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionGetDefaultSize() const
virtual UInt_tTGCompositeFrame::GetDefaultWidth() const
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()
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
TGDimensionTGContainer::GetPageDimension() const
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
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_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_tHandleExpose(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
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()
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
virtual Bool_tTGCompositeFrame::IsEditable() const
virtual Bool_tTGObject::IsEqual(const TObject* obj) 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)
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)
static voidTQObject::LoadRQ_OBJECT()
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)
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
virtual voidOnMouseOver(TGListTreeItem* entry)
voidOpenItem(TGListTreeItem* item)
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static 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::ProcessedEvent(Event_t* event)
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)
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)
virtual voidTObject::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()
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
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)
virtual voidTGCompositeFrame::SetCleanup(Int_t mode = kLocalCleanup)
voidSetColorMode(TGListTree::EColorMarkupMode colorMode)
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)
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)
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, char* parent)
Int_tSort(TGListTreeItem* item)
Int_tSortChildren(TGListTreeItem* item)
Int_tSortSiblings(TGListTreeItem* item)
virtual voidTGContainer::SpacePressed(TGFrame*)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& 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
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()
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 voidTGContainer::ClearViewPort()
virtual voidClicked(TGFrame*, Int_t)
virtual voidClicked(TGFrame*, Int_t, Int_t, Int_t)
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 voidDoRedraw()
virtual voidDoubleClicked(TGFrame*, Int_t)
virtual voidDoubleClicked(TGFrame*, Int_t, Int_t, Int_t)
virtual voidDraw(Option_t* = "")
voidDraw(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(TGListTreeItem* item, Int_t x, Int_t y, Int_t xroot)
voidDrawItem(TGListTreeItem* item, Int_t x, Int_t y, Int_t* xroot, UInt_t* retwidth, UInt_t* retheight)
voidDrawItemName(TGListTreeItem* item)
voidDrawNode(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&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)
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)
voidUpdateChecked(TGListTreeItem* item, Bool_t redraw = kFALSE)
TGListTree(const TGListTree&)
TGListTree&operator=(const TGListTree&)

Data Members

enum EColorMarkupMode { kDefault
enum TGWindow::EEditMode { kEditEnable
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
TGListTreeItem*fFirstpointer to first item in list
TGListTreeItem*fSelectedpointer to selected item in list
Int_tfHspacinghorizontal spacing between items
Int_tfVspacingvertical spacing between items
Int_tfIndentnumber of pixels indentation
Int_tfMarginnumber of pixels margin from left side
Int_tfLastYlast used y position
Pixel_tfGrayPixelgray draw color
GContext_tfDrawGCicon drawing context
GContext_tfLineGCdashed line drawing context
GContext_tfHighlightGChighlighted icon drawing context
FontStruct_tfFontfont used to draw item text
UInt_tfDefwdefault list width
UInt_tfDefhdefault list height
Int_tfExposeToptop y postion of visible region
Int_tfExposeBottombottom y position of visible region
TGToolTip*fTiptooltip shown when moving over list items
TGListTreeItem*fTipItemitem for which tooltip is set
Bool_tfAutoTipsassume item->fUserData is TObject and use GetTitle() for tip text
Bool_tfDisableOpendisable branch opening on double-clicks
TGListTree::EColorMarkupModefColorModeif/how to render item's main color
GContext_tfColorGCdrawing context for main item color
static Pixel_tfgGrayPixel
static const TGFont*fgDefaultFont
static TGGC*fgDrawGC
static TGGC*fgLineGC
static TGGC*fgHighlightGC
static TGGC*fgColorGC
TGViewPort*TGContainer::fViewPortcontainer viewport
TGCanvas*TGContainer::fCanvaspointer to canvas
const TGWindow*TGContainer::fMsgWindowwindow handling container messages
TGFrameElement*TGContainer::fLastActiveEllast active item
Int_tTGContainer::fYpprevious pointer position
Int_tTGContainer::fY0corner of rubber band box
Int_tTGContainer::fYfother corner of rubber band box
Bool_tTGContainer::fDraggingtrue if in dragging mode
Int_tTGContainer::fTotaltotal items
Int_tTGContainer::fSelectednumber of selected items
TTimer*TGContainer::fScrollTimerautoscroll timer
Bool_tTGContainer::fOnMouseOverkTRUE when mouse pointer is over entry
Bool_tTGContainer::fLastDirdirection of last search
Bool_tTGContainer::fLastCasecase sensetivity of last search
TStringTGContainer::fLastNamethe name of object of last search
TTimer*TGContainer::fKeyTimerkeyboard timer
TStringTGContainer::fKeyInputkeyboard input (buffer)
Bool_tTGContainer::fKeyTimerActivekTRUE - keyboard timer is active
Bool_tTGContainer::fScrollingkTRUE - when scrolling is ON
static TGGC*TGContainer::fgLineGC
TGLayoutManager*TGCompositeFrame::fLayoutManagerlayout manager
TList*TGCompositeFrame::fListcontainer of frame elements
Bool_tTGCompositeFrame::fLayoutBrokenno layout manager is used
Int_tTGCompositeFrame::fMustCleanupcleanup mode (see EFrameCleanup)
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
static TGLayoutHints*TGCompositeFrame::fgDefaultHintsdefault hints used by AddFrame()
Int_tTGFrame::fXframe x position
Int_tTGFrame::fYframe y position
UInt_tTGFrame::fWidthframe width
UInt_tTGFrame::fHeightframe height
UInt_tTGFrame::fMinWidthminimal frame width
UInt_tTGFrame::fMinHeightminimal frame height
UInt_tTGFrame::fMaxWidthmaximal frame width
UInt_tTGFrame::fMaxHeightmaximal frame height
Int_tTGFrame::fBorderWidthframe border width
UInt_tTGFrame::fOptionsframe options
Pixel_tTGFrame::fBackgroundframe background color
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGFrameElement*TGFrame::fFEpointer to frame element
static Bool_tTGFrame::fgInit
static Pixel_tTGFrame::fgDefaultFrameBackground
static Pixel_tTGFrame::fgDefaultSelectedBackground
static Pixel_tTGFrame::fgWhitePixel
static Pixel_tTGFrame::fgBlackPixel
static const TGGC*TGFrame::fgBlackGC
static const TGGC*TGFrame::fgWhiteGC
static const TGGC*TGFrame::fgHilightGC
static const TGGC*TGFrame::fgShadowGC
static const TGGC*TGFrame::fgBckgndGC
static Time_tTGFrame::fgLastClick
static UInt_tTGFrame::fgLastButton
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Window_tTGFrame::fgDbw
static UInt_tTGFrame::fgUserColor
const TGWindow*TGWindow::fParentParent window
Bool_tTGWindow::fNeedRedrawkTRUE if window needs to be redrawn
TStringTGWindow::fNamename of the window used in SavePrimitive()
static Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
Handle_tTGObject::fIdX11/Win32 Window identifier
TGClient*TGObject::fClientConnection to display server
TList*TQObject::fListOfSignals! list of signals from this object
TList*TQObject::fListOfConnections! list of connections to this object

Class Description

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

TGListTree(TGWindow *p, UInt_t w, UInt_t h, UInt_t options, ULong_t back)
 Create a list tree widget.
TGListTree(TGCanvas *p,UInt_t options,ULong_t back)
 Create a list tree widget.
 Delete list tree widget.
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 HandleExpose(Event_t * /*event*/)
 Handle expose event in the list tree.
Bool_t HandleCrossing(Event_t *event)
 Handle mouse crossing event.
Bool_t HandleMotion(Event_t *event)
 Handle mouse motion event. Only used to set tool tip.
Bool_t HandleKey(Event_t *event)
 The key press event handler converts a key press to some line editor
void OnMouseOver(TGListTreeItem *entry)
 Signal emitted when pointer is over entry.
void KeyPressed(TGListTreeItem *entry, UInt_t keysym, UInt_t mask)
 Signal emitted when keyboard key pressed

 item - 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 Clicked(TGListTreeItem *entry, Int_t btn)
 Emit Clicked() signal.
void Checked(TObject *entry, Bool_t on)
 Emit Checked() signal.
void Clicked(TGListTreeItem *entry, Int_t btn, 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*/)
 Move content to the top.
void End(Bool_t /*select*/)
 Move content to the bottom.
void PageUp(Bool_t /*select*/)
 Move content one page up.
void PageDown(Bool_t /*select*/)
 Move content one page down.
void LineUp(Bool_t /*select*/)
 Move content one item-size up.
void LineDown(Bool_t /*select*/)
 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*/)
 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 DoRedraw()
 Redraw list tree.
void Draw(Int_t yevent, Int_t hevent)
 Draw list tree widget.
Int_t DrawChildren(TGListTreeItem *item, Int_t x, Int_t y, Int_t xroot)
 Draw children of item in list tree.
void DrawItem(TGListTreeItem *item, Int_t x, Int_t y, Int_t *xroot, UInt_t *retwidth, UInt_t *retheight)
 Draw list tree item.
void DrawItemName(TGListTreeItem *item)
 Draw name of list tree item.
void DrawNode(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 PDeleteChildren(TGListTreeItem *item)
 Delete children of item from list.
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.
TGListTreeItem * AddItem(TGListTreeItem *parent, const char *string, const TGPicture *open, const TGPicture *closed, Bool_t checkbox)
 Add item to list tree. Returns new item.
TGListTreeItem * AddItem(TGListTreeItem *parent, const char *string, void *userData, const TGPicture *open, const TGPicture *closed, Bool_t checkbox)
 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 *ptr)
 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)
 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 & 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.
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)
 Set check button state for the node 'item'.
void SetCheckBox(TGListTreeItem *item, Bool_t on)
 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)
 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.
TGListTreeItem& operator=(const TGListTreeItem&)
void Draw(Int_t yevent, Int_t hevent)
TGListTreeItem * FindItem(Int_t findy)
void Layout()
void OnMouseOver(TGFrame*)
{ }
void CurrentChanged(Int_t /*x*/, Int_t /*y*/)
{ }
void CurrentChanged(TGFrame *)
{ }
void ReturnPressed(TGFrame*)
{ }
void Clicked(TGFrame *, Int_t /*btn*/)
{ }
void Clicked(TGFrame *, Int_t /*btn*/, Int_t /*x*/, Int_t /*y*/)
{ }
void DoubleClicked(TGFrame *, Int_t /*btn*/)
{ }
void DoubleClicked(TGFrame *, Int_t /*btn*/, Int_t /*x*/, Int_t /*y*/)
{ }
void KeyPressed(TGFrame *, UInt_t /*keysym*/, UInt_t /*mask*/)
{ }
TGListTree(const TGListTree&)
void SetCanvas(TGCanvas *canvas)
{ fCanvas = canvas; }
TGDimension GetDefaultSize()
{ return TGDimension(fDefw, fDefh); }
TGListTreeItem * AddItem(TGListTreeItem *parent, const char *string, const TGPicture *open = 0, const TGPicture *closed = 0, Bool_t checkbox = kFALSE)
void SetAutoTips(Bool_t on = kTRUE)
{ fAutoTips = on; }
void SetSelected(TGListTreeItem *item)
{ fSelected = item; }
void AdjustPosition(TGListTreeItem *item)
void DisableOpen(Bool_t disable = kTRUE)
{ fDisableOpen = disable;}
TGListTreeItem * GetFirstItem()
{ return fFirst; }
TGListTreeItem * GetSelected()
{ return fSelected; }
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); }
EColorMarkupMode GetColorMode()
{ return fColorMode; }
void SetColorMode(EColorMarkupMode colorMode)
{ fColorMode = colorMode; }

Author: Fons Rademakers 25/02/98
Last update: root/gui:$Name: $:$Id: TGListTree.cxx,v 1.59 2006/07/26 13:36:43 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

ROOT page - Class index - Class Hierarchy - 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.