WPEWebKit.OptionMenuItem
Description: Reference for WPEWebKit.OptionMenuItem

### Struct

# WPEWebKitOptionMenuItem

since: 2.18

#### Description [src]

    struct WebKitOptionMenuItem {
      /* No available fields */
    }

One item of a `WebKitOptionMenu`.

The `WebKitOptionMenu` is composed of WebKitOptionMenuItems. A WebKitOptionMenuItem always has a label and can contain a tooltip text. You can use the WebKitOptionMenuItem of a `WebKitOptionMenu` to build your own menus.

Available since: 2.18

#### Instance methods

###### webkit_option_menu_item_copy

Make a copy of the `WebKitOptionMenuItem`.

since: 2.18

###### webkit_option_menu_item_free

Free the `WebKitOptionMenuItem`.

since: 2.18

###### webkit_option_menu_item_get_label

Get the label of a `WebKitOptionMenuItem`.

since: 2.18

###### webkit_option_menu_item_get_tooltip

Get the tooltip of a `WebKitOptionMenuItem`.

since: 2.18

###### webkit_option_menu_item_is_enabled

Whether a `WebKitOptionMenuItem` is enabled.

since: 2.18

###### webkit_option_menu_item_is_group_child

Whether a `WebKitOptionMenuItem` is a group child.

since: 2.18

###### webkit_option_menu_item_is_group_label

Whether a `WebKitOptionMenuItem` is a group label.

since: 2.18

###### webkit_option_menu_item_is_selected

Whether a `WebKitOptionMenuItem` is the currently selected one.

since: 2.18