gui/menu.py
def find(self, item_id=None):
        "Recursively find a menu item by its id (useful for event handlers)"
        for it in self:
            found = it.find(item_id)
            if found:
                return found
def find(self, item_id=None):
        "Recursively find a menu item by its id (useful for event handlers)"
        for it in self:
            found = it.find(item_id)
            if found:
                return found
def find ( self , item_id = None ) : for it in self : found = it . find ( item_id ) if found : return found
Recursively find a menu item by its id (useful for event handlers)
Recursively find a menu item by its id ( useful for event handlers )