.\" This is a wxWidgets manpage page generated from the XML docs .TH wxContextMenuEvent 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxContextMenuEvent \- An event generated when the user issues a context menu command .SH DESCRIPTION This class is used for context menu events, sent to give the application a chance to show a context (popup) menu. .SH "PARENTS" wxCommandEvent wxEvent wxObject .SH "INCLUDE FILES" wx/event.h .SH MEMBERS .SS wxContextMenuEvent (WXTYPE id = 0int id = 0const wxPoint& pos = wxDefaultPosition) Constructor. .SS wxPoint GetPosition () Returns the position at which the menu should be shown. .SS void SetPosition (const wxPoint& point) Sets the position at which the menu should be shown. .SH EVENTS .SS EVT_CONTEXT_MENU(func) A right click (or other context menu command depending on platform) has been detected. .SH "SEE ALSO" wxCommandEvent wxEvent wxObject Command events , Event handling overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.