library: libGui
#include "TGMsgBox.h"

TGMsgBox


class description - source file - inheritance tree (.pdf)

class TGMsgBox : public TGTransientFrame

Inheritance Chart:
TObject
<-
TGObject
<-
TGWindow
TQObject
<-
TGFrame
<-
TGCompositeFrame
<-
TGMainFrame
<-
TGTransientFrame
<-
TGMsgBox

    protected:
void PMsgBox(const char* title, const char* msg, const TGPicture* icon, Int_t buttons, Int_t* ret_code) public:
TGMsgBox(const TGWindow* p = 0, const TGWindow* main = 0, const char* title = "0", const char* msg = "0", const TGPicture* icon = 0, Int_t buttons = kMBDismiss, Int_t* ret_code = 0, UInt_t options = kVerticalFrame) 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(const TGMsgBox&) virtual ~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


    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 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(const TGMsgBox&)


Author: Fons Rademakers 09/01/98
Last update: root/gui:$Name: $:$Id: TGMsgBox.cxx,v 1.10 2006/03/02 08:14:04 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.