[python 2.3.3, pygtk-2.0.0, gtk+-2.4, x86 linux]

Well, once again I've wasted a few hours and offended various deities with
my speech trying to change the color of a widget.  Only to eventually find
that gtk.Frame widgets don't have a window so modify_bg doesn't work.  I
KNOW there's a list in the FAQ of such widgets, but one doesn't think to
look there right away.  There are too many subtleties in GUI programming
not to give the developer help when its easily doable.

Is there any good reason that modify_xx (and maybe set_style) shouldn't
result in a gtk warning, so we know that it just failed?  Maybe not a
fatal python exception, but something sent to stderr so the developer
doesn't go crazy?

I know the notion of warnings and logging in pygtk is in flux, but it
seems like it shouldn't be so hard to just cause a gtk-level warning now
and have it go where-ever the rest of gtk warnings go.


-- George Young

-- 
"Are the gods not just?"  "Oh no, child.
What would become of us if they were?" (CSL)
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to