TGMsgBox


class description - source file - inheritance tree

class TGMsgBox : public TGTransientFrame


    protected:
void PMsgBox(TGWindow* main, char* title, char* msg, TGPicture* icon, Int_t buttons, Int_t* ret_code) public:
TGMsgBox TGMsgBox(TGWindow* p, TGWindow* main, char* title, char* msg, TGPicture* icon, Int_t buttons = kMBDismiss, Int_t* ret_code = 0, UInt_t options = kMainFrame|kVerticalFrame) TGMsgBox TGMsgBox(TGWindow* p, TGWindow* main, char* title, char* msg, EMsgBoxIcon icon, Int_t buttons = kMBDismiss, Int_t* ret_code = 0, UInt_t options = kMainFrame|kVerticalFrame) TGMsgBox TGMsgBox(TGMsgBox&) virtual void ~TGMsgBox() TClass* Class() virtual void CloseWindow() virtual TClass* IsA() virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
TGButton* fYes TGButton* fNo TGButton* fOK TGButton* fApply buttons in dialog box TGButton* fRetry TGButton* fIgnore TGButton* fCancel buttons in dialog box TGButton* fClose TGButton* fDismiss buttons in dialog box TGIcon* fIcon icon TGHorizontalFrame* fButtonFrame frame containing buttons TGHorizontalFrame* fIconFrame frame containing icon and text TGVerticalFrame* fLabelFrame frame containing text TGLayoutHints* fL1 TGLayoutHints* fL2 TGLayoutHints* fL3 TGLayoutHints* fL4 TGLayoutHints* fL5 layout hints TList* fMsgList text (list of TGLabels) Int_t* fRetCode address to store return code

Class Description

                                                                      
 TMsgBox                                                              
                                                                      
 A message dialog box.                                                
                                                                      


TGMsgBox(const TGWindow *p, const TGWindow *main, const char *title, const char *msg, const TGPicture *icon, Int_t buttons, Int_t *ret_code, UInt_t options) : TGTransientFrame(p, main, 10, 10, options)
 Create a message dialog box.

TGMsgBox(const TGWindow *p, const TGWindow *main, const char *title, const char *msg, EMsgBoxIcon icon, Int_t buttons, Int_t *ret_code, UInt_t options) : TGTransientFrame(p, main, 10, 10, options)
 Create a message dialog box.

void PMsgBox(const TGWindow *main, const char *title, const char *msg, const TGPicture *icon, Int_t buttons, Int_t *ret_code)
 Protected, common message dialog box initialization.

~TGMsgBox()
 Destroy message dialog box.

void CloseWindow()
 Close dialog box. Before deleting itself it sets the return code
 to kMBClose.

Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t)
 Process message dialog box event.



Inline Functions


            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
           TGMsgBox TGMsgBox(TGMsgBox&)


Author: Fons Rademakers 09/01/98
Last update: 2.20/01 02/12/98 18.01.46 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.