Signal
WebKitWebView::show-option-menu
since: 2.18
Declaration
gboolean
show_option_menu (
WebKitWebView* self,
WebKitOptionMenu* menu,
GdkRectangle* rectangle,
gpointer user_data
)
Description [src]
This signal is emitted when a select element in web_view needs to display a
dropdown menu. This signal can be used to show a custom menu, using menu to get
the details of all items that should be displayed. The area of the element in the
WebKitWebView is given as rectangle parameter, it can be used to position the
menu.
To handle this signal asynchronously you should keep a ref of the menu.
The default signal handler will pop up a GtkMenu.
| Default handler: The default handler is called after the handlers added via |
| Available since: 2.18 |
Parameters
menu-
Type:
WebKitOptionMenuThe
WebKitOptionMenu.The data is owned by the caller of the function. rectangle-
Type:
GdkRectangleThe option element area.
The data is owned by the caller of the function.