36 char *strvars,
char *strcuts):
52 fTEVars->Resize(260, fTEVars->GetDefaultHeight());
55 label =
new TGLabel(
this,
"Selected Cuts: ");
60 fTECuts->Resize(260, fTECuts->GetDefaultHeight());
68 UInt_t width = 0, height = 0;
73 height = fOk->GetDefaultHeight();
74 width =
TMath::Max(width, fOk->GetDefaultWidth());
77 fCancel->Associate(
this);
79 height = fCancel->GetDefaultHeight();
80 width =
TMath::Max(width, fCancel->GetDefaultWidth());
86 hf->
Resize((width + 20) * 2, height);
89 SetWindowName(
"Get Input");
94 width = GetDefaultWidth();
95 height = GetDefaultHeight();
97 Resize(width, height);
103 SetWMSize(width, height);
104 SetWMSizeHints(width, height, width, height, 0, 0);
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame.
virtual void SetFocus()
Set focus to this text entry.
const char * GetString() const
TGTextBuffer * GetBuffer() const
virtual void SetCleanup(Int_t mode=kLocalCleanup)
Turn on automatic cleanup of child frames in dtor.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
Short_t Max(Short_t a, Short_t b)
virtual void Cleanup()
Cleanup and delete all objects contained in this composite frame.
int main(int argc, char **argv)