summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Tkinter.py
Commit message (Collapse)AuthorAgeFilesLines
...
* * Tkinter.py: some tidying up.Guido van Rossum1994-06-211-14/+27
| | | | | | | (Misc.after): arrange to call deletecommand after it is called. (Canvas.itemconfig): generalized to support all forms. (Canvas.find): returns a list of integers instead of strings. * Tkinter.py (Canvas._create): call _flatten earlier.
* * Tkinter.py (Canvas): made create_ methods return the item id;Guido van Rossum1994-06-201-10/+21
| | | | | flatten argument list to _create before passing on to tk.call; _do should return a value.
* Added dictionary mapping names to children, and _name attribute.Guido van Rossum1994-06-201-78/+130
| | | | | | | | | | | | | | | | | Renamed tkerror to _tkerror, default_root to _default_root. (_substitute, _subst_prefix): move back into class Misc; added widget Event attribute. Added functions that return widgets or widget lists: winfo_children; focus_get; grab_current. (Pack.slaves, Place.slaves): return Widget objects instead of pathnames. Renamed __del__() to destroy() (because of circular refs, __del__ won't ever be called). Added some names with explicit _set: focus_set, focus_default_set, grab_set. Added focus_default_none. (Misc._getints): use tk.splitlist() instead of tk.split(), return None if string empty.
* Added getdouble, getboolean.Guido van Rossum1994-06-201-11/+10
| | | | | | Removed redundant global statements getboolean returns None if argument is empty AtInsert() concatenates optional arguments after 'insert'
* Added getvar, getint, lower, tkraise==lift to Misc classGuido van Rossum1994-06-201-0/+10
|
* Initial revisionGuido van Rossum1994-06-201-0/+874