summaryrefslogtreecommitdiff
path: root/gdk/gdkkeys.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-03-15 05:58:39 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-05-05 15:38:46 -0400
commitca81028901de2ae5c73ab1c4216182bdfe817c92 (patch)
tree6bf959b02ab661c328bbbb638726f785ee675746 /gdk/gdkkeys.h
parent96d1a1e9c5251b6a44f8a83fbdd60b7bd88f12a4 (diff)
downloadgtk+-ca81028901de2ae5c73ab1c4216182bdfe817c92.tar.gz
Add GDK_AVAILABLE_IN_ALL annotations in gdk
This is in preparation to modernizing our handing of exported symbols.
Diffstat (limited to 'gdk/gdkkeys.h')
-rw-r--r--gdk/gdkkeys.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/gdk/gdkkeys.h b/gdk/gdkkeys.h
index f402270ad9..4b594cd92c 100644
--- a/gdk/gdkkeys.h
+++ b/gdk/gdkkeys.h
@@ -77,16 +77,20 @@ struct _GdkKeymapKey
* in the keymap and see what keyval it corresponds to.
*/
+GDK_AVAILABLE_IN_ALL
GType gdk_keymap_get_type (void) G_GNUC_CONST;
#ifndef GDK_MULTIHEAD_SAFE
+GDK_AVAILABLE_IN_ALL
GdkKeymap* gdk_keymap_get_default (void);
#endif
+GDK_AVAILABLE_IN_ALL
GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display);
-
+GDK_AVAILABLE_IN_ALL
guint gdk_keymap_lookup_key (GdkKeymap *keymap,
const GdkKeymapKey *key);
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
guint hardware_keycode,
GdkModifierType state,
@@ -95,24 +99,32 @@ gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,
gint *effective_group,
gint *level,
GdkModifierType *consumed_modifiers);
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keymap_get_entries_for_keyval (GdkKeymap *keymap,
guint keyval,
GdkKeymapKey **keys,
gint *n_keys);
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keymap_get_entries_for_keycode (GdkKeymap *keymap,
guint hardware_keycode,
GdkKeymapKey **keys,
guint **keyvals,
gint *n_entries);
+GDK_AVAILABLE_IN_ALL
PangoDirection gdk_keymap_get_direction (GdkKeymap *keymap);
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keymap_have_bidi_layouts (GdkKeymap *keymap);
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keymap_get_caps_lock_state (GdkKeymap *keymap);
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keymap_get_num_lock_state (GdkKeymap *keymap);
GDK_AVAILABLE_IN_3_4
guint gdk_keymap_get_modifier_state (GdkKeymap *keymap);
+GDK_AVAILABLE_IN_ALL
void gdk_keymap_add_virtual_modifiers (GdkKeymap *keymap,
GdkModifierType *state);
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keymap_map_virtual_modifiers (GdkKeymap *keymap,
GdkModifierType *state);
GDK_AVAILABLE_IN_3_4
@@ -122,18 +134,27 @@ GdkModifierType gdk_keymap_get_modifier_mask (GdkKeymap *keymap,
/* Key values
*/
+GDK_AVAILABLE_IN_ALL
gchar* gdk_keyval_name (guint keyval) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
guint gdk_keyval_from_name (const gchar *keyval_name);
+GDK_AVAILABLE_IN_ALL
void gdk_keyval_convert_case (guint symbol,
guint *lower,
guint *upper);
+GDK_AVAILABLE_IN_ALL
guint gdk_keyval_to_upper (guint keyval) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
guint gdk_keyval_to_lower (guint keyval) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keyval_is_upper (guint keyval) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
gboolean gdk_keyval_is_lower (guint keyval) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
guint32 gdk_keyval_to_unicode (guint keyval) G_GNUC_CONST;
+GDK_AVAILABLE_IN_ALL
guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST;