mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +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.
20 lines
450 B
XML
20 lines
450 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'>
|
|
<aliases>
|
|
<alias value='speaking' target='talking'/>
|
|
</aliases>
|
|
<default>['speaking']</default>
|
|
</key>
|
|
</schema>
|
|
</schemalist>
|
|
|