mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
5383c7110f
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.
15 lines
317 B
XML
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>
|
|
|