ROOT » GUI » GUI » TGLBContainer

class TGLBContainer: public TGContainer


TGListBox, TGLBContainer, TGLBEntry and TGTextLBEntry

A listbox is a box, possibly with scrollbar, containing entries.
Currently entries are simple text strings (TGTextLBEntry).
A TGListBox looks a lot like a TGCanvas. It has a TGViewPort
containing a TGLBContainer which contains the entries and it also
has a vertical scrollbar which becomes visible if there are more
items than fit in the visible part of the container.

The TGListBox is user callable. The other classes are service
classes of the listbox.

Selecting an item in the listbox will generate the event:
kC_COMMAND, kCM_LISTBOX, listbox id, item id.


Function Members (Methods)

public:
virtual~TGLBContainer()
voidTObject::AbstractMethod(const char* method) const
virtual voidTGFrame::Activate(Bool_t)
virtual voidActivateItem(TGFrameElement* el)
virtual voidAddEntry(TGLBEntry* lbe, TGLayoutHints* lhints)
virtual voidAddEntrySort(TGLBEntry* lbe, TGLayoutHints* lhints)
virtual voidTGCompositeFrame::AddFrame(TGFrame* f, TGLayoutHints* l = 0)
voidTGFrame::AddInput(UInt_t emask)
virtual voidTGContainer::AdjustPosition()
virtual voidTObject::AppendPad(Option_t* option = "")
static Bool_tTQObject::AreAllSignalsBlocked()
Bool_tTQObject::AreSignalsBlocked() const
virtual voidAssociate(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)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTGCompositeFrame::Cleanup()
virtual voidTObject::Clear(Option_t* = "")
virtual voidTGContainer::ClearViewPort()
virtual voidTGContainer::Clicked(TGFrame* f, Int_t btn)SIGNAL
virtual voidTGContainer::Clicked(TGFrame* f, Int_t btn, Int_t x, Int_t y)SIGNAL
virtual TObject*TObject::Clone(const char* newname = "") const
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 voidTGContainer::CurrentChanged(TGFrame* f)SIGNAL
virtual voidTGContainer::CurrentChanged(Int_t x, Int_t y)SIGNAL
virtual voidTGFrame::Delete(Option_t* = "")
virtual voidTGFrame::DeleteWindow()
virtual voidTQObject::Destroyed()SIGNAL
virtual voidTGWindow::DestroySubwindows()
virtual voidTGWindow::DestroyWindow()
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 voidTGContainer::DoubleClicked(TGFrame* f, Int_t btn)SIGNAL
virtual voidTGContainer::DoubleClicked(TGFrame* f, Int_t btn, Int_t x, Int_t y)SIGNAL
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTGFrame::DrawBorder()
virtual voidTGFrame::DrawClass() const
virtual TObject*TGFrame::DrawClone(Option_t* = "") const
virtual voidTGFrame::DrawCopy(Handle_t, Int_t, Int_t)
virtual voidTGContainer::DrawRegion(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 voidTGContainer::End(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
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
virtual void*TGContainer::FindItem(const TString& name, Bool_t direction = kTRUE, Bool_t caseSensitive = kTRUE, Bool_t subString = kFALSE)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
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
static Int_tTGWindow::GetCounter()
static Pixel_tTGFrame::GetDefaultFrameBackground()
virtual UInt_tTGCompositeFrame::GetDefaultHeight() const
static Pixel_tTGFrame::GetDefaultSelectedBackground()
virtual TGDimensionTGCompositeFrame::GetDefaultSize() const
virtual UInt_tGetDefaultWidth() const
virtual TDNDData*TGFrame::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
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
TGListBox*GetListBox() 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 Bool_tGetMultipleSelections() 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)
virtual Option_t*TObject::GetOption() const
virtual UInt_tTGFrame::GetOptions() const
virtual TGDimensionTGContainer::GetPageDimension() const
virtual TGPositionTGContainer::GetPagePosition() const
const TGWindow*TGWindow::GetParent() const
virtual Int_tGetPos(Int_t id)
virtual Int_tGetSelected() const
virtual voidGetSelectedEntries(TList* selected)
TGLBEntry*GetSelectedEntry() const
virtual Bool_tGetSelection(Int_t id)
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*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_tTGCompositeFrame::HandleCrossing(Event_t*)
virtual Bool_tTGFrame::HandleDNDDrop(TDNDData*)
virtual Atom_tTGFrame::HandleDNDEnter(Atom_t*)
virtual Bool_tTGContainer::HandleDNDFinished()
virtual Bool_tTGFrame::HandleDNDLeave()
virtual Atom_tTGFrame::HandleDNDPosition(Int_t, Int_t, Atom_t, Int_t, Int_t)
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_tTGContainer::HandleKey(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)
virtual voidTQObject::HighPriority(const char* signal_name, const char* slot_name = 0)
virtual voidTGContainer::Home(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 voidInsertEntry(TGLBEntry* lbe, TGLayoutHints* lhints, Int_t afterID)
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
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 voidTGContainer::KeyPressed(TGFrame*, UInt_t keysym, UInt_t mask)SIGNAL
virtual voidLayout()
virtual voidTGContainer::LineDown(Bool_t select = kFALSE)
virtual voidTGContainer::LineLeft(Bool_t select = kFALSE)
virtual voidTGContainer::LineRight(Bool_t select = kFALSE)
virtual voidTGContainer::LineUp(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 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
virtual voidTGContainer::OnMouseOver(TGFrame*)SIGNAL
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 voidTGContainer::PageDown(Bool_t select = kFALSE)
virtual voidTGContainer::PageUp(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()
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidRemoveAll()
virtual voidRemoveEntries(Int_t from_ID, Int_t to_ID)
virtual voidRemoveEntry(Int_t id)
virtual voidTGCompositeFrame::RemoveFrame(TGFrame* f)
voidTGFrame::RemoveInput(UInt_t emask)
virtual voidTGContainer::RemoveItem(TGFrame* item)
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 voidTGContainer::ReturnPressed(TGFrame*)SIGNAL
virtual voidTGObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTGContainer::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTGCompositeFrame::SavePrimitiveSubframes(ostream& out, Option_t* option = "")
voidTGFrame::SaveUserColor(ostream& out, Option_t*)
virtual voidTGContainer::Search(Bool_t close = kTRUE)
virtual TGLBEntry*Select(Int_t id)
virtual TGLBEntry*Select(Int_t id, Bool_t sel)
virtual voidTGContainer::SelectAll()SIGNAL
virtual voidTGFrame::SendMessage(const TGWindow* w, Long_t msg, Long_t parm1, Long_t parm2)
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 voidTGCompositeFrame::SetCleanup(Int_t mode = kLocalCleanup)
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)
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 voidSetListBox(TGListBox* lb)
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 voidSetMultipleSelections(Bool_t multi)
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)
virtual voidTGFrame::SetSize(const TGDimension& s)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidSetVsbPosition(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
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
TGLBContainer(const TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = kSunkenFrame, Pixel_t back = GetDefaultFrameBackground())
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
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
protected:
static Int_tTQObject::CheckConnectArgs(TQObject* sender, TClass* sender_class, const char* signal, TClass* receiver_class, const char* slot)
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 voidTGContainer::DeActivateItem(TGFrameElement* el)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
virtual voidDoRedraw()
virtual voidTGFrame::Draw3dRectangle(UInt_t type, Int_t x, Int_t y, UInt_t w, UInt_t h)
static Time_tTGFrame::GetLastClick()
static const TGGC&TGContainer::GetLineGC()
TStringTGFrame::GetOptionString() const
const TGResourcePool*TGFrame::GetResourcePool() const
virtual void*TGFrame::GetSender()
virtual const char*TQObject::GetSenderClassName() const
voidTObject::MakeZombie()
virtual voidOnAutoScroll()
virtual voidTGContainer::RepeatSearch()
virtual voidTGContainer::SearchPattern()
virtual voidTGFrame::StartGuiBuilding(Bool_t on = kTRUE)

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
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 TObject::(anonymous)TObject::kSingleKey
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
Pixel_tTGFrame::fBackgroundframe background color
Bool_tTGContainer::fBdown
Int_tTGFrame::fBorderWidthframe border width
TGCanvas*TGContainer::fCanvaspointer to canvas
Int_tfChangeStatusdefines the changes (select or unselect) while the mouse
TGClient*TGObject::fClientConnection to display server
Int_tTGFrame::fDNDStateEDNDFlags
Bool_tTGContainer::fDraggingtrue if in dragging mode
UInt_tTGWindow::fEditDisabledflags used for "guibuilding"
UInt_tTGFrame::fEventMaskcurrenty active event mask
TGRectangleTGContainer::fExposedRegionexposed area
TGFrameElement*TGFrame::fFEpointer to frame element
UInt_tTGFrame::fHeightframe height
Handle_tTGObject::fIdX11/Win32 Window identifier
TStringTGContainer::fKeyInputkeyboard input (buffer)
TTimer*TGContainer::fKeyTimerkeyboard timer
Bool_tTGContainer::fKeyTimerActivekTRUE - keyboard timer is active
TGLBEntry*fLastActivelast active listbox entry in single selection listbox
TGFrameElement*TGContainer::fLastActiveEllast active item
Bool_tTGContainer::fLastCasecase sensetivity of last search
Bool_tTGContainer::fLastDirdirection of last search
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
TList*TGCompositeFrame::fListcontainer of frame elements
TGListBox*fListBoxlist box which contains this container
TList*TQObject::fListOfConnections! list of connections to this object
TList*TQObject::fListOfSignals! list of signals from this object
Bool_tTGCompositeFrame::fMapSubwindowskTRUE - map subwindows
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
Bool_tfMultiSelecttrue if multi selection is switched on
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
Int_tTGContainer::fSelectednumber of selected items
Bool_tTQObject::fSignalsBlocked! flag used for suppression of signals
Int_tTGContainer::fTotaltotal items
TGViewPort*TGContainer::fViewPortcontainer viewport
UInt_tTGFrame::fWidthframe width
Int_tTGFrame::fXframe x position
Int_tTGContainer::fX0corner of rubber band box
Int_tTGContainer::fXDND
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::fYDND
Int_tTGContainer::fYfother corner of rubber band box
Int_tTGContainer::fYpprevious pointer position
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 Int_tTGWindow::fgCountercounter of created windows in SavePrimitive
static Window_tTGFrame::fgDbw
static Int_tTGFrame::fgDbx
static Int_tTGFrame::fgDby
static Pixel_tTGFrame::fgDefaultFrameBackground
static TGLayoutHints*TGCompositeFrame::fgDefaultHintsdefault hints used by AddFrame()
static Pixel_tTGFrame::fgDefaultSelectedBackground
static const TGGC*TGFrame::fgHilightGC
static Bool_tTGFrame::fgInit
static UInt_tTGFrame::fgLastButton
static Time_tTGFrame::fgLastClick
static TGGC*TGContainer::fgLineGC
static const TGGC*TGFrame::fgShadowGC
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

TGLBContainer(const TGWindow* p = 0, UInt_t w = 1, UInt_t h = 1, UInt_t options = kSunkenFrame, Pixel_t back = GetDefaultFrameBackground())
 Create a listbox container.
~TGLBContainer()
 Delete the listbox container.
void Layout()
 Layout container
void DoRedraw()
 redraw
void AddEntry(TGLBEntry* lbe, TGLayoutHints* lhints)
 Add listbox entry with hints to container. To show entry call
 MapSubwindows() and Layout().
void InsertEntry(TGLBEntry* lbe, TGLayoutHints* lhints, Int_t afterID)
 Insert listbox entry after specified entry with id afterID. If afterID = -1
 then add entry at head of list. To show entry call MapSubwindows() and
 Layout().
void AddEntrySort(TGLBEntry* lbe, TGLayoutHints* lhints)
 Insert listbox entry before the list box entry with a higher id.
 To show entry call MapSubwindows() and Layout().
void RemoveEntry(Int_t id)
 Remove the entry with specified id from the listbox container.
 To update the listbox call Layout().
void RemoveEntries(Int_t from_ID, Int_t to_ID)
 Remove entries from from_ID to to_ID (including).
 To update the listbox call Layout().
void RemoveAll()
 Remove all entries in this container.
TGLBEntry * Select(Int_t id)
 Select the entry with the specified id.
 Returns the selected TGLBEntry.
TGLBEntry * Select(Int_t id, Bool_t sel)
 Select / deselect the entry with the specified id.
 Returns the selected TGLBEntry.
Int_t GetSelected() const
 Returns id of selected entry. In case of no selected entry or
 if multi selection is switched on returns -1.
Bool_t GetSelection(Int_t id)
 Returns kTrue if entry id is selected.
void GetSelectedEntries(TList* selected)
 Adds all selected entries (TGLBEntry) of the list box into
 the list selected.
void SetMultipleSelections(Bool_t multi)
 Enables and disables multiple selections of entries.
TGVScrollBar * GetVScrollbar() const
 Return a pointer to vertical scroll bar.
void SetVsbPosition(Int_t newPos)
 Set new vertical scroll bar position.
Bool_t HandleButton(Event_t* event)
 Handle mouse button event in the listbox container.
Bool_t HandleDoubleClick(Event_t* event)
 Handle double click mouse event in the listbox container.
Bool_t HandleMotion(Event_t* event)
 Handle mouse motion event in listbox container.
void OnAutoScroll()
 Autoscroll while close to & beyond  The Wall
void ActivateItem(TGFrameElement* el)
 Activate item.
Int_t GetPos(Int_t id)
 Returns the position in the list box of the entry id.
 The first position has position no 0. Returns -1 if entry id
 is not in the list of entries.
TGTextLBEntry & operator=(const TGLBContainer& )
TGLBContainer(const TGLBContainer& )
void Associate(const TGWindow* w)
{ fMsgWindow = w; }
void SetListBox(TGListBox* lb)
{ fListBox = lb; }
TGListBox * GetListBox() const
{ return fListBox; }
TGLBEntry * GetSelectedEntry() const
{ return fLastActive; }
UInt_t GetDefaultWidth() const
{ return fWidth; }
Bool_t GetMultipleSelections() const
{ return fMultiSelect; }