*
*/
+/**
+ * SECTION:hildon-color-chooser-dialog
+ * @short_description: A dialog used to select a color from HSV colorspace.
+ * @see_also: #HildonColorButton
+ *
+ * HildonColorChooserDialog enables the user to
+ * select an arbitrary color from a HSV colorspace.
+ * The color is stored in one of the predefined color
+ * slots and can be reselected later on.
+ *
+ * Additionally the user can choose one of the standard "factory"
+ * colors.
+ *
+ */
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "hildon-banner.h"
#include "hildon-color-chooser-dialog-private.h"
-#define _(String) dgettext(PACKAGE, String)
+#define _(String) dgettext("hildon-libs", String)
static HildonColorChooserDialogClass* parent_class = NULL;
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