webkit.option_menu_item
Module for [OptionMenuItem] class
class OptionMenuItem
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
webkit.option_menu_item.OptionMenuItem copy() nothrowMake a copy of the #WebKitOptionMenuItem. Returns: A copy of passed in #WebKitOptionMenuItemstring getTooltip() nothrowGet the tooltip of a #WebKitOptionMenuItem. Returns: The tooltip of item, or null.bool isEnabled() nothrowWhether a #WebKitOptionMenuItem is enabled. Returns: true if the item is enabled or false otherwise.bool isGroupChild() nothrowWhether a #WebKitOptionMenuItem is a group child. Returns: true if the item is a group child or false otherwise.bool isGroupLabel() nothrowWhether a #WebKitOptionMenuItem is a group label. Returns: true if the item is a group label or false otherwise.bool isSelected() nothrowWhether a #WebKitOptionMenuItem is the currently selected one. Returns: true if the item is selected or false otherwise.