EvtHandler::GetMenu

Section: ET++ method description (n)
Updated: automatically Fri Mar 15 14:09:27 1991
Index Return to Main Contents
 

NAME

EvtHandler::GetMenu - instance method  

TEMPLATE

popupMenu = Menu * GetMenu()  

SPECIFIERS

public virtual  

DESCRIPTION

GetMenu is called by the method VObject::DoRightButtonDownCommand in order to show the returned popupMenu.
The default implementation follows the event handler chain until one of the handlers has overridden GetMenu and returns a menu. If the end of the chain is reached NULL is returned and the method VObject::DoRightButtonDownCommand shows no popup menu. See the method Window::GetMenu for an example.
See also method DoSetupMenu, method DoCreateMenu and method DoMenuCommand. Method is often overridden.  

ARGUMENTS

none

 

RETURN ARGUMENT

Menu * popupMenu

a menu to be displayed as popup menu or NULL
 

CATEGORIES

menus, overrider interface

 

FIRST DEFINITION

class EvtHandler  

FILES

implementation:
EvtHandler.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:27 GMT, March 30, 2022