[pygtk] Displaying Pixbuf flags in a TreeView?

2004-08-19 Thread Paul Dickson
Any suggestions for the best way to display Pixbuf flags for boolean
values?

I have a treestore with a couple of columns of boolean values and I'd like
to display a pixbuf for the True values.

-Paul

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] Displaying Pixbuf flags in a TreeView?

2004-08-19 Thread Doug Quale
Paul Dickson [EMAIL PROTECTED] writes:

 Any suggestions for the best way to display Pixbuf flags for boolean
 values?
 
 I have a treestore with a couple of columns of boolean values and I'd like
 to display a pixbuf for the True values.

Use cell data funcs for those columns.  The cell data funcs should
test the model values and set the cell renderer 'pixbuf' properties to
the pixbuf to display or None.
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/