def METHOD_NAME(self):
    # add a thing to the view menu
    self.menu = menu.simple_menu_item(
        'developer', '', _('Developer Tools'), callback=self.on_view_menu
    )
    providers.register('menubar-tools-menu', self.menu)