TRootControlBar Class Reference

#include <TRootControlBar.h>

Inheritance diagram for TRootControlBar:

TGMainFrame TControlBarImp TGMainFrame TControlBarImp TGCompositeFrame TGCompositeFrame TGCompositeFrame TGCompositeFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame TGFrame List of all members.

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 ()
TListGetWidgets () 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 ()
TListGetWidgets () 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

TListfWidgets
TGLayoutHintsfL1
UInt_t fBwidth
TListfWidgets
TGLayoutHintsfL1

Detailed Description

Definition at line 37 of file TRootControlBar.h.


Constructor & Destructor Documentation

TRootControlBar::TRootControlBar ( TControlBar c = 0,
const char *  title = "ROOT Control Bar",
Int_t  x = -999,
Int_t  y = -999 
)

TRootControlBar::~TRootControlBar (  )  [virtual]

Definition at line 55 of file TRootControlBar.cxx.

References fWidgets.

TRootControlBar::TRootControlBar ( TControlBar c = 0,
const char *  title = "ROOT Control Bar",
Int_t  x = -999,
Int_t  y = -999 
)

virtual TRootControlBar::~TRootControlBar (  )  [virtual]


Member Function Documentation

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]

Definition at line 53 of file TRootControlBar.h.

References fWidgets.

void TRootControlBar::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Definition at line 159 of file TRootControlBar.cxx.

References TGFrame::DeleteWindow().

Bool_t TRootControlBar::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

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]

Definition at line 53 of file TRootControlBar.h.

References fWidgets.

void TRootControlBar::CloseWindow (  )  [virtual]

Reimplemented from TGMainFrame.

Bool_t TRootControlBar::ProcessMessage ( Long_t  msg,
Long_t  parm1,
Long_t  parm2 
) [virtual]

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.


Member Data Documentation

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]

Definition at line 41 of file TRootControlBar.h.

Referenced by Create().

UInt_t TRootControlBar::fBwidth [private]

Definition at line 42 of file TRootControlBar.h.

Referenced by Create(), and SetButtonWidth().

TList* TRootControlBar::fWidgets [private]

Definition at line 40 of file TRootControlBar.h.

TGLayoutHints* TRootControlBar::fL1 [private]

Definition at line 41 of file TRootControlBar.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:46:26 2011 for ROOT_528-00b_version by  doxygen 1.5.1