Moved mirage2 to use newer GTK template structure patterns

This commit is contained in:
2026-05-22 18:27:16 -05:00
parent 447b087188
commit bbd8fd7a2c
94 changed files with 2846 additions and 814 deletions

View File

@@ -0,0 +1,20 @@
# Python imports
# Lib imports
# Application imports
class InvalidPluginException(Exception):
...
class PluginsControllerMixin:
def request_ui_element(self, target_id: str):
if not target_id in widget_registery.objects:
raise InvalidPluginException('Unknown UI "target_id" given in requests.')
return widget_registery.objects[target_id]