12#ifndef ROOT_TRootDialog
13#define ROOT_TRootDialog
35 const char *title =
"ROOT Dialog",
Bool_t okB =
kTRUE,
40 virtual void Add(
const char *argname,
const char *value,
const char *
type);
#define ClassDef(name, id)
This class describes layout hints used by the layout classes.
Defines transient windows that typically are used for dialogs windows.
ROOT GUI Window base class.
A TRootDialog is used to prompt for the arguments of an object's member function.
virtual Bool_t HandleKey(Event_t *event)
The key press event handler in this dialog.
TGLayoutHints * fL2
text entry layout
TGLayoutHints * fL1
label layout
virtual void Add(const char *argname, const char *value, const char *type)
Add a label and text input field.
Bool_t fHelp
if true show Online Help button
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.
Bool_t fCancel
if true show Cancel button
Bool_t fApply
if true show Apply button
TList * fWidgets
label and text field widgets created in dialog
virtual void Popup()
Popup dialog.
Bool_t fOk
if true show OK button
virtual ~TRootDialog()
Delete the dialog.
virtual void CloseWindow()
Called when closed via window manager action.
TRootContextMenu * fMenu
associated context menu