MCPcopy Index your code
hub / github.com/python/cpython / paneconfigure

Method paneconfigure

Lib/tkinter/__init__.py:4995–5063  ·  view source on GitHub ↗

Query or modify the configuration options for a child window. Similar to configure() except that it applies to the specified window. The following options are supported: after window Insert the window after the window specified. window shoul

(self, tagOrId, cnf=None, **kw)

Source from the content-addressed store, hash-verified

4993 (self._w, 'panecget') + (child, '-'+option))
4994
4995 def paneconfigure(self, tagOrId, cnf=None, **kw):
4996 """Query or modify the configuration options for a child window.
4997
4998 Similar to configure() except that it applies to the specified
4999 window.
5000
5001 The following options are supported:
5002
5003 after window
5004 Insert the window after the window specified. window
5005 should be the name of a window already managed by pathName.
5006 before window
5007 Insert the window before the window specified. window
5008 should be the name of a window already managed by pathName.
5009 height size
5010 Specify a height for the window. The height will be the
5011 outer dimension of the window including its border, if
5012 any. If size is an empty string, or if -height is not
5013 specified, then the height requested internally by the
5014 window will be used initially; the height may later be
5015 adjusted by the movement of sashes in the panedwindow.
5016 Size may be any value accepted by Tk_GetPixels.
5017 minsize n
5018 Specifies that the size of the window cannot be made
5019 less than n. This constraint only affects the size of
5020 the widget in the paned dimension -- the x dimension
5021 for horizontal panedwindows, the y dimension for
5022 vertical panedwindows. May be any value accepted by
5023 Tk_GetPixels.
5024 padx n
5025 Specifies a non-negative value indicating how much
5026 extra space to leave on each side of the window in
5027 the X-direction. The value may have any of the forms
5028 accepted by Tk_GetPixels.
5029 pady n
5030 Specifies a non-negative value indicating how much
5031 extra space to leave on each side of the window in
5032 the Y-direction. The value may have any of the forms
5033 accepted by Tk_GetPixels.
5034 sticky style
5035 If a window's pane is larger than the requested
5036 dimensions of the window, this option may be used
5037 to position (or stretch) the window within its pane.
5038 Style is a string that contains zero or more of the
5039 characters n, s, e or w. The string can optionally
5040 contains spaces or commas, but they are ignored. Each
5041 letter refers to a side (north, south, east, or west)
5042 that the window will "stick" to. If both n and s
5043 (or e and w) are specified, the window will be
5044 stretched to fill the entire height (or width) of
5045 its cavity.
5046 width size
5047 Specify a width for the window. The width will be
5048 the outer dimension of the window including its
5049 border, if any. If size is an empty string, or
5050 if -width is not specified, then the width requested
5051 internally by the window will be used initially; the
5052 width may later be adjusted by the movement of sashes

Callers 3

test_paneconfigureMethod · 0.80
check_paneconfigureMethod · 0.80

Calls 4

_getconfigureMethod · 0.80
_getconfigure1Method · 0.80
callMethod · 0.45
_optionsMethod · 0.45

Tested by 3

test_paneconfigureMethod · 0.64
check_paneconfigureMethod · 0.64