ROOT logo
// @(#)root/gui:$Id: TRootHelpDialog.h 23115 2008-04-10 13:35:37Z rdm $
// Author: Fons Rademakers   24/02/98

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TRootHelpDialog
#define ROOT_TRootHelpDialog


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// 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.         //
//                                                                      //
//////////////////////////////////////////////////////////////////////////

#ifndef ROOT_TGFrame
#include "TGFrame.h"
#endif

class TGTextView;
class TGTextButton;


class TRootHelpDialog : public TGTransientFrame {

private:
   TGTextView       *fView;   // text view
   TGTextButton     *fOK;     // OK button
   TGLayoutHints    *fL1;     // layout of TGTextView
   TGLayoutHints    *fL2;     // layout of OK button

private:
   TRootHelpDialog(const TRootHelpDialog&);            // not implemented
   TRootHelpDialog& operator=(const TRootHelpDialog&); // not implemented

public:
   TRootHelpDialog(const TGWindow *main = 0, const char *title = "ROOT Help Dialog",
                   UInt_t w = 1, UInt_t h = 1);
   virtual ~TRootHelpDialog();

   void   SetText(const char *helpText);
   void   AddText(const char *helpText);

   void   Popup();
   void   CloseWindow();
   Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);

   ClassDef(TRootHelpDialog,0)  //Dialog to display help text
};

#endif
 TRootHelpDialog.h:1
 TRootHelpDialog.h:2
 TRootHelpDialog.h:3
 TRootHelpDialog.h:4
 TRootHelpDialog.h:5
 TRootHelpDialog.h:6
 TRootHelpDialog.h:7
 TRootHelpDialog.h:8
 TRootHelpDialog.h:9
 TRootHelpDialog.h:10
 TRootHelpDialog.h:11
 TRootHelpDialog.h:12
 TRootHelpDialog.h:13
 TRootHelpDialog.h:14
 TRootHelpDialog.h:15
 TRootHelpDialog.h:16
 TRootHelpDialog.h:17
 TRootHelpDialog.h:18
 TRootHelpDialog.h:19
 TRootHelpDialog.h:20
 TRootHelpDialog.h:21
 TRootHelpDialog.h:22
 TRootHelpDialog.h:23
 TRootHelpDialog.h:24
 TRootHelpDialog.h:25
 TRootHelpDialog.h:26
 TRootHelpDialog.h:27
 TRootHelpDialog.h:28
 TRootHelpDialog.h:29
 TRootHelpDialog.h:30
 TRootHelpDialog.h:31
 TRootHelpDialog.h:32
 TRootHelpDialog.h:33
 TRootHelpDialog.h:34
 TRootHelpDialog.h:35
 TRootHelpDialog.h:36
 TRootHelpDialog.h:37
 TRootHelpDialog.h:38
 TRootHelpDialog.h:39
 TRootHelpDialog.h:40
 TRootHelpDialog.h:41
 TRootHelpDialog.h:42
 TRootHelpDialog.h:43
 TRootHelpDialog.h:44
 TRootHelpDialog.h:45
 TRootHelpDialog.h:46
 TRootHelpDialog.h:47
 TRootHelpDialog.h:48
 TRootHelpDialog.h:49
 TRootHelpDialog.h:50
 TRootHelpDialog.h:51
 TRootHelpDialog.h:52
 TRootHelpDialog.h:53
 TRootHelpDialog.h:54
 TRootHelpDialog.h:55
 TRootHelpDialog.h:56
 TRootHelpDialog.h:57
 TRootHelpDialog.h:58
 TRootHelpDialog.h:59
 TRootHelpDialog.h:60