OptionMenuItem
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "webkit_option_menu_item_get_type ()" ) ]
[ Compact ]
[ Version ( since = "2.18" ) ]
public class OptionMenuItem
One item of a OptionMenu.
The OptionMenu is composed of WebKitOptionMenuItem<!-- -->s. A
WebKitOptionMenuItem always has a label and can contain a tooltip text. You can use the WebKitOptionMenuItem of a
OptionMenu to build your own menus.
Content:
Methods:
- public OptionMenuItem copy ()
Make a copy of the OptionMenuItem.
- public void free ()
Free the OptionMenuItem.
- public unowned string get_label ()
Get the label of a OptionMenuItem.
- public unowned string get_tooltip ()
Get the tooltip of a OptionMenuItem.
- public bool is_enabled ()
Whether a OptionMenuItem is enabled.
- public bool is_group_child ()
Whether a OptionMenuItem is a group child.
- public bool is_group_label ()
Whether a OptionMenuItem is a group label.
- public bool is_selected ()
Whether a OptionMenuItem is the currently
selected one.