Giovanni Bajo wrote: > Then, I'd like to have a name for 1,0,-1 instead of using the bare numbers (in > case there are 4 buttons...).
There aren't any standard dialogs in PyGUI with 4 buttons, so that problem doesn't arise. :-) I could provide some names, Yes = 1, No = 0, etc. But since you can override the titles of the buttons, these names wouldn't always be correct. > So, we're back to what Qt does: you're using > magic numbers too. But I've tried to choose easily-remembered magic numbers with boolean compatibility. :-) Wingardium-Leviosa-ly, Greg _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com