summaryrefslogtreecommitdiff
path: root/gdk/gdkinternals.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-12-06 20:01:12 +0100
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:06:54 -0500
commit8c6162b50cd8bb5addf711b444b83024060d6582 (patch)
treebcc14dcd40a75ae23d72a261e6452d514a26520a /gdk/gdkinternals.h
parent4ad948ec4af946114c82cefa8aed390c38cf2a96 (diff)
downloadgtk+-8c6162b50cd8bb5addf711b444b83024060d6582.tar.gz
Convert all gdk_keymap methods to vtable calls
Diffstat (limited to 'gdk/gdkinternals.h')
-rw-r--r--gdk/gdkinternals.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 8a07af3fa9..0be0825790 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -315,6 +315,36 @@ struct _GdkKeymapClass
{
GObjectClass parent_class;
+ PangoDirection (* get_direction) (GdkKeymap *keymap);
+ gboolean (* have_bidi_layouts) (GdkKeymap *keymap);
+ gboolean (* get_caps_lock_state) (GdkKeymap *keymap);
+ gboolean (* get_num_lock_state) (GdkKeymap *keymap);
+ gboolean (* get_entries_for_keyval) (GdkKeymap *keymap,
+ guint keyval,
+ GdkKeymapKey **keys,
+ gint *n_keys);
+ gboolean (* get_entries_for_keycode) (GdkKeymap *keymap,
+ guint hardware_keycode,
+ GdkKeymapKey **keys,
+ guint **keyvals,
+ gint *n_entries);
+ guint (* lookup_key) (GdkKeymap *keymap,
+ const GdkKeymapKey *key);
+ gboolean (* translate_keyboard_state) (GdkKeymap *keymap,
+ guint hardware_keycode,
+ GdkModifierType state,
+ gint group,
+ guint *keyval,
+ gint *effective_group,
+ gint *level,
+ GdkModifierType *consumed_modifiers);
+ void (* add_virtual_modifiers) (GdkKeymap *keymap,
+ GdkModifierType *state);
+ gboolean (* map_virtual_modifiers) (GdkKeymap *keymap,
+ GdkModifierType *state);
+
+
+ /* Signals */
void (*direction_changed) (GdkKeymap *keymap);
void (*keys_changed) (GdkKeymap *keymap);
void (*state_changed) (GdkKeymap *keymap);