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
Jack Jansen
4100900059
Added a rewrite rule so the Str255 argument of GetControlTitle is seen as
...
output parameter.
1999-03-07 20:05:20 +00:00
Jack Jansen
e058189040
Added Ctl.as_Control and Menu.as_Menu methods, which take a resource as
...
argument and return a Control or Menu object.
1999-02-07 14:02:03 +00:00
Jack Jansen
deff89c8be
Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.
1998-10-12 20:53:15 +00:00
Jack Jansen
4c704131ca
Added {Get,Set}PopupData calls to get at the data for popup menu controls.
1998-06-19 13:35:14 +00:00
Jack Jansen
848250c15b
Allow an (optional) tracking function (or -1) to be specified to
...
TrackControl. TrackControl is now manually generated (too much work to
explain this to bgen).
1998-05-28 14:20:09 +00:00
Jack Jansen
1c4e614627
Re-generated from new (3.1) universal headers
1998-04-21 15:23:55 +00:00
Jack Jansen
0c4d947eac
Replaced addpack by handcrafted code to find the bgen stuff.
1998-04-17 14:07:56 +00:00
Jack Jansen
21f96872f2
Regenerated from Universal Headers 3.0.1. Some new calls are
...
blacklisted, because they are not available in classic 68k programs,
and bgen doesn't have a way to put #ifdef/#endif in the generated
code. For now we only implement calls that work on all three models.
1998-02-20 16:02:09 +00:00
Jack Jansen
a755e68df6
Export type objects to Python
1997-09-20 17:40:22 +00:00
Jack Jansen
c7fefed32c
Added GetAuxiliaryControlRecord and SetControlColor, there was no good
...
reason they were excluded.
1997-08-15 14:32:18 +00:00
Jack Jansen
85ae4a82ac
Changed [SG]etCRefCon to [SG]etControlReference
1997-04-08 15:26:03 +00:00
Jack Jansen
cfb60ee1e8
Fixed very nasty null-dereferencing bug in DisposeControl/destroy
...
object.
1996-10-01 10:46:46 +00:00
Jack Jansen
d84e7aaf00
Regenerated
1996-08-02 11:24:34 +00:00
Jack Jansen
ded81a1ffe
Removed ...gen.py files from repository
1996-04-16 14:33:21 +00:00
Jack Jansen
c574b43d35
Fixed a nasty bug where FindControl could return a reference to a
...
destroyed python object.
1996-04-12 16:26:59 +00:00
Jack Jansen
2b72417da0
Replaced various dummy updateRegions by real arguments
1996-04-10 14:48:19 +00:00
Jack Jansen
425e9eb6cb
- Added color window/pixmap support
...
- Added support for obtaining pixmap data
- Added OptResObj_* routines for optional handles
1995-12-12 15:02:03 +00:00
Jack Jansen
754d4a4fa0
Regenerated because of minor changes in universal headers
1995-11-14 10:41:55 +00:00
Jack Jansen
d4c26469d6
Generated anew
1995-08-17 14:35:56 +00:00
Jack Jansen
5d56f4b403
Added as_Resource() method to convert ctl object to res object
1995-06-18 20:16:33 +00:00
Jack Jansen
7d0bc8343f
Ported to Universal Header 2.0.1f (i.e. CW6)
1995-06-09 20:56:31 +00:00
Jack Jansen
ae8a68f40c
Trying again to check it in. Changes to:
...
- Use Universal Headers as input
- Change addpack calls to not depend on Guido's disklayout
- Checkge testprograms to use new names for some functions
1995-06-06 12:55:40 +00:00
Guido van Rossum
227a4232e6
the usual
1995-03-10 14:42:57 +00:00
Guido van Rossum
17448e2408
Committed a more or less working version.
1995-01-30 11:53:55 +00:00