[Python-checkins] CVS: python/dist/src/Lib/lib-tk Tkinter.py,1.138,1.139

Guido van Rossum python-dev@python.org
2000年6月29日 09:30:53 -0700


Update of /cvsroot/python/python/dist/src/Lib/lib-tk
In directory slayer.i.sourceforge.net:/tmp/cvs-serv7209
Modified Files:
	Tkinter.py 
Log Message:
Nils Fischbeck: added doc strings to everything. Martin von Loewis
has reviewed this, too.
Index: Tkinter.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/lib-tk/Tkinter.py,v
retrieving revision 1.138
retrieving revision 1.139
diff -C2 -r1.138 -r1.139
*** Tkinter.py	2000年06月18日 18:45:50	1.138
--- Tkinter.py	2000年06月29日 16:30:50	1.139
***************
*** 1,4 ****
! # Tkinter.py -- Tk/Tcl widget wrappers
 
 __version__ = "$Revision$"
 
--- 1,31 ----
! """Wrapper functions for Tcl/Tk.
 
+ Tkinter provides classes which allow the display, positioning and
+ control of widgets. Toplevel widgets are Tk and Toplevel. Other
+ widgets are Frame, Label, Entry, Text, Canvas, Button, Radiobutton,
[...2761 lines suppressed...]
 		args = (self.name, 'write', filename)
 		if format:
***************
*** 1934,1938 ****
--- 3007,3015 ----
 
 class BitmapImage(Image):
+ 	"""Widget which can display a bitmap."""
 	def __init__(self, name=None, cnf={}, master=None, **kw):
+ 		"""Create a bitmap with NAME.
+ 
+ 		Valid resource names: background, data, file, foreground, maskdata, maskfile."""
 		apply(Image.__init__, (self, 'bitmap', name, cnf, master), kw)
 
***************
*** 1987,1988 ****
--- 3064,3066 ----
 if __name__ == '__main__':
 	_test()
+ 

AltStyle によって変換されたページ (->オリジナル) /