From: Alex T. <al...@tw...> - 2005-06-06 13:14:36
|
Schollnick, Benjamin wrote: >Alex, > >Not exactly what you are asking for....but it might be a feeble >starting point.... > > > Thanks Benjamin - but I'm looking for a way that allows me an arbitrary number of buttons, with labels I choose. I want to be able to write in code something like: result = multiButtonDialog.multiButtonDialog(self, \ 'Dad, can I go to the movies tonight', \ ['Yes', 'No', 'Maybe', 'Ask me later', 'Ask your mum'], \ "Movies Dialog Title") >I have not had a need since using Pythoncard to create the exact wrapper >you >are discussing... I think that WXPython has a MessageDialog that allows >you to >configure the 3 buttons, but I have not looked that up yet... > > > I think it does; but I want any number of buttons - not just 3 :-) It's starting to sound like there is no existing easy way, so I'll clean up my code and post it somewhere useful. And maybe start canvassing Kevin to allow such "utility" functions to be included in PythonCard ... -- Alex Tweedly http://www.tweedly.net -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.6.2 - Release Date: 04/06/2005 |