mirror of
https://github.com/python/cpython.git
synced 2025-11-10 10:32:04 +00:00
gh-126008: Improve docstrings for Tkinter cget and configure methods (GH-133303)
* Explain the behavior of Widget.configure() depending on arguments. * Unify descriptions. * Replace "resource" with "option".
This commit is contained in:
parent
dd079db4b9
commit
027cacb67c
2 changed files with 69 additions and 62 deletions
|
|
@ -1589,7 +1589,7 @@ class OptionMenu(Menubutton):
|
|||
|
||||
def __init__(self, master, variable, default=None, *values, **kwargs):
|
||||
"""Construct a themed OptionMenu widget with master as the parent,
|
||||
the resource textvariable set to variable, the initially selected
|
||||
the option textvariable set to variable, the initially selected
|
||||
value specified by the default parameter, the menu values given by
|
||||
*values and additional keywords.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue