(self, menuitems, menu, terminal)
Add our menu items to the menu
Add our menu items to the menu
Add our menu items to the menu
def callback(self, menuitems, menu, terminal):
        """Add our menu items to the menu"""
        item = Gtk.MenuItem.new_with_mnemonic(_('Terminal _screenshot'))
        item.connect("activate", self.terminalshot, terminal)
        menuitems.append(item)
def callback ( self , menuitems , menu , terminal ) : item = Gtk . MenuItem . new_with_mnemonic ( _ ( 'Terminal _screenshot' ) ) item . connect ( "activate" , self . terminalshot , terminal ) menuitems . append ( item )