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_accelerator_parse().

struct BindingEntry
static
GTokenType
addSignalFromString

Parameters

bindingSet BindingSet

a #GtkBindingSet

signalDesc string

a signal description

Return Value

Type: GTokenType

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

Meta