sltgui 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sltgui/__init__.py ADDED
@@ -0,0 +1,19 @@
1
+ __all__ = [
2
+ "BinaryEditorWindow",
3
+ "EnumDefDictEditor",
4
+ "StructDefDictEditor",
5
+ ]
6
+
7
+
8
+ def __getattr__(name: str):
9
+ """Lazily import GUI editor classes to avoid import-time dependency issues."""
10
+ if name == "BinaryEditorWindow":
11
+ from .binary_editor_window import BinaryEditorWindow
12
+ return BinaryEditorWindow
13
+ if name == "EnumDefDictEditor":
14
+ from .enum_def_dict_editor import EnumDefDictEditor
15
+ return EnumDefDictEditor
16
+ if name == "StructDefDictEditor":
17
+ from .struct_def_dict_editor import StructDefDictEditor
18
+ return StructDefDictEditor
19
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")