Logo ROOT  
Reference Guide
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
 

Protected Member Functions

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

Protected Attributes

TContextMenufContextMenu
 

#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 45 of file TContextMenuImp.h.

◆ ~TContextMenuImp()

TContextMenuImp::~TContextMenuImp ( )
virtual

Definition at line 21 of file TContextMenuImp.cxx.

Member Function Documentation

◆ Dialog() [1/2]

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

Reimplemented in TRootContextMenu.

Definition at line 57 of file TContextMenuImp.h.

◆ Dialog() [2/2]

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

Reimplemented in TRootContextMenu.

Definition at line 58 of file TContextMenuImp.h.

◆ DisplayPopup()

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

Reimplemented in TRootContextMenu.

Definition at line 59 of file TContextMenuImp.h.

◆ GetContextMenu()

virtual TContextMenu * TContextMenuImp::GetContextMenu ( ) const
inlinevirtual

Definition at line 48 of file TContextMenuImp.h.

◆ operator=()

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

Definition at line 40 of file TContextMenuImp.h.

Member Data Documentation

◆ fContextMenu

TContextMenu* TContextMenuImp::fContextMenu
protected

Definition at line 36 of file TContextMenuImp.h.


The documentation for this class was generated from the following files: