mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
6b40d4eb6b
These functions serialize and deserialize a GMenuModel to and from XML.
76 lines
2.4 KiB
XML
76 lines
2.4 KiB
XML
<menu id='menubar'>
|
|
<item>
|
|
<attribute name='label'>File</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name='label'>Edit</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name='label'>View</attribute>
|
|
<link name='submenu'>
|
|
<item>
|
|
<link name='section'>
|
|
<item>
|
|
<attribute name='label'>Toolbar</attribute>
|
|
<attribute name='action'>toolbar</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name='label'>Statusbar</attribute>
|
|
<attribute name='action'>statusbar</attribute>
|
|
</item>
|
|
</link>
|
|
</item>
|
|
<item>
|
|
<link name='section'>
|
|
<item>
|
|
<attribute name='label'>Fullscreen</attribute>
|
|
<attribute name='action'>fullscreen</attribute>
|
|
</item>
|
|
</link>
|
|
</item>
|
|
<item>
|
|
<link name='section'>
|
|
<item>
|
|
<attribute name='label'>Highlight Mode</attribute>
|
|
<link name='submenu'>
|
|
<item>
|
|
<attribute name='label'>Sources</attribute>
|
|
<link name='section'>
|
|
<item>
|
|
<attribute name='label'>Vala</attribute>
|
|
<attribute name='action'>sources</attribute>
|
|
<attribute name='target'>vala</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name='label'>Python</attribute>
|
|
<attribute name='action'>sources</attribute>
|
|
<attribute name='target'>python</attribute>
|
|
</item>
|
|
</link>
|
|
</item>
|
|
<item>
|
|
<attribute name='label'>Markup</attribute>
|
|
<link name='section'>
|
|
<item>
|
|
<attribute name='label'>asciidoc</attribute>
|
|
<attribute name='action'>markup</attribute>
|
|
<attribute name='target'>asciidoc</attribute>
|
|
</item>
|
|
<item>
|
|
<attribute name='label'>HTML</attribute>
|
|
<attribute name='action'>markup</attribute>
|
|
<attribute name='target'>html</attribute>
|
|
</item>
|
|
</link>
|
|
</item>
|
|
</link>
|
|
</item>
|
|
</link>
|
|
</item>
|
|
</link>
|
|
</item>
|
|
<item>
|
|
<attribute name='label'>Help</attribute>
|
|
</item>
|
|
</menu>
|