Warning, file /include/root/TRootHelpDialog.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TRootHelpDialog
0013 #define ROOT_TRootHelpDialog
0014
0015
0016 #include "TGFrame.h"
0017
0018 class TGTextView;
0019 class TGTextButton;
0020
0021
0022 class TRootHelpDialog : public TGTransientFrame {
0023
0024 private:
0025 TGTextView *fView;
0026 TGTextButton *fOK;
0027 TGLayoutHints *fL1;
0028 TGLayoutHints *fL2;
0029
0030 private:
0031 TRootHelpDialog(const TRootHelpDialog&) = delete;
0032 TRootHelpDialog& operator=(const TRootHelpDialog&) = delete;
0033
0034 public:
0035 TRootHelpDialog(const TGWindow *main = nullptr, const char *title = "ROOT Help Dialog",
0036 UInt_t w = 1, UInt_t h = 1);
0037 ~TRootHelpDialog() override;
0038
0039 void SetText(const char *helpText);
0040 void AddText(const char *helpText);
0041
0042 void Popup();
0043 void CloseWindow() override;
0044 Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override;
0045
0046 ClassDefOverride(TRootHelpDialog,0)
0047 };
0048
0049 #endif