OptionMenu
Represents the dropdown menu of a select
element in a #WebKitWebView.
When a select element in a #WebKitWebView needs to display a dropdown menu, the signal #WebKitWebView::show-option-menu is emitted, providing a WebKitOptionMenu with the #WebKitOptionMenuItems that should be displayed.
Since
2.18
Constructors
Functions
Link copied to clipboard
Activates the #WebKitOptionMenuItem at @index in @menu.
Link copied to clipboard
fun connectClose(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Unit): <Error class: unknown class>
Emitted when closing a #WebKitOptionMenu is requested. This can happen when the user explicitly calls webkit_option_menu_close() or when the element is detached from the current page.
Link copied to clipboard
Returns the #WebKitOptionMenuItem at @index in @menu.
Link copied to clipboard
Selects the #WebKitOptionMenuItem at @index in @menu.