[pygtk] Problems with '&' in treeview

Volker Helm Helm.volker at gmx.de
Thu Apr 26 18:41:08 WST 2007


Hi,

I've got problems with the character '&' inside of a treeview.

In example, I have following model:

ls = gtk.ListStore(str,str)
ls.append('Test1','This and that')
ls.append('Test2','C & A')

tv = gtk.TreeView()
tv.set_model(ls)
...

I'll get something like this:

Col1  |Col2
Test1 |This and that
Test2 |This and that

Does anybody can help with this problem (maybe a bug in GTK?)

Thanks in advance,

Volker

-- 
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


More information about the pygtk mailing list