[Gtk-sharp-list] widget destruction

Mike Kestner mkestner at gmail.com
Mon Mar 7 20:14:40 EST 2011


2011/3/7 "Andrés G. Aragoneses" <knocte at gmail.com>

> This brings up again the debate: should GTK# change the API in the 3.x
> release to make Dispose() methods call Destroy() now that Gtk+3 broke
> API anyway?
>

I know many people would like to see this.  If someone wants to take the
lead and actually do it and make sure it works properly, I'm probably ready
to accept the patch at this point, seeing as I'm the only one who seems to
think Dispose and Destroy actually mean two different things in the context
of a C# binding to GObject.  It makes more sense to me that Destroy call
Dispose, not vice-versa, and the using (FooDialog) pattern isn't all that
compelling to me.

But as I said, I'm willing to accept a well-tested and heap profiled patch.

Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20110307/e5ab2232/attachment.html 


More information about the Gtk-sharp-list mailing list