Function

GntBindableregister_binding

Declaration [src]

void
gnt_bindable_register_binding (
  GntBindableClass* klass,
  const char* name,
  const char* trigger,
  ...
)

Description [src]

Register a key-binding to an existing action.

This function is not directly available to language bindings.

Parameters

klass

Type: GntBindableClass

The class the binding is for.

The data is owned by the caller of the function.
name

Type: const char*

The name of the binding.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
trigger

Type: const char*

A new trigger for the binding.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
...

Type: 

A NULL-terminated list of parameters for the callback.