summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl
Commit message (Collapse)AuthorAgeFilesLines
* - added support for UserPaneKeyDownProc and UserPaneFocusProcJust van Rossum2002-01-042-4/+96
| | | | - clear error after failing PyArg_Parse()
* Oops, forgot to mark CreateScrollBarControl and CreateSliderControlJust van Rossum2001-12-312-0/+14
| | | | as Carbon-only
* - added support for ControlActionProcs, exposing the following calls:Just van Rossum2001-12-303-7/+187
| | | | | | | - ctl.SetControlAction() - CreateScrollBarControl() - CreateSliderControl() - print traceback when callbacks fail
* Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_Just van Rossum2001-12-182-10/+263
| | | | available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+4
|
* Added missing docstringJust van Rossum2001-12-182-1/+2
|
* Added support for tab controls and initial (incomplete) supportJust van Rossum2001-12-183-12/+543
| | | | for DataBrowser controls.
* Many of the new calls are Carbon-only. Flagged them as such.Jack Jansen2001-12-142-0/+658
|
* - "manage" controls created by CreateXxxXxxControl() functions.Just van Rossum2001-12-133-48/+67
| | | | - FindControlUnderMouse() returns an existing control, not a new one.
* Shut up gcc warning.Jack Jansen2001-12-122-4/+4
|
* Updated for Universal Headers 3.4.Just van Rossum2001-12-123-3/+2371
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-1/+1
| | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-302-7/+309
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Shut up many more gcc warnings.Jack Jansen2001-09-052-6/+14
|
* Regenerated without default int return types.Jack Jansen2001-09-041-1/+1
|
* Renamed.Jack Jansen2001-08-231-2686/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+2694
|
* The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵Jack Jansen2001-08-231-2/+2
| | | | usage is through a wrapper module (without underscore) which lives in the Carbon package.
* Don't use extern when we mean staticforward (OSX gcc is picky about it).Jack Jansen2001-06-203-24/+5
| | | | Blacklist SendControlMessage: it's signature has changed between Universal Headers 3.3 and 3.4.
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-222-419/+159
| | | | prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python.
* First step in porting MacPython modules to OSX/unix: break all references ↵Jack Jansen2001-05-172-0/+20
| | | | | | between modules except for the obj_New() and obj_Convert() routines, the PyArg_Parse and Py_BuildValue helpers. And these can now be vectored through glue routines (by defining USE_TOOLBOX_OBJECT_GLUE) which will do the necessary imports, whereupon the module's init routine will tell the glue routine about the real conversion routine address and everything is fine again.
* SetpopupData and GetPopupData are gone under Carbon, use ↵Jack Jansen2001-01-122-29/+7
| | | | | | {Get,Set}PopupMenu{Handle,ID} in stead. The UserPane routines appear to be fixed in the current Universal Headers, so they're re-enabled.
* Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on ↵Jack Jansen2001-01-093-21/+22
| | | | {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-(
* More toolbox modules adapted to Universal Headers 3.3.2.Jack Jansen2000-12-123-2/+63
|
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-103-198/+831
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-143-40/+40
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-143-51/+74
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Fiddled declaration/implementation of setcallback() so that it is ansifyable.Jack Jansen2000-07-112-8/+16
|
* Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵Jack Jansen2000-07-072-4/+4
| | | | specifier, now that h is signed-only.
* Removed THINK_C support.Jack Jansen2000-06-042-8/+0
|
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-023-35/+246
| | | | | | 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.
* Added a few cast to make it 68k-compatible.Jack Jansen2000-04-052-10/+10
|
* Data of type Point is passed by value, not by reference.Jack Jansen2000-03-222-4/+4
|
* Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet.Jack Jansen2000-03-212-4/+92
|
* Added a GetControlRect() method to controls which returns the bounding ↵Jack Jansen2000-03-213-0/+24
| | | | 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-202-16/+251
|
* Nasty error: handle parameters are passed by _address_ to SetControlData.Jack Jansen1999-12-292-2/+2
|
* Oops, forgot & in ParseTuple argument in ControlGetDataHandle.Jack Jansen1999-12-232-2/+2
|
* Unified handle-conversion scheme toJack Jansen1999-12-233-11/+11
| | | | | | | 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-192-1/+148
| | | | 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-122-14/+235
|
* Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a ↵Jack Jansen1999-12-093-17/+147
| | | | few routines that seem to be missing in my CW Pro 5.1.
* Changes by Corran Webster to support {Get,Set}ControlData andJack Jansen1999-12-092-12/+132
| | | | HandleControlClick. Untested.
* If a control has no refcon pointing back to the Python object we create a newJack Jansen1999-03-132-11/+75
| | | | | 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-072-5/+8
| | | | output parameter.
* Added Ctl.as_Control and Menu.as_Menu methods, which take a resource asJack Jansen1999-02-073-0/+26
| | | | argument and return a Control or Menu object.
* Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen1998-10-122-2/+2
|
* Added {Get,Set}PopupData calls to get at the data for popup menu controls.Jack Jansen1998-06-192-0/+85
|
* Allow an (optional) tracking function (or -1) to be specified toJack Jansen1998-05-283-41/+166
| | | | | TrackControl. TrackControl is now manually generated (too much work to explain this to bgen).
* Re-generated from new (3.1) universal headersJack Jansen1998-04-211-0/+2
|