Great! After reading the API a bit more things seem a little clearer, thanks for the nudge in the right direction. It seems however that I can't set the background color of a container, for example a GtkHBox or GtkVBox? Is this the case?

Nevermind, I found the answer in the gtk.Widget API page...some widgets
don't have an associated gtk.gdk.Window, and in this case, setting the style won't work, you need to add them inside a gtk.eventbox and set the
desired style for the eventbox:

http://www.moeraki.com/pygtkreference/pygtk2reference/class-gtkwidget.html#method-gtkwidget--modify-bg

Chris
_______________________________________________
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