glib/gio/tests/schema-tests/flags-with-enum-attr.gschema.xml
Ryan Lortie 5383c7110f Bug 622124 - implement flags for GSettings
Add a <flags> tag to the schema file format and a flags='' attribute to
go along with.  Add some extra test cases for those.

Add new g_settings_{get,set}_flags() calls and support binding to
GParamSpecFlags properties.  Add test cases.
2010-07-01 19:06:02 -04:00

15 lines
317 B
XML

<schemalist>
<flags id='flags'>
<value nick='none' value='0'/>
<value nick='mourning' value='1'/>
<value nick='laughing' value='2'/>
<value nick='talking' value='4'/>
<value nick='walking' value='8'/>
</flags>
<schema id='foo'>
<key name='xyz' enum='flags'/>
</schema>
</schemalist>