At 7:53 AM -0500 12/12/05, Gary Jaffe wrote:
>Hi --
>
>I have a GtkTreeView that is working fine, but I would like to change 2
>things.
>
>1) Change the background color in the text area and
>
>2) Reduce the amount of vertical space between the text lines.
>
>To change the background color, I tried
>
>viewBgCol = gtk.gdk.color_parse("#808080")
>view.modify_bg(gtk.STATE_NORMAL, viewBgCol)
>
>but this did not change the color.  For the reduction of space, I've
>read through the pango docs, but was not able to figure out how to do
>this.  Any help would be appreciated.
>
>I'm running gtk version 2.8.6 and pygtk version 2.8.1.

I always have to futz around quite a bit to change the color of something.
In this case, use view.modify_base() instead.
____________________________________________________________________
TonyN.:'                       <mailto:[EMAIL PROTECTED]>
      '                              <http://www.georgeanelson.com/>
_______________________________________________
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