def update_menu ( self ) : self . menu . clear ( ) add_actions ( self . menu , self . create_context_menu_actions ( ) )
python tkinter context menu
Update context menu
def update_menu(self):
        """Update context menu"""
        self.menu.clear()
        add_actions(self.menu, self.create_context_menu_actions())