On Fri, 24 Mar 2000, James Henstridge wrote:
> You can currently do:
> import gtk
> gtk.GtkText()
That's what I do, currently <wink>. However, I feel to be saying the same
thing twice, which bothers me on a moral level.
> 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).
But in Java importing things into the current namespace is much more
common then in Python...
> 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.
Well, I'm not that worried about RSI: more about asthetics, as it seems
we're using C's shameful hack for a namespace (common prefix) in a
language with the best (IMHO) namespace mechanism in the world <wink>.
It's not that important to me, though...
waiting-for-the-next-pygtk-version-ly y'rs, Z.
--
Moshe Zadka <[EMAIL PROTECTED]>.
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com
-
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]