Class method

GntBindableClassregister_action

Declaration [src]

void
gnt_bindable_class_register_action (
  GntBindableClass* klass,
  const char* name,
  GntBindableActionCallback callback,
  const char* trigger,
  ...
)

Description [src]

Register a bindable action for a class.

This method is not directly available to language bindings.

Parameters

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

Type: GntBindableActionCallback

The callback for the binding.

trigger

Type: const char*

The default trigger for the binding, or NULL.

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 default parameters.