ROOT
Version v6.34
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
▼
gui
►
browsable
►
browserv7
►
canvaspainter
►
cefdisplay
doc
►
fitpanel
►
fitpanelv7
►
ged
▼
gui
doc
▼
inc
►
HelpText.h
TG3DLine.h
TGApplication.h
►
TGButton.h
TGButtonGroup.h
►
TGCanvas.h
►
TGClient.h
TGColorDialog.h
TGColorSelect.h
►
TGComboBox.h
TGCommandPlugin.h
TGDimension.h
►
TGDNDManager.h
►
TGDockableFrame.h
►
TGDoubleSlider.h
TGEventHandler.h
TGFileBrowser.h
►
TGFileDialog.h
►
TGFont.h
►
TGFontDialog.h
►
TGFrame.h
►
TGFSComboBox.h
►
TGFSContainer.h
►
TGGC.h
TGIcon.h
TGIdleHandler.h
►
TGImageMap.h
TGInputDialog.h
TGLabel.h
►
TGLayout.h
TGListBox.h
►
TGListTree.h
►
TGListView.h
TGMdi.h
►
TGMdiDecorFrame.h
TGMdiFrame.h
►
TGMdiMainFrame.h
►
TGMdiMenu.h
►
TGMenu.h
TGMimeTypes.h
►
TGMsgBox.h
►
TGNumberEntry.h
TGObject.h
►
TGPack.h
TGPasswdDialog.h
►
TGPicture.h
►
TGProgressBar.h
TGRedirectOutputGuard.h
TGResourcePool.h
►
TGScrollBar.h
TGShapedFrame.h
►
TGShutter.h
TGSimpleTable.h
TGSimpleTableInterface.h
►
TGSlider.h
TGSpeedo.h
►
TGSplitFrame.h
►
TGSplitter.h
TGStatusBar.h
TGString.h
TGTab.h
►
TGTable.h
TGTableCell.h
TGTableContainer.h
►
TGTableHeader.h
►
TGTableLayout.h
►
TGText.h
TGTextBuffer.h
TGTextEdit.h
►
TGTextEditDialogs.h
TGTextEditor.h
TGTextEntry.h
►
TGTextView.h
►
TGTextViewStream.h
►
TGToolBar.h
TGToolTip.h
TGTripleSlider.h
►
TGuiBuilder.h
►
TGView.h
►
TGWidget.h
TGWindow.h
TGXYLayout.h
TRootApplication.h
TRootBrowser.h
TRootBrowserLite.h
TRootCanvas.h
TRootContextMenu.h
TRootControlBar.h
TRootDialog.h
TRootEmbeddedCanvas.h
TRootGuiFactory.h
TRootHelpDialog.h
►
TVirtualDragManager.h
►
WidgetMessageTypes.h
►
src
►
guibuilder
►
guihtml
►
qt5webdisplay
►
qt6webdisplay
►
recorder
►
sessionviewer
►
webdisplay
►
webgui6
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-34-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TRootHelpDialog.h
Go to the documentation of this file.
1
// @(#)root/gui:$Id$
2
// Author: Fons Rademakers 24/02/98
3
4
/*************************************************************************
5
* Copyright (C) 1995-2021, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TRootHelpDialog
13
#define ROOT_TRootHelpDialog
14
15
16
#include "
TGFrame.h
"
17
18
class
TGTextView
;
19
class
TGTextButton
;
20
21
22
class
TRootHelpDialog
:
public
TGTransientFrame
{
23
24
private
:
25
TGTextView
*
fView
;
///< text view
26
TGTextButton
*
fOK
;
///< OK button
27
TGLayoutHints
*
fL1
;
///< layout of TGTextView
28
TGLayoutHints
*
fL2
;
///< layout of OK button
29
30
private
:
31
TRootHelpDialog
(
const
TRootHelpDialog
&) =
delete
;
32
TRootHelpDialog
&
operator=
(
const
TRootHelpDialog
&) =
delete
;
33
34
public
:
35
TRootHelpDialog
(
const
TGWindow
*
main
=
nullptr
,
const
char
*title =
"ROOT Help Dialog"
,
36
UInt_t
w
= 1,
UInt_t
h
= 1);
37
~TRootHelpDialog
()
override
;
38
39
void
SetText
(
const
char
*
helpText
);
40
void
AddText
(
const
char
*
helpText
);
41
42
void
Popup
();
43
void
CloseWindow
()
override
;
44
Bool_t
ProcessMessage
(
Longptr_t
msg
,
Longptr_t
parm1
,
Longptr_t
parm2
)
override
;
45
46
ClassDefOverride
(
TRootHelpDialog
,0)
//Dialog to display help text
47
};
48
49
#endif
main
int main()
Definition
Prototype.cxx:12
h
#define h(i)
Definition
RSha256.hxx:106
Longptr_t
long Longptr_t
Definition
RtypesCore.h:75
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
TGFrame.h
w
winID w
Definition
TGWin32VirtualGLProxy.cxx:39
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TGLayoutHints
This class describes layout hints used by the layout classes.
Definition
TGLayout.h:50
TGTextButton
Yield an action as soon as it is clicked.
Definition
TGButton.h:142
TGTextView
A TGTextView is a text viewer widget.
Definition
TGTextView.h:22
TGTransientFrame
Defines transient windows that typically are used for dialogs windows.
Definition
TGFrame.h:498
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
TRootHelpDialog
A TRootHelpDialog is used to display help text (or any text in a dialog window).
Definition
TRootHelpDialog.h:22
TRootHelpDialog::SetText
void SetText(const char *helpText)
Set help text from helpText buffer in TGTextView.
Definition
TRootHelpDialog.cxx:77
TRootHelpDialog::fView
TGTextView * fView
text view
Definition
TRootHelpDialog.h:25
TRootHelpDialog::ProcessMessage
Bool_t ProcessMessage(Longptr_t msg, Longptr_t parm1, Longptr_t parm2) override
Process OK button.
Definition
TRootHelpDialog.cxx:103
TRootHelpDialog::TRootHelpDialog
TRootHelpDialog(const TRootHelpDialog &)=delete
TRootHelpDialog::Popup
void Popup()
Show help dialog.
Definition
TRootHelpDialog.cxx:69
TRootHelpDialog::fL1
TGLayoutHints * fL1
layout of TGTextView
Definition
TRootHelpDialog.h:27
TRootHelpDialog::fL2
TGLayoutHints * fL2
layout of OK button
Definition
TRootHelpDialog.h:28
TRootHelpDialog::CloseWindow
void CloseWindow() override
Called when closed via window manager action.
Definition
TRootHelpDialog.cxx:95
TRootHelpDialog::~TRootHelpDialog
~TRootHelpDialog() override
Delete help text dialog.
Definition
TRootHelpDialog.cxx:58
TRootHelpDialog::operator=
TRootHelpDialog & operator=(const TRootHelpDialog &)=delete
TRootHelpDialog::AddText
void AddText(const char *helpText)
Add help text from helpText buffer to already existing text in TGTextView.
Definition
TRootHelpDialog.cxx:85
TRootHelpDialog::fOK
TGTextButton * fOK
OK button.
Definition
TRootHelpDialog.h:26
bool
unsigned int
gui
gui
inc
TRootHelpDialog.h
ROOT tags/6-34-04 - Reference Guide Generated on Sat Feb 15 2025 14:52:40 (GVA Time) using Doxygen 1.10.0