87 const char *title = 0,
const char *msg = 0,
const TGPicture *icon = 0,
92 const char *title,
const char *msg,
EMsgBoxIcon icon,
TGMsgBox & operator=(const TGMsgBox &)
virtual Bool_t HandleKey(Event_t *event)
Handle enter and escape keys (used as Ok and Cancel for now).
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Process message dialog box event.
#define ClassDef(name, id)
virtual void CloseWindow()
Close dialog box.
TGMsgBox(const TGMsgBox &)
int main(int argc, char **argv)
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
virtual ~TGMsgBox()
Destroy message dialog box.
TGHorizontalFrame * fIconFrame
TGHorizontalFrame * fButtonFrame