#include <TGShutter.h>
Inheritance diagram for TGShutter:
Definition at line 75 of file TGShutter.h.
TGShutter::TGShutter | ( | const TGShutter & | ) | [private] |
TGShutter::~TGShutter | ( | ) | [virtual] |
Definition at line 55 of file TGShutter.cxx.
References TList::Delete(), fTimer, fTrash, and TGCompositeFrame::MustCleanup().
TGShutter::TGShutter | ( | const TGShutter & | ) | [private] |
virtual TGShutter::~TGShutter | ( | ) | [virtual] |
void TGShutter::AddItem | ( | TGShutterItem * | item | ) | [virtual] |
Definition at line 69 of file TGShutter.cxx.
References TList::Add(), TGCompositeFrame::AddFrame(), fSelectedItem, fTrash, kLHintsExpandX, and kLHintsExpandY.
Referenced by AddPage(), TRootGuiBuilder::AddSection(), TestShutter::AddShutterItem(), ShutterWindow::AddShutterItem(), TestSliders::DoSlider(), TGeoManagerEditor::TGeoManagerEditor(), and TGeoVolumeEditor::TGeoVolumeEditor().
void TGShutter::RemoveItem | ( | const char * | name | ) | [virtual] |
Definition at line 82 of file TGShutter.cxx.
References TList::After(), TList::Before(), TGWindow::DestroyWindow(), TList::FindObject(), TGCompositeFrame::fList, fSelectedItem, TCollection::GetEntries(), TGFrame::GetFrameElement(), GetItem(), Layout(), TGCompositeFrame::RemoveFrame(), sel, and SetSelectedItem().
Referenced by RemovePage().
TGShutterItem * TGShutter::AddPage | ( | const char * | item = "Page" |
) | [virtual] |
Definition at line 141 of file TGShutter.cxx.
References AddItem(), Layout(), and TGCompositeFrame::MapSubwindows().
Referenced by TRootGuiBuilder::BuildShutter().
void TGShutter::RemovePage | ( | ) | [virtual] |
Definition at line 117 of file TGShutter.cxx.
References TString::Data(), fSelectedItem, TGShutterItem::GetButton(), TGTextButton::GetString(), and RemoveItem().
void TGShutter::RenamePage | ( | const char * | name | ) | [virtual] |
Definition at line 129 of file TGShutter.cxx.
References fSelectedItem, TGShutterItem::GetButton(), and TGTextButton::SetText().
Reimplemented from TGWindow.
Definition at line 194 of file TGShutter.cxx.
References fClosingHeight, fClosingItem, fHeightIncrement, fTimer, kFALSE, kTRUE, Layout(), TTimer::Reset(), and TTimer::TurnOff().
void TGShutter::Layout | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 214 of file TGShutter.cxx.
References TGFrame::fBorderWidth, TGShutterItem::fButton, TGShutterItem::fCanvas, fClosingHeight, fClosingItem, TGFrameElement::fFrame, TGFrame::fHeight, TGCompositeFrame::fList, fSelectedItem, TGFrame::fWidth, TGFrame::GetDefaultHeight(), TGCompositeFrame::GetList(), TGCompositeFrame::HideFrame(), TGCanvas::kCanvasNoScroll, TGCanvas::kCanvasScrollVertical, TGFrame::MoveResize(), TIter::Reset(), TGCanvas::SetScrolling(), TGCompositeFrame::ShowFrame(), and y.
Referenced by AddPage(), HandleTimer(), RemoveItem(), TGeoManagerEditor::SetModel(), SetSelectedItem(), and TGeoVolumeEditor::TGeoVolumeEditor().
virtual void TGShutter::SetLayoutManager | ( | TGLayoutManager * | ) | [inline, virtual] |
TGShutterItem* TGShutter::GetSelectedItem | ( | ) | const [inline] |
Definition at line 104 of file TGShutter.h.
References fSelectedItem.
Referenced by SavePrimitive().
TGShutterItem * TGShutter::GetItem | ( | const char * | name | ) |
Definition at line 298 of file TGShutter.cxx.
References TGFrameElement::fFrame, TGCompositeFrame::fList, TGShutterItem::GetButton(), and TGTextButton::GetString().
Referenced by TRootGuiBuilder::AddAction(), TGeoManagerEditor::DoCreateBox(), TGeoManagerEditor::DoCreateCone(), TGeoManagerEditor::DoCreateCons(), TGeoManagerEditor::DoCreateCtub(), TGeoManagerEditor::DoCreateEltu(), TGeoManagerEditor::DoCreateGtra(), TGeoManagerEditor::DoCreateHype(), TGeoManagerEditor::DoCreateMaterial(), TGeoManagerEditor::DoCreateMedium(), TGeoManagerEditor::DoCreateMixture(), TGeoManagerEditor::DoCreatePara(), TGeoManagerEditor::DoCreatePcon(), TGeoManagerEditor::DoCreatePgon(), TGeoManagerEditor::DoCreateSphe(), TGeoManagerEditor::DoCreateTorus(), TGeoManagerEditor::DoCreateTrap(), TGeoManagerEditor::DoCreateTrd1(), TGeoManagerEditor::DoCreateTrd2(), TGeoManagerEditor::DoCreateTube(), TGeoManagerEditor::DoCreateTubs(), TGeoVolumeEditor::DoRemoveNode(), EnableItem(), TRootGuiBuilder::FindActionButton(), RemoveItem(), TGeoVolumeEditor::SetModel(), TGeoManagerEditor::SetModel(), SetSelectedItem(), TGeoManagerEditor::ShowSelectMaterial(), TGeoManagerEditor::ShowSelectMatrix(), TGeoManagerEditor::ShowSelectMedium(), TGeoManagerEditor::ShowSelectShape(), TGeoManagerEditor::ShowSelectVolume(), ShutterWindow::ToggleShutterItem(), TRootGuiBuilder::TRootGuiBuilder(), TGeoManagerEditor::~TGeoManagerEditor(), and TGeoVolumeEditor::~TGeoVolumeEditor().
void TGShutter::SetSelectedItem | ( | TGShutterItem * | item | ) | [virtual] |
Definition at line 263 of file TGShutter.cxx.
References fSelectedItem, Layout(), and TGShutterItem::Selected().
Referenced by RemoveItem(), and SetSelectedItem().
void TGShutter::SetSelectedItem | ( | const char * | name | ) | [virtual] |
Definition at line 285 of file TGShutter.cxx.
References TGShutterItem::GetButton(), GetItem(), and TGButton::SetEnabled().
TGDimension TGShutter::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 318 of file TGShutter.cxx.
References fDefHeight, fDefWidth, TGFrame::fHeight, TGFrame::fWidth, TGFrame::GetOptions(), h, kFixedHeight, kFixedWidth, and w.
Definition at line 328 of file TGShutter.cxx.
References fDefHeight, and fDefWidth.
Referenced by TGeoVolumeEditor::TGeoVolumeEditor().
void TGShutter::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
Definition at line 434 of file TGShutter.cxx.
References fDefHeight, fDefWidth, TGFrameElement::fFrame, TGCompositeFrame::fList, TGWindow::fParent, TGFrame::GetHeight(), TGWindow::GetName(), TGFrame::GetOptionString(), GetSelectedItem(), TGFrame::GetWidth(), out, and TGFrame::SavePrimitive().
Reimplemented from TGCompositeFrame.
Definition at line 154 of file TGShutter.cxx.
References TGShutterItem::fButton, fClosingHeight, fClosingItem, TGFrameElement::fFrame, fHeightIncrement, TList::First(), TGCompositeFrame::fList, fSelectedItem, fTimer, TGFrame::GetDefaultHeight(), TGFrame::GetHeight(), if(), kFALSE, kTRUE, TTimer::Reset(), TGShutterItem::Selected(), Selected(), TTimer::TurnOn(), and TGWidget::WidgetId().
virtual void TGShutter::Selected | ( | TGShutterItem * | item | ) | [inline, virtual] |
Definition at line 116 of file TGShutter.h.
References TQObject::Emit().
Referenced by ProcessMessage().
virtual void TGShutter::AddItem | ( | TGShutterItem * | item | ) | [virtual] |
virtual void TGShutter::RemoveItem | ( | const char * | name | ) | [virtual] |
virtual TGShutterItem* TGShutter::AddPage | ( | const char * | item = "Page" |
) | [virtual] |
virtual void TGShutter::RemovePage | ( | ) | [virtual] |
virtual void TGShutter::RenamePage | ( | const char * | name | ) | [virtual] |
virtual void TGShutter::Layout | ( | ) | [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGShutter::SetLayoutManager | ( | TGLayoutManager * | ) | [inline, virtual] |
TGShutterItem* TGShutter::GetSelectedItem | ( | ) | const [inline] |
TGShutterItem* TGShutter::GetItem | ( | const char * | name | ) |
virtual void TGShutter::SetSelectedItem | ( | TGShutterItem * | item | ) | [virtual] |
virtual void TGShutter::SetSelectedItem | ( | const char * | name | ) | [virtual] |
virtual TGDimension TGShutter::GetDefaultSize | ( | ) | const [virtual] |
Reimplemented from TGCompositeFrame.
virtual void TGShutter::SavePrimitive | ( | ostream & | out, | |
Option_t * | option = "" | |||
) | [virtual] |
Reimplemented from TGCompositeFrame.
Reimplemented from TGCompositeFrame.
virtual void TGShutter::Selected | ( | TGShutterItem * | item | ) | [inline, virtual] |
TTimer* TGShutter::fTimer [protected] |
Definition at line 78 of file TGShutter.h.
Referenced by HandleTimer(), ProcessMessage(), and ~TGShutter().
TGShutterItem* TGShutter::fSelectedItem [protected] |
Definition at line 79 of file TGShutter.h.
Referenced by AddItem(), GetSelectedItem(), Layout(), ProcessMessage(), RemoveItem(), RemovePage(), RenamePage(), and SetSelectedItem().
TGShutterItem* TGShutter::fClosingItem [protected] |
Definition at line 80 of file TGShutter.h.
Referenced by HandleTimer(), Layout(), and ProcessMessage().
TList* TGShutter::fTrash [protected] |
Int_t TGShutter::fHeightIncrement [protected] |
Int_t TGShutter::fClosingHeight [protected] |
Definition at line 83 of file TGShutter.h.
Referenced by HandleTimer(), Layout(), and ProcessMessage().
Int_t TGShutter::fClosingHadScrollbar [protected] |
Definition at line 84 of file TGShutter.h.
UInt_t TGShutter::fDefWidth [protected] |
Definition at line 85 of file TGShutter.h.
Referenced by GetDefaultSize(), SavePrimitive(), and SetDefaultSize().
UInt_t TGShutter::fDefHeight [protected] |
Definition at line 86 of file TGShutter.h.
Referenced by GetDefaultSize(), SavePrimitive(), and SetDefaultSize().
TTimer* TGShutter::fTimer [protected] |
Definition at line 78 of file TGShutter.h.
TGShutterItem* TGShutter::fSelectedItem [protected] |
Definition at line 79 of file TGShutter.h.
TGShutterItem* TGShutter::fClosingItem [protected] |
Definition at line 80 of file TGShutter.h.
TList* TGShutter::fTrash [protected] |
Definition at line 81 of file TGShutter.h.