Re: treeview column, themes and eventBox: why does bg change? [solved]



On Wed, Sep 01, 2010 at 07:42:38AM +0200, Alessandro Dentella wrote:
> Hi,
> 
> in order to add tooltips to the header of a TreeViewColumn, I set as widget
> for the column a Label inside an EventBox. That works fine but with some
> themes an ugly difference in backgroud appears between the text and the bg
> of the column header. I attach the screen of the result on Ubuntu 10.04.
> 
> Why does a label inside an EventBox behaves differently (limited to header
> of a TreeView) and what should I do to get the same bg as the "normal"
> header? The nasty thing is really that is appears half and half...
> 
> I'm using PyGTK if that matters...

I set:  

           event_box.props.visible_window = False

and now it works as desired.

sandro

-- 
Sandro Dentella  *:-)
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]