#include <stdio.h>
#include <glib.h>
#include <glib-object.h>
#include <ncurses.h>
Include dependency graph for gntbindable.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | _GntBindable |
| struct | _GntBindableClass |
| struct | _GntBindableAction |
| struct | _GntBindableActionParam |
Defines | |
| #define | GNT_TYPE_BINDABLE (gnt_bindable_get_gtype()) |
| #define | GNT_BINDABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_BINDABLE, GntBindable)) |
| #define | GNT_BINDABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BINDABLE, GntBindableClass)) |
| #define | GNT_IS_BINDABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BINDABLE)) |
| #define | GNT_IS_BINDABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_BINDABLE)) |
| #define | GNT_BINDABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_BINDABLE, GntBindableClass)) |
| #define | GNTDEBUG |
Typedefs | |
| typedef _GntBindable | GntBindable |
| typedef _GntBindableClass | GntBindableClass |
| typedef gboolean(* | GntBindableActionCallback )(GntBindable *bindable, GList *params) |
| typedef gboolean(* | GntBindableActionCallbackNoParam )(GntBindable *bindable) |
| typedef _GntBindableAction | GntBindableAction |
| typedef _GntBindableActionParam | GntBindableActionParam |
Functions | |
| G_BEGIN_DECLS GType | gnt_bindable_get_gtype (void) |
| const char * | gnt_bindable_remap_keys (GntBindable *bindable, const char *text) |
| void | gnt_bindable_action_free (GntBindableAction *action) |
| Free a bindable action. | |
| void | gnt_bindable_action_param_free (GntBindableActionParam *param) |
| 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. | |
| 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. | |
| gboolean | gnt_bindable_perform_action_named (GntBindable *bindable, const char *name,...) |
| Perform an action on a bindable object. | |
| GntBindable * | gnt_bindable_bindings_view (GntBindable *bind) |
| Returns a GntTree populated with "key" -> "binding" for the widget. | |
| gboolean | gnt_bindable_build_help_window (GntBindable *bindable) |
| Builds a window that list the key bindings for a GntBindable object. | |
Definition in file gntbindable.h.
|
|
Free a bindable action.
|
|
|
Free a GntBindableActionParam.
|
|
|
Returns a GntTree populated with "key" -> "binding" for the widget.
|
|
|
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.
|
|
||||||||||||
|
Discover if a key is bound.
|
|
||||||||||||||||||||||||
|
Register a bindable action for a class.
|
|
|
|
|
||||||||||||
|
Perform an action from a keybinding.
|
|
||||||||||||||||
|
Perform an action on a bindable object.
|
|
||||||||||||||||||||
|
Register a key-binding to an existing action.
|