[Gtk-sharp-list] MonkeyGuide?: Hello World in GNOME.NET - Second Draft

Mike Kestner mkestner@speakeasy.net
17 Feb 2003 10:26:53 -0600

On Mon, 2003-02-17 at 01:25, Charles Iliya Krempeaux wrote:

> That's probably because in C, GObject subclassing is a hassle.

Yes it's clumsy and boilerplate heavy, but still it is used extensively
throughout GNOME, with the notable exception of GnomeProgram subclasses.

> Why not make put the initialization in a "static constructor"???

I considered doing something like this.  The problem is the lack of
control over when the static ctor is invoked.  If it isn't invoked until
just prior to the Application.Run() call, then Gtk won't be init'd while
the GUI is being constructed, which would be a very bad thing.

Mike Kestner <mkestner@speakeasy.net>