[pygtk] custom palette in gtk.ColorSelection

Giuseppe Penone giuspen at gmail.com
Sun Mar 17 00:03:53 WST 2013


Hi,
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,
Giuseppe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20130316/618e0852/attachment.html>


More information about the pygtk mailing list