binding_entry_add_signal_from_string


Description:


[ Version ( replacement = "BindingEntry.add_signal_from_string" , since = "3.0" ) ]
public TokenType binding_entry_add_signal_from_string (BindingSet binding_set, string signal_desc)

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 accelerator_parse.

Parameters:

binding_set

a BindingSet

signal_desc

a signal description

Returns:

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


Namespace: Gtk
Package: gtk+-3.0