Good afternoon,
I’m attempting to implement a right-click popup menu in a tag browse tree component, but for some reason instead of showing the popup I’m creating in the createPopupMenu() function it instead just shows the default “Refresh” menu. Is there something I’m missing? Code from the createPopupMenu function is below:
def addTrend(evt):
return
def trendUnavailable(evt):
return
menuDict = {'addTrend' : addTrend}
menu = system.gui.createPopupMenu(menuDict)
menu.show(event)