winrt-Windows.UI.WindowManagement 4!10.0.28000.2705.1__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.
@@ -0,0 +1,35 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "AppWindowClosedReason",
10
+ "AppWindowFrameStyle",
11
+ "AppWindowPresentationKind",
12
+ "AppWindowTitleBarVisibility",
13
+ "WindowingEnvironmentKind",
14
+ "AppWindow",
15
+ "AppWindowChangedEventArgs",
16
+ "AppWindowCloseRequestedEventArgs",
17
+ "AppWindowClosedEventArgs",
18
+ "AppWindowFrame",
19
+ "AppWindowPlacement",
20
+ "AppWindowPresentationConfiguration",
21
+ "AppWindowPresenter",
22
+ "AppWindowTitleBar",
23
+ "AppWindowTitleBarOcclusion",
24
+ "CompactOverlayPresentationConfiguration",
25
+ "DefaultPresentationConfiguration",
26
+ "DisplayRegion",
27
+ "FullScreenPresentationConfiguration",
28
+ "WindowServices",
29
+ "WindowingEnvironment",
30
+ "WindowingEnvironmentAddedEventArgs",
31
+ "WindowingEnvironmentChangedEventArgs",
32
+ "WindowingEnvironmentRemovedEventArgs",
33
+ ]
34
+
35
+ winrt.runtime._internals.alias_static_method(WindowingEnvironment, "find_all_with_kind", "find_all")
@@ -0,0 +1,453 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+ from typing_extensions import deprecated
8
+
9
+ import winrt.system
10
+ import winrt.windows.foundation as windows_foundation
11
+ import winrt.windows.foundation.collections as windows_foundation_collections
12
+ import winrt.windows.system as windows_system
13
+ import winrt.windows.ui as windows_ui
14
+ import winrt.windows.ui.composition as windows_ui_composition
15
+
16
+ __all__ = [
17
+ "AppWindowClosedReason",
18
+ "AppWindowFrameStyle",
19
+ "AppWindowPresentationKind",
20
+ "AppWindowTitleBarVisibility",
21
+ "WindowingEnvironmentKind",
22
+ "AppWindow",
23
+ "AppWindowChangedEventArgs",
24
+ "AppWindowCloseRequestedEventArgs",
25
+ "AppWindowClosedEventArgs",
26
+ "AppWindowFrame",
27
+ "AppWindowPlacement",
28
+ "AppWindowPresentationConfiguration",
29
+ "AppWindowPresenter",
30
+ "AppWindowTitleBar",
31
+ "AppWindowTitleBarOcclusion",
32
+ "CompactOverlayPresentationConfiguration",
33
+ "DefaultPresentationConfiguration",
34
+ "DisplayRegion",
35
+ "FullScreenPresentationConfiguration",
36
+ "WindowServices",
37
+ "WindowingEnvironment",
38
+ "WindowingEnvironmentAddedEventArgs",
39
+ "WindowingEnvironmentChangedEventArgs",
40
+ "WindowingEnvironmentRemovedEventArgs",
41
+ ]
42
+
43
+ class AppWindowClosedReason(enum.IntEnum):
44
+ OTHER = 0
45
+ APP_INITIATED = 1
46
+ USER_INITIATED = 2
47
+
48
+ class AppWindowFrameStyle(enum.IntEnum):
49
+ DEFAULT = 0
50
+ NO_FRAME = 1
51
+
52
+ class AppWindowPresentationKind(enum.IntEnum):
53
+ DEFAULT = 0
54
+ COMPACT_OVERLAY = 1
55
+ FULL_SCREEN = 2
56
+
57
+ class AppWindowTitleBarVisibility(enum.IntEnum):
58
+ DEFAULT = 0
59
+ ALWAYS_HIDDEN = 1
60
+
61
+ class WindowingEnvironmentKind(enum.IntEnum):
62
+ UNKNOWN = 0
63
+ OVERLAPPED = 1
64
+ TILED = 2
65
+
66
+ @typing.final
67
+ class AppWindow_Static(winrt.system.Object_Static):
68
+ # System.Void Windows.UI.WindowManagement.AppWindow::ClearAllPersistedState()
69
+ def clear_all_persisted_state(cls) -> None: ...
70
+ # System.Void Windows.UI.WindowManagement.AppWindow::ClearPersistedState(System.String)
71
+ def clear_persisted_state(cls, key: str, /) -> None: ...
72
+ # Windows.Foundation.IAsyncOperation`1<Windows.UI.WindowManagement.AppWindow> Windows.UI.WindowManagement.AppWindow::TryCreateAsync()
73
+ def try_create_async(cls) -> windows_foundation.IAsyncOperation[AppWindow | None]: ...
74
+
75
+ @typing.final
76
+ class AppWindow(winrt.system.Object, metaclass=AppWindow_Static):
77
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
78
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
79
+ # Windows.Foundation.IAsyncAction Windows.UI.WindowManagement.AppWindow::CloseAsync()
80
+ def close_async(self) -> windows_foundation.IAsyncAction: ...
81
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.DisplayRegion> Windows.UI.WindowManagement.AppWindow::GetDisplayRegions()
82
+ def get_display_regions(self) -> _cabc.Sequence[DisplayRegion]: ...
83
+ # Windows.UI.WindowManagement.AppWindowPlacement Windows.UI.WindowManagement.AppWindow::GetPlacement()
84
+ def get_placement(self) -> AppWindowPlacement: ...
85
+ # System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveAdjacentToCurrentView()
86
+ def request_move_adjacent_to_current_view(self) -> None: ...
87
+ # System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveAdjacentToWindow(Windows.UI.WindowManagement.AppWindow)
88
+ def request_move_adjacent_to_window(self, anchor_window: AppWindow, /) -> None: ...
89
+ # System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveRelativeToCurrentViewContent(Windows.Foundation.Point)
90
+ def request_move_relative_to_current_view_content(self, content_offset: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
91
+ # System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveRelativeToDisplayRegion(Windows.UI.WindowManagement.DisplayRegion,Windows.Foundation.Point)
92
+ def request_move_relative_to_display_region(self, display_region: DisplayRegion, display_region_offset: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
93
+ # System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveRelativeToWindowContent(Windows.UI.WindowManagement.AppWindow,Windows.Foundation.Point)
94
+ def request_move_relative_to_window_content(self, anchor_window: AppWindow, content_offset: windows_foundation.Point | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
95
+ # System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveToDisplayRegion(Windows.UI.WindowManagement.DisplayRegion)
96
+ def request_move_to_display_region(self, display_region: DisplayRegion, /) -> None: ...
97
+ # System.Void Windows.UI.WindowManagement.AppWindow::RequestSize(Windows.Foundation.Size)
98
+ def request_size(self, frame_size: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
99
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.WindowManagement.AppWindow::TryShowAsync()
100
+ def try_show_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
101
+ # Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.AppWindow::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.AppWindow,Windows.UI.WindowManagement.AppWindowChangedEventArgs>)
102
+ def add_changed(self, handler: windows_foundation.TypedEventHandler[AppWindow, AppWindowChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
103
+ # System.Void Windows.UI.WindowManagement.AppWindow::remove_Changed(Windows.Foundation.EventRegistrationToken)
104
+ def remove_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
105
+ # Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.AppWindow::add_CloseRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.AppWindow,Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs>)
106
+ def add_close_requested(self, handler: windows_foundation.TypedEventHandler[AppWindow, AppWindowCloseRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
107
+ # System.Void Windows.UI.WindowManagement.AppWindow::remove_CloseRequested(Windows.Foundation.EventRegistrationToken)
108
+ def remove_close_requested(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
109
+ # Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.AppWindow::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.AppWindow,Windows.UI.WindowManagement.AppWindowClosedEventArgs>)
110
+ def add_closed(self, handler: windows_foundation.TypedEventHandler[AppWindow, AppWindowClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
111
+ # System.Void Windows.UI.WindowManagement.AppWindow::remove_Closed(Windows.Foundation.EventRegistrationToken)
112
+ def remove_closed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
113
+ # System.String Windows.UI.WindowManagement.AppWindow::get_Title()
114
+ @_property
115
+ def title(self) -> str: ...
116
+ # System.Void Windows.UI.WindowManagement.AppWindow::put_Title(System.String)
117
+ @title.setter
118
+ def title(self, value: str) -> None: ...
119
+ # System.String Windows.UI.WindowManagement.AppWindow::get_PersistedStateId()
120
+ @_property
121
+ def persisted_state_id(self) -> str: ...
122
+ # System.Void Windows.UI.WindowManagement.AppWindow::put_PersistedStateId(System.String)
123
+ @persisted_state_id.setter
124
+ def persisted_state_id(self, value: str) -> None: ...
125
+ # Windows.UI.UIContentRoot Windows.UI.WindowManagement.AppWindow::get_Content()
126
+ @_property
127
+ def content(self) -> windows_ui.UIContentRoot: ...
128
+ # Windows.System.DispatcherQueue Windows.UI.WindowManagement.AppWindow::get_DispatcherQueue()
129
+ @_property
130
+ def dispatcher_queue(self) -> windows_system.DispatcherQueue: ...
131
+ # Windows.UI.WindowManagement.AppWindowFrame Windows.UI.WindowManagement.AppWindow::get_Frame()
132
+ @_property
133
+ def frame(self) -> AppWindowFrame: ...
134
+ # System.Boolean Windows.UI.WindowManagement.AppWindow::get_IsVisible()
135
+ @_property
136
+ def is_visible(self) -> bool: ...
137
+ # Windows.UI.WindowManagement.AppWindowPresenter Windows.UI.WindowManagement.AppWindow::get_Presenter()
138
+ @_property
139
+ def presenter(self) -> AppWindowPresenter: ...
140
+ # Windows.UI.WindowManagement.AppWindowTitleBar Windows.UI.WindowManagement.AppWindow::get_TitleBar()
141
+ @_property
142
+ def title_bar(self) -> AppWindowTitleBar: ...
143
+ # Windows.UI.UIContext Windows.UI.WindowManagement.AppWindow::get_UIContext()
144
+ @_property
145
+ def ui_context(self) -> windows_ui.UIContext: ...
146
+ # Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.AppWindow::get_WindowingEnvironment()
147
+ @_property
148
+ def windowing_environment(self) -> WindowingEnvironment: ...
149
+
150
+ @typing.final
151
+ class AppWindowChangedEventArgs(winrt.system.Object):
152
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
153
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
154
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidAvailableWindowPresentationsChange()
155
+ @_property
156
+ def did_available_window_presentations_change(self) -> bool: ...
157
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidDisplayRegionsChange()
158
+ @_property
159
+ def did_display_regions_change(self) -> bool: ...
160
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidFrameChange()
161
+ @_property
162
+ def did_frame_change(self) -> bool: ...
163
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidSizeChange()
164
+ @_property
165
+ def did_size_change(self) -> bool: ...
166
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidTitleBarChange()
167
+ @_property
168
+ def did_title_bar_change(self) -> bool: ...
169
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidVisibilityChange()
170
+ @_property
171
+ def did_visibility_change(self) -> bool: ...
172
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidWindowPresentationChange()
173
+ @_property
174
+ def did_window_presentation_change(self) -> bool: ...
175
+ # System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidWindowingEnvironmentChange()
176
+ @_property
177
+ def did_windowing_environment_change(self) -> bool: ...
178
+
179
+ @typing.final
180
+ class AppWindowCloseRequestedEventArgs(winrt.system.Object):
181
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
182
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
183
+ # Windows.Foundation.Deferral Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs::GetDeferral()
184
+ def get_deferral(self) -> windows_foundation.Deferral: ...
185
+ # System.Boolean Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs::get_Cancel()
186
+ @_property
187
+ def cancel(self) -> bool: ...
188
+ # System.Void Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs::put_Cancel(System.Boolean)
189
+ @cancel.setter
190
+ def cancel(self, value: bool) -> None: ...
191
+
192
+ @typing.final
193
+ class AppWindowClosedEventArgs(winrt.system.Object):
194
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
195
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
196
+ # Windows.UI.WindowManagement.AppWindowClosedReason Windows.UI.WindowManagement.AppWindowClosedEventArgs::get_Reason()
197
+ @_property
198
+ def reason(self) -> AppWindowClosedReason: ...
199
+
200
+ @typing.final
201
+ class AppWindowFrame(winrt.system.Object):
202
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
203
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
204
+ # Windows.UI.WindowManagement.AppWindowFrameStyle Windows.UI.WindowManagement.AppWindowFrame::GetFrameStyle()
205
+ def get_frame_style(self) -> AppWindowFrameStyle: ...
206
+ # System.Void Windows.UI.WindowManagement.AppWindowFrame::SetFrameStyle(Windows.UI.WindowManagement.AppWindowFrameStyle)
207
+ def set_frame_style(self, frame_style: AppWindowFrameStyle, /) -> None: ...
208
+ # Windows.Foundation.Collections.IVector`1<Windows.UI.Composition.IVisualElement> Windows.UI.WindowManagement.AppWindowFrame::get_DragRegionVisuals()
209
+ @_property
210
+ def drag_region_visuals(self) -> _cabc.MutableSequence[windows_ui_composition.IVisualElement]: ...
211
+
212
+ @typing.final
213
+ class AppWindowPlacement(winrt.system.Object):
214
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
215
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
216
+ # Windows.UI.WindowManagement.DisplayRegion Windows.UI.WindowManagement.AppWindowPlacement::get_DisplayRegion()
217
+ @_property
218
+ def display_region(self) -> DisplayRegion: ...
219
+ # Windows.Foundation.Point Windows.UI.WindowManagement.AppWindowPlacement::get_Offset()
220
+ @_property
221
+ def offset(self) -> windows_foundation.Point: ...
222
+ # Windows.Foundation.Size Windows.UI.WindowManagement.AppWindowPlacement::get_Size()
223
+ @_property
224
+ def size(self) -> windows_foundation.Size: ...
225
+
226
+ class AppWindowPresentationConfiguration_Static(winrt.system.Object_Static):
227
+ def __new__(mcls, name: str, bases: tuple[type, ...], namespace: dict[str, typing.Any], /, *, runtime_class_name: str = ...) -> AppWindowPresentationConfiguration_Static: ...
228
+
229
+ class AppWindowPresentationConfiguration(winrt.system.Object, metaclass=AppWindowPresentationConfiguration_Static):
230
+ def __init_subclass__(cls, *, runtime_class_name: str = ...) -> None: ...
231
+ def __init__(self, _: typing.Never, /) -> None:
232
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
233
+ # Windows.UI.WindowManagement.AppWindowPresentationKind Windows.UI.WindowManagement.AppWindowPresentationConfiguration::get_Kind()
234
+ @_property
235
+ @typing.final
236
+ def kind(self) -> AppWindowPresentationKind: ...
237
+
238
+ @typing.final
239
+ class AppWindowPresenter(winrt.system.Object):
240
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
241
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
242
+ # Windows.UI.WindowManagement.AppWindowPresentationConfiguration Windows.UI.WindowManagement.AppWindowPresenter::GetConfiguration()
243
+ def get_configuration(self) -> AppWindowPresentationConfiguration: ...
244
+ # System.Boolean Windows.UI.WindowManagement.AppWindowPresenter::IsPresentationSupported(Windows.UI.WindowManagement.AppWindowPresentationKind)
245
+ def is_presentation_supported(self, presentation_kind: AppWindowPresentationKind, /) -> bool: ...
246
+ # System.Boolean Windows.UI.WindowManagement.AppWindowPresenter::RequestPresentation(Windows.UI.WindowManagement.AppWindowPresentationConfiguration)
247
+ def request_presentation(self, configuration: AppWindowPresentationConfiguration, /) -> bool: ...
248
+ # System.Boolean Windows.UI.WindowManagement.AppWindowPresenter::RequestPresentation(Windows.UI.WindowManagement.AppWindowPresentationKind)
249
+ def request_presentation_by_kind(self, presentation_kind: AppWindowPresentationKind, /) -> bool: ...
250
+
251
+ @typing.final
252
+ class AppWindowTitleBar(winrt.system.Object):
253
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
254
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
255
+ # Windows.UI.WindowManagement.AppWindowTitleBarVisibility Windows.UI.WindowManagement.AppWindowTitleBar::GetPreferredVisibility()
256
+ def get_preferred_visibility(self) -> AppWindowTitleBarVisibility: ...
257
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.AppWindowTitleBarOcclusion> Windows.UI.WindowManagement.AppWindowTitleBar::GetTitleBarOcclusions()
258
+ def get_title_bar_occlusions(self) -> _cabc.Sequence[AppWindowTitleBarOcclusion]: ...
259
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::SetPreferredVisibility(Windows.UI.WindowManagement.AppWindowTitleBarVisibility)
260
+ def set_preferred_visibility(self, visibility_mode: AppWindowTitleBarVisibility, /) -> None: ...
261
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_InactiveForegroundColor()
262
+ @_property
263
+ def inactive_foreground_color(self) -> windows_ui.Color | None: ...
264
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_InactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
265
+ @inactive_foreground_color.setter
266
+ def inactive_foreground_color(self, value: windows_ui.Color | None) -> None: ...
267
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_InactiveBackgroundColor()
268
+ @_property
269
+ def inactive_background_color(self) -> windows_ui.Color | None: ...
270
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_InactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
271
+ @inactive_background_color.setter
272
+ def inactive_background_color(self, value: windows_ui.Color | None) -> None: ...
273
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ForegroundColor()
274
+ @_property
275
+ def foreground_color(self) -> windows_ui.Color | None: ...
276
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
277
+ @foreground_color.setter
278
+ def foreground_color(self, value: windows_ui.Color | None) -> None: ...
279
+ # System.Boolean Windows.UI.WindowManagement.AppWindowTitleBar::get_ExtendsContentIntoTitleBar()
280
+ @_property
281
+ def extends_content_into_title_bar(self) -> bool: ...
282
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ExtendsContentIntoTitleBar(System.Boolean)
283
+ @extends_content_into_title_bar.setter
284
+ def extends_content_into_title_bar(self, value: bool) -> None: ...
285
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonPressedForegroundColor()
286
+ @_property
287
+ def button_pressed_foreground_color(self) -> windows_ui.Color | None: ...
288
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonPressedForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
289
+ @button_pressed_foreground_color.setter
290
+ def button_pressed_foreground_color(self, value: windows_ui.Color | None) -> None: ...
291
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonPressedBackgroundColor()
292
+ @_property
293
+ def button_pressed_background_color(self) -> windows_ui.Color | None: ...
294
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonPressedBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
295
+ @button_pressed_background_color.setter
296
+ def button_pressed_background_color(self, value: windows_ui.Color | None) -> None: ...
297
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonInactiveForegroundColor()
298
+ @_property
299
+ def button_inactive_foreground_color(self) -> windows_ui.Color | None: ...
300
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonInactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
301
+ @button_inactive_foreground_color.setter
302
+ def button_inactive_foreground_color(self, value: windows_ui.Color | None) -> None: ...
303
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonInactiveBackgroundColor()
304
+ @_property
305
+ def button_inactive_background_color(self) -> windows_ui.Color | None: ...
306
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonInactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
307
+ @button_inactive_background_color.setter
308
+ def button_inactive_background_color(self, value: windows_ui.Color | None) -> None: ...
309
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonHoverForegroundColor()
310
+ @_property
311
+ def button_hover_foreground_color(self) -> windows_ui.Color | None: ...
312
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonHoverForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
313
+ @button_hover_foreground_color.setter
314
+ def button_hover_foreground_color(self, value: windows_ui.Color | None) -> None: ...
315
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonHoverBackgroundColor()
316
+ @_property
317
+ def button_hover_background_color(self) -> windows_ui.Color | None: ...
318
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonHoverBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
319
+ @button_hover_background_color.setter
320
+ def button_hover_background_color(self, value: windows_ui.Color | None) -> None: ...
321
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonForegroundColor()
322
+ @_property
323
+ def button_foreground_color(self) -> windows_ui.Color | None: ...
324
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
325
+ @button_foreground_color.setter
326
+ def button_foreground_color(self, value: windows_ui.Color | None) -> None: ...
327
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonBackgroundColor()
328
+ @_property
329
+ def button_background_color(self) -> windows_ui.Color | None: ...
330
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
331
+ @button_background_color.setter
332
+ def button_background_color(self, value: windows_ui.Color | None) -> None: ...
333
+ # Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_BackgroundColor()
334
+ @_property
335
+ def background_color(self) -> windows_ui.Color | None: ...
336
+ # System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_BackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
337
+ @background_color.setter
338
+ def background_color(self, value: windows_ui.Color | None) -> None: ...
339
+ # System.Boolean Windows.UI.WindowManagement.AppWindowTitleBar::get_IsVisible()
340
+ @_property
341
+ def is_visible(self) -> bool: ...
342
+
343
+ @typing.final
344
+ class AppWindowTitleBarOcclusion(winrt.system.Object):
345
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
346
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
347
+ # Windows.Foundation.Rect Windows.UI.WindowManagement.AppWindowTitleBarOcclusion::get_OccludingRect()
348
+ @_property
349
+ def occluding_rect(self) -> windows_foundation.Rect: ...
350
+
351
+ @typing.final
352
+ class CompactOverlayPresentationConfiguration(AppWindowPresentationConfiguration):
353
+ def __init__(self) -> None: ...
354
+
355
+ @typing.final
356
+ class DefaultPresentationConfiguration(AppWindowPresentationConfiguration):
357
+ def __init__(self) -> None: ...
358
+
359
+ @typing.final
360
+ class DisplayRegion(winrt.system.Object):
361
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
362
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
363
+ # Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.DisplayRegion::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.DisplayRegion,System.Object>)
364
+ def add_changed(self, handler: windows_foundation.TypedEventHandler[DisplayRegion, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
365
+ # System.Void Windows.UI.WindowManagement.DisplayRegion::remove_Changed(Windows.Foundation.EventRegistrationToken)
366
+ def remove_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
367
+ # System.String Windows.UI.WindowManagement.DisplayRegion::get_DisplayMonitorDeviceId()
368
+ @_property
369
+ def display_monitor_device_id(self) -> str: ...
370
+ # System.Boolean Windows.UI.WindowManagement.DisplayRegion::get_IsVisible()
371
+ @_property
372
+ def is_visible(self) -> bool: ...
373
+ # Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.DisplayRegion::get_WindowingEnvironment()
374
+ @_property
375
+ def windowing_environment(self) -> WindowingEnvironment: ...
376
+ # Windows.Foundation.Point Windows.UI.WindowManagement.DisplayRegion::get_WorkAreaOffset()
377
+ @_property
378
+ def work_area_offset(self) -> windows_foundation.Point: ...
379
+ # Windows.Foundation.Size Windows.UI.WindowManagement.DisplayRegion::get_WorkAreaSize()
380
+ @_property
381
+ def work_area_size(self) -> windows_foundation.Size: ...
382
+
383
+ @typing.final
384
+ class FullScreenPresentationConfiguration(AppWindowPresentationConfiguration):
385
+ def __init__(self) -> None: ...
386
+ # System.Boolean Windows.UI.WindowManagement.FullScreenPresentationConfiguration::get_IsExclusive()
387
+ @_property
388
+ def is_exclusive(self) -> bool: ...
389
+ # System.Void Windows.UI.WindowManagement.FullScreenPresentationConfiguration::put_IsExclusive(System.Boolean)
390
+ @is_exclusive.setter
391
+ def is_exclusive(self, value: bool) -> None: ...
392
+
393
+ @typing.final
394
+ class WindowServices_Static(winrt.system.Object_Static):
395
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowId> Windows.UI.WindowManagement.WindowServices::FindAllTopLevelWindowIds()
396
+ def find_all_top_level_window_ids(cls) -> _cabc.Sequence[windows_ui.WindowId]: ...
397
+
398
+ @typing.final
399
+ class WindowServices(winrt.system.Object, metaclass=WindowServices_Static):
400
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
401
+ """A class of static members only, so there is nothing to create."""
402
+
403
+ @typing.final
404
+ class WindowingEnvironment_Static(winrt.system.Object_Static):
405
+ @typing.overload
406
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.WindowingEnvironment> Windows.UI.WindowManagement.WindowingEnvironment::FindAll()
407
+ def find_all(cls) -> _cabc.Sequence[WindowingEnvironment]: ...
408
+ @typing.overload
409
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.WindowingEnvironment> Windows.UI.WindowManagement.WindowingEnvironment::FindAll(Windows.UI.WindowManagement.WindowingEnvironmentKind)
410
+ def find_all(cls, kind: WindowingEnvironmentKind, /) -> _cabc.Sequence[WindowingEnvironment]: ...
411
+ # Deprecated alias of find_all() for pywinrt v3.x compatibility.
412
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.WindowingEnvironment> Windows.UI.WindowManagement.WindowingEnvironment::FindAll(Windows.UI.WindowManagement.WindowingEnvironmentKind)
413
+ @deprecated("Use find_all() instead.")
414
+ def find_all_with_kind(cls, kind: WindowingEnvironmentKind, /) -> _cabc.Sequence[WindowingEnvironment]: ...
415
+
416
+ @typing.final
417
+ class WindowingEnvironment(winrt.system.Object, metaclass=WindowingEnvironment_Static):
418
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
419
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
420
+ # Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.DisplayRegion> Windows.UI.WindowManagement.WindowingEnvironment::GetDisplayRegions()
421
+ def get_display_regions(self) -> _cabc.Sequence[DisplayRegion]: ...
422
+ # Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.WindowingEnvironment::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.WindowingEnvironment,Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs>)
423
+ def add_changed(self, handler: windows_foundation.TypedEventHandler[WindowingEnvironment, WindowingEnvironmentChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
424
+ # System.Void Windows.UI.WindowManagement.WindowingEnvironment::remove_Changed(Windows.Foundation.EventRegistrationToken)
425
+ def remove_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
426
+ # System.Boolean Windows.UI.WindowManagement.WindowingEnvironment::get_IsEnabled()
427
+ @_property
428
+ def is_enabled(self) -> bool: ...
429
+ # Windows.UI.WindowManagement.WindowingEnvironmentKind Windows.UI.WindowManagement.WindowingEnvironment::get_Kind()
430
+ @_property
431
+ def kind(self) -> WindowingEnvironmentKind: ...
432
+
433
+ @typing.final
434
+ class WindowingEnvironmentAddedEventArgs(winrt.system.Object):
435
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
436
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
437
+ # Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs::get_WindowingEnvironment()
438
+ @_property
439
+ def windowing_environment(self) -> WindowingEnvironment: ...
440
+
441
+ @typing.final
442
+ class WindowingEnvironmentChangedEventArgs(winrt.system.Object):
443
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
444
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
445
+
446
+ @typing.final
447
+ class WindowingEnvironmentRemovedEventArgs(winrt.system.Object):
448
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
449
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
450
+ # Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs::get_WindowingEnvironment()
451
+ @_property
452
+ def windowing_environment(self) -> WindowingEnvironment: ...
453
+
File without changes
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.UI.WindowManagement
3
+ Version: 4!10.0.28000.2705.1
4
+ Summary: PyWinRT projection of the Windows.UI.WindowManagement namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-ui-composition[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-ui[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
34
+
35
+ # winrt-Windows.UI.WindowManagement
36
+
37
+ Windows Runtime (WinRT) APIs for the `Windows.UI.WindowManagement` namespace.
38
+
39
+ This package provides the `winrt.windows.ui.windowmanagement` module.
40
+
41
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
42
+ `Microsoft.Windows.SDK.CPP` NuGet package.
43
+
44
+ ```
45
+ pip install winrt-Windows.UI.WindowManagement
46
+ ```
47
+
48
+ Other WinRT namespaces are packages of their own, so install the package of
49
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/ui/windowmanagement/__init__.py,sha256=k1SvlYAUPdebhmmBIOhBDf82rOJijCpm1ZPsani9_OE,1079
2
+ winrt/windows/ui/windowmanagement/__init__.pyi,sha256=D6Ora80bGwUvyk36pzpGw3XMMBz6cfTVwGfCSJHrYLw,29918
3
+ winrt/windows/ui/windowmanagement/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/ui/windowmanagement/_table.pywinrt,sha256=1BK39dgWkQeVWPk-lKuLZ4_zWBK8q6cGF_xMetVlTq4,43744
5
+ winrt_windows_ui_windowmanagement-4!10.0.28000.2705.1.dist-info/METADATA,sha256=t93wgtRuPCsq5eTLuA76XLHFt89oMnKidzejJSldLOE,2205
6
+ winrt_windows_ui_windowmanagement-4!10.0.28000.2705.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_ui_windowmanagement-4!10.0.28000.2705.1.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_ui_windowmanagement-4!10.0.28000.2705.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE