Home »
Python »
PyQt 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: B) createPopupMenu()
Explanation:
In Python, PyQt API has a function named createPopupMenu() which is used for creating a popup menu.