webkit.option_menu_item

Module for [OptionMenuItem] class

Types 1

One item of a #WebKitOptionMenu.

The #WebKitOptionMenu is composed of WebKitOptionMenuItem<!-- -->s. 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.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
OptionMenuItem self()Returns `this`, for use in `with` statements.
webkit.option_menu_item.OptionMenuItem copy()Make a copy of the #WebKitOptionMenuItem. Returns: A copy of passed in #WebKitOptionMenuItem
string getLabel()Get the label of a #WebKitOptionMenuItem. Returns: The label of item.
string getTooltip()Get the tooltip of a #WebKitOptionMenuItem. Returns: The tooltip of item, or null.
bool isEnabled()Whether a #WebKitOptionMenuItem is enabled. Returns: true if the item is enabled or false otherwise.
bool isGroupChild()Whether a #WebKitOptionMenuItem is a group child. Returns: true if the item is a group child or false otherwise.
bool isGroupLabel()Whether a #WebKitOptionMenuItem is a group label. Returns: true if the item is a group label or false otherwise.
bool isSelected()Whether a #WebKitOptionMenuItem is the currently selected one. Returns: true if the item is selected or false otherwise.
Constructors
this(void * ptr, Flag!"Take" take)