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
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
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.
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
[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
…
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?
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
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
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
[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
[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
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
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
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
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
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
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
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
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
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
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
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 there
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
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:
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 know why some people find
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
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,
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
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
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
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
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
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
33 matches
Mail list logo