TGMsgBox


class description - source file - inheritance tree

class TGMsgBox : public TGTransientFrame

    private:
protected:
void PMsgBox(const TGWindow* main, const char* title, const char* msg, const TGPicture* icon, Int_t buttons, Int_t* ret_code) public:
TGMsgBox TGMsgBox(const TGWindow* p, const TGWindow* main, const char* title, const char* msg, const TGPicture* icon, Int_t buttons = kMBDismiss, Int_t* ret_code = 0, UInt_t options = kVerticalFrame) TGMsgBox TGMsgBox(const TGWindow* p, const TGWindow* main, const char* title, const char* msg, EMsgBoxIcon icon, Int_t buttons = kMBDismiss, Int_t* ret_code = 0, UInt_t options = kVerticalFrame) TGMsgBox TGMsgBox(TGMsgBox&) virtual void ~TGMsgBox() static TClass* Class() virtual void CloseWindow() virtual TClass* IsA() const 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) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
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() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
           TGMsgBox TGMsgBox(TGMsgBox&)


Author: Fons Rademakers 09/01/98
Last update: root/gui:$Name: $:$Id: TGMsgBox.cxx,v 1.2 2001/12/20 10:19:26 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.