[pygtk] [GTK3] get background color
Yann Leboulanger
asterix at lagaule.org
Tue Jan 29 23:45:54 WST 2013
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
More information about the pygtk
mailing list