Include gdkkeysyms.h in gdk.h

Followup to bug 629093
This commit is contained in:
Matthias Clasen
2010-09-10 11:08:18 -04:00
parent e356769f33
commit 056ec835cc
2 changed files with 6 additions and 6 deletions

View File

@ -11,13 +11,12 @@ They appear in the <structfield>keyval</structfield> field of the
#GdkEventKey structure, which is passed to signal handlers for the #GdkEventKey structure, which is passed to signal handlers for the
"key-press-event" and "key-release-event" signals. "key-press-event" and "key-release-event" signals.
The complete list of key values can be found in the <filename>&lt;gdk/gdkkeysyms.h&gt;</filename> The complete list of key values can be found in the <filename>&lt;gdk/gdkkeysyms.h&gt;</filename>
header file. <filename>&lt;gdk/gdkkeysyms.h&gt;</filename> is not included in <filename>&lt;gdk/gdk.h&gt;</filename>, header file.
it must be included independently, because the file is quite large.
</para> </para>
<para> <para>
Key values are regularly updated from the upstream X.org X11 implementation, Key values are regularly updated from the upstream X.org X11 implementation,
so new values are added regularly. They will be prefixed with GDK_ rather than so new values are added regularly. They will be prefixed with GDK_KEY_ rather
XF86XK_ or XK_ (for older symbols). than XF86XK_ or XK_ (for older symbols).
</para> </para>
<para> <para>
Key values can be converted into a string representation using Key values can be converted into a string representation using
@ -270,7 +269,7 @@ Returns: %PANGO_DIRECTION_LTR or %PANGO_DIRECTION_RTL.
<para> <para>
Converts a key value into a symbolic name. Converts a key value into a symbolic name.
The names are the same as those in the <filename>&lt;gdk/gdkkeysyms.h&gt;</filename> header file The names are the same as those in the <filename>&lt;gdk/gdkkeysyms.h&gt;</filename> header file
but without the leading "GDK_". but without the leading "GDK_KEY_".
</para> </para>
@keyval: a key value. @keyval: a key value.

View File

@ -43,6 +43,7 @@
#include <gdk/gdkevents.h> #include <gdk/gdkevents.h>
#include <gdk/gdkinput.h> #include <gdk/gdkinput.h>
#include <gdk/gdkkeys.h> #include <gdk/gdkkeys.h>
#include <gdk/gdkkeysyms.h>
#include <gdk/gdkpango.h> #include <gdk/gdkpango.h>
#include <gdk/gdkpixbuf.h> #include <gdk/gdkpixbuf.h>
#include <gdk/gdkpixmap.h> #include <gdk/gdkpixmap.h>