267      Error(
"SetButtonState", 
"not valid button state (expecting 0, 1, 2 or 3)");
 
  290      if( !strcasecmp( o, 
"vertical" ) )
 
  292      else if( !strcasecmp( o, 
"horizontal" ) )
 
  295         Error( 
"SetOrientation", 
"Unknown orientation: '%s' !\n\t\t(choice of: %s, %s)",
 
  296                 o, 
"vertical", 
"horizontal" );
 
  310      Error( 
"SetOrientation", 
"Unknown orientation: %d !\n\t\t(choice of: %d, %d)",
 
  330      Printf(
"None of the control bar buttons is clicked yet");
 
R__EXTERN TApplication * gApplication
 
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
 
R__EXTERN TGuiFactory * gBatchGuiFactory
 
R__EXTERN TGuiFactory * gGuiFactory
 
void Printf(const char *fmt,...)
Formats a string in a circular formatting buffer and prints the string.
 
R__EXTERN TStyle * gStyle
 
void InitializeGraphics(Bool_t only_web=kFALSE)
Initialize the graphics environment.
 
virtual void SetButtonWidth(UInt_t)
 
virtual void SetTextColor(const char *)
 
virtual void SetButtonState(const char *, Int_t)
 
virtual void SetFont(const char *)
 
virtual TControlBarButton * GetClicked()
 
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
 
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 * 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 Create() override
Create control bar.
 
void AddButton(TControlBarButton *button)
Add button.
 
void SetTextColor(const char *colorName)
Sets text color for control bar buttons, e.g.:
 
TControlBar()
Default constructor.
 
void Hide()
Hide control bar.
 
void Add(TObject *obj) override
 
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
 
const char * GetName() const override
Returns name of object.
 
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
 
Float_t GetScreenFactor() const