Gtk.CallbackAction¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gtk.CallbackAction(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A
GtkShortcutAction
that invokes a callback.- classmethod new(callback)[source]¶
- Parameters:
callback (
Gtk.ShortcutFunc
orNone
) – the callback to call- Returns:
A new shortcut action
- Return type:
Create a custom action that calls the given callback when activated.