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]
- Re: [pygtk] PyQt/PyKDE Bindings Matt Wilson
- Re: [pygtk] PyQt/PyKDE Bindings Moshe Zadka
- Re: [pygtk] PyQt/PyKDE Bindings Deirdre Saoirse
- Re: [pygtk] PyQt/PyKDE Bindings Michael Lauer
- Re: [pygtk] PyQt/PyKDE Bindings Matt Wilson
- Re: [pygtk] PyQt/PyKDE Bindings James Henstridge
- Re: [pygtk] PyQt/PyKDE Bindings Moshe Zadka
- Re: [pygtk] PyQt/PyKDE Bindings Charles G Waldman
- Re: [pygtk] PyQt/PyKDE Bindings Fran�ois Pinard
- Re: [pygtk] PyQt/PyKDE Bindings Hrvoje Niksic
- Re: [pygtk] PyQt/PyKDE Bindings James Henstridge
- Re: [pygtk] PyQt/PyKDE Bindings Randolph Bentson
- Re: [pygtk] PyQt/PyKDE Bindings Moshe Zadka
- Re: [pygtk] PyQt/PyKDE Bindings Fred L. Drake, Jr.
- Re: [pygtk] PyQt/PyKDE Bindings Moshe Zadka
- Re: [pygtk] PyQt/PyKDE Bindings Fred L. Drake, Jr.
- Re: [pygtk] PyQt/PyKDE Bindings Michael Lauer
- Re: [pygtk] PyQt/PyKDE Bindings Moshe Zadka
- Re: [pygtk] PyQt/PyKDE Bindings Fred L. Drake, Jr.
- Re: [pygtk] PyQt/PyKDE Bindings James Henstridge
