[pygtk] Trouble with TreeViews

Yann Leboulanger asterix at lagaule.org
Mon Nov 12 16:11:47 WST 2007


Caleb Marcus a écrit :
> I've read those, but I can't quite understand how to get it to work. 
> I've attached a glade XML file and a Python file that I'm using to test 
> the ability to manipulate TreeViews in Python. I'm just trying to get 
> "Column1text" into the first column, and the number 2 into the second 
> column, but it's not working... could anyone help me get this figured 
> out? If you're running it, you'll need python-glade, and both files will 
> need to be in the same directory.
> On Sun, 2007-11-11 at 19:21 +0100, Gian Mario Tagliaretti wrote:
>> 2007/11/11, Caleb Marcus <caleb.marcus at gmail.com <mailto:caleb.marcus at gmail.com>>:
>> >
>> >  I'm pretty new to Python, and days-new to GTK, and the TreeView widget is
>> > confusing the hell out of me... is there a good guide to using it?
>>
>> the pygtk tutorial has got a section dedicated to the treeview widget:
>> http://www.pygtk.org/pygtk2tutorial/ch-TreeViewWidget.html
>>
>> also check the pygtk FAQ:
>> http://faq.pygtk.org/index.py?req=index
>>
>> cheers
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pygtk mailing list   pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

replace text=1 and text=2 by text=0 and text=1

-- 
Yann


More information about the pygtk mailing list