On Thu, 23 Mar 2000, Moshe Zadka wrote:

> As long as you're breaking things anyway, let me suggest one change:
> have the "Gtk" prefix stripped from the classes' names (GtkText -> Text,
> etc) and recommend that Gtk is imported via
> 
> import Gtk
> 
> And accesed via
> 
> Gtk.Text()
> 
> (Simillarily for Gnome/GnomeUI)
> 
> It seems much more Pythonic then
> 
> from gtk import *
> 
> GtkText()
> 

You can currently do:
  import gtk
  gtk.GtkText()

I am more in favour of keeping the Gtk prefix, as this seems to be common
in some of the other language bindings (even the java bindings kept the
Gtk prefix when the classes were in a gtk package).  Most of your
application is made up of manipulating widgets, rather than constructing
them, so the extra three characters is not that much of a problem.

> 
> --
> Moshe Zadka <[EMAIL PROTECTED]>. 

James.

-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to