Methods

Widget Methods

The following methods are available on widgets managed by the pack manager:

pack(option=value, ...), pack_configure(option=value, ...)

Pack the widget as described by the options (see below).

pack_forget()

Remove the widget. The widget is not destroyed, and can be displayed again by pack or any other manager.

pack_info() => dictionary

Return a dictionary containing the current options.

Manager Methods

The following methods are available on widgets that are used as pack managers (that is, the geometry masters for widgets managed by the pack manager).

pack_propagate(value)

Enable or disable geometry propagation.

pack_slaves() => list

Returns a list of the "slave" widgets managed by this widget. The widgets are returned as Tkinter widget references.