:right-sidebar: True SignalAction =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: SignalAction(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Gtk.ShortcutAction`, :class:`~gi.repository.GObject.Object` :Constructors: :: SignalAction(**properties) new(signal_name:str) -> Gtk.SignalAction Constructors ------------ .. rst-class:: interim-class .. class:: SignalAction :no-index: .. classmethod:: new(signal_name: str) -> ~gi.repository.Gtk.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. :param signal_name: name of the signal to emit Methods ------- .. rst-class:: interim-class .. class:: SignalAction :no-index: .. method:: get_signal_name() -> str Returns the name of the signal that will be emitted. Properties ---------- .. rst-class:: interim-class .. class:: SignalAction :no-index: .. attribute:: props.signal_name :type: str The name of the signal to emit.