summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu
Commit message (Collapse)AuthorAgeFilesLines
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-222-391/+145
| | | | 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/+26
| | | | | | 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.
* Added generators for EnableMenuItem and CheckMenuItem (which have Mac in ↵Jack Jansen2001-01-292-0/+53
| | | | front of their name in the include files).
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-103-53/+888
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-143-26/+26
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-142-39/+1
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵Jack Jansen2000-07-071-9/+9
| | | | specifier, now that h is signed-only.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-023-0/+90
| | | | | | 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.
* Unified handle-conversion scheme toJack Jansen1999-12-233-13/+13
| | | | | | | 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.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-122-258/+589
|
* 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.
* Grmpf, a lot more routines have gotten a "Mac" prefix for theirJack Jansen1998-04-243-0/+146
| | | | | | declaration, probably so the universal headers are useable on windows/unix too. Have to think of a more definite workaround later, for now we manually declare the old names in the *edit.py files.
* Re-generated from new (3.1) universal headersJack Jansen1998-04-212-22/+26
|
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-172-5/+4
|
* Regerated: Style and StyleParameter are different beastsJack Jansen1998-02-251-2/+2
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-226/+655
| | | | | | 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
|
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-242-2/+0
| | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
* RegeneratedJack Jansen1996-08-021-3/+0
|
* Removed ...gen.py files from repositoryJack Jansen1996-04-161-272/+0
|
* bgen-generators now drop the python definition file straight in theJack Jansen1996-04-122-2/+3
| | | | Lib:toolbox folder.
* Replaced various dummy updateRegions by real argumentsJack Jansen1996-04-102-1/+4
|
* - Added color window/pixmap supportJack Jansen1995-12-122-2/+11
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* Generated anewJack Jansen1995-08-172-1/+2
|
* Added as_Resource() method to convert menu object to res objectJack Jansen1995-06-182-0/+21
|
* Ported to Universal Header 2.0.1f (i.e. CW6)Jack Jansen1995-06-092-4/+4
|
* Trying again to check it in. Changes to:Jack Jansen1995-06-064-69/+199
| | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
* moved OpenDeskAcc hereGuido van Rossum1995-03-193-0/+30
|
* the usualGuido van Rossum1995-03-102-1/+2
|
* Committed a more or less working version.Guido van Rossum1995-01-304-0/+1258