mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
#11515: Merge with 3.1.
This commit is contained in:
commit
4969f709cc
49 changed files with 58 additions and 58 deletions
|
@ -1649,7 +1649,7 @@ class Wm:
|
|||
|
||||
class Tk(Misc, Wm):
|
||||
"""Toplevel widget of Tk which represents mostly the main window
|
||||
of an appliation. It has an associated Tcl interpreter."""
|
||||
of an application. It has an associated Tcl interpreter."""
|
||||
_w = '.'
|
||||
def __init__(self, screenName=None, baseName=None, className='Tk',
|
||||
useTk=1, sync=0, use=None):
|
||||
|
|
|
@ -163,7 +163,7 @@ class tixCommand:
|
|||
extensions) exist, then the image type is chosen according to the
|
||||
depth of the X display: xbm images are chosen on monochrome
|
||||
displays and color images are chosen on color displays. By using
|
||||
tix_ getimage, you can advoid hard coding the pathnames of the
|
||||
tix_ getimage, you can avoid hard coding the pathnames of the
|
||||
image files in your application. When successful, this command
|
||||
returns the name of the newly created image, which can be used to
|
||||
configure the -image option of the Tk and Tix widgets.
|
||||
|
|
|
@ -993,7 +993,7 @@ class Panedwindow(Widget, tkinter.PanedWindow):
|
|||
pane is either an integer index or the name of a managed subwindow.
|
||||
If kw is not given, returns a dict of the pane option values. If
|
||||
option is specified then the value for that option is returned.
|
||||
Otherwise, sets the options to the correspoding values."""
|
||||
Otherwise, sets the options to the corresponding values."""
|
||||
if option is not None:
|
||||
kw[option] = None
|
||||
return _val_or_dict(kw, self.tk.call, self._w, "pane", pane)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue