model = treeview.get_model() model.clear() This should do it. If it does not then call treeview.queue_draw()
after. On 7/4/05, Rob Marino <[EMAIL PROTECTED]> wrote: > Hi. > > I'm writing an app which uses a tree view/liststore... > > Can anyone please tell me how to easily/efficiently clear a tree view? I've > called the clear() method on the liststore but AFAICS it does not work .. > > thanks. > > RM > -- > O__ > _/`.\ > `=( ' > > > > _______________________________________________ > pygtk mailing list [email protected] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ > > > _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
