Function

Gtk-3.0Gtkbinding_entry_add_signal_from_stringSince 3.0

  • binding_entry_add_signal_from_string(
        binding_set: BindingSet,
        signal_desc: string,
    ): TokenType

    Parses a signal description from signal_desc and incorporates it into binding_set.

    Signal descriptions may either bind a key combination to one or more signals:

      bind "key" {
    "signalname" (param, ...)
    ...
    }

    Or they may also unbind a key combination:

      unbind "key"
    

    Key combinations must be in a format that can be parsed by gtk_accelerator_parse().

    Parameters

    Returns TokenType

    GLib.TokenType.NONE if the signal was successfully parsed and added, the expected token otherwise

    3.0