Home »
MCQs »
Pygame MCQs
The getText() and setText() are the methods of ___ module.
15. The getText() and setText() are the methods of ___ module.
- QtEditText
- QLineEdit
- QtLineEdit
- QtText
Answer
The correct answer is: B) QLineEdit
Explanation
The getText() and setText() are the methods of QLineEdit module. Where, the setText() is used for setting the text programmatically, and the getText() is used for getting the text.