Re: GtkColorSelection



Vlad Harchev <hvv hippo ru> writes: 
>  Sorry for my ignorance - what "previous_color" mean?

The previously-selected color, so you can compare it to the new color
you're selecting.

>  If it's some kind of a selection history - I would like to suggest storring
> (in memory of the app, not persistent) a list of LRU colors selected with the
> widget - say 16 recent ones - as KDE's (or Qt's) widget does - this is VERY
> handy I think. Though if 'previous_color' is some kind of selection history,
> why programmer may want to set it?

The palette is the history.

>  Also, what 'palette' means here?  How its entries are initialized
>  by default?

It should probably have a set of 16 common colors by default.
 
> > void gtk_color_selection_get_palette_size    (GtkColorSelection
> > *colorsel);
> 
>  May be the one above should return anything ? :)

Yeah I would have noticed that when trying to implement it. ;-)

Havoc




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