[pygtk] VBox in ListStore

John Ehresman jpe at wingware.com
Thu Jan 19 01:09:24 WST 2006


Arie Timmerman wrote:
>>> I'm trying to add a VBox  to my TreeView but it doesnt work. My 
>>> current code:
>>
>> You don't add widgets to the tree store, rather you add data.  Please 
>> see the tutorial at 
>> http://pygtk.org/pygtk2tutorial/ch-TreeViewWidget.html
 >
> So this isn't possible?

No, it isn't possible because the ListStore doesn't contain widgets and 
a VBox is a widget.  I encourage you to learn how the TreeView and 
related classes work because they're not simple.

John


More information about the pygtk mailing list