Home | Trees | Index | Help |
---|
Module Tkinter :: Class Pack |
|
Widget
Geometry 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. | |
Set or get the status for propagation of geometry information. (inherited from Misc )
| |
Return a list of all slaves of this widget in its packing order. (inherited from Misc )
| |
Set or get the status for propagation of geometry information. (inherited from Misc )
| |
Return a list of all slaves of this widget in its packing order. (inherited from Misc )
|
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=1 or 0 - 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=1 or 0 - 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=1 or 0 - 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=1 or 0 - 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 1.1 on Sat Feb 15 21:18:52 2003 | http://epydoc.sf.net |