Add an example for handling app menu fallback
The example shows how to use a menu button instead of the default menubar when the shell doesn't show the app menu.
This commit is contained in:
@ -107,6 +107,14 @@
|
||||
* </programlisting>
|
||||
* </example>
|
||||
*
|
||||
* <example><title>Handling fallback yourself</title>
|
||||
* <programlisting>
|
||||
* <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../examples/sunny.c">
|
||||
* <xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
|
||||
* </xi:include>
|
||||
* </programlisting>
|
||||
* </example>
|
||||
*
|
||||
* The XML format understood by #GtkBuilder for #GMenuModel consists
|
||||
* of a toplevel <tag class="starttag">menu</tag> element, which contains
|
||||
* one or more <tag class="starttag">item</tag> elements. Each
|
||||
|
||||
Reference in New Issue
Block a user