cpython/Lib/lib-tk
Barry Warsaw 7d3f27c090 Changes inspired by Randall Hooper to allow callbacks when an
OptionMenu is modified.  Somewhat rewritten and elaborated by myself.

class _setit: The constructor now takes an optional argument
`callback' and stashes this in a private variable.  If set, the
__call__() method will invoke this callback after the variable's value
has changed.  It will pass the callback the value, followed by any
args passed to __call__().

class OptionMenu: The constructor now takes keyword arguments, the
only one that's legally recognized is `command', which can be set to a
callback.  This callback is invoked when the OptionMenu value is set.
Any other keyword argument throws a TclError.
2000-02-25 21:54:19 +00:00
..
Canvas.py From: Nicolas CHAUVAT <nico@caesium.fr> 1998-07-16 13:43:05 +00:00
Dialog.py keyword parameter changes 1995-08-04 03:49:39 +00:00
FileDialog.py When a file name is selected ("OK" button, <Return> in the filename entry), 1998-05-06 17:28:23 +00:00
FixTk.py This hopefully fixes the problem of having to set PATH 1999-01-04 18:06:45 +00:00
ScrolledText.py Peter Haight discovered that this code uses a mutable default for cnf 1999-09-20 00:39:47 +00:00
SimpleDialog.py Give in to the tab police. 1998-03-20 20:45:49 +00:00
tkColorChooser.py Nannified. 1998-08-10 20:13:17 +00:00
tkCommonDialog.py When no master widget is specified, use options['parent'] if it exists. 1998-10-12 20:40:47 +00:00
Tkconstants.py NSEW is also valid for -sticky 1998-10-01 15:54:48 +00:00
Tkdnd.py Another easter present. 1998-04-10 16:14:34 +00:00
tkFileDialog.py Give in to the tab police. 1998-03-20 20:45:49 +00:00
tkFont.py Fredrik Lundh's font wrapper. 1998-08-11 19:07:58 +00:00
Tkinter.py Changes inspired by Randall Hooper to allow callbacks when an 2000-02-25 21:54:19 +00:00
tkMessageBox.py New dialog routines (Fred Lundh) 1997-07-19 20:02:36 +00:00
tkSimpleDialog.py Moshe Zadka: 2000-02-24 15:01:43 +00:00
turtle.py Turtle graphics 1998-12-04 16:42:46 +00:00