| Home | Trees | Index | Help |
|---|
| Module Tkinter :: Class Pack |
|
WidgetGeometry manager Pack.
Base class to use the methods pack_* in every widget.| Method Summary | |
|---|---|
Pack a widget in the parent widget. | |
Pack a widget in the parent widget. | |
Unmap this widget and do not use it for the packing order. | |
Return information about the packing options for this widget. | |
Pack a widget in the parent widget. | |
Pack a widget in the parent widget. | |
Unmap this widget and do not use it for the packing order. | |
Return information about the packing options for this widget. | |
| Inherited from Misc | |
Set or get the status for propagation of geometry information. | |
Return a list of all slaves of this widget in its packing order. | |
Set or get the status for propagation of geometry information. | |
Return a list of all slaves of this widget in its packing order. | |
| Method Details |
|---|
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.
|
forget(self)Unmap this widget and do not use it for the packing order. |
info(self)Return information about the packing options for 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_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_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. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Wed Jun 14 14:32:43 2006 | http://epydoc.sf.net |