#include <TRootControlBar.h>
Inheritance diagram for TRootControlBar:

Public Member Functions | |
| TRootControlBar (TControlBar *c=0, const char *title="ROOT Control Bar", Int_t x=-999, Int_t y=-999) | |
| virtual | ~TRootControlBar () |
| void | Create () |
| void | Hide () |
| void | Show () |
| TList * | GetWidgets () const |
| void | CloseWindow () |
| Bool_t | ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2) |
| void | ReallyDelete () |
| void | SetButtonState (const char *label, Int_t state=0) |
| void | SetButtonWidth (UInt_t width) |
| void | SetFont (const char *fontName) |
| void | SetTextColor (const char *colorName) |
| TRootControlBar (TControlBar *c=0, const char *title="ROOT Control Bar", Int_t x=-999, Int_t y=-999) | |
| virtual | ~TRootControlBar () |
| void | Create () |
| void | Hide () |
| void | Show () |
| TList * | GetWidgets () const |
| void | CloseWindow () |
| Bool_t | ProcessMessage (Long_t msg, Long_t parm1, Long_t parm2) |
| void | ReallyDelete () |
| void | SetButtonState (const char *label, Int_t state=0) |
| void | SetButtonWidth (UInt_t width) |
| void | SetFont (const char *fontName) |
| void | SetTextColor (const char *colorName) |
Private Attributes | |
| TList * | fWidgets |
| TGLayoutHints * | fL1 |
| UInt_t | fBwidth |
| TList * | fWidgets |
| TGLayoutHints * | fL1 |
Definition at line 37 of file TRootControlBar.h.
| TRootControlBar::TRootControlBar | ( | TControlBar * | c = 0, |
|
| const char * | title = "ROOT Control Bar", |
|||
| Int_t | x = -999, |
|||
| Int_t | y = -999 | |||
| ) |
| TRootControlBar::~TRootControlBar | ( | ) | [virtual] |
| TRootControlBar::TRootControlBar | ( | TControlBar * | c = 0, |
|
| const char * | title = "ROOT Control Bar", |
|||
| Int_t | x = -999, |
|||
| Int_t | y = -999 | |||
| ) |
| virtual TRootControlBar::~TRootControlBar | ( | ) | [virtual] |
| void TRootControlBar::Create | ( | ) | [virtual] |
Reimplemented from TControlBarImp.
Definition at line 64 of file TRootControlBar.cxx.
References TList::Add(), TGCompositeFrame::AddFrame(), b, fBwidth, TControlBarImp::fControlBar, fL1, fWidgets, TControlBarImp::fXpos, TControlBarImp::fYpos, TGCompositeFrame::GetDefaultSize(), TGCompositeFrame::GetDefaultWidth(), TGFrame::GetHeight(), TControlBar::GetListOfButtons(), TNamed::GetName(), TGFrame::GetOptions(), TCollection::GetSize(), TNamed::GetTitle(), TControlBarButton::GetType(), TControlBarButton::kButton, TControlBarButton::kDrawnButton, kHorizontalFrame, kMWMDecorAll, kMWMDecorResizeH, kMWMFuncAll, kMWMFuncMaximize, kMWMFuncResize, kMWMInputModeless, TControlBarButton::kSeparator, TGCompositeFrame::MapSubwindows(), TGFrame::Move(), TGFrame::Resize(), TGMainFrame::SetMWMHints(), TGMainFrame::SetWMPosition(), TGMainFrame::SetWMSize(), and TObject::Warning().
Referenced by SetTextColor(), and Show().
| void TRootControlBar::Hide | ( | ) | [virtual] |
Reimplemented from TControlBarImp.
Definition at line 129 of file TRootControlBar.cxx.
References TGFrame::UnmapWindow().
| void TRootControlBar::Show | ( | ) | [virtual] |
Reimplemented from TControlBarImp.
Definition at line 119 of file TRootControlBar.cxx.
References Create(), fWidgets, and TGFrame::MapRaised().
| TList* TRootControlBar::GetWidgets | ( | ) | const [inline] |
| void TRootControlBar::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
Definition at line 159 of file TRootControlBar.cxx.
References TGFrame::DeleteWindow().
Reimplemented from TGCompositeFrame.
Definition at line 137 of file TRootControlBar.cxx.
References TControlBarButton::Action(), TControlBarImp::fClicked, and kTRUE.
| void TRootControlBar::ReallyDelete | ( | ) | [virtual] |
Reimplemented from TGFrame.
Definition at line 151 of file TRootControlBar.cxx.
References TControlBarImp::fControlBar.
| void TRootControlBar::SetButtonState | ( | const char * | label, | |
| Int_t | state = 0 | |||
| ) | [virtual] |
Reimplemented from TControlBarImp.
Definition at line 184 of file TRootControlBar.cxx.
References xmlio::Class, TObject::Error(), fWidgets, TObject::GetTitle(), kButtonDisabled, kButtonDown, kButtonEngaged, kButtonUp, and TGFrame::Resize().
| void TRootControlBar::SetButtonWidth | ( | UInt_t | width | ) | [virtual] |
Reimplemented from TControlBarImp.
Definition at line 248 of file TRootControlBar.cxx.
References fBwidth.
| void TRootControlBar::SetFont | ( | const char * | fontName | ) | [virtual] |
Reimplemented from TControlBarImp.
Definition at line 167 of file TRootControlBar.cxx.
References xmlio::Class, fWidgets, and TGFrame::Resize().
| void TRootControlBar::SetTextColor | ( | const char * | colorName | ) | [virtual] |
Reimplemented from TControlBarImp.
Definition at line 224 of file TRootControlBar.cxx.
References xmlio::Class, Create(), fWidgets, gClient, TGClient::GetColorByName(), and TGFrame::Resize().
| void TRootControlBar::Create | ( | ) | [virtual] |
Reimplemented from TControlBarImp.
| void TRootControlBar::Hide | ( | ) | [virtual] |
Reimplemented from TControlBarImp.
| void TRootControlBar::Show | ( | ) | [virtual] |
Reimplemented from TControlBarImp.
| TList* TRootControlBar::GetWidgets | ( | ) | const [inline] |
| void TRootControlBar::CloseWindow | ( | ) | [virtual] |
Reimplemented from TGMainFrame.
Reimplemented from TGCompositeFrame.
| void TRootControlBar::ReallyDelete | ( | ) | [virtual] |
Reimplemented from TGFrame.
| void TRootControlBar::SetButtonState | ( | const char * | label, | |
| Int_t | state = 0 | |||
| ) | [virtual] |
Reimplemented from TControlBarImp.
| void TRootControlBar::SetButtonWidth | ( | UInt_t | width | ) | [virtual] |
Reimplemented from TControlBarImp.
| void TRootControlBar::SetFont | ( | const char * | fontName | ) | [virtual] |
Reimplemented from TControlBarImp.
| void TRootControlBar::SetTextColor | ( | const char * | colorName | ) | [virtual] |
Reimplemented from TControlBarImp.
TList* TRootControlBar::fWidgets [private] |
Definition at line 40 of file TRootControlBar.h.
Referenced by Create(), GetWidgets(), SetButtonState(), SetFont(), SetTextColor(), Show(), and ~TRootControlBar().
TGLayoutHints* TRootControlBar::fL1 [private] |
UInt_t TRootControlBar::fBwidth [private] |
TList* TRootControlBar::fWidgets [private] |
Definition at line 40 of file TRootControlBar.h.
TGLayoutHints* TRootControlBar::fL1 [private] |
Definition at line 41 of file TRootControlBar.h.
1.5.1