Warning, file /include/root/TRootControlBar.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TRootControlBar
0013 #define ROOT_TRootControlBar
0014
0015
0016 #include "TControlBarImp.h"
0017 #include "TGFrame.h"
0018
0019 class TControlBar;
0020 class TList;
0021
0022
0023 class TRootControlBar : public TGMainFrame, public TControlBarImp {
0024
0025 private:
0026 TList *fWidgets;
0027 TGLayoutHints *fL1;
0028 UInt_t fBwidth;
0029
0030 public:
0031 TRootControlBar(TControlBar *c = nullptr, const char *title = "ROOT Control Bar",
0032 Int_t x = -999, Int_t y = -999);
0033 ~TRootControlBar() override;
0034
0035 void Create() override;
0036 void Hide() override;
0037 void Show() override;
0038
0039 TList *GetWidgets() const { return fWidgets; }
0040
0041
0042 void CloseWindow() override;
0043 Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override;
0044 void ReallyDelete() override;
0045 void SetButtonState(const char *label, Int_t state = 0) override;
0046 void SetButtonWidth(UInt_t width) override;
0047 void SetFont(const char *fontName) override;
0048 void SetTextColor(const char *colorName) override;
0049
0050 ClassDefOverride(TRootControlBar,0)
0051 };
0052
0053 #endif