SignalAction

class SignalAction(**properties: Any)

Superclasses: ShortcutAction, Object

Constructors:

SignalAction(**properties)
new(signal_name:str) -> Gtk.SignalAction

Constructors

class SignalAction
classmethod new(signal_name: str) SignalAction

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.

Parameters:

signal_name – name of the signal to emit

Methods

class SignalAction
get_signal_name() str

Returns the name of the signal that will be emitted.

Properties

class SignalAction
props.signal_name: str

The name of the signal to emit.