Hi,

Which widget do you want to put in a treeview? Check out faq 13.22 for some info. Your treemodel (liststore in this case) will not contain the widget, but the data represented by the widget. There are a few cellrenderers in pygtk that can display widgets in a treeview: gtk.CellRendererPixbuf, gtk.CellRendererText and gtk.CellRendererToggle. (Check out http://liw.iki.fi/liw/texts/gtktreeview-tutorial.html for a good example.)

regards,

Toon

Cristian Prieto wrote:
If I want to embed another widget inside a TreeView, how could I do it?
What is the type of the model? [model = gtk.ListStore(gobject.
TYPE_OBJECT?)] what's the type and handling of the TreeViewColumn?

Is around there any example of it using PyGTK?

Thanks a lot!
Cristian F. Prieto G.
Linux User : MSN : [EMAIL PROTECTED]
Y! MSN : [EMAIL PROTECTED]
ICQ :


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

_______________________________________________ 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