diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2024-06-23 10:58:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-23 10:58:16 +0200 |
| commit | 7a856a77e4d36a077cb1a5a1c50831463a6692a0 (patch) | |
| tree | 05557c9609ab2c7ea37de161bfa2707804fd1e72 /lib/extensions | |
| parent | ca07e28effeb7c097e7d99ef8ef925fd204184e0 (diff) | |
wxpythonify about extension (#3007)
Diffstat (limited to 'lib/extensions')
| -rw-r--r-- | lib/extensions/__init__.py | 4 | ||||
| -rw-r--r-- | lib/extensions/about.py | 14 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lib/extensions/__init__.py b/lib/extensions/__init__.py index a4c8edca..e38eeb43 100644 --- a/lib/extensions/__init__.py +++ b/lib/extensions/__init__.py @@ -3,6 +3,7 @@ # Copyright (c) 2010 Authors # Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. +from .about import About from .apply_palette import ApplyPalette from .apply_threadlist import ApplyThreadlist from .auto_run import AutoRun @@ -66,7 +67,8 @@ from .update_svg import UpdateSvg from .zigzag_line_to_satin import ZigzagLineToSatin from .zip import Zip -__all__ = extensions = [ApplyPalette, +__all__ = extensions = [About, + ApplyPalette, ApplyThreadlist, AutoRun, AutoSatin, diff --git a/lib/extensions/about.py b/lib/extensions/about.py new file mode 100644 index 00000000..f4ab233c --- /dev/null +++ b/lib/extensions/about.py @@ -0,0 +1,14 @@ +# Authors: see git history +# +# Copyright (c) 2023 Authors +# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details. + +from ..gui.about import AboutInkstitchApp +from .base import InkstitchExtension + + +class About(InkstitchExtension): + + def effect(self): + app = AboutInkstitchApp() + app.MainLoop() |
