Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PCPP-32-101 All Questions

View all questions & answers for the PCPP-32-101 exam

Exam PCPP-32-101 topic 1 question 30 discussion

Actual exam question from Python Institute's PCPP-32-101
Question #: 30
Topic #: 1
[All PCPP-32-101 Questions]

If w is a correctly created main application window, which method would you use to fix both of the main window's dimensions?

  • A. w.fixshape()
  • B. w.fixdim()
  • C. w.resizable()
  • D. w.makewindow()
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Moneybing
1 year, 2 months ago
Selected Answer: C
Answer is C. If you want your window to be completely inflexible and stiff, you’ll make use of the method named resizable(). It uses two parameters named width and height, but they accept Boolean values, not integer values. Their meaning is: True – the user can change this dimension; False – the user can’t change this dimension. Setting both arguments to False will stiffen your window completely. window.resizable(width=False, height=False)
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...