Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both | Jack Jansen | 2002-12-30 | 1 | -1120/+0 |
| | | | | | | | in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc). | ||||
* | Lots of minor tweaks for the pep252 checkins, mainly because Qd | Jack Jansen | 2002-11-30 | 1 | -7/+7 |
| | | | | attributes are no longer supported. | ||||
* | Reverted previous change, I was confused. | Jack Jansen | 2002-09-10 | 1 | -1/+1 |
| | |||||
* | Import Carbon.AH, not Carbon.Help | Jack Jansen | 2002-09-06 | 1 | -1/+1 |
| | |||||
* | Initialize self._helpmenu earlier, so we can use gethelpmenu() while | Jack Jansen | 2002-08-30 | 1 | -1/+1 |
| | | | | building the user menus. | ||||
* | Added support for the help menu. Application.gethelpmenu() will return | Jack Jansen | 2002-08-29 | 1 | -0/+35 |
| | | | | | | | it. Also fixed menu IDs to be signed in do_menudispatch. this is an incompatible change, but I don't think it'll hurt anyone. | ||||
* | Added minimal support for floating windows. | Just van Rossum | 2002-02-04 | 1 | -7/+12 |
| | |||||
* | Changes by Donovan Preston (and a few minor ones by me) to make IDE run under | Jack Jansen | 2002-01-21 | 1 | -12/+26 |
| | | | | MachoPython. Mainly making sure we don't call routines that don't exist. | ||||
* | Don't barf when an AppleEvent was not handled. It's ok to ignore. | Just van Rossum | 2001-12-13 | 1 | -2/+3 |
| | |||||
* | The new menu initialization code would also add the SIOUX menus if a ↵ | Jack Jansen | 2001-12-10 | 1 | -5/+9 |
| | | | | (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it. | ||||
* | Import the MacOS toolbox modules from the Carbon package. | Jack Jansen | 2001-08-25 | 1 | -18/+18 |
| | |||||
* | Merging appropriate 2.1.1 fixes back into the main trunk. | Jack Jansen | 2001-08-03 | 1 | -0/+4 |
| | |||||
* | Handle the apple menu differently under Carbon. | Jack Jansen | 2001-03-15 | 1 | -2/+6 |
| | |||||
* | Default waittime in the eventloop is now None. At low level it will then be ↵ | Jack Jansen | 2001-03-08 | 1 | -5/+8 |
| | | | | set to GetCaretTime(). | ||||
* | DialogWindows now have a self.dlg in addition to self.wid. | Jack Jansen | 2001-02-14 | 1 | -3/+5 |
| | |||||
* | Use FSpCreateResFile() in stead of CreateResFile(). | Jack Jansen | 2001-01-29 | 1 | -2/+3 |
| | | | | Don't call OpenDeskAcc() and AppendResMenu() on Carbon. | ||||
* | Replace {Enable,Disable,Check}Item with their carbon-compatible equivalents ↵ | Jack Jansen | 2001-01-29 | 1 | -12/+12 |
| | | | | {Enable,Disable,Check}MenuItem. | ||||
* | Sigh... First test before committing. InvalWindowRect and friends are window ↵ | Jack Jansen | 2001-01-23 | 1 | -7/+10 |
| | | | | object methods. Fixed. | ||||
* | Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect. | Jack Jansen | 2001-01-23 | 1 | -7/+7 |
| | |||||
* | Use MacOS.OutputSeen() on menuselections. Removed KeepConsole code again. ↵ | Jack Jansen | 2000-10-19 | 1 | -4/+1 |
| | | | | This solution is better: it treats a menu selection in the same way as input to stdin (i.e. as an ack of the output that went before). | ||||
* | Use MacOS.KeepConsole to always exit if the program calls FrameWork._quit(). ↵ | Jack Jansen | 2000-10-12 | 1 | -2/+6 |
| | | | | Overridable with a class variable keepconsole. | ||||
* | Fixed multi-arg appends. | Jack Jansen | 2000-03-07 | 1 | -2/+3 |
| | |||||
* | Fixed menu glyph stuff. | Jack Jansen | 1999-12-15 | 1 | -15/+10 |
| | | | | Use MenuEvent in stead of MenuKey. | ||||
* | Fixed buglet in Application.do_suspendresume(), it took the wrong flag to ↵ | Just van Rossum | 1999-12-15 | 1 | -1/+1 |
| | | | | determine suspend/resume -- jvr | ||||
* | If a menu shortcut is a tuple in stead of a char it is a tuple ↵ | Jack Jansen | 1999-12-14 | 1 | -4/+10 |
| | | | | (modifierkeys, char [, glyph]). | ||||
* | Default schedparams set to (0,0): no event-intervention by Python mainloop. This | Jack Jansen | 1999-12-03 | 1 | -2/+2 |
| | | | | | was always meant to be the default, and the new example-2 was pretty critical of this. | ||||
* | cleaned up ugly hack related to activate events and suspend/resume -- jvr | Just van Rossum | 1999-01-27 | 1 | -14/+8 |
| | |||||
* | For submenus remember the parent and parent index, so we can grey out our | Jack Jansen | 1998-10-15 | 1 | -0/+8 |
| | | | | | entry if the menu is disabled. This does create a circular reference, so cleanup becomes more important. | ||||
* | Added a delete() method to menu entries. Only the last entry of a menu | Jack Jansen | 1998-07-13 | 1 | -1/+14 |
| | | | | | can be deleted, but that's good enough for things like a "Windows" menu with the dynamic list of open windows at the end of the menu. | ||||
* | For ControlWindow there is a new method do_rawcontrolhit(), which gets | Jack Jansen | 1998-05-28 | 1 | -14/+36 |
| | | | | | | | | | control before TrackControl is called. The default implementation calls TrackControl and then do_controlhit(). For ScrolledWindow, do_rawcontrol passes a tracker function to TrackControl if the mouse is in one of the arrows or grey areas, and the tracker handles scrolling. For the thumb part nothing has changed. | ||||
* | Added a PopupMenu class. | Jack Jansen | 1998-05-06 | 1 | -4/+26 |
| | |||||
* | Break circular reference on menus upon cleanup | Jack Jansen | 1998-02-20 | 1 | -0/+1 |
| | |||||
* | Added dopendingevents call | Jack Jansen | 1997-06-20 | 1 | -0/+31 |
| | | | | Added asyncevents call to enable asynchronous event handling | ||||
* | Replaced MacOS.EnableAppSwitch with MacOS.SchedParams | Jack Jansen | 1997-06-12 | 1 | -3/+3 |
| | |||||
* | Added Application.cleanup method which asks all windows to close | Jack Jansen | 1996-12-23 | 1 | -0/+5 |
| | | | | themselves and returns true if they did. | ||||
* | Menu callbacks can be strings, in which case they will be looked up in | Jack Jansen | 1996-09-26 | 1 | -12/+76 |
| | | | | | the top window. The menubar is redrawn in the event loop in stead of for every change. | ||||
* | - Use a flag (self.quitting) as preferred method of exiting mainloop | Jack Jansen | 1996-09-17 | 1 | -4/+18 |
| | | | | - Added optional "nomenubar" argument to Application.__init__ | ||||
* | Added setwatchcursor() and setarrowcursor() functions | Jack Jansen | 1996-08-28 | 1 | -0/+10 |
| | |||||
* | Mods by Just: | Jack Jansen | 1996-07-26 | 1 | -20/+46 |
| | | | | | | | - Better staggering of windows - Windows have zoombox by default, and zooming works - DrawControls->UpdateControls - Better scrollbar show/hide | ||||
* | Added MenuItem methods setstyle(), seticon(), setmark() | Jack Jansen | 1996-04-23 | 1 | -0/+12 |
| | |||||
* | - Confine window moves to screen boundaries | Jack Jansen | 1996-04-19 | 1 | -9/+35 |
| | | | | | | | | | - Added windowbounds() function to help programmer with staggering windows - Added event parameter to idle routine - Added settext(label) method to menu entries - Erase/invalidate only visRgn in stead of everything - Correctly handle clicks in inactive ControlWindows | ||||
* | Fixed ScrolledWindow to disable scrollbars if everything is visible. | Jack Jansen | 1996-04-16 | 1 | -8/+48 |
| | |||||
* | Added ScrolledWindow (a window with one or two scrollbars) | Jack Jansen | 1996-04-12 | 1 | -2/+86 |
| | |||||
* | Added enable(onoff) method to menus and menu items | Jack Jansen | 1996-04-11 | 1 | -0/+11 |
| | |||||
* | Removed addpack calls | Jack Jansen | 1996-03-20 | 1 | -13/+0 |
| | |||||
* | Added checkmenu() method (to checkmark an entry) and delete() method | Jack Jansen | 1996-03-12 | 1 | -0/+18 |
| | | | | to remove a menu. | ||||
* | Various fixes/enhancements, thanks to Ivan and Just: | Jack Jansen | 1996-01-08 | 1 | -5/+24 |
| | | | | | | | | - Added window.SetPort() method - Added optional bounds and resid parameters to Window.open() - Fixed apple-menu DA handling - Fixed activate-event handling - Added default Application.makeusermenus() (File:Quit only) | ||||
* | Minor bugfix in keyboard input handling | Jack Jansen | 1995-12-12 | 1 | -1/+2 |
| | |||||
* | Added 2 missing SetPort calls | Jack Jansen | 1995-11-14 | 1 | -1/+2 |
| | |||||
* | Added idle() method, called when no events are available. | Jack Jansen | 1995-11-10 | 1 | -0/+5 |
| |