Gtk.ToggleActionEntry¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
accelerator |
r/w |
The accelerator for the action, in the format understood by |
|
callback |
r/w |
The function to call when the action is activated. |
|
is_active |
r/w |
The initial state of the toggle action. |
|
label |
r/w |
The label for the action. This field should typically be marked for translation, see |
|
name |
r/w |
The name of the action. |
|
stock_id |
r/w |
The stock id for the action, or the name of an icon from the icon theme. |
|
tooltip |
r/w |
The tooltip for the action. This field should typically be marked for translation, see |
Methods¶
None
Details¶
- class Gtk.ToggleActionEntry¶
Gtk.ToggleActionEntry
structs are used withGtk.ActionGroup.add_toggle_actions
() to construct toggle actions.Deprecated since version 3.10.