parameters: (self, event)
docstring: right-click popup menu
docstring_summary: right-click popup menu
docstring_tokens: right - click popup menu
function: def _show_popup(self, event):
      '''right-click popup menu'''
  
      if self.root.focus_get() != self:
        self.root.focus_set()
  
      try:
        self.popup.tk_popup(event.x_root, event.y_root, 0)
      finally:
        self.popup.grab_release()
function_tokens: def _show_popup ( self , event ) : if self . root . focus_get ( ) != self : self . root . focus_set ( ) try : self . popup . tk_popup ( event . x_root , event . y_root , 0 ) finally : self . popup . grab_release ( )