[Mono-list] Mono w/GLib & GObject

Michael Hutchinson m.j.hutchinson at gmail.com
Thu Jul 29 19:26:46 EDT 2010


On Thu, Jul 29, 2010 at 8:25 AM, Adam Tauno Williams
<awilliam at whitemice.org> wrote:
> I've been using Mono for quite some time to accomplish various tasks and
> build a variety of kinds of utilities or applications.  But I don't
> think I've exploited GLib or GObject much at all.  Especially in regards
> to developing Gtk# applications it seems that GObject provides some
> advantages.  So I wanted to learn about that [and also Hyena's JSON
> decoding and Gtk# widgets].  But.... I can't find anything beyond
> monodoc's very spartan 'documentation'.
>
> Is there any intro-to-the-GObject-mindset docs for C#/.NET/Mono?  Or any
> good examples for this-is-how-you-use-Gobject-and-why?  I'd really
> appreciate some pointers.

GObject is essentially an object model for C. Since you have a *much*
more efficient object model in the CLR, there's no real reason to use
GObject in the CLR except when interacting with native objects, i.e.
using GTK. As for GLib, it's a C library used by GTK & friends that
provides same the fundamental kinds of things you already have in
mscorlib and System.dll - so again, the only reason to use it IMO is
for interacting with GTK objects.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Mono-list mailing list