ROOT
Version v6.32
master
v6.34
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
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
▼
core
►
base
►
clingutils
►
cont
►
dictgen
►
foundation
▼
gui
▼
inc
►
GuiTypes.h
TApplicationImp.h
TBrowser.h
TBrowserImp.h
TCanvasImp.h
►
TClassMenuItem.h
TContextMenu.h
TContextMenuImp.h
TControlBarImp.h
►
TGuiFactory.h
TInspectorImp.h
►
TObjectSpy.h
►
TToggle.h
►
TToggleGroup.h
►
src
►
imt
►
macosx
►
meta
►
metacling
►
multiproc
►
rint
►
testsupport
►
thread
►
unix
►
winnt
►
zip
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-32-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TContextMenuImp.h
Go to the documentation of this file.
1
// @(#)root/base:$Id$
2
// Author: Nenad Buncic 08/02/96
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, 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_TContextMenuImp
13
#define ROOT_TContextMenuImp
14
15
16
////////////////////////////////////////////////////////////////////////////////
17
// //
18
// TContextMenuImp //
19
// //
20
// This class provides an interface to GUI independent //
21
// context sensitive popup menus. //
22
// //
23
////////////////////////////////////////////////////////////////////////////////
24
25
#include "
Rtypes.h
"
26
27
class
TContextMenu
;
28
class
TObject
;
29
class
TMethod
;
30
class
TFunction
;
31
32
33
class
TContextMenuImp
{
34
35
protected
:
36
TContextMenu
*
fContextMenu
{
nullptr
};
//TContextMenu associated with this implementation
37
38
TContextMenuImp
(
const
TContextMenuImp
&
cmi
) :
fContextMenu
(
cmi
.
fContextMenu
) {}
39
TContextMenuImp
&
operator=
(
const
TContextMenuImp
&
cmi
)
40
{
41
if
(
this
!= &
cmi
)
42
fContextMenu
=
cmi
.fContextMenu;
43
return
*
this
;
44
}
45
46
public
:
47
TContextMenuImp
(
TContextMenu
*
c
=
nullptr
) :
fContextMenu
(
c
) {}
48
virtual
~TContextMenuImp
() {}
49
50
virtual
TContextMenu
*
GetContextMenu
()
const
{
return
fContextMenu
; }
51
52
virtual
void
Dialog
(
TObject
*
object
,
TFunction
*
function
) { (void)
object
; (void)
function
; }
53
virtual
void
Dialog
(
TObject
*
object
,
TMethod
*
method
) { (void)
object
; (void)
method
; }
54
virtual
void
DisplayPopup
(
Int_t
x
,
Int_t
y
) { (void)
x
; (void)
y
; }
55
56
ClassDef
(
TContextMenuImp
,0)
//Context sensitive popup menu implementation
57
};
58
59
#endif
c
#define c(i)
Definition
RSha256.hxx:101
function
RooAbsReal & function()
Definition
RooAbsOptTestStatistic.h:11
Rtypes.h
ClassDef
#define ClassDef(name, id)
Definition
Rtypes.h:337
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TContextMenuImp
This class provides an interface to GUI independent context sensitive popup menus.
Definition
TContextMenuImp.h:33
TContextMenuImp::TContextMenuImp
TContextMenuImp(const TContextMenuImp &cmi)
Definition
TContextMenuImp.h:38
TContextMenuImp::TContextMenuImp
TContextMenuImp(TContextMenu *c=nullptr)
Definition
TContextMenuImp.h:47
TContextMenuImp::fContextMenu
TContextMenu * fContextMenu
Definition
TContextMenuImp.h:36
TContextMenuImp::Dialog
virtual void Dialog(TObject *object, TFunction *function)
Definition
TContextMenuImp.h:52
TContextMenuImp::operator=
TContextMenuImp & operator=(const TContextMenuImp &cmi)
Definition
TContextMenuImp.h:39
TContextMenuImp::GetContextMenu
virtual TContextMenu * GetContextMenu() const
Definition
TContextMenuImp.h:50
TContextMenuImp::Dialog
virtual void Dialog(TObject *object, TMethod *method)
Definition
TContextMenuImp.h:53
TContextMenuImp::~TContextMenuImp
virtual ~TContextMenuImp()
Definition
TContextMenuImp.h:48
TContextMenuImp::DisplayPopup
virtual void DisplayPopup(Int_t x, Int_t y)
Definition
TContextMenuImp.h:54
TContextMenu
This class provides an interface to context sensitive popup menus.
Definition
TContextMenu.h:44
TFunction
Global functions class (global functions are obtained from CINT).
Definition
TFunction.h:30
TMethod
Each ROOT class (see TClass) has a linked list of methods.
Definition
TMethod.h:38
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
y
Double_t y[n]
Definition
legend1.C:17
x
Double_t x[n]
Definition
legend1.C:17
core
gui
inc
TContextMenuImp.h
ROOT v6-32 - Reference Guide Generated on Mon Mar 17 2025 04:25:00 (GVA Time) using Doxygen 1.10.0