Manage the window as a gridded window and define the relationship between grid units and pixels. baseWidth and baseHeight are the numbers of grid units for the window’s internally requested size, and widthInc and heightInc are the pixel sizes of a horizontal and vertical grid unit. Empty strings turn off gridded management. With no arguments, return a tuple of the four current values, or None if the window is not gridded. wm_grid() is an alias of grid().