Home »
MCQs »
Pygame MCQs
Which function is used to create a popup menu in PyQt?
12. Which function is used to create a popup menu in PyQt?
- addPopupMenu()
- createPopupMenu()
- createPmenu()
- QPopupMenu()
Answer
The correct answer is: B) createPopupMenu()
Explanation
In Python, PyQt API has a function named createPopupMenu()
which is used for creating a popup menu.