Commit Graph

24 Commits

Author SHA1 Message Date
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