summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tkinter.py
Commit message (Collapse)AuthorAgeFilesLines
* Require _tkinter -- don't attempt to import tkinter when _tkinter doesGuido van Rossum1997-02-151-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 Rossum1997-02-141-2/+4
| | | | Removed select_adjust -- Tk no longer supports this.
* Avoid traceback in selection_own_get() when no Tk widget owns theGuido van Rossum1997-01-211-3/+4
| | | | selection; return None instead.
* (Tkinter.py): Add support for Frame(w, class_="classname") as an alternativeFred Drake1997-01-101-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).
* Added config(ure) method to Image class.Guido van Rossum1996-12-271-0/+10
| | | | (Fred Drake)
* Change the default values for IntVar and DoubleVar to numbers (theyGuido van Rossum1996-12-271-2/+2
| | | | were strings, accidentally).
* Added a bunch of new winfo options; we should now be up to date withGuido van Rossum1996-12-121-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().
* Turn leading minus sign into underscore for image widget name -- theGuido van Rossum1996-11-201-3/+5
| | | | hyphen confused Tk into thinking the name was an option.
* Don't require leading '-' on option name to Text.tag_cgetGuido van Rossum1996-11-111-0/+4
|
* Get rid of bogus binding of <Delete> to a function that deletes the nextGuido van Rossum1996-10-241-3/+0
| | | | character (this is already a built-in binding now).
* Added support for floating point resolution to Scale.get().Guido van Rossum1996-10-231-1/+5
|
* (Tkinter.py): Fixed bug in re-implementation of OptionMenu.Fred Drake1996-10-211-1/+1
|
* (Fred Drake:) Re-wrote the OptionMenu class to allow access to a realGuido van Rossum1996-10-211-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 andFred Drake1996-10-061-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 Drake1996-10-041-2/+2
|
* (Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updatedFred Drake1996-09-271-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.
* Implement lower by calling lower, not lift.Guido van Rossum1996-09-111-1/+1
|
* simpler version of the previous fixGuido van Rossum1996-09-101-4/+2
|
* compatibility changes suggested by Jack,Guido van Rossum1996-09-101-2/+4
| | | | | for tk_menuBar and tk_bindForTraversal (i.e. don't call these for Tk >= 4.1)
* Fixed Entry.select_from() to acually call the "select from" widgetGuido van Rossum1996-09-061-1/+1
| | | | command instead of the non-existant "select set". (Fred)
* Added Menu.insert*() methods [Fred]Guido van Rossum1996-09-051-0/+13
|
* Add initial values to variables to avoid crash in __del__Guido van Rossum1996-09-051-0/+6
|
* Changes for Canvas by FredGuido van Rossum1996-08-221-14/+14
|
* Added a small test program.Guido van Rossum1996-08-211-0/+19
|
* stupid typo in latest fix ('Name' should be 'name')Guido van Rossum1996-08-081-1/+1
|
* Add missing close parenthesis.Guido van Rossum1996-07-301-1/+1
|
* Two independent changes:Guido van Rossum1996-07-301-2/+3
| | | | | - accept empty string from focus_get - map coords() return value through getdouble and splitlist
* Restore the capability to pass a class (usually Pack) as an option to widgetGuido van Rossum1996-07-211-4/+7
| | | | creation; no longer support this for the config method.
* fix canvas bind commandsGuido van Rossum1996-07-211-1/+1
|
* more changes copied from GrailGuido van Rossum1996-05-211-30/+49
|
* Made Place.info == Pack.infoGuido van Rossum1996-05-161-1/+10
|
* Yet another mini fix to pack/grid info.Guido van Rossum1996-05-161-2/+2
|
* Some more changes from the net... Typos, 4.0/4.1 issues, new tkButtonInvoke().Guido van Rossum1996-05-161-5/+25
|
* Resync with Grail's Tkinter.py.Guido van Rossum1996-05-161-195/+340
|
* Disable pythons own eventhandling on the mac.Jack Jansen1995-11-101-0/+8
|
* Renamed module tkinter to _tkinterJack Jansen1995-10-231-9/+9
|
* add Listbox.activate()Guido van Rossum1995-10-111-0/+2
|
* fix Menu.add_command etc.Guido van Rossum1995-10-091-10/+10
|
* better version sanity checks; get rid of Widget.unbind_class()Guido van Rossum1995-10-071-4/+18
|
* new after options; text.search; new image methodsGuido van Rossum1995-09-301-2/+37
|
* added getitem/setitem to Image class; changed call wrapping (again)Guido van Rossum1995-09-181-1/+7
|
* move constants to Tkconstants; added some; overridable error reporting; fix ↵Guido van Rossum1995-09-071-74/+26
| | | | typo in propagate
* added OptionMenu class (tk_optionMenu interface)Guido van Rossum1995-09-011-2/+10
|
* added select_present and select_range to Entry widgetGuido van Rossum1995-08-111-0/+5
|
* added some missing constantsGuido van Rossum1995-08-041-0/+18
|
* keyword arguments; redid Photo image class; other goodiesGuido van Rossum1995-08-041-96/+201
|
* Tk 4.0 and Tcl 7.4 are now standardGuido van Rossum1995-07-141-76/+147
|
* fix typo in tag_nextrangeGuido van Rossum1995-03-201-1/+1
|
* add TkVersion,TclVersion; don't drop in debuggerGuido van Rossum1995-03-171-42/+20
|
* Fixed 'propagate' methodGuido van Rossum1994-12-301-4/+5
|