gtk.signal_action

Module for [SignalAction] class

Types 3

A gtk.shortcut.ShortcutAction 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 G_SIGNAL_ACTION flag.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
SignalAction self() nothrowReturns `this`, for use in `with` statements.
SignalActionGidBuilder builder() static nothrowGet builder for [gtk.signal_action.SignalAction] Returns: New builder object
string signalName() @property nothrowGet `signalName` property. Returns: The name of the signal to emit.
string getSignalName() nothrowReturns the name of the signal that will be emitted. Returns: the name of the signal to emit
Constructors
this(void * ptr, Flag!"Take" take)
this(string signalName)Creates an action that when activated, emits the given action signal on the provided widget.

Fluent builder implementation template for gtk.signal_action.SignalAction

Methods
T signalName(string propval) nothrowSet `signalName` property. Params: propval = The name of the signal to emit. Returns: Builder instance for fluent chaining
Methods
SignalAction build() nothrowCreate object from builder. Returns: New object