I just found the reason explained at:
http://www.daa.com.au/pipermail/pygtk/2007-July/013988.html
Note:
modify_bg() only affects widgets that have an associated gtk.gdk.Window.
The weird thing is that calling the modify_bg method on HBox does not throw an error.
Thanks again,In reply to Re^2: Setting widget bg color in Gtk2
by neptuneray
in thread Setting widget bg color in Gtk2
by neptuneray
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |