On 01/29/2013 02:35 PM, Niklas Koep wrote:
Sounds like you're trying to retrieve the default colors before the
widget has been realized. Consider this (mind you this uses pygtk):

No, this is done AFTER the widget is realized. It's done in a textbiffer 'changed' callback, a long time (several seconds) after widget is shown.

Your code is what I used in pygtk, but I'm not able to find a working equivalent in pygobject.

--
Yann
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to