Staging: this is not the live site, pydocs.org.
Graphical user interfaces with Tk
Geometry manager that arranges widgets by packing them against the sides of their container. The Pack mix-in is inherited by all widgets (through Widget) and provides the methods for managing a widget with the pack geometry manager. See also Geometry management. Members of Pack c config Pack the widget inside its container, positioning it relative to the siblings already packed there. configure Pack the widget inside its container, positioning it relative to the siblings already packed there. content Same as Misc.pack_content(). f forget Unmap the widget and remove it from the packing order, forgetting its packing options. i info Return a dictionary of the widget’s current packing options. p pack Pack the widget inside its container, positioning it relative to the siblings already packed there. pack_configure Pack the widget inside its container, positioning it relative to the siblings already packed there. pack_forget Unmap the widget and remove it from the packing order, forgetting its packing options. pack_info Return a dictionary of the widget’s current packing options. pack_propagate Same as Misc.pack_propagate(), treating this widget as a container: enable or disable geometry propagation. pack_slaves Same as Misc.pack_slaves(): return the list of widgets packed in this widget. propagate Same as Misc.pack_propagate(), treating this widget as a container: enable or disable geometry propagation. s slaves Same as Misc.pack_slaves(): return the list of widgets packed in this widget.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF