[Gtk-sharp-list] List Store API suggestion

Mike Kestner mkestner@ximian.com
Sat, 21 Feb 2004 19:02:38 -0600


On Fri, 2004-02-20 at 23:06, John BouAntoun wrote:

> - Change IterNChildren() be something like GetRowCount()
> - Have IterNChildren(TreeIter iter) call GetRowCount if iter == null

Make it a RowCount prop instead and I'm on board. 

The tricky part is that since TreeIter is a value type, you can't pass
null for it.  Perhaps passing TreeIter.Zero is a reasonable alternative?

-- 
Mike Kestner <mkestner@ximian.com>