This is an unofficial mirror of Tkinter reference documentation (based on Python 2.7 and Tk 8.5) created by the late John Shipman.
It was last updated in 2013 and is unmaintained. [More info]
Each child of a PanedWindow
has a set of
configuration options that control its position and
appearance. These options can be provided when a child
is added with the .add()
method, or set
with the .paneconfig()
method, or queried
with the .panecget()
methods described
above.
Table 28. PanedWindow
child widget options
after
|
Normally, when you .add() a new
child to a PanedWindow , the new
child is added after any existing child widgets.
You may instead use the after= option to insert the
new widget at a position just after an existing
child widget .
|
before
|
When used as option before= in a call to the .add() method, places the new widget at
a position just before an existing child widget
.
|
height
| This option specifies the desired height of the child widget; see Section 5.1, “Dimensions”. |
minsize
|
Use this option to specify a minimum size for the
child widget in the direction of the PanedWindow 's orientation. For orient=tk.HORIZONTAL , this is the minimum
width; for orient=tk.VERTICAL , it is
the minimum height. For permissible values, see
Section 5.1, “Dimensions”.
|
padx
| The amount of extra space to be added to the left and right of the child widget; see Section 5.1, “Dimensions”. |
pady
| The amount of extra space to be added above and below the child widget; see Section 5.1, “Dimensions”. |
sticky
|
This option functions like the sticky argument to the .grid() method; see Section 4.1, “The .grid() method”. It specifies how to position a child widget
if the pane is larger than the widget. For
example, sticky=tk.NW would position
the widget in the upper left
(“northwest”) corner of the pane.
|
width
| Desired width of the child widget; see Section 5.1, “Dimensions”. |