+2007-02-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+
+ * src/hildon-color-chooser-dialog.c:
+ * src/hildon-color-chooser.c: Small documentation fixes.
+
2007-02-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
* examples/Makefile.am:
*
*/
-
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GTK_OBJECT_CLASS (parent_class)->destroy (object);
}
+/**
+ * hildon_color_chooser_dialog_set_color:
+ * @dialog: a #HildonColorChooserDialog
+ * @color: a color to set on the #HildonColorChooserDialog
+ *
+ * Sets the dialog to point at the given color. It'll first try to
+ * search the palette of the existing colors to match the passed color.
+ * If the color is not found in the pallette, the color in the currently
+ * selected box will be modified.
+ *
+ */
void
hildon_color_chooser_dialog_set_color (HildonColorChooserDialog *dialog,
GdkColor *color)
/**
* hildon_color_chooser_dialog_get_color:
* @dialog: a #HildonColorChooserDialog
- * @color: a color to fill with new value
+ * @color: a color structure to fill with the currently selected color
+ *
+ * Retrives the currently selected color in the color chooser dialog.
*
*/
void
}
}
-
static void
hildon_color_chooser_realize (GtkWidget *widget)
{
* @color: a color to be set
*
* Sets the color selected in the widget.
+ * Will move the crosshair pointer to indicate the passed color.
*/
void
hildon_color_chooser_set_color (HildonColorChooser *sel,
return FALSE;
}
-/* FIXME Missing documentation */
+/**
+ * hildon_color_chooser_get_color:
+ * @dialog: a #HildonColorChooser
+ * @color: a color structure to fill with the currently selected color
+ *
+ * Retrives the currently selected color in the chooser.
+ *
+ */
void
hildon_color_chooser_get_color (HildonColorChooser *sel,
GdkColor *color)