27 Int_t GetUnID(
void) {
return ++nID; }
41 ~MyButtonTest()
override;
44 void SetGroupEnabled(
Bool_t);
53 Connect(
"CloseWindow()",
"MyButtonTest",
this,
"DoExit()");
58 fCheckb[0]->SetToolTipText(
"Enable/Disable the button group");
71 fCheckb[0]->Connect(
"Toggled(Bool_t)",
"MyButtonTest",
this,
"SetGroupEnabled(Bool_t)");
75 fExit->Connect(
"Clicked()",
"MyButtonTest",
this,
"DoExit()");
81 fButtonGroup->SetState(
kTRUE);
83 SetWindowName(
"My Button Group");
85 Resize(GetDefaultSize());
88 fButtonGroup->SetRadioButtonExclusive(
kTRUE);
92MyButtonTest::~MyButtonTest()
98void MyButtonTest::DoExit()
109void MyButtonTest::SetGroupEnabled(
Bool_t on)
111 fButtonGroup->SetState(
on);
114void buttongroupState()
116 new MyButtonTest(
gClient->GetRoot(), 100, 100);
#define ClassDef(name, id)
R__EXTERN TApplication * gApplication
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize MapSubwindows
virtual void Terminate(Int_t status=0)
Terminate the application by call TSystem::Exit() unless application has been told to return from Run...
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=nullptr)
Add frame to the composite frame using the specified layout hints.
A composite frame that layout their children in horizontal way.
TGHotString is a string with a "hot" character underlined.
This class describes layout hints used by the layout classes.
Defines top level windows that interact with the system Window Manager.
Yield an action as soon as it is clicked.
ROOT GUI Window base class.