BindingEntry.addSignalFromString

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.global.acceleratorParse.

class BindingEntry
static
addSignalFromString

Parameters

bindingSet gtk.binding_set.BindingSet

a #GtkBindingSet

signalDesc string

a signal description

Return Value

Type: glib.types.TokenType

G_TOKEN_NONE if the signal was successfully parsed and added, the expected token otherwise