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