mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 04:31:09 +00:00
3a499d61dc
Implement the recommendations from https://wiki.gnome.org/HowDoI/SaveWindowState in the Application Class example.
27 lines
618 B
XML
27 lines
618 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<schemalist>
|
|
|
|
<enum id='org.gtk.Demo.Color'>
|
|
<value nick='red' value='0'/>
|
|
<value nick='green' value='1'/>
|
|
<value nick='blue' value='2'/>
|
|
</enum>
|
|
|
|
<schema id='org.gtk.Demo' path='/org/gtk/Demo/'>
|
|
<key name='color' enum='org.gtk.Demo.Color'>
|
|
<default>'red'</default>
|
|
</key>
|
|
<key name='window-size' type='(ii)'>
|
|
<default>(-1, -1)</default>
|
|
</key>
|
|
<key name='maximized' type='b'>
|
|
<default>false</default>
|
|
</key>
|
|
<key name='fullscreen' type='b'>
|
|
<default>false</default>
|
|
</key>
|
|
</schema>
|
|
|
|
</schemalist>
|