1 \section{\class{wxContextMenuEvent
}}\label{wxcontextmenuevent
}
3 This class is used for context menu events, sent to give
4 the application a chance to show a context (popup) menu.
6 \wxheading{Derived from
}
8 \helpref{wxCommandEvent
}{wxcommandevent
}\\
9 \helpref{wxEvent
}{wxevent
}\\
10 \helpref{wxObject
}{wxobject
}
12 \wxheading{Include files
}
16 \wxheading{Event table macros
}
18 To process a menu event, use these event handler macros to direct input to member
19 functions that take a wxContextMenuEvent argument.
22 \begin{twocollist
}\itemsep=
0pt
23 \twocolitem{{\bf EVT
\_CONTEXT\_MENU(func)
}}{A right click (or other context menu command depending on platform) has been detected.
}
28 \helpref{Command events
}{wxcommandevent
},\\
29 \helpref{Event handling overview
}{eventhandlingoverview
}
31 \latexignore{\rtfignore{\wxheading{Members
}}}
33 \membersection{wxContextMenuEvent::wxContextMenuEvent
}\label{wxcontextmenueventctor
}
35 \func{}{wxContextMenuEvent
}{\param{WXTYPE
}{id =
0},
\param{int
}{id =
0},
\param{const wxPoint\&
}{ pos=wxDefaultPosition
}}
39 \membersection{wxContextMenuEvent::GetPosition
}\label{wxcontextmenueventgetposition
}
41 \constfunc{wxPoint
}{GetPosition
}{\void}
43 Returns the position at which the menu should be shown.
45 \membersection{wxContextMenuEvent::SetPosition
}\label{wxcontextmenueventsetposition
}
47 \func{void
}{SetPosition
}{\param{const wxPoint\&
}{ point
}}
49 Sets the position at which the menu should be shown.