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:
Elliot Smith 2010-07-06 16:11:46 +01:00
parent 03b19af38e
commit e566c56bd1

View File

@ -138,18 +138,20 @@ _key_press_cb (ClutterActor *actor,
</programlisting> </programlisting>
</informalexample> </informalexample>
<note><para>Clutter provides a range of key value definitions <note>
(like <constant>CLUTTER_Up</constant>, used above). These are <para>Clutter provides a range of key value definitions
generated from the list in the (like <constant>CLUTTER_Up</constant>, used above). These are
<ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink> generated from the list in the
(replace "XK" with "CLUTTER" in the definitions there to get the <ulink url="http://cgit.freedesktop.org/xorg/proto/x11proto/plain/keysymdef.h">X.Org source code</ulink>
CLUTTER equivalents; alternatively, look at the (replace "XK" with "CLUTTER" in the definitions there to get the
<filename>clutter-keysyms.h</filename> header file for the CLUTTER equivalents; alternatively, look at the
list).</para></note> <filename>clutter-keysyms.h</filename> header file for the
list).</para>
<para><constant>CLUTTER_SHIFT_MASK</constant>, <para><constant>CLUTTER_SHIFT_MASK</constant>,
<constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are <constant>CLUTTER_CONTROL_MASK</constant> and other modifiers are
defined in the <type>ClutterModifierType</type> enum.</para> defined in the <type>ClutterModifierType</type> enum.</para>
</note>
</section> </section>