Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TContextMenuImp Class Reference

This class provides an interface to GUI independent context sensitive popup menus.

Definition at line 33 of file TContextMenuImp.h.

Public Member Functions

 TContextMenuImp (TContextMenu *c=nullptr)
 
virtual ~TContextMenuImp ()
 
virtual void Dialog (TObject *object, TFunction *function)
 
virtual void Dialog (TObject *object, TMethod *method)
 
virtual void DisplayPopup (Int_t x, Int_t y)
 
virtual TContextMenuGetContextMenu () const
 
virtual TClassIsA () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Protected Member Functions

 TContextMenuImp (const TContextMenuImp &cmi)
 
TContextMenuImpoperator= (const TContextMenuImp &cmi)
 

Protected Attributes

TContextMenufContextMenu {nullptr}
 

#include <TContextMenuImp.h>

Inheritance diagram for TContextMenuImp:
[legend]

Constructor & Destructor Documentation

◆ TContextMenuImp() [1/2]

TContextMenuImp::TContextMenuImp ( const TContextMenuImp cmi)
inlineprotected

Definition at line 38 of file TContextMenuImp.h.

◆ TContextMenuImp() [2/2]

TContextMenuImp::TContextMenuImp ( TContextMenu c = nullptr)
inline

Definition at line 47 of file TContextMenuImp.h.

◆ ~TContextMenuImp()

virtual TContextMenuImp::~TContextMenuImp ( )
inlinevirtual

Definition at line 48 of file TContextMenuImp.h.

Member Function Documentation

◆ Class()

static TClass * TContextMenuImp::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TContextMenuImp::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TContextMenuImp::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 56 of file TContextMenuImp.h.

◆ DeclFileName()

static const char * TContextMenuImp::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 56 of file TContextMenuImp.h.

◆ Dialog() [1/2]

virtual void TContextMenuImp::Dialog ( TObject object,
TFunction function 
)
inlinevirtual

Reimplemented in TRootContextMenu.

Definition at line 52 of file TContextMenuImp.h.

◆ Dialog() [2/2]

virtual void TContextMenuImp::Dialog ( TObject object,
TMethod method 
)
inlinevirtual

Reimplemented in TRootContextMenu.

Definition at line 53 of file TContextMenuImp.h.

◆ DisplayPopup()

virtual void TContextMenuImp::DisplayPopup ( Int_t  x,
Int_t  y 
)
inlinevirtual

Reimplemented in TRootContextMenu.

Definition at line 54 of file TContextMenuImp.h.

◆ GetContextMenu()

virtual TContextMenu * TContextMenuImp::GetContextMenu ( ) const
inlinevirtual

Definition at line 50 of file TContextMenuImp.h.

◆ IsA()

virtual TClass * TContextMenuImp::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Reimplemented in TRootContextMenu.

Definition at line 56 of file TContextMenuImp.h.

◆ operator=()

TContextMenuImp & TContextMenuImp::operator= ( const TContextMenuImp cmi)
inlineprotected

Definition at line 39 of file TContextMenuImp.h.

◆ Streamer()

virtual void TContextMenuImp::Streamer ( TBuffer )
virtual

Reimplemented in TRootContextMenu.

◆ StreamerNVirtual()

void TContextMenuImp::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 56 of file TContextMenuImp.h.

Member Data Documentation

◆ fContextMenu

TContextMenu* TContextMenuImp::fContextMenu {nullptr}
protected

Definition at line 36 of file TContextMenuImp.h.

  • core/gui/inc/TContextMenuImp.h