Staging: this is not the live site, pydocs.org.
Graphical user interfaces with Tk
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_columnconfigure Same as Misc.grid_columnconfigure(): query or set the options (such as weight, minsize, pad and uniform) of a grid column. 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_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. 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.
Python docs © Python Software Foundation · Examples CC0 ·
Source on GitHub · Not affiliated with the PSF