Re: GIO API review



Hi,

On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
> Also, subclasses should probably append their name, not prepend it:
> 
> GFilterOutputStream -> GIOOutputStreamFilter
> GUnixOutputStream   -> GIOOutputStreamUnix
> ...
> 
> This makes the file and inheritence structure much clearer and would
> be consistent with stuff we already have (e.g. GtkTreeModelFilter,
> GtkTreeModelSort).

Looking over the GTK+ classes, it seems like the TreeView classes are
the odd ones out. Most classes seem to follow the naming pattern in gio,
examples being GtkToggleButton, GtkCheckMenuItem, GtkAccelLabel,
GtkAboutDialog, etc.

Besides, the proposed naming in the review does go against the naming
convention set by Smalltalk, Java, C#, et al; and if implemented will
probably confuse users coming to GTK+ from those worlds.

- Vincent







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]