Jack Jansen
eb30843ea4
Don't call MacOS.SchedParams() in MachO, it doesn't exist.
2001-09-09 00:36:01 +00:00
Jack Jansen
911e87de6f
Patch by Dean Draayer: support for indeterminate progress bars. You
...
get these by specifying maxval=0, which is now also the default.
Untested.
2001-08-27 15:24:07 +00:00
Jack Jansen
5a6fdcd371
Import the MacOS toolbox modules from the Carbon package.
2001-08-25 12:15:04 +00:00
Jack Jansen
8d2f3d66ee
ProgressBar crashed when you tried to drag it. Fixed. Thanks go to Alfonso Baciero.
2001-07-27 09:21:28 +00:00
Just van Rossum
639a740e50
Fixed typo in doc string.
2001-06-26 06:57:12 +00:00
Jack Jansen
5dd7362295
Hide the ProgressBar before raising KeyboardInterrupt. Not doing so resulted in a hang on Carbon.
2001-02-23 22:18:27 +00:00
Jack Jansen
784c611053
Dialogs and there windows were still confused in some spots. Fixed.
2001-02-09 15:57:01 +00:00
Jack Jansen
e7bfc915da
Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc.
2001-01-09 22:22:58 +00:00
Jack Jansen
0bb0a90b20
Various tweaks and bugfixes to GetArgv. It now appears good enough for Distutils.
2000-09-21 22:01:08 +00:00
Jack Jansen
f86eda5d19
Added GetArgs dialog to EasyDialogs, a very nifty (if I may say so:-) way to create a unix-style sys.argv.
2000-09-19 22:42:38 +00:00
Jack Jansen
0c1836f13b
Call GetDialogWindow to convert dialogs to windows.
2000-08-25 22:06:19 +00:00
Jack Jansen
ab48e905b5
Don't call BringToFront() on the dialog object, but call GetDialogWindow() to get a window object.
2000-07-24 14:07:15 +00:00
Jack Jansen
8574378ad4
In AskYesNoCancel() treat the "yes" and "no" buttons the same way as the cancel
...
button (i.e. an empty label hides the button).
2000-02-10 16:15:53 +00:00
Jack Jansen
fca049d952
Made all textfields in message and question boxes minimal height and invisible, and use AutoSizeDialog() and ShowWindow() before doing interaction.
2000-01-18 13:36:02 +00:00
Jack Jansen
60429e055e
Fixed the password dialog to use a password control.
1999-12-13 16:07:01 +00:00
Jack Jansen
cc38688889
Updated Message, question, YNC and progress dialogs for Appearance. Password
...
remains to be done, and maybe we should convert everything to movablemodal too
and make things like question look nicer.
1999-12-12 22:57:51 +00:00
Jack Jansen
58fa818c08
Changes to ProgressBar:
...
- Don't crash if max=0
- set() now has an optional max parameter, to set the maximum value.
1999-11-05 15:53:10 +00:00
Jack Jansen
231fffe1d4
AskString always set the dialog id to 257. Fixed.
1999-10-05 08:54:17 +00:00
Jack Jansen
cf2efc67d9
Uncommented AskYesNoCancel docstring (how did it get commented in the first place?)
1999-02-25 22:05:45 +00:00
Jack Jansen
208c15ab85
Added optional arguments to dialogs to allow setting of button titles.
1999-02-16 16:06:39 +00:00
Just van Rossum
cdcc0f0c3c
AskPassword(): added reference to the module doc string; added support for autoKey events. --jvr
1999-02-15 00:04:05 +00:00
Jack Jansen
b92268aa3f
Added AskPassword() with same interface as AskString. By Steve Majewski with some mods by me (SchedParams call, default value). Selects are still impossible, though, and the cursor doesn't blink.
1999-02-10 22:38:44 +00:00
Jack Jansen
d61f92bab3
Select the whole default input field in AskString (Joe Strout)
1999-01-22 13:14:06 +00:00
Jack Jansen
d5af7bd489
Truncate messages if they are longer than 255 characters. Note that this is
...
not really a good solution for default input strings...
1998-09-28 10:37:08 +00:00
Jack Jansen
a5a49818aa
Convert \n to \r in strings that are displayed in the dialogs.
1998-07-01 15:47:44 +00:00
Jack Jansen
3f5aef7fef
Allow specifying own resources for all dialogs
...
Allow changing labels on yesnocancel dialog
1997-06-20 16:23:37 +00:00
Jack Jansen
3368cb7763
Replaced MacOS.EnableAppSwitch with MacOS.SchedParams
1997-06-12 10:51:18 +00:00
Jack Jansen
48c5527c78
Add a few more BringToFont calls
1997-05-13 15:41:07 +00:00
Jack Jansen
1d63d8c829
Fixes to progress bar by SDM, modified by Jack:
...
- 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.
1997-05-12 15:44:14 +00:00
Jack Jansen
3a4b3b0132
Fixed flashing in ProgressBar update.
1996-10-15 16:11:50 +00:00
Jack Jansen
30fe363fd8
Fixed progressbar cleanup
1996-10-04 15:21:00 +00:00
Jack Jansen
0b690db57a
Added region argument to various ...Update calls.
...
Also, some rsrc files got rebinhexed (sigh)
1996-04-10 14:49:41 +00:00
Jack Jansen
ef51d1351c
Removed addpack calls
1996-03-20 16:24:56 +00:00
Jack Jansen
3a87f5bb09
Added a ProgressBar() class (which shows a progress bar). Needs new
...
resource.
1995-11-14 10:13:49 +00:00
Jack Jansen
e4b4038cb2
Various toolbox routines have gotten new names.
1995-07-17 13:25:15 +00:00
Guido van Rossum
8f4b6adb77
two new modules for the Mac toolbox
1995-04-05 09:18:35 +00:00