12#ifndef ROOT_TRootHelpDialog
13#define ROOT_TRootHelpDialog
39 void SetText(
const char *helpText);
40 void AddText(
const char *helpText);
bool Bool_t
Boolean (0=false, 1=true) (bool).
long Longptr_t
Integer large enough to hold a pointer (platform-dependent).
unsigned int UInt_t
Unsigned integer 4 bytes (unsigned int).
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void w
This class describes layout hints used by the layout classes.
Yield an action as soon as it is clicked.
A TGTextView is a text viewer widget.
TGTransientFrame(const TGTransientFrame &)=delete
ROOT GUI Window base class.
void SetText(const char *helpText)
Set help text from helpText buffer in TGTextView.
TGTextView * fView
text view
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process OK button.
TRootHelpDialog(const TRootHelpDialog &)=delete
void Popup()
Show help dialog.
TGLayoutHints * fL1
layout of TGTextView
TGLayoutHints * fL2
layout of OK button
void CloseWindow() override
Called when closed via window manager action.
~TRootHelpDialog() override
Delete help text dialog.
TRootHelpDialog & operator=(const TRootHelpDialog &)=delete
void AddText(const char *helpText)
Add help text from helpText buffer to already existing text in TGTextView.
TGTextButton * fOK
OK button.
int main(int argc, char **argv)