RE: [gtkmm] Gtk::ListStore::insert, i can't get it working :(

Of course it does, i use it all the time. But i needed insert() to
insert some rows halfway the list. Somehow i couldn't get a working
iterator. Now i have one, i can change the value of the iterator to
whatever i want and insert rows whereever i want.



On Thu, 2003-11-13 at 16:23, Murray Cumming Comneon com wrote:
> > From: bart [mailto:bart hakvoort castel nl] 
> > I'm always posting a little bit to soon ;) I just found out how to do
> > it: ==================================================================
> > Gtk::TreeIter test = liststore->children().begin();
> > //here i can do something with test
> > row = *(liststore->insert(test) ); 
> I think that prepend() does the same thing, with less code.
> Murray Cumming
> murrayc usa net

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