Lines Matching refs:pack
13 Widgets are positioned with one of the geometry managers Place, Pack
14 or Grid. These managers can be called with methods place, pack, grid
25 frame.pack(fill=BOTH,expand=1)
27 label.pack(fill=X, expand=1)
29 button.pack(side=BOTTOM)
1279 # Pack methods that apply to the master
1290 'pack', 'propagate', self._w))
1292 self.tk.call('pack', 'propagate', self._w, flag)
1299 self.tk.call('pack', 'slaves', self._w)))
1828 # Ideally, the classes Pack, Place and Grid disappear, the
1829 # pack/place/grid methods are defined on the Widget class, and
1830 # everybody uses w.pack_whatever(...) instead of Pack.whatever(w,
1831 # ...), with pack(), place() and grid() being short for
1835 # Pack, Place or Grid class, so I leave them intact -- but only as
1840 # copied into the Pack, Place or Grid class.
1846 class Pack:
1847 """Geometry manager Pack.
1851 """Pack a widget in the parent widget. Use as options:
1852 after=widget - pack it after you have packed widget
1855 before=widget - pack it before you will pack widget
1867 ('pack', 'configure', self._w)
1869 pack = configure = config = pack_configure
1872 self.tk.call('pack', 'forget', self._w)
1878 self.tk.call('pack', 'info', self._w))
2050 class Widget(BaseWidget, Pack, Place, Grid):
2054 Pack, Place or Grid."""
3779 label.pack()
3783 test.pack()
3786 quit.pack()