GdkEvent* webkit_context_menu_get_event ( WebKitContextMenu* menu )
GdkEvent that triggered the context menu. This function only returns a valid
GdkEvent when called for a
WebKitContextMenu passed to
signal; in all other cases,
NULL is returned.
GdkEvent is expected to be one of the following types:
GdkEventButton of type
GDK_BUTTON_PRESS when the context menu was triggered with mouse.
GdkEventKey of type
GDK_KEY_PRESS if the keyboard was used to show the menu.
GdkEvent of type
GDK_NOTHING when the
GtkWidget::popup-menu signal was used to show the context menu.
The menu event or
|The data is owned by the instance.|