module documentation

Context menu helper for Stick firmware

Function get_supported_apps Get supported apps menu
Function matches_pattern Check if filename matches pattern
Function openMenu Open file open context menu
Variable button_a Undocumented
Variable button_b Undocumented
Variable button_c Undocumented
Variable tft Undocumented
def get_supported_apps(apps_config: dict, filename: str) -> list[tuple]:

Get supported apps menu Args: apps_config (dict): JSON dict of apps config filename (str): Filename to open Returns: list[tuple]: List to display in menus.menu

def matches_pattern(filename: str, pattern: str) -> bool:

Check if filename matches pattern Args: filename (str): Filename to check pattern (str): Pattern Returns: bool: True if matches, False if not

def openMenu(file: str):

Open file open context menu Args: filename (str): Filename to open

button_a =

Undocumented

button_b =

Undocumented

button_c =

Undocumented

tft =

Undocumented