Greetings.


Newbie here. I tried to figure out how to remove a row from a GTK.ListStore on the web (documentation and mailing list archives), but I could not figure it out. The documentation is pretty poor.


What I want to figure out is how can I get the iter required by GTK.ListStore.remove()? I have a GTK.TreeView with at GTK.ListStore as a Model. I want to remove the row that has been selected by the user. How do I proceed? How do I obtain the iter that points to the currently selected item? It must be easy, but I cannot find the function that would return the iter.

On a different note, if I want to remove a row containing the String "blahblah" from a GTK.ListStore, how would I proceed?

My main problem is that I cannot figure out how to create an iter. It is being required many places, but I cannot put my hand on how to create one which would point to the data I would desire.


Sincerely, Hans Deragon -- Deragon Informatique inc. Open source: http://www.deragon.biz http://swtmvcwrapper.sourceforge.net mailto://[EMAIL PROTECTED] http://autopoweroff.sourceforge.net

_______________________________________________
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