[Gtk-sharp-list] compare TreeIters
Peter Johanson
latexer at gentoo.org
Fri Feb 2 16:31:36 EST 2007
On Fri, Feb 02, 2007 at 07:01:02PM -0200, Thiago M. Sayao wrote:
> That doesn't work either afaik
> iter1.Stamp == iter2.Stamp will do..
> the .Equals is inherited from the object type, which probably compares
> memory address, or not? i'm not sure about this, but i had problems
> doing iter1.Equals (iter2). It was the same iter, but on two different
> variables and it returned false.
TreeIter overrides Equals, and should be sane (I've used it plenty of
times). Odd it's not working for you.
-pete
More information about the Gtk-sharp-list
mailing list