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
41e825a8f4
For ControlWindow there is a new method do_rawcontrolhit(), which gets
...
control before TrackControl is called. The default implementation
calls TrackControl and then do_controlhit().
For ScrolledWindow, do_rawcontrol passes a tracker function to
TrackControl if the mouse is in one of the arrows or grey areas, and
the tracker handles scrolling. For the thumb part nothing has changed.
1998-05-28 14:22:48 +00:00
Jack Jansen
bb6193c553
Added a PopupMenu class.
1998-05-06 15:33:09 +00:00
Jack Jansen
d38dc64a8d
Regenerated with FOUR_CHAR_CODE defined
1998-04-27 15:07:43 +00:00
Jack Jansen
7b7a2c2e11
Added new folder types
1998-04-24 10:42:01 +00:00
Jack Jansen
0ec0e63928
Added FOUR_CHAR_CODE define
1998-04-24 10:41:38 +00:00
Jack Jansen
41dc72fa1f
Regenerated with FOUR_CHAR_CODE defined
1998-04-23 13:23:12 +00:00
Jack Jansen
4e126636a2
Regenerated from new (3.1) universal headers
1998-04-21 15:21:52 +00:00
Jack Jansen
36659fef2a
Re-generated with slightly more intelligent script
1998-04-21 15:21:21 +00:00
Jack Jansen
b8fd1f18ab
Tabnanny fixes
1998-04-15 14:35:16 +00:00
Jack Jansen
1301f2bc18
__file__ now sometimes refers to the .pyc file
1998-03-02 16:57:01 +00:00
Jack Jansen
bfb77a07cb
Oops, this wasn't checked in yet: part of the AE structure for the new
...
universal headers.
1998-02-25 15:44:38 +00:00
Jack Jansen
0e4033a680
Module to use Mac serial port as a communication link
1998-02-25 15:43:57 +00:00
Jack Jansen
0aa9782d17
Helper routines to create standalone Python applications.
1998-02-25 15:42:48 +00:00
Jack Jansen
f7d8f45414
Hack to get at string buffer address changed
1998-02-25 15:42:03 +00:00
Jack Jansen
5e58bcdb7a
Regenerated from Universal Headers 3.0.1 (which are changed
...
substantially from previous releases)
1998-02-20 15:54:44 +00:00
Jack Jansen
7c2fddf423
Updated to Waste 1.3
1998-02-20 15:53:58 +00:00
Jack Jansen
7b56aad2e1
Break circular reference on menus upon cleanup
1998-02-20 15:51:39 +00:00
Jack Jansen
20989e834d
Mods by Bill Bedford
...
- Use internal version of finder class so we don't drag in finder
tools
- error -1704 also ignored during arg unpack
- Use Scriptable Text Editor for example
1998-01-16 14:40:10 +00:00
Jack Jansen
5b0533d9ca
Addition by Bill Bedford: Ordinal and NOrdinal classes so we can
...
implement "every", etc.
1998-01-16 14:38:10 +00:00
Jack Jansen
6b02ac2321
I give in. Now Tk is also using resources just above 128, so Python
...
now uses only 228-256, leaving 128-228 free for others. This mod
affects prefs files, libraries and almost everything else, so I've
upped my local Python to 1.5b4 to remain sane.
1998-01-06 16:48:49 +00:00
Jack Jansen
e86d2870c4
Loading defaults for gusi/sys.path didn't work for applets. Fixed.
1998-01-06 12:11:48 +00:00
Jack Jansen
a23a4621a0
Balloon help definitions
1998-01-06 12:09:53 +00:00
Jack Jansen
0e680b7608
Moved toolbox to lib-toolbox, Sjoerd-style.
1997-12-18 17:50:29 +00:00
Jack Jansen
3802039cff
Moved scripting to lib-scripting (did it the Sjoerd-way this time)
1997-12-18 17:47:12 +00:00
Jack Jansen
6954e34324
Added old-exceptions and no-site-python preferences and upped version
...
to 4.
1997-09-09 13:51:17 +00:00
Jack Jansen
e632380b55
Dunno, rebinhexed?
1997-09-08 13:26:55 +00:00
Jack Jansen
8a99a8aa89
Preferences is a general module to get (and set) preferences in
...
resource files with various inheritence rules, parsers, etc.
pythonprefs uses this to create a single uniform interface to all
relevant python preferences.
1997-09-08 13:26:36 +00:00
Jack Jansen
21b5d605d8
Moved suites to their own folder
1997-08-27 13:49:18 +00:00
Jack Jansen
f2e917e8e5
Regenerated
1997-08-15 14:38:59 +00:00
Jack Jansen
48f662de92
mkalias() now has an optional third parameter to create relative
...
aliases (Just)
1997-08-08 15:00:59 +00:00
Jack Jansen
756a69fa0d
- Added classes to support class/property generation by gensuitemodule
...
- Fixed Property class: selector is a 'type', not an 'enum'
1997-08-08 15:00:03 +00:00
Jack Jansen
d080eddf8e
Added dopendingevents call
...
Added asyncevents call to enable asynchronous event handling
1997-06-20 16:24:24 +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
1b3904b998
Module to buffer stdout/stderr until stdin is read. Useful for
...
windowing programs, together with option to keep console window closed
until needed.
1997-06-20 16:22:07 +00:00
Jack Jansen
0b34dd51b5
Regenerated
1997-06-20 16:20:03 +00:00
Jack Jansen
3368cb7763
Replaced MacOS.EnableAppSwitch with MacOS.SchedParams
1997-06-12 10:51:18 +00:00
Jack Jansen
d3b06a871f
Added optional preload arg to some routines (which creates reloaded
...
resources when set)
1997-06-12 10:50:47 +00:00
Jack Jansen
7fb76e0f8a
Replaced MacOS.EnableAppswitch by MacOS.SchedParams
1997-06-12 10:49:56 +00:00
Jack Jansen
8766dfd9e8
Regenreated for MSL
1997-05-15 11:18:32 +00:00
Jack Jansen
48c5527c78
Add a few more BringToFont calls
1997-05-13 15:41:07 +00:00
Jack Jansen
141f9a0f8a
Regenrated from CW11 IDE
1997-05-13 11:27:19 +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
cb2554effa
Still not a real test, but at least it runs again
1997-04-03 14:45:28 +00:00
Jack Jansen
1801aad5dc
Use MacOS.string_id_to_buffer for id() to buffer address hack
1997-04-03 14:44:41 +00:00
Jack Jansen
6a528149db
Re-generated from new (CW11) universal headers
1997-02-24 13:52:56 +00:00
Jack Jansen
8dc797d1f8
Return preferences of unknown type as opaque data
1997-01-10 15:25:47 +00:00
Jack Jansen
4b76ba3280
High-level interface to Internet Config
...
(and readability fix to icgluetest.py)
1997-01-09 16:26:23 +00:00
Jack Jansen
3beb3363d4
Minimal test of icglue module
1997-01-07 16:17:44 +00:00
Jack Jansen
c75e1d052b
Added Application.cleanup method which asks all windows to close
...
themselves and returns true if they did.
1996-12-23 17:22:40 +00:00
Jack Jansen
b7e82c1c0c
Raise a more intellegible error in the case of missing keyword args
1996-10-23 15:43:04 +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
b1667ef782
Menu callbacks can be strings, in which case they will be looked up in
...
the top window.
The menubar is redrawn in the event loop in stead of for every change.
1996-09-26 16:17:08 +00:00
Jack Jansen
0d1069e42f
Finally *tested* effect of fg and bg yield values (and changed them:-)
1996-09-22 22:15:20 +00:00
Jack Jansen
433a48ef36
Regenerated to use aetools.Error in stead of MacOS.Error.
1996-09-20 15:29:08 +00:00
Jack Jansen
c46f56e35f
- Added optional "start" argument to TalkTo initialializer, which
...
starts the app (if needed).
- Added aetools.Error, which is returned in case of server-generated
errors (better than MacOS.Error, which was raised previously)
1996-09-20 15:28:28 +00:00
Jack Jansen
0585d41198
Convenience routines: wrappers around some of the scriptable finder
...
functionality.
1996-09-20 15:26:20 +00:00
Jack Jansen
35bfd3f9d7
Created Finder 7.0 AE interface and a test program that uses the
...
finder to launch an application.
1996-09-19 10:49:53 +00:00
Jack Jansen
4cb945454a
Added _quit() method similar to FrameWork in stead of setting
...
self.quitting by hand.
1996-09-17 12:36:35 +00:00
Jack Jansen
647535d390
- Use a flag (self.quitting) as preferred method of exiting mainloop
...
- Added optional "nomenubar" argument to Application.__init__
1996-09-17 12:35:43 +00:00
Jack Jansen
57d53a90d9
- Optionally copy file times for copy/copytree (default on)
...
- Added touch(file) routine to tell the finder a files icon or
something has changed (*finally* found out how to do this)
1996-09-15 22:13:26 +00:00
Jack Jansen
f4c4f9e9e1
(preliminary) framework for scriptable applications
1996-09-09 01:46:11 +00:00
Jack Jansen
4a5be817da
Symbolic names for all error codes from Errors.h and errno.h
1996-09-05 15:17:01 +00:00
Jack Jansen
4634130aad
Added setwatchcursor() and setarrowcursor() functions
1996-08-28 13:53:07 +00:00
Jack Jansen
bbe2ae168c
Re-binhexed
1996-08-20 16:18:42 +00:00
Jack Jansen
eb1284be97
New waste release
1996-08-06 16:05:24 +00:00
Jack Jansen
84c21a803e
Regenerated from CW9 includes (only QuickDraw really got a few new values)
1996-08-02 11:22:55 +00:00
Jack Jansen
880e6eb409
Removed debug output
1996-08-01 15:30:33 +00:00
Jack Jansen
8431733c07
Allow only one selection (this tests settability of selFlags)
1996-07-26 16:04:29 +00:00
Jack Jansen
16038ee18e
Regenerated
1996-07-26 16:03:49 +00:00
Jack Jansen
ded835c7f5
Mods by Just:
...
- Better staggering of windows
- Windows have zoombox by default, and zooming works
- DrawControls->UpdateControls
- Better scrollbar show/hide
1996-07-26 14:01:07 +00:00
Jack Jansen
0acb7f7a57
Module to handle PYC resources
1996-05-31 13:02:21 +00:00
Jack Jansen
0f6dc5b888
Added MenuItem methods setstyle(), seticon(), setmark()
1996-04-23 16:18:33 +00:00
Jack Jansen
c4eec9fce1
- Confine window moves to screen boundaries
...
- Added windowbounds() function to help programmer with staggering
windows
- Added event parameter to idle routine
- Added settext(label) method to menu entries
- Erase/invalidate only visRgn in stead of everything
- Correctly handle clicks in inactive ControlWindows
1996-04-19 16:00:28 +00:00
Jack Jansen
2cc41604c7
Minimal waste test program, modified from ttedit.
1996-04-19 15:57:52 +00:00
Jack Jansen
7bfc875270
Fixed ScrolledWindow to disable scrollbars if everything is visible.
1996-04-16 14:35:43 +00:00
Jack Jansen
6528b1feff
An interface to WASTE, an all-singing-all-dancing TextEdit replacement.
1996-04-16 14:27:51 +00:00
Jack Jansen
e353215bf7
Added ScrolledWindow (a window with one or two scrollbars)
1996-04-12 16:24:44 +00:00
Jack Jansen
c9c0dd3420
Fixed ttedit to actually work
...
Fixed minor update bug in tlist
1996-04-11 15:40:32 +00:00
Jack Jansen
cef2c597fe
Added enable(onoff) method to menus and menu items
1996-04-11 15:39:01 +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
fcdf4378ac
TextEdit sample code (not yet complete)
1996-04-10 14:43:17 +00:00
Jack Jansen
0701d623e9
Added TextEdit interface
1996-04-10 14:42:32 +00:00
Jack Jansen
94a71aba52
re-binhexed
1996-03-20 16:25:52 +00:00
Jack Jansen
ef51d1351c
Removed addpack calls
1996-03-20 16:24:56 +00:00
Jack Jansen
f63abad4e9
Removed addpack calls for toolbox modules.
1996-03-20 16:22:01 +00:00
Jack Jansen
bb653772f5
Oops... I Inadvertently lost their cvs files...
1996-03-18 14:21:15 +00:00
Jack Jansen
1a06e1d6ba
Binhexer fixed
1996-03-18 13:34:25 +00:00
Jack Jansen
52a40ac03b
Added option to set queue size
1996-03-18 13:33:48 +00:00
Jack Jansen
0603319846
Use MacOS.openrf (if it is available) for opening resource forks
...
Copy in .5Mb chunks in stead of 1Mb
1996-03-12 13:33:34 +00:00
Jack Jansen
db9ff36ad9
Added checkmenu() method (to checkmark an entry) and delete() method
...
to remove a menu.
1996-03-12 13:32:03 +00:00
Jack Jansen
d390325bbb
Modules implementing WWW and URL suite, and a module to control netscape.
1996-01-29 15:45:59 +00:00
Jack Jansen
7e156a70fa
Added missing get() method
1996-01-29 15:45:09 +00:00
Jack Jansen
3a50f8a51e
- Added FontInfo support
...
- Added (read-)access to members of [C]GrafPort object
1996-01-11 16:17:14 +00:00
Jack Jansen
195e33efa2
- Fixed bug in getfillable()
...
- Added setcallback() method to set a user-callback
1996-01-09 17:15:57 +00:00
Jack Jansen
6259af9bbb
An interface to the font manager
1996-01-09 17:15:16 +00:00
Jack Jansen
c8a9949407
Various fixes/enhancements, thanks to Ivan and Just:
...
- Added window.SetPort() method
- Added optional bounds and resid parameters to Window.open()
- Fixed apple-menu DA handling
- Fixed activate-event handling
- Added default Application.makeusermenus() (File:Quit only)
1996-01-08 23:50:13 +00:00
Jack Jansen
29c612111b
A different binhexer, apparently:-(
1996-01-02 12:15:45 +00:00
Jack Jansen
6601964f7b
Fixed example
1996-01-02 12:09:30 +00:00