mirror of
https://github.com/python/cpython.git
synced 2025-12-09 18:48:05 +00:00
#11565: Merge with 3.1.
This commit is contained in:
commit
3b3499ba69
93 changed files with 124 additions and 124 deletions
|
|
@ -135,7 +135,7 @@ class InternalFunctionsTest(unittest.TestCase):
|
|||
# minimum acceptable for image type
|
||||
self.assertEqual(ttk._format_elemcreate('image', False, 'test'),
|
||||
("test ", ()))
|
||||
# specifiyng a state spec
|
||||
# specifying a state spec
|
||||
self.assertEqual(ttk._format_elemcreate('image', False, 'test',
|
||||
('', 'a')), ("test {} a", ()))
|
||||
# state spec with multiple states
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ class tixCommand:
|
|||
return self.tk.call('tix', 'getimage', name)
|
||||
|
||||
def tix_option_get(self, name):
|
||||
"""Gets the options manitained by the Tix
|
||||
"""Gets the options maintained by the Tix
|
||||
scheme mechanism. Available options include:
|
||||
|
||||
active_bg active_fg bg
|
||||
|
|
@ -576,7 +576,7 @@ class ButtonBox(TixWidget):
|
|||
|
||||
class ComboBox(TixWidget):
|
||||
"""ComboBox - an Entry field with a dropdown menu. The user can select a
|
||||
choice by either typing in the entry subwdget or selecting from the
|
||||
choice by either typing in the entry subwidget or selecting from the
|
||||
listbox subwidget.
|
||||
|
||||
Subwidget Class
|
||||
|
|
@ -869,7 +869,7 @@ class HList(TixWidget, XView, YView):
|
|||
"""HList - Hierarchy display widget can be used to display any data
|
||||
that have a hierarchical structure, for example, file system directory
|
||||
trees. The list entries are indented and connected by branch lines
|
||||
according to their places in the hierachy.
|
||||
according to their places in the hierarchy.
|
||||
|
||||
Subwidgets - None"""
|
||||
|
||||
|
|
@ -1519,7 +1519,7 @@ class TList(TixWidget, XView, YView):
|
|||
self.tk.call(self._w, 'selection', 'set', first, last)
|
||||
|
||||
class Tree(TixWidget):
|
||||
"""Tree - The tixTree widget can be used to display hierachical
|
||||
"""Tree - The tixTree widget can be used to display hierarchical
|
||||
data in a tree form. The user can adjust
|
||||
the view of the tree by opening or closing parts of the tree."""
|
||||
|
||||
|
|
|
|||
|
|
@ -707,7 +707,7 @@ class Combobox(Entry):
|
|||
textvariable, values, width
|
||||
"""
|
||||
# The "values" option may need special formatting, so leave to
|
||||
# _format_optdict the responsability to format it
|
||||
# _format_optdict the responsibility to format it
|
||||
if "values" in kw:
|
||||
kw["values"] = _format_optdict({'v': kw["values"]})[1]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue