[pygtk] How to clear/delete all values from the gtk.Liststore

Yann Leboulanger asterix at lagaule.org
Tue Dec 13 23:23:11 WST 2011


Le 13/12/2011 16:14, Arun p das a écrit :
> 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.

http://pygtk.org/docs/pygtk/class-gtkliststore.html will help you.

liststore.clear() is the function you're looking for.
-- 
Yann


More information about the pygtk mailing list