PyDocs

Nav

Graphical user interfaces with Tk

Grid

tkinter

class
Geometry manager that arranges widgets in a two-dimensional grid of rows and columns within their container. The Grid mix-in is inherited by all widgets (through Widget). See also Geometry management.
Members of Grid

b

bbox
Same as Misc.grid_bbox().

c

columnconfigure
Same as Misc.grid_columnconfigure(): query or set the options (such as weight, minsize, pad and uniform) of a grid column.
config
Position the widget in a cell of its container’s grid.
configure
Position the widget in a cell of its container’s grid.
content
Same as Misc.grid_content().

f

forget
Unmap the widget and remove it from the grid, forgetting its grid options.

g

grid
Position the widget in a cell of its container’s grid.
grid_bbox
Same as Misc.grid_bbox().
grid_columnconfigure
Same as Misc.grid_columnconfigure(): query or set the options (such as weight, minsize, pad and uniform) of a grid column.
grid_configure
Position the widget in a cell of its container’s grid.
grid_content
Same as Misc.grid_content().
grid_forget
Unmap the widget and remove it from the grid, forgetting its grid options.
grid_info
Return a dictionary of the widget’s current grid options.
grid_location
Same as Misc.grid_location(): return the (column, row) of the cell that covers the pixel at x, y.
grid_propagate
Same as Misc.grid_propagate().
grid_remove
Unmap the widget and remove it from the grid, but remember its grid options so that it is restored to the same cell if it is gridded again.
grid_rowconfigure
Same as Misc.grid_rowconfigure(): query or set the options of a grid row.
grid_size
Same as Misc.grid_size(): return a (columns, rows) tuple giving the size of the grid.
grid_slaves
Same as Misc.grid_slaves(): return the widgets managed in the grid, optionally restricted to a row and/or column.

i

info
Return a dictionary of the widget’s current grid options.

l

location
Same as Misc.grid_location(): return the (column, row) of the cell that covers the pixel at x, y.

p

propagate
Same as Misc.grid_propagate().

r

rowconfigure
Same as Misc.grid_rowconfigure(): query or set the options of a grid row.

s

size
Same as Misc.grid_size(): return a (columns, rows) tuple giving the size of the grid.
slaves
Same as Misc.grid_slaves(): return the widgets managed in the grid, optionally restricted to a row and/or column.
0 Examples
No examples for tkinter/Grid.
See Also
No see-alsos for tkinter/Grid
0 Notes
No notes for Grid