/** * Gets both iters from the provided ListStore obj based on the passed TreePath object(the selected row) */ private bool getNextIterFromSelection(out Gtk.TreeIter selectedIter, out Gtk.TreeIter nextIter, Gtk.TreePath selectedRow, Gtk.ListStore listModel) { listModel.GetIter(out selectedIter, selectedRow); selectedRow.Next(); listModel.GetIter(out nextIter, selectedRow); return(nextIter.Stamp != 0 && !nextIter.Equals(selectedIter)); }