Class

Gtk.SignalAction

Description [src]

final class Gtk.SignalAction : Gtk.ShortcutAction {
  /* No available fields */
}

A GtkShortcutAction 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.

Hierarchy

hierarchy this GtkSignalAction ancestor_0 GtkShortcutAction ancestor_0--this

Ancestors

Constructors

gtk_signal_action_new

Creates an action that when activated, emits the given action signal on the provided widget.

Instance methods

gtk_signal_action_get_signal_name

Returns the name of the signal that will be emitted.

Methods inherited from GtkShortcutAction (3)
gtk_shortcut_action_activate

Activates the action on the widget with the given args.

gtk_shortcut_action_print

Prints the given action into a string for the developer.

gtk_shortcut_action_to_string

Prints the given action into a human-readable string.

Properties

Gtk.SignalAction:signal-name

The name of the signal to emit.

Class structure

struct GtkSignalActionClass {
  /* no available fields */
}