custom palette in gtk.ColorSelection

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

custom palette in gtk.ColorSelection

Giuseppe Penone
I just found how to customize the colors in a gtk.ColorSelection

gtk_settings = gtk.settings_get_default()
gtk_settings.set_property("gtk-color-palette", ":".join(self.palette_list))

but what I would like would be to add new colors after the existing colors while
it seems to me that I can only replace a color with a new one while there are only
20 fixed positions for colors.

Is there a way to increase this number?
Thank you, cheers,

pygtk mailing list   [hidden email]
Read the PyGTK FAQ: