[Mono-dev] Some questions in regards to the GTK# API
Chuck Esterbrook
chuck.esterbrook at gmail.com
Mon Nov 30 13:54:36 EST 2009
On Mon, Nov 30, 2009 at 10:41 AM, Mike Kestner <mkestner at gmail.com> wrote:
> I don't know how ugly it is. It would be extremely unusual to create a
> toplevel window without setting the title of the window, which is one
> available overloads. I'm not opposed to adding default constructors for
> everything. It would make things simpler MD's designer if all the
> widgets had default constructors for example. I'm not sure how feasible
> that is given the use of construct-only properties in gtk+.
In my own apps, I just end up setting the title later anyway since
it's computed with code and C# will not let me do much in a base()
argument (such as invoking a method on this object). So I would use
the parameterless constructor as well. In the mean time, I just pass
an empty string.
-Chuck
More information about the Mono-devel-list
mailing list