Guido van Rossum
c0967cd4a2
Added a bunch of new winfo options; we should now be up to date with
...
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().
1996-12-12 16:43:05 +00:00
Guido van Rossum
40a172c779
Added ALL='all'.
1996-11-20 22:20:21 +00:00
Guido van Rossum
58103d3b11
Turn leading minus sign into underscore for image widget name -- the
...
hyphen confused Tk into thinking the name was an option.
1996-11-20 22:17:38 +00:00
Guido van Rossum
73eba25f5f
Don't require leading '-' on option name to Text.tag_cget
1996-11-11 19:10:58 +00:00
Guido van Rossum
40f7a55608
Get rid of bogus binding of <Delete> to a function that deletes the next
...
character (this is already a built-in binding now).
1996-10-24 18:34:36 +00:00
Guido van Rossum
149574767c
Added support for floating point resolution to Scale.get().
1996-10-23 14:16:28 +00:00
Fred Drake
0c373691ae
(Tkinter.py): Fixed bug in re-implementation of OptionMenu.
1996-10-21 17:09:31 +00:00
Guido van Rossum
28574b557b
(Fred Drake:) Re-wrote the OptionMenu class to allow access to a real
...
Menu object via om['menu'] -- this is necessary to use a post-command
with an OptionMenu. The API has not changed.
1996-10-21 15:16:51 +00:00
Fred Drake
cab3c3b8d4
(Tkinter.py): Improve application basename determination to make .py and
...
.pyc extensions completely equivelent when locating the "profile"
which should be read on startup.
1996-10-06 17:55:20 +00:00
Fred Drake
3faf9b4d48
(Tkinter.py): Fixed dumb typo in Misc.tk_setPalette().
1996-10-04 19:23:04 +00:00
Fred Drake
3c602d7d0c
(Tkinter.py): Many revisions for Tk 4.X: Added clipboard support, updated
...
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.
1996-09-27 14:06:54 +00:00
Fred Drake
e9c515adc7
(Canvas.py): Added definition of CanvasItem.cget() as suggested by
...
Nils Fischbeck.
1996-09-26 20:21:26 +00:00
Guido van Rossum
6e8ec59eb4
Implement lower by calling lower, not lift.
1996-09-11 14:25:41 +00:00
Guido van Rossum
6b7a7e9fe0
Bug fixes in index&icursor suggested by Nils Fischbeck.
1996-09-11 14:23:43 +00:00
Guido van Rossum
688bbfc217
simpler version of the previous fix
1996-09-10 12:39:26 +00:00
Guido van Rossum
8535b29f39
compatibility changes suggested by Jack,
...
for tk_menuBar and tk_bindForTraversal
(i.e. don't call these for Tk >= 4.1)
1996-09-10 12:36:34 +00:00
Guido van Rossum
5c1d1ee8a8
Change to allow keyword args for Group,
...
suggested by Nils Fischbeck, adapted by Fred
1996-09-06 21:09:31 +00:00
Guido van Rossum
42b78e6441
Fixed Entry.select_from() to acually call the "select from" widget
...
command instead of the non-existant "select set". (Fred)
1996-09-06 14:20:23 +00:00
Guido van Rossum
2caac73aa6
Added Menu.insert*() methods [Fred]
1996-09-05 16:46:31 +00:00
Guido van Rossum
e1a7a3b3b3
Add initial values to variables to avoid crash in __del__
1996-09-05 16:45:49 +00:00
Guido van Rossum
5c8c91bbc5
Changes for Canvas by Fred
1996-08-22 23:18:09 +00:00
Guido van Rossum
c417ef8e57
Added a small test program.
1996-08-21 23:38:59 +00:00
Guido van Rossum
5468a7b76b
stupid typo in latest fix ('Name' should be 'name')
1996-08-08 18:31:42 +00:00
Guido van Rossum
524e9a450b
Need to import * from types
1996-08-08 18:31:11 +00:00
Guido van Rossum
9afdabffa9
Add missing close parenthesis.
1996-07-30 20:16:21 +00:00
Guido van Rossum
053313a507
Change to use keyword args instead of dicts
1996-07-30 18:35:38 +00:00
Guido van Rossum
c8b4791d9e
Two independent changes:
...
- accept empty string from focus_get
- map coords() return value through getdouble and splitlist
1996-07-30 16:31:32 +00:00
Guido van Rossum
ad8b3baa91
Restore the capability to pass a class (usually Pack) as an option to widget
...
creation; no longer support this for the config method.
1996-07-21 03:05:05 +00:00
Guido van Rossum
17f2b2dfed
Don't use tktools, dummy! Reworded test message slightly.
1996-07-21 02:20:06 +00:00
Guido van Rossum
421bb0e389
fix canvas bind commands
1996-07-21 02:19:32 +00:00
Guido van Rossum
990e619b45
new simple dialog module, incompatible
1996-06-17 17:14:46 +00:00
Guido van Rossum
72e316428f
made it work again with changed Tkinter
1996-05-28 23:15:20 +00:00
Guido van Rossum
0978f993e3
Major overhaul:
...
- Support ~[user] expansion.
- Remember last directory and pattern; optional 'key' argument
specifies different memory locations.
- Absolutify pathnames if possible.
- WM close event cancels the dialog.
- First arg to go() can be either a directory or a file (renamed to
dir_of_file); defaults to current directory.
1996-05-28 23:14:36 +00:00
Guido van Rossum
51b708ab61
don't export selection
1996-05-28 23:10:30 +00:00
Guido van Rossum
422cc7ffec
more changes copied from Grail
1996-05-21 20:30:07 +00:00
Guido van Rossum
63e39ae933
Made Place.info == Pack.info
1996-05-16 17:53:48 +00:00
Guido van Rossum
a5f875f504
Yet another mini fix to pack/grid info.
1996-05-16 17:50:07 +00:00
Guido van Rossum
3626999377
Some more changes from the net... Typos, 4.0/4.1 issues, new tkButtonInvoke().
1996-05-16 17:11:27 +00:00
Guido van Rossum
37dcab197c
Resync with Grail's Tkinter.py.
1996-05-16 16:00:19 +00:00
Guido van Rossum
efa3143abd
add keyword args to CanvasItem class __init__
1996-01-26 17:45:07 +00:00
Jack Jansen
8324836329
Disable pythons own eventhandling on the mac.
1995-11-10 14:49:44 +00:00
Jack Jansen
10d0f8fc40
Renamed module tkinter to _tkinter
1995-10-23 14:36:05 +00:00
Guido van Rossum
46f92d2eba
add Listbox.activate()
1995-10-11 17:41:00 +00:00
Guido van Rossum
b61b28b07d
added listbox selection modes
1995-10-11 17:40:37 +00:00
Guido van Rossum
a1db48b75b
fix Menu.add_command etc.
1995-10-09 22:37:28 +00:00
Guido van Rossum
f7f79ac0c8
better version sanity checks; get rid of Widget.unbind_class()
1995-10-07 19:08:37 +00:00
Guido van Rossum
96ebbd3082
new after options; text.search; new image methods
1995-09-30 17:05:26 +00:00
Guido van Rossum
71b1a90bad
added getitem/setitem to Image class; changed call wrapping (again)
1995-09-18 21:54:35 +00:00
Guido van Rossum
aad8692328
Initial revision
1995-09-07 19:22:38 +00:00
Guido van Rossum
a5773ddb23
move constants to Tkconstants; added some; overridable error reporting; fix typo in propagate
1995-09-07 19:22:00 +00:00