Gtk.SignalAction¶
- 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.SignalAction(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A ``GtkShortcut``Action that emits a signal.
Signals that are used in this way are referred to as keybinding signals, and they are expected to be defined with the
GObject.SignalFlags.ACTION
flag.- classmethod new(signal_name)[source]¶
- Parameters:
signal_name (
str
) – name of the signal to emit- Returns:
a new
GtkShortcutAction
- Return type:
Creates an action that when activated, emits the given action signal on the provided widget.
It will also unpack the args into arguments passed to the signal.