Add some documentation to the colorchooser schema

This commit is contained in:
Matthias Clasen 2014-05-13 12:28:02 -04:00
parent 88c9692b2f
commit 128748c5cd

View File

@ -4,9 +4,22 @@
<schema id='org.gtk.Settings.ColorChooser' path='/org/gtk/settings/color-chooser/'> <schema id='org.gtk.Settings.ColorChooser' path='/org/gtk/settings/color-chooser/'>
<key name='custom-colors' type='a(dddd)'> <key name='custom-colors' type='a(dddd)'>
<default>[]</default> <default>[]</default>
<summary>Custom colors</summary>
<description>
An array of custom colors to show in the color chooser. Each color is
specified as a tuple of four doubles, specifying RGBA values between
0 and 1.
</description>
</key> </key>
<key name='selected-color' type='(bdddd)'> <key name='selected-color' type='(bdddd)'>
<default>(false,1.0,1.0,1.0,1.0)</default> <default>(false,1.0,1.0,1.0,1.0)</default>
<summary>The selected color</summary>
<description>
The selected color, described as a tuple whose first member is a
boolean that is true if a color was selected, and the remaining
four members are four doubles, specifying RGBA values between
0 and 1.
</description>
</key> </key>
</schema> </schema>