[Gtk-sharp-list] [PATCH] New Overload for TreeSelection.GetSelected

Mike Kestner mkestner at novell.com
Wed Jul 20 13:05:57 EDT 2005


On Tue, 2005-07-19 at 23:48 -0700, Todd Berman wrote:
> Hey,
> 
> 	Here is a patch to add an overload for TreeSelection.GetSelected (out
> Gtk.TreeIter) so you don't have to keep creating models that you don't
> care about in the instances where you already have the model lying
> around.
> 
> Let me know if it is ok to commit.

Seems fine to add to trunk.  It first I was going to suggest a property,
but comparison to TreeIter.Zero will probably be clunkier than a simple
bool return on a method.

Please commit.  And thanks for the docs.  ;-)

-- 
Mike Kestner <mkestner at novell.com>



More information about the Gtk-sharp-list mailing list