[gtk+] Add some documentation to the colorchooser schema



commit 128748c5cde7d5c4b4b787d22a1e74da3262ab09
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 13 12:28:02 2014 -0400

    Add some documentation to the colorchooser schema

 gtk/org.gtk.Settings.ColorChooser.gschema.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/gtk/org.gtk.Settings.ColorChooser.gschema.xml b/gtk/org.gtk.Settings.ColorChooser.gschema.xml
index 5712056..6270d33 100644
--- a/gtk/org.gtk.Settings.ColorChooser.gschema.xml
+++ b/gtk/org.gtk.Settings.ColorChooser.gschema.xml
@@ -4,9 +4,22 @@
   <schema id='org.gtk.Settings.ColorChooser' path='/org/gtk/settings/color-chooser/'>
     <key name='custom-colors' type='a(dddd)'>
       <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 name='selected-color' type='(bdddd)'>
       <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>
   </schema>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]