Yep, I know already about gtk.CellRendererText(), gtk.CellRendererPixbuf
() and gtk.CellRendererToggle()....
I need to insert a gtk.ComboBox and a gtk.CheckBox, I guess I need to
pass a list to the gtk.ComboBox in the model and a bool to the
CheckBox...

Any idea of it?

On Wed, 20 04-08-18 at 07:34 +0200, Toon Verstraelen wrote:
> 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/
> 
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/

Reply via email to