63 class TGMsgBox :
public TGTransientFrame {
66 TGButton *fYes, *fNo, *fOK, *fApply;
67 TGButton *fRetry, *fIgnore, *fCancel;
68 TGButton *fClose, *fYesAll, *fNoAll;
69 TGButton *fNewer, *fAppend, *fDismiss;
71 TGHorizontalFrame *fButtonFrame;
72 TGHorizontalFrame *fIconFrame;
73 TGVerticalFrame *fLabelFrame;
74 TGLayoutHints *fL1, *fL2, *fL3, *fL4, *fL5;
78 void PMsgBox(
const char *title,
const char *msg,
const TGPicture *icon,
79 Int_t buttons, Int_t *ret_code, Int_t text_align);
82 TGMsgBox(
const TGMsgBox&);
83 TGMsgBox& operator=(
const TGMsgBox&);
86 TGMsgBox(
const TGWindow *p = 0,
const TGWindow *main = 0,
87 const char *title = 0,
const char *msg = 0,
const TGPicture *icon = 0,
88 Int_t buttons = kMBDismiss, Int_t *ret_code = 0,
89 UInt_t options = kVerticalFrame,
90 Int_t text_align = kTextCenterX | kTextCenterY);
91 TGMsgBox(
const TGWindow *p,
const TGWindow *main,
92 const char *title,
const char *msg, EMsgBoxIcon icon,
93 Int_t buttons = kMBDismiss, Int_t *ret_code = 0,
94 UInt_t options = kVerticalFrame,
95 Int_t text_align = kTextCenterX | kTextCenterY);
98 virtual void CloseWindow();
99 virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
100 virtual Bool_t HandleKey(Event_t* event);