12#ifndef ROOT_TControlBar 
   13#define ROOT_TControlBar 
   17#ifdef R__LESS_INCLUDES 
int Int_t
Signed integer 4 bytes (int)
 
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int)
 
#define ClassDefOverride(name, id)
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t button
 
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.
 
TControlBarImp * GetControlBarImp() const
 
TControlBarImp * fControlBarImp
system specific implementation
 
~TControlBar() override
Destructor.
 
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 Create() override
Create control bar.
 
void SetNumberOfRows(Int_t n)
 
Int_t GetOrientation() const
 
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