Certified Professional in Python Programming (PCPP-32-101) — Question 28
If w is a correctly created main application window, which method would you use to fix both of the main window's dimensions?
Answer options
- A. w.fixshape()
- B. w.fixdim()
- C. w.resizable()
- D. w.makewindow()
Correct answer: C
Explanation
The correct answer is C because the method w.resizable() allows for setting the size constraints of the main window. Options A and B are not valid methods in this context, and option D does not pertain to adjusting the dimensions of the window.