When we create a window, by default, it is resizable but with the help of
setFixedSize() method we can fix the size of window. But what if we want to resize the window up-to some extent; in order to do this, we have to set the maximum size of the window. We will use
Syntax : self.setMaximumSize(width, height)
Argument : It takes two argument both integer i.e width and height.
Action performed : It set the maximum size of window.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.