[maemo-developers] HildonColorButton / HildonColorChooserDialog in Fremantle

From: Cornelius Hald hald at icandy.de
Date: Mon Jun 29 13:36:27 EEST 2009
Thanks for the answer API. I'll try how that looks / works for me.

@Claudio: I think it would be nice to have a color picker widget
directly in Hildon, but I'm not sure how many people/applications really
need it. Still, of course it would be great if someone would create one.
Only it's very unlikely that it's me :/ I would like to, but I just
don't have the time...

Conny

On Mon, 2009-06-29 at 09:30 +0200, API wrote:
> 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