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