Hi,

self.builder.get_object('liststore_some_liststore').clear() should work. You can also do something like this:


model = self.builder.get_object('treeview_some_treeview').get_model()
model.clear()

if you just want to clear the list store linked to a treeview or whatever.
I hope this helps,

Zoltán

On 12/13/2011 04:14 PM, Arun p das wrote:
I am new to pygtk. currently i am doing one application using pygtk and glade.
my Question is How to clear/delete all values from the gtk.Liststore.
I am using the liststore as model for combobox.
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to