<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:xi="http://www.w3.org/2001/XInclude" type="guide" style="task" id="gmenu.c" xml:lang="gl">
  <info>
    <title type="text">GMenu (C)</title>
    <link type="guide" xref="beginner.c#menu-combo-toolbar"/>
    <revision version="0.1" date="2012-04-28" status="draft"/>

    <credit type="author copyright">
      <name>Tiffany Antopolski</name>
      <email>tiffany.antopolski@gmail.com</email>
      <years>2012</years>
    </credit>

    <desc>A simple implementation of GMenuModel</desc>
  </info>

  <title>GMenu</title>
  <media type="image" mime="image/png" src="media/gmenu.c.png"/>
  <p>A GtkApplication with a simple GMenu and SimpleActions</p>
  <note><p><em style="bold">You need to be running Gtk3.4 or later for this to work</em></p></note>

<code mime="text/x-vala" style="numbered">
<xi:include href="samples/gmenu.c" parse="text"><xi:fallback/></xi:include></code>
<p>Neste exemplo empregaremos o seguinte:</p>
<list>
  <item><p><link href="http://developer.gnome.org/gio/unstable/GMenu.html">GMenu</link></p></item>
  <item><p><link href="http://developer.gnome.org/gio/stable/GSimpleAction.html">GSimpleAction</link></p></item>
</list>
</page>
