Set or query the maximum permissible dimensions of the window, in pixels (or grid units for a gridded window). The window manager restricts the window to be no larger than width and height. With no arguments, return a tuple of the current maximum width and height. The maximum size defaults to the size of the screen. wm_maxsize() is an alias of maxsize().