mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 13:26:16 +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.
17 lines
366 B
XML
17 lines
366 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='xyz'>
|
|
<key name='abc' flags='flags'>
|
|
<default>['speaking']</default>
|
|
</key>
|
|
</schema>
|
|
</schemalist>
|
|
|