Name
pack
Synopsis
w.pack(**pack_options)
Delegates geometry management to the
packer. pack_options may include:
-
expand When true,
wexpands to fill any space not otherwise used inw’s parent.-
fill Determines whether
wfills any extra space allocated to it by the packer, or keeps its own minimal dimensions:NONE(default),X(fill only horizontally),Y(fill only vertically), orBOTH(fill both horizontally and vertically).-
side Determines which side of the parent
wpacks against:TOP(default),BOTTOM,LEFT, orRIGHT. To avoid confusion, don’t mix different values for optionside=in widgets that are children of the same container. When more than one child requests the same side (for exampleTOP), the rule is first come, first served: the first child packs at the top, the second child packs second from the top, and so on.