| Top |
const char * gnt_bindable_remap_keys (GntBindable *bindable,const char *text);
gboolean (*GntBindableActionCallback) (GntBindable *bindable,GList *params);
gboolean
(*GntBindableActionCallbackNoParam) (GntBindable *bindable);
void
gnt_bindable_action_free (GntBindableAction *action);
gnt_bindable_action_free has been deprecated since version 2.14.0 and should not be used in newly-written code.
This is an internal implementation detail.
Free a bindable action.
void
gnt_bindable_action_param_free (GntBindableActionParam *param);
gnt_bindable_action_param_free has been deprecated since version 2.14.0 and should not be used in newly-written code.
This is an internal implementation detail.
Free a GntBindableActionParam.
void gnt_bindable_class_register_action (GntBindableClass *klass,const char *name,GntBindableActionCallback callback,const char *trigger,...);
Register a bindable action for a class.
void gnt_bindable_register_binding (GntBindableClass *klass,const char *name,const char *trigger,...);
Register a key-binding to an existing action.
klass |
The class the binding is for. |
|
name |
The name of the binding. |
|
trigger |
A new trigger for the binding, followed by a |
gboolean gnt_bindable_perform_action_key (GntBindable *bindable,const char *keys);
Perform an action from a keybinding.
gboolean gnt_bindable_check_key (GntBindable *bindable,const char *keys);
Discover if a key is bound.
Since: 2.4.2
gboolean gnt_bindable_perform_action_named (GntBindable *bindable,const char *name,...);
Perform an action on a bindable object.
bindable |
The bindable object. |
|
name |
The action to perform, followed by a |
GntBindable *
gnt_bindable_bindings_view (GntBindable *bind);
Returns a GntTree populated with "key" -> "binding" for the widget.
Since: 2.1.1
gboolean
gnt_bindable_build_help_window (GntBindable *bindable);
Builds a window that list the key bindings for a GntBindable object. From this window a user can select a listing to rebind a new key for the given action.
Since: 2.1.1
struct GntBindableAction {
char *name; /* The name of the action */
union {
GntBindableActionCallback action;
GntBindableActionCallbackNoParam action_noparam;
} u;
};
GntBindableAction has been deprecated since version 2.14.0 and should not be used in newly-written code.
This is an internal implementation detail.