Gets the Event that triggered the context menu.
This function only returns a valid Event when called for a
ContextMenu passed to WebKitWebView::context-menu signal; in all other
cases, null is returned.
The returned Event is expected to be one of the following types: <itemizedlist > <listitem><para> a EventButton of type gdk_button_press when the context menu was triggered with mouse. </para></listitem> < listitem><para> a EventKey of type gdk_key_press if the keyboard was used to show the menu. </para></listitem> <listitem><para> a generic Event of type gdk_nothing when the popup_menu signal was used to show the context menu. </para>< /listitem> </itemizedlist>
| this |
|
the menu event or null. |