Gtk.NamedAction¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.NamedAction(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
GtkShortcutAction
that activates an action by name.- classmethod new(name)[source]¶
- Parameters:
name (
str
) – the detailed name of the action- Returns:
a new
GtkShortcutAction
- Return type:
Creates an action that when activated, activates the named action on the widget.
It also passes the given arguments to it.
See [method`Gtk`.Widget.insert_action_group] for how to add actions to widgets.