[pygtk] Inserting into a TreeView

Johannes Bauer dfnsonfsduifb at gmx.de
Thu Apr 23 15:18:51 WST 2009


Hello list,

I'm equally stuck right now when back a few weeks ago as I tried to
insert items into a ComboBox (which I got working, thanks to your help).

This time, I'm trying to insert items into a TreeView and just can't get
it to work. Basically I want something which looks like this:
http://med.fsu.edu/library/Newsletter200503/Scrollbox_WOK.gif

This appearently is done with the TreeView (there is a "List" and
"ColumnList" in my glade-version, but they're marked as deprecated). I
just want to insert a list of items and the users clicks on one, I get a
signal and can query which ID it is.

How can I do this easily?

Kind regards,
Johannes


More information about the pygtk mailing list