On 11/08/2003 5:04 AM, Colin Fox wrote:

On Sun, 2003-08-10 at 11:30, Doug Quale wrote:


Here is a simple example using icons in a TreeView.



Thanks! That's perfect. Just out of curiosity, how would I show
different images for when the item is expanded and collapsed?


According to the C documentation at:
   http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererPixbuf.html

You just associate a model column with the "pixbuf_expander_closed" and "pixbuf_expander_open" properties instead of "pixbuf".

James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
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