diff options
author | Fred Drake <fdrake@acm.org> | 2002-07-08 14:42:22 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-07-08 14:42:22 (GMT) |
commit | c6a525e993f94bba6b729bb53112c6b12d244541 (patch) | |
tree | 598a37efbae2128a12159ea6ab17c77b48099a29 /Doc | |
parent | 50e1286c00c4ca2c3187173527bbb07acd8aae2b (diff) | |
download | cpython-c6a525e993f94bba6b729bb53112c6b12d244541.zip cpython-c6a525e993f94bba6b729bb53112c6b12d244541.tar.gz cpython-c6a525e993f94bba6b729bb53112c6b12d244541.tar.bz2 |
Fix typo reported by Kent Engström, and a bunch of broken markup.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/tkinter.tex | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Doc/lib/tkinter.tex b/Doc/lib/tkinter.tex index 6fdad31..5ee9666 100644 --- a/Doc/lib/tkinter.tex +++ b/Doc/lib/tkinter.tex @@ -471,17 +471,17 @@ class of the widget; buttons have a \code{command} option, labels do not. The options supported by a given widget are listed in that widget's man page, or can be queried at runtime by calling the -\kbd{config()} method with arguments, or by calling the keys() -method on that widget. The return value of these calls is a dictionary -whose key is the name of the option (e.g. \kbd{relief}) and whose -values are 5 tuples. - -(Some options, like \kbd{bg} are synonyms for common options with -hard-to-type names (\kbd{bg} is shorthand for "background"). -Passing the \kbd{config()} method the name of a -shorthand option will return a 2-tuple, not 5-tuple. The 2-tuple -passed back will contain the name of the synonym ``real'' -option. (\kbd{bg}, \kbd{background})) +\method{config()} method without arguments, or by calling the +\method{keys()} method on that widget. The return value of these +calls is a dictionary whose key is the name of the option as a string +(for example, \code{'relief'}) and whose values are 5-tuples. + +Some options, like \code{bg} are synonyms for common options with long +names (\code{bg} is shorthand for "background"). Passing the +\code{config()} method the name of a shorthand option will return a +2-tuple, not 5-tuple. The 2-tuple passed back will contain the name of +the synonym and the ``real'' option (such as \code{('bg', +'background')}). \begin{tableiii}{c|l|l}{textrm}{Index}{Meaning}{Example} \lineiii{0}{option name} {\code{'relief'}} |