problems with liststore....



Bruno Boettcher writes:
i need to clear the model when a new request comes in and then fill it
up with the new data...

This is a work-around rather than a solution, but why not just create
a new liststore?

   $treestore = Gtk2::TreeStore->new(...);
   $treeview->set_model($treestore);

and let garbage collection take care of the rest...

Dan






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]