MCPcopy Index your code
hub / github.com/RustPython/RustPython / paneconfigure

Method paneconfigure

Lib/tkinter/__init__.py:4875–4949  ·  view source on GitHub ↗

Query or modify the management options for window. If no option is specified, returns a list describing all of the available options for pathName. If option is specified with no value, then the command returns a list describing the one named option (this list will b

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

Source from the content-addressed store, hash-verified

4873 (self._w, 'panecget') + (child, '-'+option))
4874
4875 def paneconfigure(self, tagOrId, cnf=None, **kw):
4876 """Query or modify the management options for window.
4877
4878 If no option is specified, returns a list describing all
4879 of the available options for pathName. If option is
4880 specified with no value, then the command returns a list
4881 describing the one named option (this list will be identical
4882 to the corresponding sublist of the value returned if no
4883 option is specified). If one or more option-value pairs are
4884 specified, then the command modifies the given widget
4885 option(s) to have the given value(s); in this case the
4886 command returns an empty string. The following options
4887 are supported:
4888
4889 after window
4890 Insert the window after the window specified. window
4891 should be the name of a window already managed by pathName.
4892 before window
4893 Insert the window before the window specified. window
4894 should be the name of a window already managed by pathName.
4895 height size
4896 Specify a height for the window. The height will be the
4897 outer dimension of the window including its border, if
4898 any. If size is an empty string, or if -height is not
4899 specified, then the height requested internally by the
4900 window will be used initially; the height may later be
4901 adjusted by the movement of sashes in the panedwindow.
4902 Size may be any value accepted by Tk_GetPixels.
4903 minsize n
4904 Specifies that the size of the window cannot be made
4905 less than n. This constraint only affects the size of
4906 the widget in the paned dimension -- the x dimension
4907 for horizontal panedwindows, the y dimension for
4908 vertical panedwindows. May be any value accepted by
4909 Tk_GetPixels.
4910 padx n
4911 Specifies a non-negative value indicating how much
4912 extra space to leave on each side of the window in
4913 the X-direction. The value may have any of the forms
4914 accepted by Tk_GetPixels.
4915 pady n
4916 Specifies a non-negative value indicating how much
4917 extra space to leave on each side of the window in
4918 the Y-direction. The value may have any of the forms
4919 accepted by Tk_GetPixels.
4920 sticky style
4921 If a window's pane is larger than the requested
4922 dimensions of the window, this option may be used
4923 to position (or stretch) the window within its pane.
4924 Style is a string that contains zero or more of the
4925 characters n, s, e or w. The string can optionally
4926 contains spaces or commas, but they are ignored. Each
4927 letter refers to a side (north, south, east, or west)
4928 that the window will "stick" to. If both n and s
4929 (or e and w) are specified, the window will be
4930 stretched to fill the entire height (or width) of
4931 its cavity.
4932 width size

Callers

nothing calls this directly

Calls 5

isinstanceFunction · 0.85
_getconfigureMethod · 0.80
_getconfigure1Method · 0.80
callMethod · 0.45
_optionsMethod · 0.45

Tested by

no test coverage detected