Return Gtk.Liststore object as string ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Return Gtk.Liststore object as string ?

Ronald Sayers
Hello pygtk,

Is it possible to return gtk.liststore object as string, instead
"<ListStore object at 0x7fb8b7b69b40 (GtkListStore at 0x175d680)>".

Once some object is "dragged and dropped" into the program, that
object is automatically added to a list. What would I like to do is:
once "clear" button is clicked to remove the item from the list.

to_remove = self.list.index("string name")
del self.list[to_remove]

I'm stuck at self.list.index, because I need the liststore object to
be returned as string.
_______________________________________________
pygtk mailing list   [hidden email]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/