[pygtk] Setting background color

Elby loic.berthe at free.fr
Sat Apr 1 03:52:14 WST 2006


    Hi,

I would like to set the background of a label.

Sadly, the example given in pygtk's tutorial don't seems to work on my
computer :
When I run the script eventbox.py from
http://www.pygtk.org/pygtk2tutorial/ch-ContainerWidgets.html#sec-EventBox
I don't see any green background.

Am I the only one who doesn't see it ?

I'm running on Ubuntu Linux/Dapper with :

||/ Nom Version Description
+++-======================================================
ii python          2.4.2-0ubuntu3 An interactive high-level
object-oriented language (de
ii python-gtk2 2.8.4-0ubuntu4 Python bindings for the GTK+ widget set


-- 
Elby




More information about the pygtk mailing list