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 class method is not directly available to language bindings

Parameters

name 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 GntBindableActionCallback
 

The callback for the binding.

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

A NULL-terminated list of default parameters.