Function

Gntregister_action

Declaration [src]

void
gnt_register_action (
  const gchar* label,
  GCallback callback
)

Description [src]

Register a global action.

Parameters

label

Type: const gchar*

The user-visible label for the action.

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

Type: GCallback

The callback function for the action.