(cls, layout: str)
| 9 | |
| 10 | @classmethod |
| 11 | def setLayout(cls, layout: str): |
| 12 | if layout not in ["grid", "list"]: |
| 13 | print(f"Invalid layout: {layout}. Must be 'grid' or 'list'.") |
| 14 | return |
| 15 | |
| 16 | user_settings.interface.launcher.layout = layout |
| 17 | if cls.launcher_instance: |
| 18 | cls.launcher_instance._set_layout(layout) |
nothing calls this directly
no outgoing calls
no test coverage detected