Yet another treeView question ;)

I have been attempting to change a TreeView so that the background color
does not change when it has been clicked.  The sort indicator is enough
to let the user know it has been sort.  The (ugly) light gray color is
not needed.

I've been trying--

style = self.myTtreeView.Get_style()
style.Bg[Gtk.State_active] = style.Bg[Gtk.State_normal]
self.myTreeView.Set_style(style)

I can't seem to figure out which widget to use as the style source. 
I've tried the TreeView, TreeViewColumn, and the Renderer .

All give me.

AttributeError: 'gtk.TreeView' object has no attribute 'Get_style'

hmmmm...

Thanks 
Dave Farning

_______________________________________________
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