summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/FrameWork.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed menu glyph stuff.Jack Jansen1999-12-151-15/+10
| | | | Use MenuEvent in stead of MenuKey.
* Fixed buglet in Application.do_suspendresume(), it took the wrong flag to ↵Just van Rossum1999-12-151-1/+1
| | | | determine suspend/resume -- jvr
* If a menu shortcut is a tuple in stead of a char it is a tuple ↵Jack Jansen1999-12-141-4/+10
| | | | (modifierkeys, char [, glyph]).
* Default schedparams set to (0,0): no event-intervention by Python mainloop. ThisJack Jansen1999-12-031-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 -- jvrJust van Rossum1999-01-271-14/+8
|
* For submenus remember the parent and parent index, so we can grey out ourJack Jansen1998-10-151-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 menuJack Jansen1998-07-131-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 getsJack Jansen1998-05-281-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 Jansen1998-05-061-4/+26
|
* Break circular reference on menus upon cleanupJack Jansen1998-02-201-0/+1
|
* Added dopendingevents callJack Jansen1997-06-201-0/+31
| | | | Added asyncevents call to enable asynchronous event handling
* Replaced MacOS.EnableAppSwitch with MacOS.SchedParamsJack Jansen1997-06-121-3/+3
|
* Added Application.cleanup method which asks all windows to closeJack Jansen1996-12-231-0/+5
| | | | themselves and returns true if they did.
* Menu callbacks can be strings, in which case they will be looked up inJack Jansen1996-09-261-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 mainloopJack Jansen1996-09-171-4/+18
| | | | - Added optional "nomenubar" argument to Application.__init__
* Added setwatchcursor() and setarrowcursor() functionsJack Jansen1996-08-281-0/+10
|
* Mods by Just:Jack Jansen1996-07-261-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 Jansen1996-04-231-0/+12
|
* - Confine window moves to screen boundariesJack Jansen1996-04-191-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 Jansen1996-04-161-8/+48
|
* Added ScrolledWindow (a window with one or two scrollbars)Jack Jansen1996-04-121-2/+86
|
* Added enable(onoff) method to menus and menu itemsJack Jansen1996-04-111-0/+11
|
* Removed addpack callsJack Jansen1996-03-201-13/+0
|
* Added checkmenu() method (to checkmark an entry) and delete() methodJack Jansen1996-03-121-0/+18
| | | | to remove a menu.
* Various fixes/enhancements, thanks to Ivan and Just:Jack Jansen1996-01-081-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 handlingJack Jansen1995-12-121-1/+2
|
* Added 2 missing SetPort callsJack Jansen1995-11-141-1/+2
|
* Added idle() method, called when no events are available.Jack Jansen1995-11-101-0/+5
|
* Fixed dialog-window event handlingJack Jansen1995-08-311-12/+10
|
* Made separate window class (and subclasses for special windows likeJack Jansen1995-08-171-96/+237
| | | | dialogs). This is an incompatible change.
* Various fixes: missing imports, missing calls toJack Jansen1995-08-141-24/+32
| | | | MacOS.HandleEvent. Also, prints are now inside 'if DEBUG'.
* Various toolbox routines have gotten new names.Jack Jansen1995-07-171-3/+3
|
* two new modules for the Mac toolboxGuido van Rossum1995-04-051-0/+480