Re: Making wxPython a standard module?

2008-06-17 Thread TYR
b = wx.Button(label=Click Me, action=myCallable) Instead you used to have to create a button and then call some utility function in some other object to bind that button to a callable (IIRC this was one place where Window IDs could be used). Now, the button actually has a

Re: Making wxPython a standard module?

2008-06-15 Thread Torsten Bronger
Hallöchen! Grant Edwards writes: On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: [...] IMO, a few of the un-Pythonic things about wxPython are: 1) Window ID numbers. When I started to use wxPython, there was a newly-introduced wx.ID_ANY that you could give instead of -1. My

Re: Making wxPython a standard module?

2008-06-15 Thread Grant Edwards
On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: You're saying that having the user or-together a bunch of bitmasks and pass the result as an integer is a common way for Python functions/object allow the user to turn optional features on and off? Common doesn't matter. Yes it does.

Re: Making wxPython a standard module?

2008-06-15 Thread s0suk3
I know there must be at least a few very solid answers to this, but, just to hear it from the Pythonistas: Why can't there be several GUI toolkits on the standard library? -- http://mail.python.org/mailman/listinfo/python-list

Re: Making wxPython a standard module?

2008-06-15 Thread Ben Finney
[EMAIL PROTECTED] writes: I know there must be at least a few very solid answers to this, but, just to hear it from the Pythonistas: Why can't there be several GUI toolkits on the standard library? Because the Zen of Python advises against it: import this The Zen of Python, by Tim Peters …

Re: Making wxPython a standard module?

2008-06-15 Thread Torsten Bronger
Hallöchen! Grant Edwards writes: On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: You're saying that having the user or-together a bunch of bitmasks and pass the result as an integer is a common way for Python functions/object allow the user to turn optional features on and off?

Re: Making wxPython a standard module?

2008-06-15 Thread s0suk3
On Jun 15, 9:37 am, Ben Finney [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] writes: I know there must be at least a few very solid answers to this, but, just to hear it from the Pythonistas: Why can't there be several GUI toolkits on the standard library? Because the Zen of Python advises

Re: Making wxPython a standard module?

2008-06-15 Thread Martin v. Löwis
I know there must be at least a few very solid answers to this, but, just to hear it from the Pythonistas: Why can't there be several GUI toolkits on the standard library? Why do you think there can't be several GUI toolkits in the standard library? There is nothing that prohibits such a thing

Re: Making wxPython a standard module?

2008-06-15 Thread Sebastian lunar Wiesner
Martin v. Löwis [EMAIL PROTECTED]: Just out of curiosity, what are the chances of this happening (sort of like what happened with sqlite)? As a starting point, the author(s) of wxPython would need to contribute it to Python (and then also give the PSF the permission to relicense it). If no

Re: Making wxPython a standard module?

2008-06-15 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: I know there must be at least a few very solid answers to this, but, just to hear it from the Pythonistas: Why can't there be several GUI toolkits on the standard library? Take my first post, add martin's maintenance + licensing-issues, and multiply the arguments by

Re: Making wxPython a standard module?

2008-06-15 Thread Ben Finney
[EMAIL PROTECTED] writes: On Jun 15, 9:37 am, Ben Finney [EMAIL PROTECTED] wrote: The Zen of Python, by Tim Peters … There should be one-- and preferably only one --obvious way to do it. I agree with that concept. But there already is more than one way to do it, only that the other

Re: Making wxPython a standard module?

2008-06-15 Thread Mike Driscoll
Grant, On Jun 14, 3:43 pm, Grant Edwards [EMAIL PROTECTED] wrote: On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: I've never used any of the designers, but I agree 100% that wxPython code is nasty ugly. wxPython has a very un-Pythonic API that's is, IMO, difficult to use. I

Re: Making wxPython a standard module?

2008-06-14 Thread Diez B. Roggisch
Andrea Gavana schrieb: Hi Diez All, And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? I am asking just out of curiosity, obviously. I am so biased towards wxPython that I won't make any comment on this thread in particular, but I am curious to

Re: Making wxPython a standard module?

2008-06-14 Thread Grant Edwards
On 2008-06-14, Diez B. Roggisch [EMAIL PROTECTED] wrote: And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? [...] For the curious: Not the look feel (albeit I prefer KDE on linux over Gnome, which is a Qt/GTK thing and thus affects wx look

Re: Making wxPython a standard module?

2008-06-14 Thread Torsten Bronger
Hallöchen! Grant Edwards writes: On 2008-06-14, Diez B. Roggisch [EMAIL PROTECTED] wrote: And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? [...] For the curious: Not the look feel (albeit I prefer KDE on linux over Gnome, which is a

Re: Making wxPython a standard module?

2008-06-14 Thread Grant Edwards
On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: I've never used any of the designers, but I agree 100% that wxPython code is nasty ugly. wxPython has a very un-Pythonic API that's is, IMO, difficult to use. I know that such requests may start a never-ending thread but I'd really

Re: Making wxPython a standard module?

2008-06-14 Thread Torsten Bronger
Hallöchen! Grant Edwards writes: [...] IMO, a few of the un-Pythonic things about wxPython are: 1) Window ID numbers. When I started to use wxPython, there was a newly-introduced wx.ID_ANY that you could give instead of -1. My eyes filtered it out after a couple of hours, just as they do

Re: Making wxPython a standard module?

2008-06-14 Thread Paul McNett
Grant Edwards wrote: On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: I've never used any of the designers, but I agree 100% that wxPython code is nasty ugly. wxPython has a very un-Pythonic API that's is, IMO, difficult to use. I know that such requests may start a never-ending thread

Re: Making wxPython a standard module?

2008-06-14 Thread Grant Edwards
On 2008-06-14, Paul McNett [EMAIL PROTECTED] wrote: Grant Edwards wrote: On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: I've never used any of the designers, but I agree 100% that wxPython code is nasty ugly. wxPython has a very un-Pythonic API that's is, IMO, difficult to use. I

Re: Making wxPython a standard module?

2008-06-14 Thread Grant Edwards
On 2008-06-14, Torsten Bronger [EMAIL PROTECTED] wrote: [...] IMO, a few of the un-Pythonic things about wxPython are: 1) Window ID numbers. When I started to use wxPython, there was a newly-introduced wx.ID_ANY that you could give instead of -1. My eyes filtered it out after a couple

Re: Making wxPython a standard module?

2008-06-14 Thread Colin J. Williams
Grant Edwards wrote: On 2008-06-14, Diez B. Roggisch [EMAIL PROTECTED] wrote: And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? [...] For the curious: Not the look feel (albeit I prefer KDE on linux over Gnome, which is a Qt/GTK thing and

Re: Making wxPython a standard module?

2008-06-12 Thread Diez B. Roggisch
Just out of curiosity, what are the chances of this happening (sort of like what happened with sqlite)? I read somewhere that Guido said the only reason Tkinter is still the standard GUI module instead of wxPython is because it was there first. Perhaps a joke, but it got me thinking that

Re: Making wxPython a standard module?

2008-06-12 Thread Paul Boddie
On 12 Jun, 16:18, John Salerno [EMAIL PROTECTED] wrote: Just out of curiosity, what are the chances of this happening (sort of like what happened with sqlite)? Plenty of prior discussion here:

Re: Making wxPython a standard module?

2008-06-12 Thread Mike Driscoll
On Jun 12, 9:55 am, Andrea Gavana [EMAIL PROTECTED] wrote: Hi Diez All, And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? I am asking just out of curiosity, obviously. I am so biased towards wxPython that I won't make any comment on this

Re: Making wxPython a standard module?

2008-06-12 Thread John Salerno
Diez B. Roggisch [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] This has been discussed before. While tkInter might not be the greatest toolkit out there it has two extreme advantages: - it is comparably small regarding the footprint. Few external dependencies, small libraries,

Re: Making wxPython a standard module?

2008-06-12 Thread Ed Leafe
On Jun 12, 2008, at 10:55 AM, Andrea Gavana wrote: And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? I am asking just out of curiosity, obviously. I am so biased towards wxPython that I won't make any comment on this thread in particular, but I

Re: Making wxPython a standard module?

2008-06-12 Thread Andrea Gavana
Hi Ed All, On Thu, Jun 12, 2008 at 4:11 PM, Ed Leafe wrote: On Jun 12, 2008, at 10:55 AM, Andrea Gavana wrote: And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? I am asking just out of curiosity, obviously. I am so biased towards wxPython that

Re: Making wxPython a standard module?

2008-06-12 Thread bearophileHUGS
Andrea Gavana: Maybe. But I remember a nice quote made in the past by Roger Binns (4 years ago): The other thing I failed to mention is that the wxPython API isn't very Pythonic. (This doesn't matter to people like me who are used to GUI programming - the wxPython API is very much in the

Re: Making wxPython a standard module?

2008-06-12 Thread David C. Ullrich
In article [EMAIL PROTECTED], Andrea Gavana [EMAIL PROTECTED] wrote: Hi Diez All, And on a personal note: I find it *buttugly*. Do you mind explaining why you find it *buttugly*? My guess would be that buttugly is a colloquialism meaning exquisitely lovely. I am asking just out of

Re: Making wxPython a standard module?

2008-06-12 Thread John Salerno
Andrea Gavana [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Whether the wxPython style is Pythonic or not (whatever Pythonic means), this is a one-degree-above-insignificant issue for me. What I care is the eye pleasing look of my apps and how easy it is to code with a GUI

Re: Making wxPython a standard module?

2008-06-12 Thread Martin v. Löwis
Just out of curiosity, what are the chances of this happening (sort of like what happened with sqlite)? As a starting point, the author(s) of wxPython would need to contribute it to Python (and then also give the PSF the permission to relicense it). If no such contribution is made, chances are