27 Int_t GetUnID(
void) {
return ++nID; }
41 virtual ~MyButtonTest();
44 void SetGroupEnabled(
Bool_t);
54 Connect(
"CloseWindow()",
"MyButtonTest",
this,
"DoExit()");
60 fCheckb[0]->SetToolTipText(
"Enable/Disable the button group");
80 fCheckb[0]->Connect(
"Toggled(Bool_t)",
"MyButtonTest",
this,
81 "SetGroupEnabled(Bool_t)");
85 fExit->Connect(
"Clicked()",
"MyButtonTest",
this,
"DoExit()");
91 fButtonGroup->SetState(
kTRUE);
93 SetWindowName(
"My Button Group");
95 Resize(GetDefaultSize());
98 fButtonGroup->SetRadioButtonExclusive(
kTRUE);
102MyButtonTest::~MyButtonTest()
108void MyButtonTest::DoExit()
119void MyButtonTest::SetGroupEnabled(
Bool_t on)
121 fButtonGroup->SetState(on);
124void buttongroupState()
126 new MyButtonTest(
gClient->GetRoot(),100,100);
#define ClassDef(name, id)
R__EXTERN TApplication * gApplication
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=0)
Add frame to the composite frame using the specified layout hints.