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

Method place_configure

Lib/tkinter/__init__.py:2628–2652  ·  view source on GitHub ↗

Place a widget in the parent widget. Use as options: in=master - master relative to which the widget is placed in_=master - see 'in' option description x=amount - locate anchor of this widget at position x of master y=amount - locate anchor of this widget at position

(self, cnf={}, **kw)

Source from the content-addressed store, hash-verified

2626 Base class to use the methods place_* in every widget."""
2627
2628 def place_configure(self, cnf={}, **kw):
2629 """Place a widget in the parent widget. Use as options:
2630 in=master - master relative to which the widget is placed
2631 in_=master - see 'in' option description
2632 x=amount - locate anchor of this widget at position x of master
2633 y=amount - locate anchor of this widget at position y of master
2634 relx=amount - locate anchor of this widget between 0.0 and 1.0
2635 relative to width of master (1.0 is right edge)
2636 rely=amount - locate anchor of this widget between 0.0 and 1.0
2637 relative to height of master (1.0 is bottom edge)
2638 anchor=NSEW (or subset) - position anchor according to given direction
2639 width=amount - width of this widget in pixel
2640 height=amount - height of this widget in pixel
2641 relwidth=amount - width of this widget between 0.0 and 1.0
2642 relative to width of master (1.0 is the same width
2643 as the master)
2644 relheight=amount - height of this widget between 0.0 and 1.0
2645 relative to height of master (1.0 is the same
2646 height as the master)
2647 bordermode="inside" or "outside" - whether to take border width of
2648 master widget into account
2649 """
2650 self.tk.call(
2651 ('place', 'configure', self._w)
2652 + self._options(cnf, kw))
2653
2654 place = configure = config = place_configure
2655

Callers 1

adjust_labelMethod · 0.80

Calls 2

callMethod · 0.45
_optionsMethod · 0.45

Tested by

no test coverage detected