Module Tkinter :: Class Pack
[hide private]
[frames] | no frames]

_ClassType Pack

Known Subclasses:

Geometry manager Pack.

Base class to use the methods pack_* in every widget.

Instance Methods [hide private]
 
pack_configure(self, cnf={}, **kw)
Pack a widget in the parent widget.
 
config(self, cnf={}, **kw)
Pack a widget in the parent widget.
 
configure(self, cnf={}, **kw)
Pack a widget in the parent widget.
 
pack(self, cnf={}, **kw)
Pack a widget in the parent widget.
 
pack_forget(self)
Unmap this widget and do not use it for the packing order.
 
forget(self)
Unmap this widget and do not use it for the packing order.
 
pack_info(self)
Return information about the packing options for this widget.
 
info(self)
Return information about the packing options for this widget.
 
pack_propagate(self, flag=['_noarg_'])
Set or get the status for propagation of geometry information.
 
propagate(self, flag=['_noarg_'])
Set or get the status for propagation of geometry information.
 
pack_slaves(self)
Return a list of all slaves of this widget in its packing order.
 
slaves(self)
Return a list of all slaves of this widget in its packing order.
Method Details [hide private]

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

 
Pack a widget in the parent widget. Use as options:
after=widget - pack it after you have packed widget
anchor=NSEW (or subset) - position widget according to
                          given direction
        before=widget - pack it before you will pack widget
expand=bool - expand widget if parent size grows
fill=NONE or X or Y or BOTH - fill widget if widget grows
in=master - use master to contain this widget
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.

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

 
Pack a widget in the parent widget. Use as options:
after=widget - pack it after you have packed widget
anchor=NSEW (or subset) - position widget according to
                          given direction
        before=widget - pack it before you will pack widget
expand=bool - expand widget if parent size grows
fill=NONE or X or Y or BOTH - fill widget if widget grows
in=master - use master to contain this widget
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.

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

 
Pack a widget in the parent widget. Use as options:
after=widget - pack it after you have packed widget
anchor=NSEW (or subset) - position widget according to
                          given direction
        before=widget - pack it before you will pack widget
expand=bool - expand widget if parent size grows
fill=NONE or X or Y or BOTH - fill widget if widget grows
in=master - use master to contain this widget
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.

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

 
Pack a widget in the parent widget. Use as options:
after=widget - pack it after you have packed widget
anchor=NSEW (or subset) - position widget according to
                          given direction
        before=widget - pack it before you will pack widget
expand=bool - expand widget if parent size grows
fill=NONE or X or Y or BOTH - fill widget if widget grows
in=master - use master to contain this widget
ipadx=amount - add internal padding in x direction
ipady=amount - add internal padding in y direction
padx=amount - add padding in x direction
pady=amount - add padding in y direction
side=TOP or BOTTOM or LEFT or RIGHT -  where to add this widget.

pack_propagate(self, flag=['_noarg_'])

 

Set or get the status for propagation of geometry information.

A boolean argument specifies whether the geometry information of the slaves will determine the size of this widget. If no argument is given the current setting will be returned.

propagate(self, flag=['_noarg_'])

 

Set or get the status for propagation of geometry information.

A boolean argument specifies whether the geometry information of the slaves will determine the size of this widget. If no argument is given the current setting will be returned.