0

I have a CustomDialog I made to let the user configure settings. Normally I want this to be launched from a menu item within the main application which works fine.

But during the install, I want to launch just the dialog to let the user configure the settings. Is there a way I can have both?

Greg
  • 45,306
  • 89
  • 231
  • 297

1 Answers1

1

With a little supporting code you can -- see e.g. wizard.py which launches an almost-stand-alone custom dialog subclass "wizard".

Alex Martelli
  • 854,459
  • 170
  • 1,222
  • 1,395
  • I get this error: Traceback (most recent call last): File "C:\Documents and Settings\gpinero\Local Settings\Temp\wizard.py", line 1 4, in ? from PythonCardPrototype import model, res ImportError: No module named PythonCardPrototype – Greg Jun 12 '09 at 16:22
  • So edit wizard.py to import those entries from the module you have them in, instead of from the module PythonCardPrototype that you don't have (or at least don't have accessible on your python path). – Alex Martelli Jun 12 '09 at 22:03