library: libGui #include "TRootHelpDialog.h"

# TRootHelpDialog

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

## class TRootHelpDialog : public TGTransientFrame

| Inheritance Chart:

`TObject`

<-

`TGObject`

<-

`TGWindow`

`TQObject`

<-

`TGFrame`

<-

`TGCompositeFrame`

<-

`TGMainFrame`

<-

`TGTransientFrame`

<-

`TRootHelpDialog`

        public:

                          TRootHelpDialog(const TGWindow* main = 0, const char* title = "ROOT Help Dialog", UInt_t w = 1, UInt_t h = 1)
                          TRootHelpDialog(const TRootHelpDialog&)
                  virtual ~TRootHelpDialog()
                     void AddText(const char* helpText)
           static TClass* Class()
             virtual void CloseWindow()
          virtual TClass* IsA() const
                     void Popup()
           virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
                     void SetText(const char* helpText)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        private:

             TGTextView* fView  text view
           TGTextButton* fOK    OK button
          TGLayoutHints* fL1    layout of TGTextView
          TGLayoutHints* fL2    layout of OK button

## Class Description

     TRootHelpDialog

     A TRootHelpDialog is used to display help text (or any text in a
     dialog window). There is on OK button to popdown the dialog.

TRootHelpDialog(const TGWindow *main, const char *title, UInt_t w, UInt_t h) : TGTransientFrame(gClient->GetRoot(), main, w, h)

     Create a help text dialog.

~TRootHelpDialog()

     Delete help text dialog.

void Popup()

     Show help dialog.

void SetText(const char *helpText)

     Set help text from helpText buffer in TGTextView.

void AddText(const char *helpText)

     Add help text from helpText buffer to already existing text in TGTextView.

void CloseWindow()

     Called when closed via window manager action.

Bool_t ProcessMessage(Long_t msg, Long_t, Long_t)

     Process OK button.

### Inline Functions

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

Author: Fons Rademakers 24/02/98
Last update: root/gui:$Name: $:$Id: TRootHelpDialog.cxx,v 1.7 2004/09/13 09:10:56 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *