(self, widget, event=None)
Display the context menu
Display the context menu
Display the context menu
def popup_menu(self, widget, event=None):
        """Display the context menu"""
        window = self.get_toplevel()
        window.preventHide = True
        menu = TerminalPopupMenu(self)
        menu.show(widget, event)
def popup_menu ( self , widget , event = None ) : window = self . get_toplevel ( ) window . preventHide = True menu = TerminalPopupMenu ( self ) menu . show ( widget , event )