diff options
author | Havoc Pennington <hp@pobox.com> | 2000-12-06 05:31:30 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2000-12-06 05:31:30 +0000 |
commit | 36aac0177bfe4dfed46cfcf8568256fe5b05f9b0 (patch) | |
tree | 5091a09100b1743bf733d47dde7db34e9b673fc6 /gdk/gdk.h | |
parent | 3bc53c742d676a974987ad084f8617a1ab6068fd (diff) | |
download | gtk+-36aac0177bfe4dfed46cfcf8568256fe5b05f9b0.tar.gz |
add gdkkeys.[hc]
2000-12-03 Havoc Pennington <hp@pobox.com>
* gdk/Makefile.am: add gdkkeys.[hc]
* gdk/gdkkeys.h, gdk/gdkkeys.c: Move all the keyval stuff to these
files from gdk.h, gdk.c; add GdkKeymap type and operations on it.
* acconfig.h, configure.in: add checks and command line options
for XKB
* gdk/x11/gdkkeys-x11.c: Implement the above functions
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Put the keycode
and group in the key event
* gdk/gdkevents.h (struct _GdkEventKey): Add a hardware_keycode
field with the low-level hardware key code, and a group
field with the keyboard group
* gdk/x11/gdkprivate-x11.h: include config.h for HAVE_XKB,
and declare a couple globals used for keymap handling
* gtk/gtkimcontextsimple.c: Implement ISO 14755 input method,
hold down Shift-Control and type a hex number to get a Unicode
character corresponding to the hex number
(gtk_im_context_simple_get_preedit_string): Fix cursor position
(return bytes not chars)
Diffstat (limited to 'gdk/gdk.h')
-rw-r--r-- | gdk/gdk.h | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -38,6 +38,7 @@ #include <gdk/gdkim.h> #include <gdk/gdkimage.h> #include <gdk/gdkinput.h> +#include <gdk/gdkkeys.h> #include <gdk/gdkpango.h> #include <gdk/gdkpixbuf.h> #include <gdk/gdkpixmap.h> @@ -134,21 +135,6 @@ void gdk_event_send_clientmessage_toall (GdkEvent *event); gboolean gdk_event_send_client_message (GdkEvent *event, guint32 xid); -/* Key values - */ -gchar* gdk_keyval_name (guint keyval) G_GNUC_CONST; -guint gdk_keyval_from_name (const gchar *keyval_name); -void gdk_keyval_convert_case (guint symbol, - guint *lower, - guint *upper); -guint gdk_keyval_to_upper (guint keyval) G_GNUC_CONST; -guint gdk_keyval_to_lower (guint keyval) G_GNUC_CONST; -gboolean gdk_keyval_is_upper (guint keyval) G_GNUC_CONST; -gboolean gdk_keyval_is_lower (guint keyval) G_GNUC_CONST; - -guint32 gdk_keyval_to_unicode (guint keyval) G_GNUC_CONST; -guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST; - /* Threading */ |