summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl/Ctlmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Data of type Point is passed by value, not by reference.Jack Jansen2000-03-221-2/+2
|
* Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet.Jack Jansen2000-03-211-2/+46
|
* Added a GetControlRect() method to controls which returns the bounding ↵Jack Jansen2000-03-211-0/+19
| | | | rectangle. To my surprise this call is missing from the C API...
* Started on support for callbacks for UserPane controls. Unfinished and untested.Jack Jansen2000-03-201-16/+133
|
* Nasty error: handle parameters are passed by _address_ to SetControlData.Jack Jansen1999-12-291-1/+1
|
* Oops, forgot & in ParseTuple argument in ControlGetDataHandle.Jack Jansen1999-12-231-1/+1
|
* Unified handle-conversion scheme toJack Jansen1999-12-231-4/+9
| | | | | | | 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.
* Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData forJack Jansen1999-12-191-0/+77
| | | | keys that expect a Handle, and have a ResObj as parameter.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-121-0/+221
|
* Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a ↵Jack Jansen1999-12-091-12/+131
| | | | few routines that seem to be missing in my CW Pro 5.1.
* If a control has no refcon pointing back to the Python object we create a newJack Jansen1999-03-131-5/+54
| | | | | Python object. This needs a new bgenObjectDefinition.py, which implements compare and hash functions.
* Added a rewrite rule so the Str255 argument of GetControlTitle is seen asJack Jansen1999-03-071-5/+4
| | | | output parameter.
* Added Ctl.as_Control and Menu.as_Menu methods, which take a resource asJack Jansen1999-02-071-0/+20
| | | | argument and return a Control or Menu object.
* Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen1998-10-121-1/+1
|
* Added {Get,Set}PopupData calls to get at the data for popup menu controls.Jack Jansen1998-06-191-0/+48
|
* Allow an (optional) tracking function (or -1) to be specified toJack Jansen1998-05-281-36/+80
| | | | | TrackControl. TrackControl is now manually generated (too much work to explain this to bgen).
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-51/+665
| | | | | | 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.
* Export type objects to PythonJack Jansen1997-09-201-0/+4
|
* Added GetAuxiliaryControlRecord and SetControlColor, there was no goodJack Jansen1997-08-151-0/+37
| | | | reason they were excluded.
* Changed [SG]etCRefCon to [SG]etControlReferenceJack Jansen1997-04-081-4/+4
|
* Fixed very nasty null-dereferencing bug in DisposeControl/destroyJack Jansen1996-10-011-33/+22
| | | | object.
* RegeneratedJack Jansen1996-08-021-3/+0
|
* Fixed a nasty bug where FindControl could return a reference to aJack Jansen1996-04-121-1/+1
| | | | destroyed python object.
* Replaced various dummy updateRegions by real argumentsJack Jansen1996-04-101-4/+9
|
* - Added color window/pixmap supportJack Jansen1995-12-121-1/+10
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* Regenerated because of minor changes in universal headersJack Jansen1995-11-141-8/+8
|
* Generated anewJack Jansen1995-08-171-0/+1
|
* Added as_Resource() method to convert ctl object to res objectJack Jansen1995-06-181-0/+12
|
* Ported to Universal Header 2.0.1f (i.e. CW6)Jack Jansen1995-06-091-157/+157
|
* Trying again to check it in. Changes to:Jack Jansen1995-06-061-67/+65
| | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
* Committed a more or less working version.Guido van Rossum1995-01-301-0/+691