Commit Graph

25 Commits

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