12#ifndef ROOT_TControlBar 
   13#define ROOT_TControlBar 
   41   TControlBar(
const char *orientation, 
const char *title=
"");
 
   47   void            AddButton(
const char *label, 
const char *action, 
const char *hint=
"", 
const char *
type=
"button");
 
   59   void            SetFont(
const char *fontName);
 
#define ClassDef(name, id)
 
include TDocParser_001 C image html pict1_TDocParser_001 png width
 
ABC describing GUI independent control bar.
 
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
 
void SetFont(const char *fontName)
Sets new font for control bar buttons, e.g.
 
TList * fButtons
list of buttons
 
void Show()
Show control bar.
 
Int_t fOrientation
orientation
 
Int_t GetNumberOfColumns() const
 
void AddSeparator()
Add separator.
 
Int_t fNoroc
number of rows or columns
 
void Initialize(Int_t x, Int_t y)
Initialize control bar.
 
TControlBarButton * GetClicked() const
Returns a pointer to the last clicked control bar button; null if no button was clicked yet.
 
void AddControlBar(TControlBar *controlBar)
Add control bar.
 
virtual ~TControlBar()
Destructor.
 
TControlBarImp * GetControlBarImp() const
 
TControlBarImp * fControlBarImp
system specific implementation
 
void SetOrientation(const char *o)
Set control bar orientation.
 
void SetButtonState(const char *label, Int_t state=0)
Sets a state for control bar button 'label'; possible states are 0-kButtonUp, 1-kButtonDown,...
 
void SetButtonWidth(UInt_t width)
Sets the width in pixels for control bar button.
 
void SetNumberOfRows(Int_t n)
 
Int_t GetOrientation() const
 
virtual void Create()
Create control bar.
 
void AddButton(TControlBarButton *button)
Add button.
 
void SetTextColor(const char *colorName)
Sets text color for control bar buttons, e.g.
 
void SetNumberOfColumns(Int_t n)
 
TControlBar()
Default constructor.
 
void Hide()
Hide control bar.
 
TList * GetListOfButtons() const
 
Int_t GetNumberOfRows() const