summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/Tkinter.py
Commit message (Collapse)AuthorAgeFilesLines
* Redo these changes:Guido van Rossum1994-06-271-2/+4
| | | | | (Menu.index): return int or None, not string (Widget.__getitem__): use splitlist, not split
* Sun Jun 26 02:19:01 1994 Steen Lumholt (lumholt@login.dkuug.dk)Guido van Rossum1994-06-271-36/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Doc fix. * Dialog.py: tk_dialog wrapper widget. * Tkinter.py: (Widget) Code moved from __init__ to _setup. Sat Jun 25 00:27:24 1994 Steen Lumholt (lumholt@login.dkuug.dk) * Tkinter.py (Misc): selection_own and selection_own_get methods. (Misc.winfo_toplevel): Return widget. * kill.py: New demo. * Tkinter.py: tk_menuBar method moved from Menu class to Misc class. (Scrollbar.get): Bug fix; self._getints not self.tk.getints. Fri Jun 24 17:42:16 1994 Steen Lumholt (lumholt@login.dkuug.dk) * Tkinter.py (Variable, StringVar, IntVar, BooleanVar): New classes. * mklibapp: New shell script. * Setup.in: moreButtons Tk extension support. * tkintermodule.c (Tkapp_New): Remove #ifdef WITH_APPINIT. * appinit.c (Tcl_AppInit): New file and function. * Tkinter.py: (Button): Dummy args in tk_* methods. (Studbutton, Tributton): New widget by <tnb2d@cs.virginia.edu>; morebuttons extension. Thu Jun 23 22:22:43 1994 Steen Lumholt (lumholt@login.dkuug.dk) * tkintermodule.c (FileHandler): Make arg a tuple; bug found by <tnb2d@cs.virginia.edu>. Call the Python file handler function with (file, mask) argument. Fix a few of my refcnt bugs.
* (Menu.index): return int or None, not stringGuido van Rossum1994-06-271-2/+4
| | | | (Widget.__getitem__): use splitlist, not split
* * Tkinter.pyGuido van Rossum1994-06-231-6/+51
| | | | | | (Widget): generalized config(); added keys(). (Canvas): added addtag_xxx and find_xxx functions; generalized itemconfig().
* * 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