MCPcopy Create free account
hub / github.com/PyQt5/PyQt / contextMenuEvent

Method contextMenuEvent

QMenu/QQMenu.py:93–94  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

91 self.init_menu()
92
93 def contextMenuEvent(self, event):
94 self.context_menu.exec_(event.globalPos())
95
96 def init_menu(self):
97 # 背景透明

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected