Which function is used to create a popup menu in PyQt?

12. Which function is used to create a popup menu in PyQt?

  1. addPopupMenu()
  2. createPopupMenu()
  3. createPmenu()
  4. QPopupMenu()

Answer: B) createPopupMenu()

Explanation:

In Python, PyQt API has a function named createPopupMenu() which is used for creating a popup menu.

Comments and Discussions!

Load comments ↻






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