RE: [gtkmm] deleting last childrow of a row



	I've used the end() call and the -- operator with success.

> -----Original Message-----
> From: gtkmm-list-admin gnome org 
> [mailto:gtkmm-list-admin gnome org] On Behalf Of bart
> Sent: Thursday, November 27, 2003 8:54 AM
> To: Stephan Puchegger
> Cc: gtkmm-list gnome org
> Subject: Re: [gtkmm] deleting last childrow of a row
> 
> 
> Hmmz, i was already afraid of that. But isn't there any other 
> way to get the iter that points to the last element? It's 
> hard to believe the only way to do this is getting the "begin 
> iterator" and increment it till it hits the size. Altough 
> working this is very inefficient.
> 
> grtz,
> Bart
> 
> On Thu, 2003-11-27 at 14:33, Stephan Puchegger wrote:
> > Hej!
> > 
> > .end() usually points to the "element" behind the last 
> element and not 
> > the last element itself. This is the usual behaviour in the STL. I 
> > guess the same ist true for gtkmm, since the behaviour of 
> gtkmm it is 
> > close to the STL.
> > 
> > 	regards
> > 
> > 		Stephan
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org 
> http://mail.gnome.org/mailman/listinfo/gtkmm-> list
> 
> 
> _______________________________________________
> 
> gtkmm-list mailing list
> gtkmm-list gnome org http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 




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