~ubuntu-branches/ubuntu/precise/glib2.0/precise-updates

« back to all changes in this revision

Viewing changes to docs/reference/gio/html/gio-GMenu-Markup.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2012-01-10 16:23:46 UTC
  • mfrom: (1.59.35)
  • Revision ID: package-import@ubuntu.com-20120110162346-5s54yf7s1va1zb6i
Tags: 2.31.8-0ubuntu1
* New upstream version, drop patch which is in the new version
* debian/libglib2.0-0.symbols: new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
465
465
<p>
466
466
If <em class="parameter"><code>objects</code></em> is specified then it must be a <a href="./../glib/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> that was
467
467
created using <a href="./../glib/glib/glib-Hash-Tables.html#g-hash-table-new-full"><code class="function">g_hash_table_new_full()</code></a> with <a href="./../glib/glib/glib-Hash-Tables.html#g-str-hash"><code class="function">g_str_hash()</code></a>,
468
 
<a href="./../glib/glib/glib-Hash-Tables.html#g-str-equal"><code class="function">g_str_equal()</code></a>, <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> and <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.  Any named menus (ie:
469
 
those with an id='' attribute) that are encountered while parsing
470
 
will be added to this table.  Each toplevel menu must be named.
 
468
<a href="./../glib/glib/glib-Hash-Tables.html#g-str-equal"><code class="function">g_str_equal()</code></a>, <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> and <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
 
469
Any named menus (ie: <code class="sgmltag-starttag">&lt;menu&gt;</code>,
 
470
<code class="sgmltag-starttag">&lt;submenu&gt;</code>,
 
471
<code class="sgmltag-starttag">&lt;section&gt;</code> or <code class="sgmltag-starttag">&lt;link&gt;</code>
 
472
elements with an id='' attribute) that are encountered while parsing
 
473
will be added to this table. Each toplevel menu must be named.
471
474
</p>
472
475
<p>
473
476
If <em class="parameter"><code>objects</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then an empty hash table will be created.
521
524
<p>
522
525
If <em class="parameter"><code>objects</code></em> is specified then it must be a <a href="./../glib/glib/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> that was
523
526
created using <a href="./../glib/glib/glib-Hash-Tables.html#g-hash-table-new-full"><code class="function">g_hash_table_new_full()</code></a> with <a href="./../glib/glib/glib-Hash-Tables.html#g-str-hash"><code class="function">g_str_hash()</code></a>,
524
 
<a href="./../glib/glib/glib-Hash-Tables.html#g-str-equal"><code class="function">g_str_equal()</code></a>, <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> and <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.  Any named menus (ie:
525
 
those with an * id='' attribute) that are encountered while parsing
 
527
<a href="./../glib/glib/glib-Hash-Tables.html#g-str-equal"><code class="function">g_str_equal()</code></a>, <a href="./../glib/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> and <a href="./../gobject/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>.
 
528
Any named menus (ie: <code class="sgmltag-starttag">&lt;submenu&gt;</code>,
 
529
<code class="sgmltag-starttag">&lt;section&gt;</code> or <code class="sgmltag-starttag">&lt;link&gt;</code>
 
530
elements with an id='' attribute) that are encountered while parsing
526
531
will be added to this table.
 
532
Note that toplevel <code class="sgmltag-starttag">&lt;menu&gt;</code> is not added to
 
533
the hash table, even if it has an id attribute.
527
534
</p>
528
535
<p>
529
536
If <em class="parameter"><code>objects</code></em> is <a href="./../glib/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then named menus will not be supported.