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 ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
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.
TGLayoutHints * fL2
text entry layout
TGLayoutHints * fL1
label layout
void CloseWindow() override
Called when closed via window manager action.
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.
TRootContextMenu * fMenu
associated context menu
Bool_t HandleKey(Event_t *event) override
The key press event handler in this dialog.