diff options
author | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-26 15:02:41 (GMT) |
commit | 502d9a5c2cf7c0837911890e7dcccd7aada10adf (patch) | |
tree | 5e712865fce6c8490a87873b2b4694bc965d2233 /Doc/library/tkinter.rst | |
parent | 22b3431426349a424e3486c279db8b84cf671da0 (diff) | |
download | cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.zip cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.gz cpython-502d9a5c2cf7c0837911890e7dcccd7aada10adf.tar.bz2 |
Merged revisions 74207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74207 | georg.brandl | 2009-07-26 16:19:57 +0200 (So, 26 Jul 2009) | 1 line
#6577: fix (hopefully) all links to builtin instead of module/class-specific objects.
........
Diffstat (limited to 'Doc/library/tkinter.rst')
-rw-r--r-- | Doc/library/tkinter.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/tkinter.rst b/Doc/library/tkinter.rst index 7413987..74e3fbb 100644 --- a/Doc/library/tkinter.rst +++ b/Doc/library/tkinter.rst @@ -511,7 +511,7 @@ defined in the :mod:`tkinter`. There are many useful subclasses of Variable already defined: :class:`StringVar`, :class:`IntVar`, :class:`DoubleVar`, and :class:`BooleanVar`. To read the current value of such a variable, call the -:meth:`get` method on it, and to change its value you call the :meth:`set` +:meth:`get` method on it, and to change its value you call the :meth:`!set` method. If you follow this protocol, the widget will always track the value of the variable, with no further intervention on your part. @@ -652,7 +652,7 @@ relief ``"raised"``, ``"sunken"``, ``"flat"``, ``"groove"``, and ``"ridge"``. scrollcommand - This is almost always the :meth:`set` method of some scrollbar widget, but can + This is almost always the :meth:`!set` method of some scrollbar widget, but can be any widget method that takes a single argument. Refer to the file :file:`Demo/tkinter/matt/canvas-with-scrollbars.py` in the Python source distribution for an example. |