×

Multiple-Choice Questions

Web Technologies MCQs

Computer Science Subjects MCQs

Databases MCQs

Programming MCQs

Testing Software MCQs

Digital Marketing Subjects MCQs

Cloud Computing Softwares MCQs

AI/ML Subjects MCQs

Engineering Subjects MCQs

Office Related Programs MCQs

Management MCQs

More

Which function is used for defining the size and position of a window in PyQt?

6. Which function is used for defining the size and position of a window in PyQt?

  1. setgeometry()
  2. setGeometry()
  3. getSetGeometry()
  4. set_Geometry()

Answer

The correct answer is: B) setGeometry()

Explanation

PyQt's method "setGeometry()" is used to define the size and position of Windows.

Syntax:

window.setGeometry(x, y, width, height)

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.