kivydk 0.0.3.dev2__tar.gz → 0.10.5.dev1__tar.gz

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.
Files changed (94) hide show
  1. {kivydk-0.0.3.dev2 → kivydk-0.10.5.dev1}/LICENSE +20 -20
  2. kivydk-0.10.5.dev1/MANIFEST.in +9 -0
  3. {kivydk-0.0.3.dev2/src/kivydk.egg-info → kivydk-0.10.5.dev1}/PKG-INFO +73 -70
  4. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/__init__.py +3 -3
  5. kivydk-0.10.5.dev1/kivydk/__pycache__/__init__.cpython-312.pyc +0 -0
  6. kivydk-0.10.5.dev1/kivydk/__pycache__/_version.cpython-312.pyc +0 -0
  7. kivydk-0.10.5.dev1/kivydk/__pycache__/app.cpython-312.pyc +0 -0
  8. kivydk-0.10.5.dev1/kivydk/__pycache__/logger.cpython-312.pyc +0 -0
  9. kivydk-0.10.5.dev1/kivydk/__ref/__init__.py +16 -0
  10. kivydk-0.10.5.dev1/kivydk/__ref/__pycache__/__init__.cpython-312.pyc +0 -0
  11. kivydk-0.10.5.dev1/kivydk/__ref/__pycache__/window.cpython-312.pyc +0 -0
  12. kivydk-0.10.5.dev1/kivydk/__ref/window.py +15 -0
  13. kivydk-0.10.5.dev1/kivydk/__ref/window_adapter.py +98 -0
  14. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/_version.py +4 -4
  15. kivydk-0.10.5.dev1/kivydk/app.py +49 -0
  16. kivydk-0.10.5.dev1/kivydk/core/__pycache__/__init__.cpython-312.pyc +0 -0
  17. kivydk-0.10.5.dev1/kivydk/core/mapping/__pycache__/__init__.cpython-312.pyc +0 -0
  18. kivydk-0.10.5.dev1/kivydk/core/mapping/__pycache__/cursors.cpython-312.pyc +0 -0
  19. kivydk-0.10.5.dev1/kivydk/core/mapping/__pycache__/icons.cpython-312.pyc +0 -0
  20. kivydk-0.10.5.dev1/kivydk/core/resources/__pycache__/__init__.cpython-312.pyc +0 -0
  21. kivydk-0.10.5.dev1/kivydk/core/resources/__pycache__/fonts.cpython-312.pyc +0 -0
  22. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/LICENSE.txt +93 -93
  23. kivydk-0.10.5.dev1/kivydk/debug.py +63 -0
  24. kivydk-0.10.5.dev1/kivydk/examples/ButtonIcon.py +114 -0
  25. kivydk-0.10.5.dev1/kivydk/examples/__pycache__/ButtonIcon.cpython-312.pyc +0 -0
  26. kivydk-0.10.5.dev1/kivydk/examples/debug_objects.py +255 -0
  27. {kivydk-0.0.3.dev2/src/kivydk/uix → kivydk-0.10.5.dev1/kivydk}/manager/__init__.py +0 -4
  28. kivydk-0.10.5.dev1/kivydk/manager/__pycache__/__init__.cpython-312.pyc +0 -0
  29. kivydk-0.10.5.dev1/kivydk/manager/__pycache__/pointer.cpython-312.pyc +0 -0
  30. kivydk-0.10.5.dev1/kivydk/manager/__pycache__/tooltip.cpython-312.pyc +0 -0
  31. kivydk-0.10.5.dev1/kivydk/manager/pointer.py +393 -0
  32. kivydk-0.10.5.dev1/kivydk/manager/tooltip.py +639 -0
  33. {kivydk-0.0.3.dev2/src/kivydk/uix/widgets → kivydk-0.10.5.dev1/kivydk/uix}/__init__.py +3 -12
  34. kivydk-0.10.5.dev1/kivydk/uix/__pycache__/__init__.cpython-312.pyc +0 -0
  35. kivydk-0.10.5.dev1/kivydk/uix/__pycache__/line_number.cpython-312.pyc +0 -0
  36. kivydk-0.10.5.dev1/kivydk/uix/__pycache__/tooltip.cpython-312.pyc +0 -0
  37. kivydk-0.10.5.dev1/kivydk/uix/abc/__init__.py +14 -0
  38. kivydk-0.10.5.dev1/kivydk/uix/abc/__pycache__/__init__.cpython-312.pyc +0 -0
  39. kivydk-0.10.5.dev1/kivydk/uix/abc/__pycache__/tooltip.cpython-312.pyc +0 -0
  40. kivydk-0.10.5.dev1/kivydk/uix/abc/tooltip.py +58 -0
  41. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/uix/behavior/__init__.py +4 -3
  42. kivydk-0.10.5.dev1/kivydk/uix/behavior/__pycache__/__init__.cpython-312.pyc +0 -0
  43. kivydk-0.10.5.dev1/kivydk/uix/behavior/__pycache__/click.cpython-312.pyc +0 -0
  44. kivydk-0.10.5.dev1/kivydk/uix/behavior/__pycache__/hover.cpython-312.pyc +0 -0
  45. kivydk-0.10.5.dev1/kivydk/uix/behavior/__pycache__/press.cpython-312.pyc +0 -0
  46. kivydk-0.10.5.dev1/kivydk/uix/behavior/__pycache__/tooltip.cpython-312.pyc +0 -0
  47. kivydk-0.10.5.dev1/kivydk/uix/behavior/click.py +136 -0
  48. kivydk-0.10.5.dev1/kivydk/uix/behavior/hover.py +94 -0
  49. kivydk-0.10.5.dev1/kivydk/uix/behavior/press.py +85 -0
  50. kivydk-0.10.5.dev1/kivydk/uix/behavior/tooltip.py +90 -0
  51. {kivydk-0.0.3.dev2/src/kivydk/uix/widgets → kivydk-0.10.5.dev1/kivydk/uix}/line_number.py +165 -131
  52. kivydk-0.10.5.dev1/kivydk/uix/tooltip.py +183 -0
  53. kivydk-0.10.5.dev1/kivydk/utils/__init__.py +14 -0
  54. kivydk-0.10.5.dev1/kivydk/utils/__pycache__/__init__.cpython-312.pyc +0 -0
  55. kivydk-0.10.5.dev1/kivydk/utils/__pycache__/numeric.cpython-312.pyc +0 -0
  56. kivydk-0.10.5.dev1/kivydk/utils/numeric.py +110 -0
  57. {kivydk-0.0.3.dev2 → kivydk-0.10.5.dev1/kivydk.egg-info}/PKG-INFO +73 -70
  58. kivydk-0.10.5.dev1/kivydk.egg-info/SOURCES.txt +86 -0
  59. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk.egg-info/requires.txt +2 -1
  60. {kivydk-0.0.3.dev2 → kivydk-0.10.5.dev1}/pyproject.toml +23 -5
  61. {kivydk-0.0.3.dev2 → kivydk-0.10.5.dev1}/setup.cfg +4 -4
  62. kivydk-0.0.3.dev2/MANIFEST.in +0 -1
  63. kivydk-0.0.3.dev2/src/kivydk/uix/__init__.py +0 -24
  64. kivydk-0.0.3.dev2/src/kivydk/uix/behavior/click.py +0 -87
  65. kivydk-0.0.3.dev2/src/kivydk/uix/behavior/hover.py +0 -89
  66. kivydk-0.0.3.dev2/src/kivydk/uix/manager/hover.py +0 -79
  67. kivydk-0.0.3.dev2/src/kivydk.egg-info/SOURCES.txt +0 -44
  68. {kivydk-0.0.3.dev2 → kivydk-0.10.5.dev1}/README.md +0 -0
  69. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/core/__init__.py +0 -0
  70. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/core/mapping/__init__.py +0 -0
  71. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/core/mapping/cursors.py +0 -0
  72. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/core/mapping/icons.py +0 -0
  73. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/core/resources/__init__.py +0 -0
  74. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/core/resources/fonts.py +0 -0
  75. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-Bold.otf +0 -0
  76. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-Bold.ttf +0 -0
  77. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-BoldItalic.otf +0 -0
  78. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-BoldItalic.ttf +0 -0
  79. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-Italic.otf +0 -0
  80. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-Italic.ttf +0 -0
  81. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-Regular.otf +0 -0
  82. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/JetBrainsMono/JetBrainsMono-Regular.ttf +0 -0
  83. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/MaterialIcons/LICENSE.txt +0 -0
  84. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/MaterialIcons/MaterialIcons-Filled.ttf +0 -0
  85. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/MaterialIcons/MaterialIcons-Outlined.otf +0 -0
  86. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/MaterialIcons/MaterialIcons-Round.otf +0 -0
  87. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/MaterialIcons/MaterialIcons-Sharp.otf +0 -0
  88. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/MaterialIcons/MaterialIcons-TwoTone.otf +0 -0
  89. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/data/fonts/materialdesignicons-webfont.ttf +0 -0
  90. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/logger.py +0 -0
  91. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/tools/monkey/event.py +0 -0
  92. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk/tools/monkey/patch.py +0 -0
  93. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk.egg-info/dependency_links.txt +0 -0
  94. {kivydk-0.0.3.dev2/src → kivydk-0.10.5.dev1}/kivydk.egg-info/top_level.txt +0 -0
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Afanase Ioan (ASI)
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Afanase Ioan (ASI)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
@@ -0,0 +1,9 @@
1
+ # Include data folder
2
+ recursive-include kivydk/data *
3
+
4
+ # Exclude documentation folder
5
+ exclude documentation/*
6
+ prune documentation
7
+
8
+ # Include only actual package
9
+ recursive-include kivydk *
@@ -1,70 +1,73 @@
1
- Metadata-Version: 2.4
2
- Name: kivydk
3
- Version: 0.0.3.dev2
4
- Summary: Kivy Desktop Kit — A desktop-focused UI toolkit for Kivy
5
- Author: ASI
6
- License: MIT License
7
-
8
- Copyright (c) 2026 Afanase Ioan (ASI)
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
- Project-URL: Source, https://github.com/kmcasi/KivyDK
28
- Project-URL: Issues, https://github.com/kmcasi/KivyDK/issues
29
- Keywords: kivy,kivydk,desktop,kit,ui,uix,material
30
- Classifier: Development Status :: 4 - Beta
31
- Classifier: Intended Audience :: Developers
32
- Classifier: Intended Audience :: End Users/Desktop
33
- Classifier: Intended Audience :: Information Technology
34
- Classifier: Intended Audience :: Science/Research
35
- Classifier: Natural Language :: English
36
- Classifier: Operating System :: OS Independent
37
- Classifier: Operating System :: Microsoft :: Windows
38
- Classifier: Programming Language :: Python :: 3
39
- Classifier: Programming Language :: Python :: 3 :: Only
40
- Classifier: Programming Language :: Python :: 3.12
41
- Classifier: Programming Language :: Python :: Implementation :: CPython
42
- Classifier: Topic :: Artistic Software
43
- Classifier: Topic :: Games/Entertainment
44
- Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
45
- Classifier: Topic :: Multimedia :: Graphics :: Capture :: Digital Camera
46
- Classifier: Topic :: Multimedia :: Graphics :: Presentation
47
- Classifier: Topic :: Multimedia :: Graphics :: Viewers
48
- Classifier: Topic :: Multimedia :: Sound/Audio :: Players :: MP3
49
- Classifier: Topic :: Multimedia :: Video :: Display
50
- Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
51
- Classifier: Topic :: Scientific/Engineering :: Visualization
52
- Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
53
- Classifier: Topic :: Software Development :: User Interfaces
54
- Requires-Python: >=3.12
55
- Description-Content-Type: text/markdown
56
- Requires-Dist: kivy>=2.3.1
57
- Requires-Dist: Pygments>=2.19.2
58
- Requires-Dist: pillow>=12.1.0
59
- Provides-Extra: docs
60
- Requires-Dist: sphinx; extra == "docs"
61
- Requires-Dist: sphinx-copybutton; extra == "docs"
62
- Requires-Dist: sphinx_design; extra == "docs"
63
- Requires-Dist: sphinx_localtoc; extra == "docs"
64
- Requires-Dist: furo; extra == "docs"
65
-
66
- # KivyDK — Kivy Desktop Kit
67
- # WIP - Work in progress
68
-
69
- KivyDK is a desktop-focused UI toolkit for Kivy, designed to support multi-monitor workflows, editor-inspired widgets, and advanced behaviors like hover, click and bind.
70
-
1
+ Metadata-Version: 2.4
2
+ Name: kivydk
3
+ Version: 0.10.5.dev1
4
+ Summary: Kivy Desktop Kit — A desktop-focused UI toolkit for Kivy
5
+ Author: ASI
6
+ License: MIT License
7
+
8
+ Copyright (c) 2026 Afanase Ioan (ASI)
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ Project-URL: Documentation, https://kmcasi.github.io/KivyDK/
28
+ Project-URL: Source, https://github.com/kmcasi/KivyDK
29
+ Project-URL: Issues, https://github.com/kmcasi/KivyDK/issues
30
+ Keywords: kivy,kivydk,desktop,kit,ui,uix,material
31
+ Classifier: Development Status :: 4 - Beta
32
+ Classifier: Intended Audience :: Developers
33
+ Classifier: Intended Audience :: End Users/Desktop
34
+ Classifier: Intended Audience :: Information Technology
35
+ Classifier: Intended Audience :: Science/Research
36
+ Classifier: License :: OSI Approved :: MIT License
37
+ Classifier: Natural Language :: English
38
+ Classifier: Operating System :: OS Independent
39
+ Classifier: Operating System :: Microsoft :: Windows
40
+ Classifier: Programming Language :: Python :: 3
41
+ Classifier: Programming Language :: Python :: 3 :: Only
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: Implementation :: CPython
44
+ Classifier: Topic :: Artistic Software
45
+ Classifier: Topic :: Games/Entertainment
46
+ Classifier: Topic :: Multimedia :: Graphics :: 3D Rendering
47
+ Classifier: Topic :: Multimedia :: Graphics :: Capture :: Digital Camera
48
+ Classifier: Topic :: Multimedia :: Graphics :: Presentation
49
+ Classifier: Topic :: Multimedia :: Graphics :: Viewers
50
+ Classifier: Topic :: Multimedia :: Sound/Audio :: Players :: MP3
51
+ Classifier: Topic :: Multimedia :: Video :: Display
52
+ Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
53
+ Classifier: Topic :: Scientific/Engineering :: Visualization
54
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
55
+ Classifier: Topic :: Software Development :: User Interfaces
56
+ Requires-Python: >=3.12
57
+ Description-Content-Type: text/markdown
58
+ Requires-Dist: kivy>=2.3.1
59
+ Requires-Dist: Pygments>=2.19.2
60
+ Requires-Dist: pillow>=12.1.0
61
+ Provides-Extra: docs
62
+ Requires-Dist: sphinx; extra == "docs"
63
+ Requires-Dist: sphinx-copybutton; extra == "docs"
64
+ Requires-Dist: sphinx_design; extra == "docs"
65
+ Requires-Dist: sphinx-doclang; extra == "docs"
66
+ Requires-Dist: sphinx-localtoc; extra == "docs"
67
+ Requires-Dist: furo; extra == "docs"
68
+
69
+ # KivyDK — Kivy Desktop Kit
70
+ # WIP - Work in progress
71
+
72
+ KivyDK is a desktop-focused UI toolkit for Kivy, designed to support multi-monitor workflows, editor-inspired widgets, and advanced behaviors like hover, click and bind.
73
+
@@ -18,8 +18,8 @@ __all__ = ("DIR_ROOT", "DIR_DATA", "DIR_FONTS")
18
18
  #//|>-----------------------------------------------------------------------------------------------------------------<|
19
19
  #//| KivyDK directories
20
20
  #//|>-----------------------------------------------------------------------------------------------------------------<|
21
- from importlib.resources import files # noqa: E402
22
- from importlib.resources.abc import Traversable # noqa: E402
21
+ from importlib.resources import files # noqa: E402
22
+ from importlib.resources.abc import Traversable # noqa: E402
23
23
 
24
24
  #: The root directory of the KivyDK package.
25
25
  DIR_ROOT: Traversable = files(__name__)
@@ -43,6 +43,6 @@ _auto_register_fonts(DIR_FONTS)
43
43
  #//| KivyDK initialization log
44
44
  #//|>-----------------------------------------------------------------------------------------------------------------<|
45
45
  from kivydk._version import VERSION_STRING # noqa: E402
46
- from kivydk.logger import Logger # noqa: E402
46
+ from kivydk.logger import Logger # noqa: E402
47
47
 
48
48
  Logger.InfoS(version=VERSION_STRING, root_directory=DIR_ROOT)
@@ -0,0 +1,16 @@
1
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
2
+ #//| Copyright (c) 11 Feb 2026. All rights are reserved by ASI
3
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
4
+
5
+ #// IMPORT
6
+
7
+
8
+ #// GLOBAL VARIABLES
9
+
10
+
11
+ #// LOGIC
12
+
13
+
14
+ #// RUN
15
+ if __name__ == "__main__":
16
+ pass
@@ -0,0 +1,15 @@
1
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
2
+ #//| Copyright (c) 12 Jan 2026. All rights are reserved by ASI
3
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
4
+ __all__ = ("Window",)
5
+
6
+ #// IMPORT
7
+ from kivy.core.window import Window as WindowKivy
8
+
9
+ #// GLOBAL VARIABLES
10
+ # TODO: Need a better implementation to support also the `panda3d` library.
11
+ Window = WindowKivy
12
+ # Window = WindowPanda3D
13
+
14
+
15
+ #// LOGIC
@@ -0,0 +1,98 @@
1
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
2
+ #//| Copyright (c) 07 Jan 2026. All rights are reserved by ASI
3
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
4
+ __all__ = ("WindowAdapter", "Window")
5
+
6
+ #// IMPORT
7
+ from kivy.uix.widget import WidgetBase
8
+
9
+ from kivy.properties import NumericProperty
10
+ from kivy.properties import ReferenceListProperty, AliasProperty
11
+
12
+
13
+ #// LOGIC
14
+ # TODO: Extend this class to support all `~kivy.core.window.Window` functionality.
15
+ class WindowAdapter(WidgetBase):
16
+ """
17
+ Basically is a replacement for :class:`~kivy.core.window.Window` needs some manual assistant.
18
+
19
+ .. note::
20
+ Usefully only if a second rendering library is used, like `panda3d`.
21
+
22
+ :Events:
23
+ `on_cursor_enter`
24
+ Fired when the cursor enters the window.
25
+ `on_cursor_leave`
26
+ Fired when the cursor leaves the window.
27
+ `on_mouse_move`
28
+ Fired when the cursor move inside the window.
29
+ """
30
+
31
+ mouse_x = NumericProperty(-1)
32
+ """X position of the mouse cursor within the window.
33
+
34
+ Position is relative to the left/bottom point of the window.
35
+
36
+ :attr:`mouse_x` is a :class:`~kivy.properties.NumericProperty` and defaults to `-1`."""
37
+
38
+ mouse_y = NumericProperty(-1)
39
+ """Y position of the mouse cursor within the window.
40
+
41
+ Position is relative to the left/bottom point of the window.
42
+
43
+ :attr:`mouse_y` is a :class:`~kivy.properties.NumericProperty` and defaults to `-1`."""
44
+
45
+ mouse_pos = ReferenceListProperty(mouse_x, mouse_y)
46
+ """2d position of the mouse cursor within the window.
47
+
48
+ Position is relative to the left/bottom point of the window.
49
+
50
+ :attr:`mouse_pos` is an :class:`~kivy.properties.ReferenceListProperty` of
51
+ (:attr:`mouse_x`, :attr:`mouse_y`) properties."""
52
+
53
+ __events__ = [
54
+ "on_cursor_enter", "on_cursor_leave", "on_mouse_move"
55
+ ]
56
+
57
+ def __init__(self, **kwargs) -> None:
58
+ super(WindowAdapter, self).__init__(**kwargs)
59
+
60
+ self._focus:bool = False
61
+ self.fbind("mouse_pos", self._do_mouse_move)
62
+
63
+ def _get_focus(self) -> bool:
64
+ return self._focus
65
+
66
+ def _set_focus(self, value:bool) -> bool:
67
+ if self._focus != value:
68
+ self.dispatch(f"on_cursor_{"enter" if value else "leave"}")
69
+
70
+ self._focus = value
71
+
72
+ return True
73
+
74
+ focus = AliasProperty(_get_focus, _set_focus)
75
+ """Check whether or not the window currently has focus.
76
+
77
+ :attr:`focus` is a :class:`~kivy.properties.AliasProperty` and defaults to False."""
78
+
79
+ def _do_mouse_move(self, instance:object, mouse_pos:tuple[float, float]) -> None:
80
+ # TODO: Modifiers not properly implemented, for now is an empty list
81
+ self.dispatch("on_mouse_move", mouse_pos)
82
+ # self.dispatch("on_mouse_move", self.mouse_x, self.mouse_y, [])
83
+
84
+ def on_cursor_enter(self, *args) -> None:
85
+ """Event called when the cursor enters the window."""
86
+ pass
87
+
88
+ def on_cursor_leave(self, *args) -> None:
89
+ """Event called when the cursor leaves the window."""
90
+ pass
91
+
92
+ def on_mouse_move(self, mouse_pos:tuple[float, float]) -> None:
93
+ """Event called when the mouse is moved across the window."""
94
+ pass
95
+
96
+
97
+ #// GLOBAL VARIABLES
98
+ Window = WindowAdapter()
@@ -9,8 +9,8 @@ __all__ = (
9
9
  #//| Version variables
10
10
  #//|>--------------------------------------------------------<|
11
11
  MAJOR: int = 0
12
- MINOR: int = 0
13
- MICRO: int = 3
12
+ MINOR: int = 10
13
+ MICRO: int = 5
14
14
  VERSION_STRING: str = f"{MAJOR}.{MINOR}.{MICRO}"
15
15
 
16
16
 
@@ -21,9 +21,9 @@ RELEASE: bool = False
21
21
 
22
22
  # If is not the stable release, update `VERSION_STRING` to reflect that
23
23
  if not RELEASE:
24
- VERSION_STRING.join(f".dev{max(1, REVISION)}")
24
+ VERSION_STRING = f"{VERSION_STRING}.dev{max(1, REVISION)}"
25
25
  elif REVISION:
26
- VERSION_STRING.join(f".{REVISION}")
26
+ VERSION_STRING = f"{VERSION_STRING}.rev{REVISION}"
27
27
 
28
28
 
29
29
  #//| exec'd from setup.py ?
@@ -0,0 +1,49 @@
1
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
2
+ #//| Copyright (c) 25 Sep 2026. All rights are reserved by ASI
3
+ #//|>-----------------------------------------------------------------------------------------------------------------<|
4
+ # noinspection SpellCheckingInspection
5
+ """
6
+ This module provides the KivyDK-specific :class:`App` implementation responsible for preparing
7
+ and maintaining the runtime environment required by KivyDK. It initializes internal managers,
8
+ registers event systems such as the :class:`PointerManager` and serves as the integration point
9
+ for framework-level features including the settings panel, theme management and tool execution utilities.
10
+ """
11
+ __all__ = ("App",)
12
+
13
+ #// IMPORT
14
+ from kivy.app import App as App_kivy
15
+
16
+ from kivydk.manager.pointer import PointerManager
17
+ from kivydk.manager.tooltip import TooltipManager
18
+
19
+
20
+ #// LOGIC
21
+ class App(App_kivy):
22
+ """
23
+ KiviDK application class extending Kivy's :class:`~kivy.app.App`.
24
+
25
+ It ensures that KiviDK specific managers are properly initialized and registered with the
26
+ window system, allowing the framework's internal logic such as pointer routing or tooltip
27
+ to operate correctly during the application's lifecycle.
28
+ """
29
+
30
+ def __init__(self, **kwargs) -> None:
31
+ super().__init__(**kwargs)
32
+
33
+ # Private variables
34
+ self.__kdk_pointer_manager: PointerManager = PointerManager()
35
+ self.__kdk_tooltip_manager: TooltipManager = TooltipManager()
36
+
37
+ def _run_prepare(self) -> None:
38
+ """ Prepare the current application for the main loop. """
39
+ super()._run_prepare()
40
+
41
+ self.root_window.register_event_manager(self.__kdk_pointer_manager)
42
+ self.root_window.register_event_manager(self.__kdk_tooltip_manager)
43
+
44
+ def _stop(self, *args) -> None:
45
+ """ Stop the current application by leaving the main loop. """
46
+ self.root_window.unregister_event_manager(self.__kdk_pointer_manager)
47
+ self.root_window.unregister_event_manager(self.__kdk_tooltip_manager)
48
+
49
+ super()._stop(*args)
@@ -1,93 +1,93 @@
1
- Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
-
3
- This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
- This license is copied below, and is also available with a FAQ at:
5
- https://openfontlicense.org
6
-
7
-
8
- -----------------------------------------------------------
9
- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
- -----------------------------------------------------------
11
-
12
- PREAMBLE
13
- The goals of the Open Font License (OFL) are to stimulate worldwide
14
- development of collaborative font projects, to support the font creation
15
- efforts of academic and linguistic communities, and to provide a free and
16
- open framework in which fonts may be shared and improved in partnership
17
- with others.
18
-
19
- The OFL allows the licensed fonts to be used, studied, modified and
20
- redistributed freely as long as they are not sold by themselves. The
21
- fonts, including any derivative works, can be bundled, embedded,
22
- redistributed and/or sold with any software provided that any reserved
23
- names are not used by derivative works. The fonts and derivatives,
24
- however, cannot be released under any other type of license. The
25
- requirement for fonts to remain under this license does not apply
26
- to any document created using the fonts or their derivatives.
27
-
28
- DEFINITIONS
29
- "Font Software" refers to the set of files released by the Copyright
30
- Holder(s) under this license and clearly marked as such. This may
31
- include source files, build scripts and documentation.
32
-
33
- "Reserved Font Name" refers to any names specified as such after the
34
- copyright statement(s).
35
-
36
- "Original Version" refers to the collection of Font Software components as
37
- distributed by the Copyright Holder(s).
38
-
39
- "Modified Version" refers to any derivative made by adding to, deleting,
40
- or substituting -- in part or in whole -- any of the components of the
41
- Original Version, by changing formats or by porting the Font Software to a
42
- new environment.
43
-
44
- "Author" refers to any designer, engineer, programmer, technical
45
- writer or other person who contributed to the Font Software.
46
-
47
- PERMISSION & CONDITIONS
48
- Permission is hereby granted, free of charge, to any person obtaining
49
- a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
- redistribute, and sell modified and unmodified copies of the Font
51
- Software, subject to the following conditions:
52
-
53
- 1) Neither the Font Software nor any of its individual components,
54
- in Original or Modified Versions, may be sold by itself.
55
-
56
- 2) Original or Modified Versions of the Font Software may be bundled,
57
- redistributed and/or sold with any software, provided that each copy
58
- contains the above copyright notice and this license. These can be
59
- included either as stand-alone text files, human-readable headers or
60
- in the appropriate machine-readable metadata fields within text or
61
- binary files as long as those fields can be easily viewed by the user.
62
-
63
- 3) No Modified Version of the Font Software may use the Reserved Font
64
- Name(s) unless explicit written permission is granted by the corresponding
65
- Copyright Holder. This restriction only applies to the primary font name as
66
- presented to the users.
67
-
68
- 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
- Software shall not be used to promote, endorse or advertise any
70
- Modified Version, except to acknowledge the contribution(s) of the
71
- Copyright Holder(s) and the Author(s) or with their explicit written
72
- permission.
73
-
74
- 5) The Font Software, modified or unmodified, in part or in whole,
75
- must be distributed entirely under this license, and must not be
76
- distributed under any other license. The requirement for fonts to
77
- remain under this license does not apply to any document created
78
- using the Font Software.
79
-
80
- TERMINATION
81
- This license becomes null and void if any of the above conditions are
82
- not met.
83
-
84
- DISCLAIMER
85
- THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
- OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
- COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
- INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
- DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
- FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
- OTHER DEALINGS IN THE FONT SOFTWARE.
1
+ Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://openfontlicense.org
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.