Mar-27-2021, 04:31 PM
Quote:Then what would be the point of using it as a function?Not sure what you are responding to. If it is my post about why you can't make a window full screen by setting geometry, the reason why is hard coding numbers like 1000x900 only make the window full screen if the display size is 1000x900. If your display is smaller, part of the window will be hidden. If the display is larger, the window will not fill the screen.
.geometry() will work, but you should ask Python for the screen dimensions if you want your window to fill the screen regardless of what computer you are using.