On Tue, Mar 1, 2011 at 11:56 AM, Timo <timomli...@gmail.com> wrote: >> gc.foreground = gtk.gdk.color_parse("orange") > > Try the following line instead: > gc.set_foreground(self.get_colormap().alloc_color("#FF8000")) > > Cheers, > Timo
Yes, that works. Thanks for your help Timo. _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/