[maemo-developers] HildonColorButton / HildonColorChooserDialog in Fremantle

From: API apinheiro at igalia.com
Date: Mon Jun 29 10:30:32 EEST 2009
From: Cornelius Hald <hald at icandy.de>

> Hi,
> 
> HildonColorButton and HildonColorChooserDialog are both depreciated in
> Fremantle. The documentation doesn't tell what to use instead. This
> bug[1] mentions the following:
> "[...]A HildonPickerButton/HildonTouchSelector variant could be used
> here.[...]"

Yes, this is true, the idea is use the HildonTouchSelector (or a pannable area
+treeviews for custom requirements) to choose elements from a list.

In the end, choose a color should be the same, with the difference that you
will only have a discrete number of color to choose from.

> Could someone elaborate how choosing a color should look like in
> Fremantle?

Basically it should be a list with all the colors, and if you want to avoid use
only the name, and extra cell renderer to show the color. Visually it should
be similar to the hildon-touch-selector-example.c (at the hildon repository,
examples directory), but instead of the stock icons, the colors.

===
API (apinheiro at igalia.com)
More information about the maemo-developers mailing list