[Gtk-sharp-list] Atk interface and Gnome.App names

Samuel Kaufman skaufman@elite.net
Wed, 07 Apr 2004 17:22:37 +0000


On Wed, 2004-04-07 at 04:35, John Luke wrote:
> > 	Why is Gnome.App not called AppWindow?  I know it's called "GnomeApp"
> > in libgnomeui, but doesn't AppWindow seem more descriptive and C#-ish?
> 
> I'm not sure that is enough of an improvement to warrant differing from
> the GTK+ name, but it could be done depending on what everyone thinks.
> I just think you are the first to propose it.  For others
> (constructively) criticizing the API and names is helpful so do so when
> you notice things like that.

It's a matter of opinion, I suppose.  IMHO, one of the advantages of
using bindings is that you get an API that seems to be native to the
language.  Naming of classes is part of the that..

> > 	Why do none of the Atk interfaces have I in front of their names even
> > though the convention is used throughout the rest of Gtk#?
> 
> I don't think the generator is prefixing I on interfaces at all is it?
> The only one in Gtk is ITreeNode which was hand written.
> I believe this was discussed and/or planned at one time but I can't
> remember what was decided.

GLib.IWrapper exists, as well.  Interfaces seem scarce in the Gtk# API. 
I'd be more than happy to file a report and write a patch for the
generator if that's what we want.