Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix the exclusion of "config" in the methods copied from Pack to also | Guido van Rossum | 1997-12-05 | 1 | -1/+1 |
| | | | | exclude "configure". | ||||
* | Support for the "event" command, new in Tk 4.2. | Guido van Rossum | 1997-12-02 | 1 | -0/+24 |
| | | | | By Case Roole. | ||||
* | bind_class should return a value | Guido van Rossum | 1997-11-22 | 1 | -1/+1 |
| | |||||
* | Some restructuring. | Guido van Rossum | 1997-11-07 | 1 | -111/+166 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All geometry manager methods that apply to a master widget instead of to a slave widget have been moved to the Misc class, which is inherited by all of Tk(), Toplevel() and Widget(). They have been renamed to have their geometry manager name as a prefix, e.g. pack_propagate(); the short names can still be used where ambiguities are resolved so that pack has priority over place has priority over grid (since this was the old rule). Also, the method definitions in the Pack, Place and Grid classes now all have their respective geometry manager name as a prefix (e.g. pack_configure); the shorter names are aliases defined through assignment. A similar renaming has been done for all config() methods found elsewhere; these have been renamed to configure() with config being the alias (instead of the other way around). (This may not make much of a difference but the official Tk command name is now 'configure' and it may help in debugging tracebacks.) Finally, a new base class BaseWidget has been introduced, which implements the methods common between Widget and Toplevel (the difference between those two classes is that Toplevel has a different __init__() but also that Toplevel doesn't inherit from Pack, Place or Grid. | ||||
* | Move Widget.config() c.s. to Misc class, so the Tk class also inherits them. | Guido van Rossum | 1997-09-29 | 1 | -31/+30 |
| | |||||
* | Add missing comma to make a tuple of (tagOrId). | Guido van Rossum | 1997-08-18 | 1 | -1/+1 |
| | |||||
* | Fred Lundh's latest versions. | Guido van Rossum | 1997-08-14 | 3 | -11/+21 |
| | |||||
* | Add dummies for create/delete filehandles, just so that vanilla Grail | Guido van Rossum | 1997-08-14 | 1 | -0/+6 |
| | | | | 0.3 won't break on Windows. | ||||
* | New dialog from Fred Lundh | Guido van Rossum | 1997-08-12 | 1 | -0/+212 |
| | |||||
* | Fixes for the Mac. (Jack) | Guido van Rossum | 1997-08-12 | 1 | -1/+5 |
| | |||||
* | Get READABLE c.s. from _tkinter instead of conditional definition. | Guido van Rossum | 1997-08-05 | 1 | -12/+6 |
| | | | | in Tk.destroy(), reset _default_root to None when it is us. | ||||
* | New dialog routines (Fred Lundh) | Guido van Rossum | 1997-07-19 | 4 | -0/+361 |
| | |||||
* | Use dictionary's update() method in _cnfmerge(). | Guido van Rossum | 1997-07-19 | 1 | -2/+6 |
| | |||||
* | Widget._setup(): Support name=None in a similar way to the handling of other | Fred Drake | 1997-05-27 | 1 | -1/+2 |
| | | | | Tkinter keyword parameters. | ||||
* | Add root.tkraise() to the _test() program so the window doesn't hide | Guido van Rossum | 1997-05-09 | 1 | -0/+1 |
| | | | | behind the shell window on NT. | ||||
* | Misc.__init__(): Removed method, replaced with class attribute (which | Fred Drake | 1997-05-03 | 1 | -4/+1 |
| | | | | | | was all that the method set anyway). Removed calls to the constructor. This reduces the number of Python function calls per widget construction by one, for every widget construction. | ||||
* | Patch by Craig McPheeters to clean up the back-references to widgets | Guido van Rossum | 1997-04-14 | 1 | -2/+23 |
| | | | | contained in commands created by those same widgets. | ||||
* | Require _tkinter -- don't attempt to import tkinter when _tkinter does | Guido van Rossum | 1997-02-15 | 1 | -25/+10 |
| | | | | | | | | | not exist. All 8 uses of tkinter are replaced with _tkinter. Still create a variable tkinter though, because that is used by other modules importing Tkinter (e.g. tkinter.createfilehandler()). Also added a comment to the 'import _tkinter' line saying that if this fails, Python is not configured correctly. | ||||
* | Gave the Listbox selection methods their correct (longer) names. | Guido van Rossum | 1997-02-14 | 1 | -2/+4 |
| | | | | Removed select_adjust -- Tk no longer supports this. | ||||
* | Put support for a cnf dictionary back in, since it is still supported | Guido van Rossum | 1997-02-12 | 1 | -1/+3 |
| | | | | | by all true Tkinter widgets. (Not that I *like* this module -- it stinks, but until I have something better, I can't nuke it.) | ||||
* | Avoid traceback in selection_own_get() when no Tk widget owns the | Guido van Rossum | 1997-01-21 | 1 | -3/+4 |
| | | | | selection; return None instead. | ||||
* | (Tkinter.py): Add support for Frame(w, class_="classname") as an alternative | Fred Drake | 1997-01-10 | 1 | -1/+4 |
| | | | | | | | to Frame(w, cnf={"class": "classname"}). I think this is the only widget other than Toplevel that needs to be concerned about setting the widget's class (-class must be the first option on the Tcl widget creation command). | ||||
* | Fix the following bug: | Guido van Rossum | 1997-01-03 | 1 | -4/+6 |
| | | | | | | | | | | | - When dragging the mouse in either listbox, the *first* entry clicked on is selected rather than the last (but the last one is highlighted). This is done by changing the bindtags so that our binding is executed after the default binding (which sets the 'active' index to the last item selected), and using 'active' instead of 'anchor' as the index to ask for. | ||||
* | Fix bogus implementation of Group.bind(). | Guido van Rossum | 1996-12-27 | 1 | -2/+6 |
| | | | | Added unbind() to CanvasItem and Group classes. | ||||
* | Added config(ure) method to Image class. | Guido van Rossum | 1996-12-27 | 1 | -0/+10 |
| | | | | (Fred Drake) | ||||
* | Change the default values for IntVar and DoubleVar to numbers (they | Guido van Rossum | 1996-12-27 | 1 | -2/+2 |
| | | | | were strings, accidentally). | ||||
* | Added a bunch of new winfo options; we should now be up to date with | Guido van Rossum | 1996-12-12 | 1 | -2/+29 |
| | | | | | | | Tk 4.2. The new winfo options supported are: mananger, pointerx, pointerxy, pointery, server, viewable, visualid, visualsavailable. Also fixed bugs in winfo_colormapfull() and winfo_containing(). | ||||
* | Added ALL='all'. | Guido van Rossum | 1996-11-20 | 1 | -0/+1 |
| | |||||
* | Turn leading minus sign into underscore for image widget name -- the | Guido van Rossum | 1996-11-20 | 1 | -3/+5 |
| | | | | hyphen confused Tk into thinking the name was an option. | ||||
* | Don't require leading '-' on option name to Text.tag_cget | Guido van Rossum | 1996-11-11 | 1 | -0/+4 |
| | |||||
* | Get rid of bogus binding of <Delete> to a function that deletes the next | Guido van Rossum | 1996-10-24 | 1 | -3/+0 |
| | | | | character (this is already a built-in binding now). | ||||
* | Added support for floating point resolution to Scale.get(). | Guido van Rossum | 1996-10-23 | 1 | -1/+5 |
| | |||||
* | (Tkinter.py): Fixed bug in re-implementation of OptionMenu. | Fred Drake | 1996-10-21 | 1 | -1/+1 |
| | |||||
* | (Fred Drake:) Re-wrote the OptionMenu class to allow access to a real | Guido van Rossum | 1996-10-21 | 1 | -5/+28 |
| | | | | | Menu object via om['menu'] -- this is necessary to use a post-command with an OptionMenu. The API has not changed. | ||||
* | (Tkinter.py): Improve application basename determination to make .py and | Fred Drake | 1996-10-06 | 1 | -1/+2 |
| | | | | | .pyc extensions completely equivelent when locating the "profile" which should be read on startup. | ||||
* | (Tkinter.py): Fixed dumb typo in Misc.tk_setPalette(). | Fred Drake | 1996-10-04 | 1 | -2/+2 |
| | |||||
* | (Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updated | Fred Drake | 1996-09-27 | 1 | -40/+86 |
| | | | | | | | selection interface, handle the -displayof option intelligently in many places. Added "wm colormapwindows" and "winfo colormapfull" support. Removed "focus default" and "focus none" method: these are not in Tk 4.X. | ||||
* | (Canvas.py): Added definition of CanvasItem.cget() as suggested by | Fred Drake | 1996-09-26 | 1 | -0/+1 |
| | | | | Nils Fischbeck. | ||||
* | Implement lower by calling lower, not lift. | Guido van Rossum | 1996-09-11 | 1 | -1/+1 |
| | |||||
* | Bug fixes in index&icursor suggested by Nils Fischbeck. | Guido van Rossum | 1996-09-11 | 1 | -5/+5 |
| | |||||
* | simpler version of the previous fix | Guido van Rossum | 1996-09-10 | 1 | -4/+2 |
| | |||||
* | compatibility changes suggested by Jack, | Guido van Rossum | 1996-09-10 | 1 | -2/+4 |
| | | | | | for tk_menuBar and tk_bindForTraversal (i.e. don't call these for Tk >= 4.1) | ||||
* | Change to allow keyword args for Group, | Guido van Rossum | 1996-09-06 | 1 | -5/+6 |
| | | | | suggested by Nils Fischbeck, adapted by Fred | ||||
* | Fixed Entry.select_from() to acually call the "select from" widget | Guido van Rossum | 1996-09-06 | 1 | -1/+1 |
| | | | | command instead of the non-existant "select set". (Fred) | ||||
* | Added Menu.insert*() methods [Fred] | Guido van Rossum | 1996-09-05 | 1 | -0/+13 |
| | |||||
* | Add initial values to variables to avoid crash in __del__ | Guido van Rossum | 1996-09-05 | 1 | -0/+6 |
| | |||||
* | Changes for Canvas by Fred | Guido van Rossum | 1996-08-22 | 2 | -43/+33 |
| | |||||
* | Added a small test program. | Guido van Rossum | 1996-08-21 | 1 | -0/+19 |
| | |||||
* | stupid typo in latest fix ('Name' should be 'name') | Guido van Rossum | 1996-08-08 | 1 | -1/+1 |
| | |||||
* | Need to import * from types | Guido van Rossum | 1996-08-08 | 1 | -2/+1 |
| |