def __init__(self, name: str, sub_items: list[ItemType], type: str, icon_path: str = None) -> None:
        """
        Handled automatically by menus.py, but requires a name, all the sub items, and a type
        """
        self.name = name
        self.sub_items = sub_items
        self.type = type.upper()
        self.icon_path = icon_path
        self.path = context_registry_format(type)

        Handled automatically by menus.py, but requires a name, all the sub items, and a type
        
context_menu/windows_menus.py