TGMsgBox


class description - source file - inheritance tree

class TGMsgBox : public TGTransientFrame


    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 = kMainFrame|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 = kMainFrame|kVerticalFrame) TGMsgBox TGMsgBox(TGMsgBox&) virtual void ~TGMsgBox() 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)

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


Author: Fons Rademakers 09/01/98
Last update: 2.23/02 02/09/99 15.54.27 by Rene Brun
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.