summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/EasyDialogs.py
Commit message (Collapse)AuthorAgeFilesLines
* Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used bothJack Jansen2002-12-301-598/+0
| | | | | | | in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
* Lots of minor tweaks for the pep252 checkins, mainly because QdJack Jansen2002-11-301-1/+1
| | | | attributes are no longer supported.
* Got rid of the python.rsrc resource file. The error message strings andJack Jansen2002-11-071-1/+15
| | | | | | | | | | dialogs are now stored in Mac/Lib, and loaded on demand through macresource. Not only does this simplify a MacPython based on Apple's Python, but it also makes Mac error codes come out symbolically when running command line python (if you have Mac/Lib in your path). The resource files are copied from Mac/Resources. The old ones will disappear after the OS9 build procedure has been adjusted.
* Slightly better error message in case of missing resources.Jack Jansen2002-08-021-5/+5
|
* Turns out GetArgv() options can be 4-tuples too, with the last value being ↵Jack Jansen2002-06-261-3/+9
| | | | | | the default (or something like that). Cater for this. Also put in a safeguard against very long help strings.
* Don't call MacOS.SchedParams() in MachO, it doesn't exist.Jack Jansen2001-09-091-4/+8
|
* Patch by Dean Draayer: support for indeterminate progress bars. YouJack Jansen2001-08-271-27/+37
| | | | | | get these by specifying maxval=0, which is now also the default. Untested.
* Import the MacOS toolbox modules from the Carbon package.Jack Jansen2001-08-251-10/+10
|
* ProgressBar crashed when you tried to drag it. Fixed. Thanks go to Alfonso ↵Jack Jansen2001-07-271-1/+1
| | | | Baciero.
* Fixed typo in doc string.Just van Rossum2001-06-261-1/+1
|
* Hide the ProgressBar before raising KeyboardInterrupt. Not doing so resulted ↵Jack Jansen2001-02-231-2/+8
| | | | in a hang on Carbon.
* Dialogs and there windows were still confused in some spots. Fixed.Jack Jansen2001-02-091-7/+8
|
* Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on ↵Jack Jansen2001-01-091-2/+2
| | | | {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc.
* Various tweaks and bugfixes to GetArgv. It now appears good enough for ↵Jack Jansen2000-09-211-10/+10
| | | | Distutils.
* Added GetArgs dialog to EasyDialogs, a very nifty (if I may say so:-) way to ↵Jack Jansen2000-09-191-4/+236
| | | | create a unix-style sys.argv.
* Call GetDialogWindow to convert dialogs to windows.Jack Jansen2000-08-251-6/+6
|
* Don't call BringToFront() on the dialog object, but call GetDialogWindow() ↵Jack Jansen2000-07-241-3/+3
| | | | to get a window object.
* In AskYesNoCancel() treat the "yes" and "no" buttons the same way as the cancelJack Jansen2000-02-101-4/+10
| | | | button (i.e. an empty label hides the button).
* Made all textfields in message and question boxes minimal height and ↵Jack Jansen2000-01-181-0/+10
| | | | invisible, and use AutoSizeDialog() and ShowWindow() before doing interaction.
* Fixed the password dialog to use a password control.Jack Jansen1999-12-131-50/+26
|
* Updated Message, question, YNC and progress dialogs for Appearance. PasswordJack Jansen1999-12-121-47/+33
| | | | | remains to be done, and maybe we should convert everything to movablemodal too and make things like question look nicer.
* Changes to ProgressBar:Jack Jansen1999-11-051-4/+10
| | | | | - Don't crash if max=0 - set() now has an optional max parameter, to set the maximum value.
* AskString always set the dialog id to 257. Fixed.Jack Jansen1999-10-051-1/+0
|
* Uncommented AskYesNoCancel docstring (how did it get commented in the first ↵Jack Jansen1999-02-251-11/+11
| | | | place?)
* Added optional arguments to dialogs to allow setting of button titles.Jack Jansen1999-02-161-4/+16
|
* AskPassword(): added reference to the module doc string; added support for ↵Just van Rossum1999-02-151-2/+3
| | | | autoKey events. --jvr
* Added AskPassword() with same interface as AskString. By Steve Majewski with ↵Jack Jansen1999-02-101-0/+71
| | | | some mods by me (SchedParams call, default value). Selects are still impossible, though, and the cursor doesn't blink.
* Select the whole default input field in AskString (Joe Strout)Jack Jansen1999-01-221-1/+2
|
* Truncate messages if they are longer than 255 characters. Note that this isJack Jansen1998-09-281-0/+2
| | | | not really a good solution for default input strings...
* Convert \n to \r in strings that are displayed in the dialogs.Jack Jansen1998-07-011-8/+19
|
* Allow specifying own resources for all dialogsJack Jansen1997-06-201-7/+15
| | | | Allow changing labels on yesnocancel dialog
* Replaced MacOS.EnableAppSwitch with MacOS.SchedParamsJack Jansen1997-06-121-2/+2
|
* Add a few more BringToFont callsJack Jansen1997-05-131-0/+3
|
* Fixes to progress bar by SDM, modified by Jack:Jack Jansen1997-05-121-16/+79
| | | | | | | - Window has a titlebar, and title() changes it - The label is changed with label() - The window is now movable-modal - Cancel is now called Stop, and works.
* Fixed flashing in ProgressBar update.Jack Jansen1996-10-151-9/+8
|
* Fixed progressbar cleanupJack Jansen1996-10-041-6/+4
|
* Added region argument to various ...Update calls.Jack Jansen1996-04-101-2/+6
| | | | Also, some rsrc files got rebinhexed (sigh)
* Removed addpack callsJack Jansen1996-03-201-4/+0
|
* Added a ProgressBar() class (which shows a progress bar). Needs newJack Jansen1995-11-141-0/+63
| | | | resource.
* Various toolbox routines have gotten new names.Jack Jansen1995-07-171-12/+12
|
* two new modules for the Mac toolboxGuido van Rossum1995-04-051-0/+110