cookbook: Moved paragraph where it logically belongs
There was a note about constants for keys and where they are defined in Clutter header files; but the sentence about where key modifiers are defined was outside the note. Logically, they belong together.
This commit is contained in:
parent
03b19af38e
commit
e566c56bd1
@ -138,18 +138,20 @@ _key_press_cb (ClutterActor *actor,
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
|
||||
<note><para>Clutter provides a range of key value definitions
|
||||
(like <constant>CLUTTER_Up</constant>, used above). These are
|
||||
generated from the list in the
|
||||
<ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink>
|
||||
(replace "XK" with "CLUTTER" in the definitions there to get the
|
||||
CLUTTER equivalents; alternatively, look at the
|
||||
<filename>clutter-keysyms.h</filename> header file for the
|
||||
list).</para></note>
|
||||
<note>
|
||||
<para>Clutter provides a range of key value definitions
|
||||
(like <constant>CLUTTER_Up</constant>, used above). These are
|
||||
generated from the list in the
|
||||
<ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink>
|
||||
(replace "XK" with "CLUTTER" in the definitions there to get the
|
||||
CLUTTER equivalents; alternatively, look at the
|
||||
<filename>clutter-keysyms.h</filename> header file for the
|
||||
list).</para>
|
||||
|
||||
<para><constant>CLUTTER_SHIFT_MASK</constant>,
|
||||
<constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are
|
||||
defined in the <type>ClutterModifierType</type> enum.</para>
|
||||
<para><constant>CLUTTER_SHIFT_MASK</constant>,
|
||||
<constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are
|
||||
defined in the <type>ClutterModifierType</type> enum.</para>
|
||||
</note>
|
||||
|
||||
</section>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user