Moshe Zadka writes: > > 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() I'm in 100% agreement - "import *" is kind of nasty. I'd gladly change code to get around this. Also, the required edits could most likely be automated, and if we really wanted we could make a module "oldgtk" or something to ease the transitions: oldgtk.py: import Gtk GtkText=Gtk.Text ... Then people could do "from oldgtk import *" and have their old code work. - To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
- Re: [pygtk] PyQt/PyKDE Bindings Matt Wilson
- Re: [pygtk] PyQt/PyKDE Bindings James Henstridge
- Re: [pygtk] PyQt/PyKDE Bindings Michael Lauer
- 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
