WebKit.OptionMenuItem¶
Fields¶
None
Methods¶
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class WebKit.OptionMenuItem¶
One item of a
WebKit.OptionMenu
.The
WebKit.OptionMenu
is composed ofWebKit.OptionMenuItem
s. AWebKit.OptionMenuItem
always has a label and can contain a tooltip text. You can use theWebKit.OptionMenuItem
of aWebKit.OptionMenu
to build your own menus.New in version 2.18.
- copy()¶
- Returns:
A copy of passed in
WebKit.OptionMenuItem
- Return type:
Make a copy of the
WebKit.OptionMenuItem
.New in version 2.18.
- free()¶
Free the
WebKit.OptionMenuItem
.New in version 2.18.
- get_label()¶
- Returns:
The label of self.
- Return type:
Get the label of a
WebKit.OptionMenuItem
.New in version 2.18.
- get_tooltip()¶
-
Get the tooltip of a
WebKit.OptionMenuItem
.New in version 2.18.
- is_enabled()¶
-
Whether a
WebKit.OptionMenuItem
is enabled.New in version 2.18.
- is_group_child()¶
-
Whether a
WebKit.OptionMenuItem
is a group child.New in version 2.18.
- is_group_label()¶
-
Whether a
WebKit.OptionMenuItem
is a group label.New in version 2.18.
- is_selected()¶
-
Whether a
WebKit.OptionMenuItem
is the currently selected one.New in version 2.18.