12 #ifndef ROOT_TRootDialog 13 #define ROOT_TRootDialog 45 const char *title =
"ROOT Dialog",
Bool_t okB =
kTRUE,
50 virtual void Add(
const char *argname,
const char *value,
const char *
type);
virtual void Add(const char *argname, const char *value, const char *type)
Add a label and text input field.
void TabPressed()
Handle Tab keyboard navigation in this dialog.
virtual ~TRootDialog()
Delete the dialog.
TRootDialog(TRootContextMenu *cmenu=0, const TGWindow *main=0, const char *title="ROOT Dialog", Bool_t okB=kTRUE, Bool_t cancelB=kTRUE, Bool_t applyB=kFALSE, Bool_t helpB=kTRUE)
Create a method argument prompt dialog.
#define ClassDef(name, id)
int main(int argc, char **argv)
virtual Bool_t HandleKey(Event_t *event)
The key press event handler in this dialog.
virtual const char * GetParameters()
Get parameter string (called by contextmenu after OK or Apply has been selected). ...
virtual void CloseWindow()
Called when closed via window manager action.
virtual void Popup()
Popup dialog.