Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c6a525e9
Commit
c6a525e9
authored
Jul 08, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo reported by Kent Engström, and a bunch of broken markup.
parent
50e1286c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
Doc/lib/tkinter.tex
Doc/lib/tkinter.tex
+11
-11
No files found.
Doc/lib/tkinter.tex
View file @
c6a525e9
...
@@ -471,17 +471,17 @@ class of the widget; buttons have a \code{command} option, labels do not.
...
@@ -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
The options supported by a given widget are listed in that widget's
man page, or can be queried at runtime by calling the
man page, or can be queried at runtime by calling the
\
kbd
{
config()
}
method with arguments, or by calling the keys()
\
method
{
config()
}
method without arguments, or by calling the
method on that widget. The return value of these calls is a dictionary
\method
{
keys()
}
method on that widget. The return value of these
whose key is the name of the option (e.g.
\kbd
{
relief
}
) and whose
calls is a dictionary whose key is the name of the option as a string
values are 5 tuples.
(for example,
\code
{
'relief'
}
) and whose values are 5-tuples.
(Some options, like
\kbd
{
bg
}
are synonyms for common options with
Some options, like
\code
{
bg
}
are synonyms for common options with long
hard-to-type names (
\kbd
{
bg
}
is shorthand for "background").
names (
\code
{
bg
}
is shorthand for "background"). Passing the
Passing the
\kbd
{
config()
}
method the name of
a
\code
{
config()
}
method the name of a shorthand option will return
a
shorthand option will return a 2-tuple, not 5-tuple. The 2-tuple
2-tuple, not 5-tuple. The 2-tuple passed back will contain the name of
passed back will contain the name of the synonym ``real''
the synonym and the ``real'' option (such as
\code
{
('bg',
option. (
\kbd
{
bg
}
,
\kbd
{
background
}
))
'background')
}
).
\begin{tableiii}
{
c|l|l
}{
textrm
}{
Index
}{
Meaning
}{
Example
}
\begin{tableiii}
{
c|l|l
}{
textrm
}{
Index
}{
Meaning
}{
Example
}
\lineiii
{
0
}{
option name
}
{
\code
{
'relief'
}}
\lineiii
{
0
}{
option name
}
{
\code
{
'relief'
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment