25 virtual ~MyMainFrame();
56 gClient->GetColorByName(
"yellow", yellow);
58 help->ChangeBackground(yellow);
76 exit =
new TGTextButton(cframe2,
"&Exit ",
"gApplication->Terminate(0)");
82 SetWindowName(
"Buttons' Layout");
86 SetWMSizeHints(200, 80, 320, 320, 1, 1);
89 Resize(GetDefaultSize());
94MyMainFrame::~MyMainFrame()
103 new MyMainFrame(
gClient->GetRoot(), 350, 80);
#define ClassDef(name, id)
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.