On Sat, 2005-01-08 at 14:46 +0200, Moe Aboulkheir wrote:
> i have recently returned to GTK from an extended, corporate exile in the 
> land of randomly segfaulting toolkits who shall remain nameless.  it is 
> like romancing an old lover only to find her technique has improved with 
> age.
> 
> although, i seem to be having problems getting treeviews to change their 
> background color. 
> 
> color = gtk.gdk.rgb_get_colormap().alloc_color('black')
> treeview.modify_bg( gtk.STATE_INSENSITIVE, color )
> 
> doesn't do anything.  it works for the widgets that the pygtk ref says 
> it should (i.e. ones with an associated window), but not for the 
> treeview for some reason.

See:

http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.031.htp

Regards.
-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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