ROOT
Version master
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
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
►
recorder
►
sessionviewer
►
webdisplay
►
webgui6
►
hist
►
io
►
main
►
master
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TGMdiMenu.h
Go to the documentation of this file.
1
// @(#)root/gui:$Id$
2
// Author: Bertrand Bellenot 20/08/2004
3
4
/*************************************************************************
5
* Copyright (C) 1995-2004, 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
/**************************************************************************
13
14
This file is part of TGMdi, an extension to the xclass toolkit.
15
Copyright (C) 1998-2002 by Harald Radke, Hector Peraza.
16
17
This application is free software; you can redistribute it and/or
18
modify it under the terms of the GNU Library General Public
19
License as published by the Free Software Foundation; either
20
version 2 of the License, or (at your option) any later version.
21
22
This application is distributed in the hope that it will be useful,
23
but WITHOUT ANY WARRANTY; without even the implied warranty of
24
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25
Library General Public License for more details.
26
27
You should have received a copy of the GNU Library General Public
28
License along with this library; if not, write to the Free
29
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30
31
**************************************************************************/
32
33
#ifndef ROOT_TGMdiMenu
34
#define ROOT_TGMdiMenu
35
36
37
#include "
TGMenu.h
"
38
#include "
TGFrame.h
"
39
40
41
class
TGMdiMainFrame
;
42
class
TGMdiTitleIcon
;
43
class
TGMdiButtons
;
44
45
46
class
TGMdiMenuBar
:
public
TGCompositeFrame
{
47
48
friend
class
TGMdiMainFrame
;
49
50
protected
:
51
TGCompositeFrame
*
fLeft
, *
fRight
;
///< left and right parts of MDI menu bar
52
TGMenuBar
*
fBar
;
///< standard menu bar
53
TGLayoutHints
*
fLHint
, *
fLeftHint
;
///< left layout hints
54
TGLayoutHints
*
fRightHint
, *
fBarHint
;
///< right layout hints
55
56
void
AddFrames
(
TGMdiTitleIcon
*icon,
TGMdiButtons
*
buttons
);
57
void
RemoveFrames
(
TGMdiTitleIcon
*icon,
TGMdiButtons
*
buttons
);
58
void
ShowFrames
(
TGMdiTitleIcon
*icon,
TGMdiButtons
*
buttons
);
59
void
HideFrames
(
TGMdiTitleIcon
*icon,
TGMdiButtons
*
buttons
);
60
61
public
:
62
TGMdiMenuBar
(
const
TGWindow
*
p
,
Int_t
w
= 1,
Int_t
h
= 20);
63
~TGMdiMenuBar
()
override
;
64
65
void
AddPopup
(
TGHotString
*s,
TGPopupMenu
*
menu
,
TGLayoutHints
*
l
);
66
TGMenuBar
*
GetMenuBar
()
const
{
return
fBar
;}
67
void
SavePrimitive
(std::ostream &out,
Option_t
*
option
=
""
)
override
;
68
69
ClassDefOverride
(
TGMdiMenuBar
, 0)
// MDI menu bar
70
};
71
72
#endif
h
#define h(i)
Definition
RSha256.hxx:106
Option_t
const char Option_t
Definition
RtypesCore.h:66
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
TGFrame.h
TGMenu.h
w
winID w
Definition
TGWin32VirtualGLProxy.cxx:39
p
winID h TVirtualViewer3D TVirtualGLPainter p
Definition
TGWin32VirtualGLProxy.cxx:51
option
Option_t Option_t option
Definition
TGWin32VirtualXProxy.cxx:44
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TGCompositeFrame
The base class for composite widgets (menu bars, list boxes, etc.).
Definition
TGFrame.h:287
TGHotString
TGHotString is a string with a "hot" character underlined.
Definition
TGString.h:42
TGLayoutHints
This class describes layout hints used by the layout classes.
Definition
TGLayout.h:50
TGMdiButtons
Definition
TGMdiDecorFrame.h:129
TGMdiMainFrame
This file contains the TGMdiMainFrame class.
Definition
TGMdiMainFrame.h:131
TGMdiMenuBar
Definition
TGMdiMenu.h:46
TGMdiMenuBar::HideFrames
void HideFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
Used to hide specific frames from menu bar.
Definition
TGMdiMenu.cxx:156
TGMdiMenuBar::fBar
TGMenuBar * fBar
standard menu bar
Definition
TGMdiMenu.h:52
TGMdiMenuBar::SavePrimitive
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a MDI menu as a C++ statement(s) on output stream out.
Definition
TGMdiMenu.cxx:175
TGMdiMenuBar::fLeft
TGCompositeFrame * fLeft
Definition
TGMdiMenu.h:51
TGMdiMenuBar::ShowFrames
void ShowFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
This is called from TGMdiMainFrame on Maximize().
Definition
TGMdiMenu.cxx:136
TGMdiMenuBar::AddFrames
void AddFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
This is called from TGMdiMainFrame on Maximize().
Definition
TGMdiMenu.cxx:96
TGMdiMenuBar::fLHint
TGLayoutHints * fLHint
Definition
TGMdiMenu.h:53
TGMdiMenuBar::fRightHint
TGLayoutHints * fRightHint
Definition
TGMdiMenu.h:54
TGMdiMenuBar::fBarHint
TGLayoutHints * fBarHint
right layout hints
Definition
TGMdiMenu.h:54
TGMdiMenuBar::AddPopup
void AddPopup(TGHotString *s, TGPopupMenu *menu, TGLayoutHints *l)
Add popup menu to the MDI menu bar with layout hints l.
Definition
TGMdiMenu.cxx:87
TGMdiMenuBar::fLeftHint
TGLayoutHints * fLeftHint
left layout hints
Definition
TGMdiMenu.h:53
TGMdiMenuBar::GetMenuBar
TGMenuBar * GetMenuBar() const
Definition
TGMdiMenu.h:66
TGMdiMenuBar::TGMdiMenuBar
TGMdiMenuBar(const TGWindow *p, Int_t w=1, Int_t h=20)
TGMdiMenuBar constructor.
Definition
TGMdiMenu.cxx:54
TGMdiMenuBar::fRight
TGCompositeFrame * fRight
left and right parts of MDI menu bar
Definition
TGMdiMenu.h:51
TGMdiMenuBar::~TGMdiMenuBar
~TGMdiMenuBar() override
TGMdiMenuBar destructor.
Definition
TGMdiMenu.cxx:74
TGMdiMenuBar::RemoveFrames
void RemoveFrames(TGMdiTitleIcon *icon, TGMdiButtons *buttons)
This is called from TGMdiMainFrame on Restore()
Definition
TGMdiMenu.cxx:118
TGMdiTitleIcon
Definition
TGMdiDecorFrame.h:150
TGMenuBar
The TGMenu.h header contains all different menu classes.
Definition
TGMenu.h:282
TGPopupMenu
This class creates a popup menu object.
Definition
TGMenu.h:110
TGWindow
ROOT GUI Window base class.
Definition
TGWindow.h:23
int
l
TLine l
Definition
textangle.C:4
gui
gui
inc
TGMdiMenu.h
ROOT master - Reference Guide Generated on Mon Feb 17 2025 15:03:18 (GVA Time) using Doxygen 1.10.0