Beispiel #1
0
def Button(val=None):
    try:
        if val != None:
            if isinstance(val, int): but = int(val)
            else: but = gv.getindex(val, butmenu.buttons, True)
            if but > -1:
                butmenu.nav(but, 4)
                return True
        return False
    except:
        return False
Beispiel #2
0
def main():
    """Pone en marcha el programa"""
    menu.nav()