[Python-checkins] CVS: python/dist/src/Lib/lib-tk Tkinter.py,1.141,1.142 Tkconstants.py,1.6,1.7

Fredrik Lundh python-dev@python.org
Wed, 9 Aug 2000 11:03:17 -0700


Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory slayer.i.sourceforge.net:/tmp/cvs-serv14402/Lib/lib-tk

Modified Files:
	Tkinter.py Tkconstants.py 
Log Message:


-- untabification (use "diff -b" to verify)

Index: Tkinter.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/Tkinter.py,v
retrieving revision 1.141
retrieving revision 1.142
diff -C2 -r1.141 -r1.142
*** Tkinter.py	2000/07/16 12:04:31	1.141
--- Tkinter.py	2000/08/09 18:03:11	1.142
***************
*** 32,36 ****
  import sys
  if sys.platform == "win32":
! 	import FixTk # Attempt to configure Tcl/Tk without requiring PATH
  import _tkinter # If this fails your Python may not be configured for Tk
  tkinter = _tkinter # b/w compat for export
--- 32,36 ----
  import sys
  if sys.platform == "win32":
!     import FixTk # Attempt to configure Tcl/Tk without requiring PATH
  import _tkinter # If this fails your Python may not be configured for Tk
[...6000 lines suppressed...]
!         text = text + u"\nThis should be a cedilla: \347"
!     label = Label(root, text=text)
!     label.pack()
!     test = Button(root, text="Click me!",
!               command=lambda root=root: root.test.configure(
!                   text="[%s]" % root.test['text']))
!     test.pack()
!     root.test = test
!     quit = Button(root, text="QUIT", command=root.destroy)
!     quit.pack()
!     # The following three commands are needed so the window pops
!     # up on top on Windows...
!     root.iconify()
!     root.update()
!     root.deiconify()
!     root.mainloop()
  
  if __name__ == '__main__':
!     _test()
  

Index: Tkconstants.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/Tkconstants.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** Tkconstants.py	1998/10/01 15:54:48	1.6
--- Tkconstants.py	2000/08/09 18:03:12	1.7
***************
*** 1,3 ****
- 
  # Symbolic constants for Tk
  
--- 1,2 ----