Re: [gtkmm] Updating a custom TreeModel



Tor Arvid Lund wrote:

Well, I may have found a workaround for the time being (since it really is a ListView), but it doesn't seem very elegant:

Gtk::TreeModel::iterator iter = myCustomTreeModel->get_iter(path);
myCustomTreeModel->row_inserted(path, iter);


That's fine. Actually, IIRC ListStore and TreeStore does something along those lines, too.

--
Christer




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