[gtk-doc] Add <keycap> and <keycombo> example



commit 279a9e8c0b743ad3a18dce250607c1dd3f5c795d
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Dec 23 06:35:14 2009 +0100

    Add <keycap> and <keycombo> example
    
    Add info about these docbook tags
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=605285

 help/manual/C/gtk-doc-manual.xml |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/help/manual/C/gtk-doc-manual.xml b/help/manual/C/gtk-doc-manual.xml
index 52ee712..3dd2b21 100644
--- a/help/manual/C/gtk-doc-manual.xml
+++ b/help/manual/C/gtk-doc-manual.xml
@@ -993,7 +993,7 @@ typedef struct _FooWidget {
           </programlisting>
         </informalexample>
         The linkend is the SGML id on the top item of the page you want to link to.
-        For most pages this is currently the part ("gtk", "gdk", glib") and then
+        For most pages this is currently the part ("gtk", "gdk", "glib") and then
         the page title ("Hash Tables"). For widgets it is just the class name.
         Spaces and underscores are converted to '-' to conform to SGML.
       </para>
@@ -1148,6 +1148,17 @@ typedef struct _FooWidget {
         </informalexample>
       </para>
 
+      <para>
+        To refer to keys use:
+        <informalexample>
+          <programlisting>
+<![CDATA[
+<keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo>
+]]>
+          </programlisting>
+        </informalexample>
+      </para>
+
     </sect1>
   </chapter>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]