[Gtk-sharp-list] About all assemblies

Miguel de Icaza miguel@ximian.com
03 Dec 2002 22:52:05 -0500


Hello!

> Well, I disagree.  The *Sharp namespaces contain the helper code that is
> not specifically wrapping a Gtk+ api element.  Right now, I think the
> only interesting classes to Gtk# application developers that fall in the
> *Sharp namespace are the EventHandler/Args subclasses.  These are
> clearly not exposing Gtk+ api and I think belong in the helper namespace
> where they currently live.  The addition of a using declaration is such
> a trivial overhead and it is nice to have the separation between
> directly mapped API and helper API.

I guess my unrest comes from the fact that it is not obvious when the
"GtkSharp" is needed, so code that looks perfectly fine will be missing
a "using GtkSharp" for apparently no good reason.

If the GtkSharp namespace contained only support code, or code that was
hidden, I would not particularly mind it, but today it is kind of
inconvenient to have it.

Today we do not even have a clear separation between the directly mapped
API and the helper API (and I am very grateful that we do not have this
distinction).  This is mostly obvious in the .custom extensions to the
classes.  I do not quite follow why it is fine to have the .custom files
and not the event arguments (which are hard to type anyways, so they
wont get confused by mistake). 

Anyways, I can live with this, but it sounds like Gtk# could be more
friendly to newcomers.

Miguel