Mercurial > cpython-lru_cache-weakref
diff Doc/lib/tkinter.tex @ 24138:c36be79fdbea 2.2
Fix typo reported by Kent Engström, and a bunch of broken markup.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Mon, 08 Jul 2002 14:42:45 +0000 |
| parents | c2bc2ed145f7 |
| children | 47081a753ecc |
line wrap: on
line diff
--- a/Doc/lib/tkinter.tex Mon Jul 08 14:29:28 2002 +0000 +++ b/Doc/lib/tkinter.tex Mon Jul 08 14:42:45 2002 +0000 @@ -471,17 +471,17 @@ 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. +\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 \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})) +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'}}
