[pygtk] eventbox and ugly look

Alessandro Dentella sandro at e-den.it
Wed Sep 1 00:56:30 WST 2010


Hi,

in order to get tooltips in the header of a TreViewColumn I add a Label to
en EventBox. It works but upgrading from Ubuntu 8.04 to 10.04 (pygtk 2.17) I
realized that very ugly border appear (that where not present previously)
as in the attached example.

Does anybody know how to fix the look or to get tooltip in the header of
the column w/o event box?

I attach the example to repoduce the 2 different column headers.

I guess I should get the backgroud style from the label and attach it to the
other, but I'm not sure becouse a standalone label does not show the same
way it shows as a header of a column...

Any hints?

thanks
sandro
*:-)




-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        eventbox.png
Tipo:        image/png
Dimensione:  14999 bytes
Descrizione: non disponibile
URL:         <http://www.daa.com.au/pipermail/pygtk/attachments/20100831/1ec4815c/attachment-0001.png>
-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        tree-label.py
Tipo:        text/x-python
Dimensione:  951 bytes
Descrizione: non disponibile
URL:         <http://www.daa.com.au/pipermail/pygtk/attachments/20100831/1ec4815c/attachment-0001.py>


More information about the pygtk mailing list