76 const char *title =
nullptr,
const char *msg =
nullptr,
const TGPicture *icon =
nullptr,
81 const char *title,
const char *msg,
EMsgBoxIcon icon,
#define ClassDef(name, id)
A composite frame that layout their children in horizontal way.
This class handles GUI icons.
This class handles GUI labels.
This class describes layout hints used by the layout classes.
TGButton * fNoAll
buttons in dialog box
TGLayoutHints * fL5
layout hints
TGMsgBox & operator=(const TGMsgBox &)=delete
virtual Bool_t HandleKey(Event_t *event)
Handle enter and escape keys (used as Ok and Cancel for now).
TList * fMsgList
text (list of TGLabels)
virtual Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2)
Process message dialog box event.
TGHorizontalFrame * fIconFrame
frame containing icon and text
virtual ~TGMsgBox()
Destroy message dialog box.
void PMsgBox(const char *title, const char *msg, const TGPicture *icon, Int_t buttons, Int_t *ret_code, Int_t text_align)
Protected, common message dialog box initialization.
TGVerticalFrame * fLabelFrame
frame containing text
TGMsgBox(const TGMsgBox &)=delete
virtual void CloseWindow()
Close dialog box.
TGHorizontalFrame * fButtonFrame
frame containing buttons
TGButton * fDismiss
buttons in dialog box
TGButton * fCancel
buttons in dialog box
Int_t * fRetCode
address to store return code
TGButton * fApply
buttons in dialog box
The TGPicture class implements pictures and icons used in the different GUI elements and widgets.
Defines transient windows that typically are used for dialogs windows.
A composite frame that layout their children in vertical way.
ROOT GUI Window base class.