[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-devel
Subject:    Re: GtkColorSelection
From:       Havoc Pennington <hp () redhat ! com>
Date:       2001-02-28 15:15:48
[Download RAW message or body]


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

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic