#include <TGListBox.h>
Inheritance diagram for TGLBContainer:
Definition at line 231 of file TGListBox.h.
TGLBContainer::TGLBContainer | ( | const TGLBContainer & | ) | [private] |
TGLBContainer::TGLBContainer | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = kSunkenFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
TGLBContainer::~TGLBContainer | ( | ) | [virtual] |
TGLBContainer::TGLBContainer | ( | const TGLBContainer & | ) | [private] |
TGLBContainer::TGLBContainer | ( | const TGWindow * | p = 0 , |
|
UInt_t | w = 1 , |
|||
UInt_t | h = 1 , |
|||
UInt_t | options = kSunkenFrame , |
|||
Pixel_t | back = GetDefaultFrameBackground() | |||
) |
virtual TGLBContainer::~TGLBContainer | ( | ) | [virtual] |
TGLBContainer TGLBContainer::operator= | ( | const TGLBContainer & | ) | [private] |
void TGLBContainer::OnAutoScroll | ( | ) | [protected, virtual] |
Reimplemented from TGContainer.
Definition at line 1014 of file TGListBox.cxx.
References TGContainer::ClearViewPort(), fChangeStatus, TGFrameElement::fFrame, TGDimension::fHeight, TGObject::fId, TGCompositeFrame::fList, TGContainer::fMsgWindow, Event_t::fState, Event_t::fType, Event_t::fXRoot, TGPosition::fY, Event_t::fYRoot, TGContainer::GetPageDimension(), TGContainer::GetPagePosition(), TGScrollBar::GetPosition(), GetVScrollbar(), gVirtualX, kButtonPress, kC_CONTAINER, kCT_ITEMCLICK, kFALSE, kTRUE, MK_MSG(), TGFrame::SendMessage(), TGVScrollBar::SetPosition(), x, and y.
void TGLBContainer::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGContainer.
Definition at line 510 of file TGListBox.cxx.
References TGContainer::DoRedraw().
void TGLBContainer::AddEntry | ( | TGLBEntry * | lbe, | |
TGLayoutHints * | lhints | |||
) | [virtual] |
Definition at line 518 of file TGListBox.cxx.
References TList::Add(), TGContainer::ClearViewPort(), TGCompositeFrame::fgDefaultHints, and TGCompositeFrame::fList.
Referenced by TGListBox::AddEntry().
void TGLBContainer::AddEntrySort | ( | TGLBEntry * | lbe, | |
TGLayoutHints * | lhints | |||
) | [virtual] |
Definition at line 569 of file TGListBox.cxx.
References TList::Add(), TList::AddBefore(), TGContainer::ClearViewPort(), TGLBEntry::EntryId(), TGFrameElement::fFrame, TGCompositeFrame::fgDefaultHints, TGFrameElement::fLayout, TGCompositeFrame::fList, TGFrameElement::fState, and if().
Referenced by TGListBox::AddEntrySort().
void TGLBContainer::InsertEntry | ( | TGLBEntry * | lbe, | |
TGLayoutHints * | lhints, | |||
Int_t | afterID | |||
) | [virtual] |
Definition at line 532 of file TGListBox.cxx.
References TList::Add(), TList::AddAfter(), TList::AddFirst(), TGContainer::ClearViewPort(), TGLBEntry::EntryId(), TGFrameElement::fFrame, TGCompositeFrame::fgDefaultHints, TGFrameElement::fLayout, TGCompositeFrame::fList, TGFrameElement::fState, and if().
Referenced by TGListBox::InsertEntry().
void TGLBContainer::RemoveEntry | ( | Int_t | id | ) | [virtual] |
Definition at line 602 of file TGListBox.cxx.
References TGContainer::ClearViewPort(), TGWindow::DestroyWindow(), TGLBEntry::EntryId(), TGFrameElement::fFrame, fLastActive, TGFrameElement::fLayout, TGCompositeFrame::fList, if(), l, and TList::Remove().
Referenced by TGListBox::RemoveEntry().
Definition at line 630 of file TGListBox.cxx.
References TGContainer::ClearViewPort(), TGWindow::DestroyWindow(), TGLBEntry::EntryId(), TGFrameElement::fFrame, fLastActive, TGFrameElement::fLayout, TGCompositeFrame::fList, if(), l, and TList::Remove().
Referenced by TGListBox::RemoveEntries().
void TGLBContainer::RemoveAll | ( | ) | [virtual] |
Reimplemented from TGContainer.
Definition at line 657 of file TGListBox.cxx.
References TGContainer::ClearViewPort(), TGWindow::DestroyWindow(), TGFrameElement::fFrame, fLastActive, TGFrameElement::fLayout, TGCompositeFrame::fList, if(), l, and TList::Remove().
Referenced by TGListBox::RemoveAll().
void TGLBContainer::ActivateItem | ( | TGFrameElement * | el | ) | [virtual] |
Reimplemented from TGContainer.
Definition at line 1068 of file TGListBox.cxx.
References TGContainer::ActivateItem(), TGFrameElement::fFrame, and fLastActive.
virtual void TGLBContainer::Associate | ( | const TGWindow * | w | ) | [inline, virtual] |
Reimplemented from TGContainer.
Definition at line 263 of file TGListBox.h.
References TGContainer::fMsgWindow, and w.
Referenced by TGListBox::InitListBox().
virtual void TGLBContainer::SetListBox | ( | TGListBox * | lb | ) | [inline, virtual] |
Definition at line 264 of file TGListBox.h.
References fListBox.
Referenced by TGListBox::InitListBox().
TGListBox* TGLBContainer::GetListBox | ( | ) | const [inline] |
Reimplemented from TGContainer.
Definition at line 807 of file TGListBox.cxx.
References TGContainer::ClearViewPort(), fChangeStatus, TGObject::fClient, Event_t::fCode, TGFrameElement::fFrame, TGObject::fId, fLastActive, TGContainer::fLastActiveEl, TGCompositeFrame::fList, fListBox, TGCompositeFrame::fMapSubwindows, TGContainer::fMsgWindow, fMultiSelect, TGContainer::fScrolling, TGContainer::fScrollTimer, Event_t::fType, Event_t::fUser, Event_t::fX, TGPosition::fX, Event_t::fY, TGPosition::fY, TGListBox::GetContainer(), TGContainer::GetPagePosition(), TGWindow::GetParent(), TGScrollBar::GetPosition(), GetVScrollbar(), gSystem, gVirtualX, TObject::InheritsFrom(), TGClient::IsEditable(), kButton3, kButton4, kButton5, kButtonPress, kButtonRelease, kC_CONTAINER, kCT_ITEMCLICK, kFALSE, kPointerMotionMask, kTRUE, MK_MSG(), TGFrame::RemoveInput(), TSystem::RemoveTimer(), TGFrame::SendMessage(), TGVScrollBar::SetPosition(), x, and y.
Reimplemented from TGContainer.
Definition at line 920 of file TGListBox.cxx.
References fLastActive, TGContainer::fMsgWindow, fMultiSelect, kC_CONTAINER, kCT_ITEMDBLCLICK, kTRUE, MK_MSG(), and TGFrame::SendMessage().
Reimplemented from TGContainer.
Definition at line 935 of file TGListBox.cxx.
References TSystem::AddTimer(), TGContainer::ClearViewPort(), fChangeStatus, TGFrameElement::fFrame, TGDimension::fHeight, fLastActive, TGCompositeFrame::fList, fListBox, TGCompositeFrame::fMapSubwindows, TGContainer::fMsgWindow, fMultiSelect, TGContainer::fScrolling, TGContainer::fScrollTimer, Event_t::fUser, Event_t::fX, TGPosition::fX, Event_t::fY, TGPosition::fY, TGContainer::GetPageDimension(), TGContainer::GetPagePosition(), TGWindow::GetParent(), gSystem, TObject::InheritsFrom(), kC_CONTAINER, kCT_ITEMCLICK, kFALSE, kTRUE, Long64_t, MK_MSG(), TSystem::Now(), TTimer::Reset(), TGFrame::SendMessage(), x, and y.
Int_t TGLBContainer::GetSelected | ( | ) | const [virtual] |
Definition at line 721 of file TGListBox.cxx.
References TGLBEntry::EntryId(), and fLastActive.
Referenced by TGListBox::GetSelected(), TGListBox::NewEntry(), and TGListBox::RemoveEntry().
Definition at line 731 of file TGListBox.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, if(), and kFALSE.
Referenced by TGListBox::GetSelection().
Definition at line 1077 of file TGListBox.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, and if().
Referenced by TGListBox::SetTopEntry().
TGLBEntry* TGLBContainer::GetSelectedEntry | ( | ) | const [inline] |
Definition at line 272 of file TGListBox.h.
References fLastActive.
Referenced by TGListBox::GetSelectedEntry().
void TGLBContainer::GetSelectedEntries | ( | TList * | selected | ) | [virtual] |
Definition at line 749 of file TGListBox.cxx.
References TList::Add(), TGFrameElement::fFrame, TGCompositeFrame::fList, and if().
Referenced by TGListBox::GetSelectedEntries(), and TGListBox::RemoveEntry().
Definition at line 690 of file TGListBox.cxx.
References TGLBEntry::Activate(), TGContainer::ClearViewPort(), TGFrameElement::fFrame, fLastActive, TGContainer::fLastActiveEl, TGCompositeFrame::fList, fMultiSelect, if(), kFALSE, and kTRUE.
Referenced by TGListBox::Select(), and Select().
TGVScrollBar * TGLBContainer::GetVScrollbar | ( | ) | const [virtual] |
Reimplemented from TGContainer.
Definition at line 787 of file TGListBox.cxx.
References fListBox, and TGListBox::GetVScrollbar().
Referenced by HandleButton(), OnAutoScroll(), and SetVsbPosition().
void TGLBContainer::SetVsbPosition | ( | Int_t | newPos | ) | [virtual] |
Reimplemented from TGContainer.
Definition at line 795 of file TGListBox.cxx.
References GetVScrollbar(), TGWindow::IsMapped(), and TGVScrollBar::SetPosition().
void TGLBContainer::Layout | ( | ) | [virtual] |
Reimplemented from TGContainer.
Definition at line 501 of file TGListBox.cxx.
References TGFrame::fHeight, fListBox, TGListBox::GetViewPort(), TGFrame::GetWidth(), TGContainer::Layout(), and TGFrame::Resize().
virtual UInt_t TGLBContainer::GetDefaultWidth | ( | ) | const [inline, virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 280 of file TGListBox.h.
References TGFrame::fWidth.
void TGLBContainer::SetMultipleSelections | ( | Bool_t | multi | ) | [virtual] |
Definition at line 767 of file TGListBox.cxx.
References TGFrame::Activate(), TGContainer::ClearViewPort(), TGFrameElement::fFrame, fLastActive, TGContainer::fLastActiveEl, TGCompositeFrame::fList, fMultiSelect, and kFALSE.
Referenced by TGListBox::SetMultipleSelections().
virtual Bool_t TGLBContainer::GetMultipleSelections | ( | ) | const [inline, virtual] |
Definition at line 283 of file TGListBox.h.
References fMultiSelect.
Referenced by TGListBox::GetMultipleSelections(), and TGListBox::RemoveEntry().
TGLBContainer TGLBContainer::operator= | ( | const TGLBContainer & | ) | [private] |
virtual void TGLBContainer::OnAutoScroll | ( | ) | [protected, virtual] |
Reimplemented from TGContainer.
virtual void TGLBContainer::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGContainer.
virtual void TGLBContainer::AddEntry | ( | TGLBEntry * | lbe, | |
TGLayoutHints * | lhints | |||
) | [virtual] |
virtual void TGLBContainer::AddEntrySort | ( | TGLBEntry * | lbe, | |
TGLayoutHints * | lhints | |||
) | [virtual] |
virtual void TGLBContainer::InsertEntry | ( | TGLBEntry * | lbe, | |
TGLayoutHints * | lhints, | |||
Int_t | afterID | |||
) | [virtual] |
virtual void TGLBContainer::RemoveEntry | ( | Int_t | id | ) | [virtual] |
virtual void TGLBContainer::RemoveAll | ( | ) | [virtual] |
Reimplemented from TGContainer.
virtual void TGLBContainer::ActivateItem | ( | TGFrameElement * | el | ) | [virtual] |
Reimplemented from TGContainer.
virtual void TGLBContainer::Associate | ( | const TGWindow * | w | ) | [inline, virtual] |
Reimplemented from TGContainer.
Definition at line 263 of file TGListBox.h.
References TGContainer::fMsgWindow, and w.
virtual void TGLBContainer::SetListBox | ( | TGListBox * | lb | ) | [inline, virtual] |
TGListBox* TGLBContainer::GetListBox | ( | ) | const [inline] |
Reimplemented from TGContainer.
Reimplemented from TGContainer.
Reimplemented from TGContainer.
virtual Int_t TGLBContainer::GetSelected | ( | ) | const [virtual] |
TGLBEntry* TGLBContainer::GetSelectedEntry | ( | ) | const [inline] |
virtual void TGLBContainer::GetSelectedEntries | ( | TList * | selected | ) | [virtual] |
virtual TGVScrollBar* TGLBContainer::GetVScrollbar | ( | ) | const [virtual] |
Reimplemented from TGContainer.
virtual void TGLBContainer::SetVsbPosition | ( | Int_t | newPos | ) | [virtual] |
Reimplemented from TGContainer.
virtual void TGLBContainer::Layout | ( | ) | [virtual] |
Reimplemented from TGContainer.
virtual UInt_t TGLBContainer::GetDefaultWidth | ( | ) | const [inline, virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 280 of file TGListBox.h.
References TGFrame::fWidth.
virtual void TGLBContainer::SetMultipleSelections | ( | Bool_t | multi | ) | [virtual] |
virtual Bool_t TGLBContainer::GetMultipleSelections | ( | ) | const [inline, virtual] |
TGListBox [friend] |
Definition at line 233 of file TGListBox.h.
TGLBEntry* TGLBContainer::fLastActive [protected] |
Definition at line 240 of file TGListBox.h.
Referenced by ActivateItem(), GetSelected(), GetSelectedEntry(), HandleButton(), HandleDoubleClick(), HandleMotion(), RemoveAll(), RemoveEntries(), RemoveEntry(), Select(), and SetMultipleSelections().
TGListBox* TGLBContainer::fListBox [protected] |
Definition at line 241 of file TGListBox.h.
Referenced by GetListBox(), GetVScrollbar(), HandleButton(), HandleMotion(), Layout(), and SetListBox().
Bool_t TGLBContainer::fMultiSelect [protected] |
Definition at line 242 of file TGListBox.h.
Referenced by GetMultipleSelections(), HandleButton(), HandleDoubleClick(), HandleMotion(), Select(), and SetMultipleSelections().
Int_t TGLBContainer::fChangeStatus [protected] |
Definition at line 243 of file TGListBox.h.
Referenced by HandleButton(), HandleMotion(), and OnAutoScroll().
TGLBEntry* TGLBContainer::fLastActive [protected] |
Definition at line 240 of file TGListBox.h.
TGListBox* TGLBContainer::fListBox [protected] |
Definition at line 241 of file TGListBox.h.