Comment 6 for bug 1019843

Revision history for this message
Umang Varma (umang) wrote :

To quote GTK documentation: "GtkHSV has been deprecated together with GtkColorSelection, where it was used." [1]
Further, the GtkColorButton and related widgets seem to be the only color selection widgets that have not been deprecated. [2]

Thankfully, the part that seemed to be that hardest was getting the colors to work correctly, and that is almost done. If GtkHSV or GtkColorSection aren't deprecated or can still be used for a long time, then it shouldn't be too hard to switch back to them.

Also, I had asked about this on the GTK+ IRC channel, and here's the response I got:

ebassi : umang: GtkColorChooserWidget implements GtkColorChooser, where the whole API lives
ebassi : umang: GtkColorChooser is also implemented by GtkColorChooserDialog and GtkColorButton
ebassi : umang: the reaon why GtkColorSelection was deprecated is that the class was developed for the gtk2 API, and the dialog has been completely redesigned
ebassi : umang: instead of changing the existing dialog appearance (and possibly break expectations from developers) a new widget was added, with a better API, using gtk3 data structures like GdkRGBA

Anyway, let me stick to the widgets that haven't been deprecated for now. Once the next version is released, I would love to hear your feedback. My initial reaction, though, is with you: the HSV widget looks better than the GtkColorChooserWidget. However, I have been liking the color chooser more now that I've seen it in action.

[1]: http://developer.gnome.org/gtk3/stable/GtkHSV.html
[2]: http://developer.gnome.org/gtk3/stable/SelectorWidgets.html