With Gtk 2 I was using the following technique to find out the default foreground and background colours for a selection:
from gtk import Style s = Style() foreground = s.fg[3] background = s.bg[3] However, with Gtk 3 via gi, s.fg is coming up as an empty list. Can anyone suggest an alternative way of going about this? Thanks, Greg _______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/