winrt-Windows.UI.WindowManagement 2.0.0b1__tar.gz → 2.0.1__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 (21) hide show
  1. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/PKG-INFO +9 -2
  2. winrt_windows_ui_windowmanagement-2.0.1/all-requirements.txt +7 -0
  3. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/py.Windows.UI.WindowManagement.cpp +1 -1
  4. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/pyproject.toml +7 -4
  5. winrt_windows_ui_windowmanagement-2.0.1/pywinrt-version.txt +1 -0
  6. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/requirements.txt +2 -2
  7. winrt_windows_ui_windowmanagement-2.0.1/setup.py +31 -0
  8. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/winrt/_winrt_windows_ui_windowmanagement.pyi +23 -1
  9. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/winrt/windows/ui/windowmanagement/__init__.py +1 -1
  10. winrt_windows_ui_windowmanagement-2.0.1/winrt/windows/ui/windowmanagement/py.typed +0 -0
  11. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/winrt_Windows.UI.WindowManagement.egg-info/PKG-INFO +9 -2
  12. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/winrt_Windows.UI.WindowManagement.egg-info/SOURCES.txt +1 -0
  13. winrt_windows_ui_windowmanagement-2.0.1/winrt_Windows.UI.WindowManagement.egg-info/requires.txt +8 -0
  14. winrt-Windows.UI.WindowManagement-2.0.0b1/all-requirements.txt +0 -7
  15. winrt-Windows.UI.WindowManagement-2.0.0b1/pywinrt-version.txt +0 -1
  16. winrt-Windows.UI.WindowManagement-2.0.0b1/setup.py +0 -17
  17. winrt-Windows.UI.WindowManagement-2.0.0b1/winrt_Windows.UI.WindowManagement.egg-info/requires.txt +0 -8
  18. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/README.md +0 -0
  19. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/setup.cfg +0 -0
  20. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/winrt_Windows.UI.WindowManagement.egg-info/dependency_links.txt +0 -0
  21. {winrt-Windows.UI.WindowManagement-2.0.0b1 → winrt_windows_ui_windowmanagement-2.0.1}/winrt_Windows.UI.WindowManagement.egg-info/top_level.txt +0 -0
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.WindowManagement
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.Composition[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -0,0 +1,7 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
+
3
+ winrt-Windows.Foundation[all]==2.0.1
4
+ winrt-Windows.Foundation.Collections[all]==2.0.1
5
+ winrt-Windows.System[all]==2.0.1
6
+ winrt-Windows.UI[all]==2.0.1
7
+ winrt-Windows.UI.Composition[all]==2.0.1
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  #include "py.Windows.UI.WindowManagement.h"
4
4
 
@@ -1,7 +1,7 @@
1
1
  # WARNING: Please don't edit this file. It was automatically generated.
2
2
 
3
3
  [build-system]
4
- requires = ["setuptools", "setuptools-scm", "winrt-sdk"]
4
+ requires = ["setuptools", "winrt-sdk"]
5
5
  build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
@@ -19,9 +19,9 @@ dynamic = ["version", "dependencies", "optional-dependencies"]
19
19
  requires-python = ">=3.9,<3.13"
20
20
 
21
21
  [project.urls]
22
- # Homepage = "https://github.com/pywrint/pywrinrt"
23
- # Documentation = "https://readthedocs.org"
24
- Repository = "https://github.com/pywrint/pywrinrt"
22
+ # Homepage = "https://github.com/pywinrt/pywinrt"
23
+ Documentation = "https://pywinrt.readthedocs.io"
24
+ Repository = "https://github.com/pywinrt/pywinrt"
25
25
  Changelog = "https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md"
26
26
 
27
27
  [tool.setuptools.dynamic]
@@ -29,6 +29,9 @@ version = { file = "pywinrt-version.txt" }
29
29
  dependencies = { file = "requirements.txt" }
30
30
  optional-dependencies.all = { file = "all-requirements.txt" }
31
31
 
32
+ [tool.setuptools.package-data]
33
+ "*" = ["*.pyi", "py.typed"]
34
+
32
35
  [tool.cibuildwheel]
33
36
  # use local winrt-sdk build dependency
34
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
- winrt-runtime==2.0.0-beta.1
3
+ winrt-runtime==2.0.1
@@ -0,0 +1,31 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ from setuptools import Extension, setup
4
+ from setuptools.command.build_ext import build_ext
5
+ from winrt_sdk import get_include_dirs
6
+
7
+
8
+ class build_ext_ex(build_ext):
9
+ def build_extension(self, ext):
10
+ if self.compiler.compiler_type == "msvc":
11
+ ext.extra_compile_args = ["/std:c++20", "/permissive-"]
12
+ elif self.compiler.compiler_type == "mingw32":
13
+ ext.extra_compile_args = ["-std=c++20", "-D_WIN32_WINNT=_WIN32_WINNT_WIN10"]
14
+ ext.extra_link_args = ["-loleaut32"]
15
+ else:
16
+ raise ValueError(f"Unsupported compiler: {self.compiler.compiler_type}")
17
+
18
+ build_ext.build_extension(self, ext)
19
+
20
+
21
+ setup(
22
+ cmdclass = {'build_ext': build_ext_ex},
23
+ ext_modules=[
24
+ Extension(
25
+ "winrt._winrt_windows_ui_windowmanagement",
26
+ sources=["py.Windows.UI.WindowManagement.cpp"],
27
+ include_dirs=get_include_dirs(),
28
+ libraries=["windowsapp"],
29
+ )
30
+ ],
31
+ )
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -19,11 +19,13 @@ from winrt.windows.ui.windowmanagement import AppWindowClosedReason, AppWindowFr
19
19
 
20
20
  Self = typing.TypeVar('Self')
21
21
 
22
+ @typing.final
22
23
  class AppWindow_Static(type):
23
24
  def clear_all_persisted_state(cls) -> None: ...
24
25
  def clear_persisted_state(cls, key: str, /) -> None: ...
25
26
  def try_create_async(cls) -> winrt.windows.foundation.IAsyncOperation[AppWindow]: ...
26
27
 
28
+ @typing.final
27
29
  class AppWindow(winrt.system.Object, metaclass=AppWindow_Static):
28
30
  @staticmethod
29
31
  def _from(obj: winrt.system.Object, /) -> AppWindow: ...
@@ -69,6 +71,7 @@ class AppWindow(winrt.system.Object, metaclass=AppWindow_Static):
69
71
  @_property
70
72
  def windowing_environment(self) -> typing.Optional[WindowingEnvironment]: ...
71
73
 
74
+ @typing.final
72
75
  class AppWindowChangedEventArgs(winrt.system.Object):
73
76
  @staticmethod
74
77
  def _from(obj: winrt.system.Object, /) -> AppWindowChangedEventArgs: ...
@@ -89,6 +92,7 @@ class AppWindowChangedEventArgs(winrt.system.Object):
89
92
  @_property
90
93
  def did_windowing_environment_change(self) -> bool: ...
91
94
 
95
+ @typing.final
92
96
  class AppWindowCloseRequestedEventArgs(winrt.system.Object):
93
97
  @staticmethod
94
98
  def _from(obj: winrt.system.Object, /) -> AppWindowCloseRequestedEventArgs: ...
@@ -98,12 +102,14 @@ class AppWindowCloseRequestedEventArgs(winrt.system.Object):
98
102
  @cancel.setter
99
103
  def cancel(self, value: bool) -> None: ...
100
104
 
105
+ @typing.final
101
106
  class AppWindowClosedEventArgs(winrt.system.Object):
102
107
  @staticmethod
103
108
  def _from(obj: winrt.system.Object, /) -> AppWindowClosedEventArgs: ...
104
109
  @_property
105
110
  def reason(self) -> AppWindowClosedReason: ...
106
111
 
112
+ @typing.final
107
113
  class AppWindowFrame(winrt.system.Object):
108
114
  @staticmethod
109
115
  def _from(obj: winrt.system.Object, /) -> AppWindowFrame: ...
@@ -112,6 +118,7 @@ class AppWindowFrame(winrt.system.Object):
112
118
  @_property
113
119
  def drag_region_visuals(self) -> typing.Optional[winrt.windows.foundation.collections.IVector[winrt.windows.ui.composition.IVisualElement]]: ...
114
120
 
121
+ @typing.final
115
122
  class AppWindowPlacement(winrt.system.Object):
116
123
  @staticmethod
117
124
  def _from(obj: winrt.system.Object, /) -> AppWindowPlacement: ...
@@ -122,12 +129,14 @@ class AppWindowPlacement(winrt.system.Object):
122
129
  @_property
123
130
  def size(self) -> winrt.windows.foundation.Size: ...
124
131
 
132
+ @typing.final
125
133
  class AppWindowPresentationConfiguration(winrt.system.Object):
126
134
  @staticmethod
127
135
  def _from(obj: winrt.system.Object, /) -> AppWindowPresentationConfiguration: ...
128
136
  @_property
129
137
  def kind(self) -> AppWindowPresentationKind: ...
130
138
 
139
+ @typing.final
131
140
  class AppWindowPresenter(winrt.system.Object):
132
141
  @staticmethod
133
142
  def _from(obj: winrt.system.Object, /) -> AppWindowPresenter: ...
@@ -135,6 +144,7 @@ class AppWindowPresenter(winrt.system.Object):
135
144
  def is_presentation_supported(self, presentation_kind: AppWindowPresentationKind, /) -> bool: ...
136
145
  def request_presentation(self, presentation_kind: AppWindowPresentationKind, /) -> bool: ...
137
146
 
147
+ @typing.final
138
148
  class AppWindowTitleBar(winrt.system.Object):
139
149
  @staticmethod
140
150
  def _from(obj: winrt.system.Object, /) -> AppWindowTitleBar: ...
@@ -196,22 +206,26 @@ class AppWindowTitleBar(winrt.system.Object):
196
206
  @_property
197
207
  def is_visible(self) -> bool: ...
198
208
 
209
+ @typing.final
199
210
  class AppWindowTitleBarOcclusion(winrt.system.Object):
200
211
  @staticmethod
201
212
  def _from(obj: winrt.system.Object, /) -> AppWindowTitleBarOcclusion: ...
202
213
  @_property
203
214
  def occluding_rect(self) -> winrt.windows.foundation.Rect: ...
204
215
 
216
+ @typing.final
205
217
  class CompactOverlayPresentationConfiguration(winrt.system.Object):
206
218
  @staticmethod
207
219
  def _from(obj: winrt.system.Object, /) -> CompactOverlayPresentationConfiguration: ...
208
220
  def __new__(cls: typing.Type[CompactOverlayPresentationConfiguration]) -> CompactOverlayPresentationConfiguration:...
209
221
 
222
+ @typing.final
210
223
  class DefaultPresentationConfiguration(winrt.system.Object):
211
224
  @staticmethod
212
225
  def _from(obj: winrt.system.Object, /) -> DefaultPresentationConfiguration: ...
213
226
  def __new__(cls: typing.Type[DefaultPresentationConfiguration]) -> DefaultPresentationConfiguration:...
214
227
 
228
+ @typing.final
215
229
  class DisplayRegion(winrt.system.Object):
216
230
  @staticmethod
217
231
  def _from(obj: winrt.system.Object, /) -> DisplayRegion: ...
@@ -228,6 +242,7 @@ class DisplayRegion(winrt.system.Object):
228
242
  @_property
229
243
  def work_area_size(self) -> winrt.windows.foundation.Size: ...
230
244
 
245
+ @typing.final
231
246
  class FullScreenPresentationConfiguration(winrt.system.Object):
232
247
  @staticmethod
233
248
  def _from(obj: winrt.system.Object, /) -> FullScreenPresentationConfiguration: ...
@@ -237,19 +252,23 @@ class FullScreenPresentationConfiguration(winrt.system.Object):
237
252
  @is_exclusive.setter
238
253
  def is_exclusive(self, value: bool) -> None: ...
239
254
 
255
+ @typing.final
240
256
  class WindowServices_Static(type):
241
257
  def find_all_top_level_window_ids(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.ui.WindowId]]: ...
242
258
 
259
+ @typing.final
243
260
  class WindowServices(winrt.system.Object, metaclass=WindowServices_Static):
244
261
  @staticmethod
245
262
  def _from(obj: winrt.system.Object, /) -> WindowServices: ...
246
263
 
264
+ @typing.final
247
265
  class WindowingEnvironment_Static(type):
248
266
  @typing.overload
249
267
  def find_all(cls) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[WindowingEnvironment]]: ...
250
268
  @typing.overload
251
269
  def find_all(cls, kind: WindowingEnvironmentKind, /) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[WindowingEnvironment]]: ...
252
270
 
271
+ @typing.final
253
272
  class WindowingEnvironment(winrt.system.Object, metaclass=WindowingEnvironment_Static):
254
273
  @staticmethod
255
274
  def _from(obj: winrt.system.Object, /) -> WindowingEnvironment: ...
@@ -261,16 +280,19 @@ class WindowingEnvironment(winrt.system.Object, metaclass=WindowingEnvironment_S
261
280
  @_property
262
281
  def kind(self) -> WindowingEnvironmentKind: ...
263
282
 
283
+ @typing.final
264
284
  class WindowingEnvironmentAddedEventArgs(winrt.system.Object):
265
285
  @staticmethod
266
286
  def _from(obj: winrt.system.Object, /) -> WindowingEnvironmentAddedEventArgs: ...
267
287
  @_property
268
288
  def windowing_environment(self) -> typing.Optional[WindowingEnvironment]: ...
269
289
 
290
+ @typing.final
270
291
  class WindowingEnvironmentChangedEventArgs(winrt.system.Object):
271
292
  @staticmethod
272
293
  def _from(obj: winrt.system.Object, /) -> WindowingEnvironmentChangedEventArgs: ...
273
294
 
295
+ @typing.final
274
296
  class WindowingEnvironmentRemovedEventArgs(winrt.system.Object):
275
297
  @staticmethod
276
298
  def _from(obj: winrt.system.Object, /) -> WindowingEnvironmentRemovedEventArgs: ...
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.1
2
2
 
3
3
  import enum
4
4
 
@@ -1,9 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.UI.WindowManagement
3
- Version: 2.0.0b1
3
+ Version: 2.0.1
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
- Project-URL: Repository, https://github.com/pywrint/pywrinrt
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
8
  Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
9
  Classifier: Operating System :: Microsoft :: Windows
9
10
  Classifier: Programming Language :: Python :: 3
@@ -11,7 +12,13 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
11
12
  Classifier: Intended Audience :: Developers
12
13
  Requires-Python: <3.13,>=3.9
13
14
  Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime==2.0.1
14
16
  Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.0.1; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.0.1; extra == "all"
19
+ Requires-Dist: winrt-Windows.System[all]==2.0.1; extra == "all"
20
+ Requires-Dist: winrt-Windows.UI[all]==2.0.1; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.Composition[all]==2.0.1; extra == "all"
15
22
 
16
23
  <!-- warning: Please don't edit this file. It was automatically generated. -->
17
24
 
@@ -7,6 +7,7 @@ requirements.txt
7
7
  setup.py
8
8
  winrt/_winrt_windows_ui_windowmanagement.pyi
9
9
  winrt/windows/ui/windowmanagement/__init__.py
10
+ winrt/windows/ui/windowmanagement/py.typed
10
11
  winrt_Windows.UI.WindowManagement.egg-info/PKG-INFO
11
12
  winrt_Windows.UI.WindowManagement.egg-info/SOURCES.txt
12
13
  winrt_Windows.UI.WindowManagement.egg-info/dependency_links.txt
@@ -0,0 +1,8 @@
1
+ winrt-runtime==2.0.1
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.0.1
5
+ winrt-Windows.Foundation.Collections[all]==2.0.1
6
+ winrt-Windows.System[all]==2.0.1
7
+ winrt-Windows.UI[all]==2.0.1
8
+ winrt-Windows.UI.Composition[all]==2.0.1
@@ -1,7 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
-
3
- winrt-Windows.Foundation[all]==2.0.0-beta.1
4
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
5
- winrt-Windows.System[all]==2.0.0-beta.1
6
- winrt-Windows.UI[all]==2.0.0-beta.1
7
- winrt-Windows.UI.Composition[all]==2.0.0-beta.1
@@ -1 +0,0 @@
1
- 2.0.0-beta.1
@@ -1,17 +0,0 @@
1
- # WARNING: Please don't edit this file. It was automatically generated.
2
-
3
- from setuptools import Extension, setup
4
- from winrt_sdk import get_include_dirs
5
-
6
- setup(
7
- ext_modules=[
8
- Extension(
9
- "winrt._winrt_windows_ui_windowmanagement",
10
- sources=["py.Windows.UI.WindowManagement.cpp"],
11
- include_dirs=get_include_dirs(),
12
- extra_compile_args=["/std:c++20", "/permissive-"],
13
- libraries=["windowsapp"],
14
- )
15
- ],
16
- package_data={"winrt": ["*.pyi"]},
17
- )
@@ -1,8 +0,0 @@
1
- winrt-runtime==2.0.0-beta.1
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.0.0-beta.1
5
- winrt-Windows.Foundation.Collections[all]==2.0.0-beta.1
6
- winrt-Windows.System[all]==2.0.0-beta.1
7
- winrt-Windows.UI[all]==2.0.0-beta.1
8
- winrt-Windows.UI.Composition[all]==2.0.0-beta.1