80 Warning(
"Create",
"separators not yet supported");
84 Warning(
"Create",
"picture buttons not yet supported");
91 b->SetUserData(button);
175 while ((obj=next())) {
192 while ((obj=next())) {
214 Error(
"SetButtonState",
"not valid button state (expecting 0, 1, 2 or 3)");
231 gClient->GetColorByName(colorName, color);
239 while ((obj=next())) {
include TDocParser_001 C image html pict1_TDocParser_001 png width
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
ABC describing GUI independent control bar.
TControlBar * fControlBar
TControlBarButton * fClicked
A Control Bar is a fully user configurable tool which provides fast access to frequently used operati...
TList * GetListOfButtons() const
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual UInt_t GetDefaultWidth() const
virtual void ChangeOptions(UInt_t options)
Change composite frame options. Options is an OR of the EFrameTypes.
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
virtual void MapSubwindows()
Map all sub windows that are part of the composite frame.
virtual void DeleteWindow()
Delete window.
virtual UInt_t GetOptions() const
virtual void Move(Int_t x, Int_t y)
Move frame.
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void UnmapWindow()
void SetIconName(const char *name)
Set window icon name. This is typically done via the window manager.
void SetWMSize(UInt_t w, UInt_t h)
Give the window manager a window size hint.
void SetWMPosition(Int_t x, Int_t y)
Give the window manager a window position hint.
void SetMWMHints(UInt_t value, UInt_t funcs, UInt_t input)
Set decoration style for MWM-compatible wm (mwm, ncdwm, fvwm?).
void SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
virtual void Add(TObject *obj)
virtual const char * GetTitle() const
Returns title of object.
virtual const char * GetName() const
Returns name of object.
Mother of all ROOT objects.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual const char * GetTitle() const
Returns title of object.
void ReallyDelete()
Really delete the control bar and the this GUI.
TRootControlBar(TControlBar *c=0, const char *title="ROOT Control Bar", Int_t x=-999, Int_t y=-999)
Create a ROOT native GUI controlbar.
void Hide()
Hide controlbar.
virtual ~TRootControlBar()
Delete the control bar implementation.
void SetTextColor(const char *colorName)
sets text color for control bar buttons, e.g.
Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle controlbar button messages.
void Show()
Show controlbar. If not yet created create it first.
void Create()
Create the control bar.
void SetButtonWidth(UInt_t width)
Set button width in pixels.
void SetFont(const char *fontName)
sets new font for control bar buttons
void CloseWindow()
Called when closed via window manager action.
void SetButtonState(const char *label, Int_t state=0)
sets new font for control bar buttons