menu/lcdmenu.py
def create_submenu(parent, *menu_items):
    """Make a menu item open a submenu consisting of the nominated menu items
    :param parent: A menu item that, when invoked, opens a sub menu
    :type parent: dict (a menu item)
    :param menu_items: An unbounded number of menu item data structures
    that comprise the create_submenu
    :type menu_items: dict
    :return: the parent menu item"""
    link_menus(*menu_items)
    parent[ACTION] = lambda state: state.push(menu_items[0])
    return parent
Make a menu item open a submenu consisting of the nominated menu items
    :param parent: A menu item that, when invoked, opens a sub menu
    :type parent: dict (a menu item)
    :param menu_items: An unbounded number of menu item data structures
    that comprise the create_submenu
    :type menu_items: dict
    :return: the parent menu item
Make a menu item open a submenu consisting of the nominated menu items
Make a menu item open a submenu consisting of the nominated menu items
def create_submenu(parent, *menu_items):
    link_menus(*menu_items)
    parent[ACTION] = lambda state: state.push(menu_items[0])
    return parent
def create_submenu ( parent , * menu_items ) : link_menus ( * menu_items ) parent [ ACTION ] = lambda state : state . push ( menu_items [ 0 ] ) return parent
Make a menu item open a submenu consisting of the nominated menu items
Make a menu item open a submenu consisting of the nominated menu items
"""Make a menu item open a submenu consisting of the nominated menu items
    :param parent: A menu item that, when invoked, opens a sub menu
    :type parent: dict (a menu item)
    :param menu_items: An unbounded number of menu item data structures
    that comprise the create_submenu
    :type menu_items: dict
    :return: the parent menu item"""
the parent menu item
the parent menu item
parent
A menu item that, when invoked, opens a sub menu
A menu item that when invoked opens a sub menu
menu_items
An unbounded number of menu item data structures
that comprise the create_submenu
An unbounded number of menu item data structures that comprise the create_submenu