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);
#define ClassDef(name, id)
virtual Bool_t HandleKey(Event_t *event)
The key press event handler in this 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.
virtual void Add(const char *argname, const char *value, const char *type)
Add a label and text input field.
virtual const char * GetParameters()
Get parameter string (called by contextmenu after OK or Apply has been selected).
void TabPressed()
Handle Tab keyboard navigation in this dialog.
virtual void Popup()
Popup dialog.
virtual ~TRootDialog()
Delete the dialog.
virtual void CloseWindow()
Called when closed via window manager action.
int main(int argc, char **argv)