Home | Trees | Index | Help |
---|
Module Tkinter :: Class Grid |
|
Widget
Geometry manager Grid.
Base class to use the methods grid_* in every widget.Method Summary | |
---|---|
Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid. (inherited from Misc )
| |
Configure column INDEX of a grid. (inherited from Misc )
| |
Position a widget in the parent widget in a grid. | |
Position a widget in the parent widget in a grid. | |
Unmap this widget. | |
Position a widget in the parent widget in a grid. | |
Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid. (inherited from Misc )
| |
Configure column INDEX of a grid. (inherited from Misc )
| |
Position a widget in the parent widget in a grid. | |
Unmap this widget. | |
Return information about the options for positioning this widget in a grid. | |
Return a tuple of column and row which identify the cell at which the pixel at position X and Y inside the master widget is located. (inherited from Misc )
| |
Set or get the status for propagation of geometry information. (inherited from Misc )
| |
Unmap this widget but remember the grid options. | |
Configure row INDEX of a grid. (inherited from Misc )
| |
Return a tuple of the number of column and rows in the grid. (inherited from Misc )
| |
Return a list of all slaves of this widget in its packing order. (inherited from Misc )
| |
Return information about the options for positioning this widget in a grid. | |
Return a tuple of column and row which identify the cell at which the pixel at position X and Y inside the master widget is located. (inherited from Misc )
| |
Set or get the status for propagation of geometry information. (inherited from Misc )
| |
Configure row INDEX of a grid. (inherited from Misc )
| |
Return a tuple of the number of column and rows in the grid. (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)Position a widget in the parent widget in a grid. Use as options: column=number - use cell identified with given column (starting with 0) columnspan=number - this widget will span several columns 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 row=number - use cell identified with given row (starting with 0) rowspan=number - this widget will span several rows sticky=NSEW - if cell is larger on which sides will this widget stick to the cell boundary |
configure(self, cnf={}, **kw)Position a widget in the parent widget in a grid. Use as options: column=number - use cell identified with given column (starting with 0) columnspan=number - this widget will span several columns 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 row=number - use cell identified with given row (starting with 0) rowspan=number - this widget will span several rows sticky=NSEW - if cell is larger on which sides will this widget stick to the cell boundary |
forget(self)Unmap this widget. |
grid(self, cnf={}, **kw)Position a widget in the parent widget in a grid. Use as options: column=number - use cell identified with given column (starting with 0) columnspan=number - this widget will span several columns 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 row=number - use cell identified with given row (starting with 0) rowspan=number - this widget will span several rows sticky=NSEW - if cell is larger on which sides will this widget stick to the cell boundary |
grid_configure(self, cnf={}, **kw)Position a widget in the parent widget in a grid. Use as options: column=number - use cell identified with given column (starting with 0) columnspan=number - this widget will span several columns 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 row=number - use cell identified with given row (starting with 0) rowspan=number - this widget will span several rows sticky=NSEW - if cell is larger on which sides will this widget stick to the cell boundary |
grid_forget(self)Unmap this widget. |
grid_info(self)Return information about the options for positioning this widget in a grid. |
grid_remove(self)Unmap this widget but remember the grid options. |
info(self)Return information about the options for positioning this widget in a grid. |
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:27:56 2003 | http://epydoc.sf.net |