[pygtk] Displaying Pixbuf flags in a TreeView?

Doug Quale quale1 at charter.net
Thu Aug 19 23:22:52 WST 2004


Paul Dickson <dickson at permanentmail.com> 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.


More information about the pygtk mailing list