49 Commits

Author SHA1 Message Date
cvs2svn
7f29afbd15 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-06-21 18:51:11 +00:00
cvs2svn
a839747eb3 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-04-17 15:19:29 +00:00
Jack Jansen
736b51df7c SetpopupData and GetPopupData are gone under Carbon, use {Get,Set}PopupMenu{Handle,ID} in stead.
The UserPane routines appear to be fixed in the current Universal Headers, so they're re-enabled.
2001-01-12 23:39:00 +00:00
Jack Jansen
a9e3db354d Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-( 2001-01-09 22:10:16 +00:00
Jack Jansen
723ad8ae73 More toolbox modules adapted to Universal Headers 3.3.2. 2000-12-12 22:10:21 +00:00
Jack Jansen
f7d5aa61d3 Adapted to Universal Headers 3.3.2. More to follow. 2000-12-10 23:43:49 +00:00
Jack Jansen
74a1e63a89 Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. 2000-07-14 22:37:27 +00:00
Jack Jansen
9d8b96c850 pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also
cleaned up toolbox module exports, and got rid of resNotFound error.
2000-07-14 22:16:45 +00:00
Jack Jansen
85152b93cb Fiddled declaration/implementation of setcallback() so that it is ansifyable. 2000-07-11 21:12:55 +00:00
Jack Jansen
0b13e7c153 Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only. 2000-07-07 13:09:35 +00:00
Jack Jansen
021da55579 Removed THINK_C support. 2000-06-04 21:56:05 +00:00
Jack Jansen
e79dc76f53 Made the core toolbox modules carbon-compatible using the new greylist feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open.
Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
2000-06-02 21:35:07 +00:00
Jack Jansen
1b6e8214ab Added a few cast to make it 68k-compatible. 2000-04-05 21:30:57 +00:00
Jack Jansen
deb6373fff Data of type Point is passed by value, not by reference. 2000-03-22 15:35:24 +00:00
Jack Jansen
a27e9fb19f Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet. 2000-03-21 23:03:02 +00:00
Jack Jansen
1a7d5b12c0 Added a GetControlRect() method to controls which returns the bounding rectangle. To my surprise this call is missing from the C API... 2000-03-21 16:25:23 +00:00
Jack Jansen
abc411bac8 Started on support for callbacks for UserPane controls. Unfinished and untested. 2000-03-20 16:09:09 +00:00
Jack Jansen
f7ac1d32f0 Nasty error: handle parameters are passed by _address_ to SetControlData. 1999-12-29 12:37:22 +00:00
Jack Jansen
b9247d37ba Oops, forgot & in ParseTuple argument in ControlGetDataHandle. 1999-12-23 23:06:07 +00:00
Jack Jansen
a1a0fef2ea Unified handle-conversion scheme to
handle = Ctl.as_Resource(ctl)
  ctl = Ctl.as_Control(handle)
and similarly for List, Menu, TE. The old handle.as_Control() methods are
still there for backward compatability.
1999-12-23 14:32:06 +00:00
Jack Jansen
1f9249cea9 Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData for
keys that expect a Handle, and have a ResObj as parameter.
1999-12-19 00:05:50 +00:00
Jack Jansen
a05ac607d7 Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. 1999-12-12 21:41:51 +00:00
Jack Jansen
24c353144a Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a few routines that seem to be missing in my CW Pro 5.1. 1999-12-09 22:49:51 +00:00
Jack Jansen
229c0868fe Changes by Corran Webster to support {Get,Set}ControlData and
HandleControlClick. Untested.
1999-12-09 16:03:50 +00:00
Jack Jansen
8387af65a9 If a control has no refcon pointing back to the Python object we create a new
Python object. This needs a new bgenObjectDefinition.py, which implements
compare and hash functions.
1999-03-13 23:07:32 +00:00