Tkinter.Grid¶
-
class
Tkinter.Grid[source]¶ Geometry manager Grid.
Base class to use the methods grid_* in every widget.
Methods¶
bbox([column, row, col2, row2]) |
Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid. |
columnconfigure(index[, cnf]) |
Configure column INDEX of a grid. |
config([cnf]) |
Position a widget in the parent widget in a grid. |
configure([cnf]) |
Position a widget in the parent widget in a grid. |
forget() |
Unmap this widget. |
grid([cnf]) |
Position a widget in the parent widget in a grid. |
grid_bbox([column, row, col2, row2]) |
Return a tuple of integer coordinates for the bounding box of this widget controlled by the geometry manager grid. |
grid_columnconfigure(index[, cnf]) |
Configure column INDEX of a grid. |
grid_configure([cnf]) |
Position a widget in the parent widget in a grid. |
grid_forget() |
Unmap this widget. |
grid_info() |
Return information about the options for positioning this widget in a grid. |
grid_location(x, y) |
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. |
grid_propagate([flag]) |
Set or get the status for propagation of geometry information. |
grid_remove() |
Unmap this widget but remember the grid options. |
grid_rowconfigure(index[, cnf]) |
Configure row INDEX of a grid. |
grid_size() |
Return a tuple of the number of column and rows in the grid. |
grid_slaves([row, column]) |
Return a list of all slaves of this widget in its packing order. |
info() |
Return information about the options for positioning this widget in a grid. |
location(x, y) |
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. |
propagate([flag]) |
Set or get the status for propagation of geometry information. |
rowconfigure(index[, cnf]) |
Configure row INDEX of a grid. |
size() |
Return a tuple of the number of column and rows in the grid. |
slaves([row, column]) |
Return a list of all slaves of this widget in its packing order. |