winrt-Windows.UI.WindowManagement 3.2.1__cp314-cp314-win32.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.
- winrt/_winrt_windows_ui_windowmanagement.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_ui_windowmanagement.pyi +372 -0
- winrt/windows/ui/windowmanagement/__init__.py +82 -0
- winrt/windows/ui/windowmanagement/py.typed +0 -0
- winrt_windows_ui_windowmanagement-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_ui_windowmanagement-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_windowmanagement-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_windowmanagement-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.system as windows_system
|
|
15
|
+
import winrt.windows.ui as windows_ui
|
|
16
|
+
import winrt.windows.ui.composition as windows_ui_composition
|
|
17
|
+
|
|
18
|
+
from winrt.windows.ui.windowmanagement import AppWindowClosedReason, AppWindowFrameStyle, AppWindowPresentationKind, AppWindowTitleBarVisibility, WindowingEnvironmentKind
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class AppWindow_Static(winrt._winrt.IInspectable_Static):
|
|
24
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::ClearAllPersistedState()
|
|
25
|
+
def clear_all_persisted_state(cls) -> None: ...
|
|
26
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::ClearPersistedState(System.String)
|
|
27
|
+
def clear_persisted_state(cls, key: str, /) -> None: ...
|
|
28
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.UI.WindowManagement.AppWindow> Windows.UI.WindowManagement.AppWindow::TryCreateAsync()
|
|
29
|
+
def try_create_async(cls) -> windows_foundation.IAsyncOperation[typing.Optional[AppWindow]]: ...
|
|
30
|
+
|
|
31
|
+
@typing.final
|
|
32
|
+
class AppWindow(winrt.system.Object, metaclass=AppWindow_Static):
|
|
33
|
+
# Windows.Foundation.IAsyncAction Windows.UI.WindowManagement.AppWindow::CloseAsync()
|
|
34
|
+
def close_async(self) -> windows_foundation.IAsyncAction: ...
|
|
35
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.DisplayRegion> Windows.UI.WindowManagement.AppWindow::GetDisplayRegions()
|
|
36
|
+
def get_display_regions(self) -> typing.Sequence[DisplayRegion]: ...
|
|
37
|
+
# Windows.UI.WindowManagement.AppWindowPlacement Windows.UI.WindowManagement.AppWindow::GetPlacement()
|
|
38
|
+
def get_placement(self) -> AppWindowPlacement: ...
|
|
39
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveAdjacentToCurrentView()
|
|
40
|
+
def request_move_adjacent_to_current_view(self) -> None: ...
|
|
41
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveAdjacentToWindow(Windows.UI.WindowManagement.AppWindow)
|
|
42
|
+
def request_move_adjacent_to_window(self, anchor_window: AppWindow, /) -> None: ...
|
|
43
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveRelativeToCurrentViewContent(Windows.Foundation.Point)
|
|
44
|
+
def request_move_relative_to_current_view_content(self, content_offset: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> None: ...
|
|
45
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveRelativeToDisplayRegion(Windows.UI.WindowManagement.DisplayRegion,Windows.Foundation.Point)
|
|
46
|
+
def request_move_relative_to_display_region(self, display_region: DisplayRegion, display_region_offset: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> None: ...
|
|
47
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveRelativeToWindowContent(Windows.UI.WindowManagement.AppWindow,Windows.Foundation.Point)
|
|
48
|
+
def request_move_relative_to_window_content(self, anchor_window: AppWindow, content_offset: typing.Union[windows_foundation.Point, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> None: ...
|
|
49
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::RequestMoveToDisplayRegion(Windows.UI.WindowManagement.DisplayRegion)
|
|
50
|
+
def request_move_to_display_region(self, display_region: DisplayRegion, /) -> None: ...
|
|
51
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::RequestSize(Windows.Foundation.Size)
|
|
52
|
+
def request_size(self, frame_size: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> None: ...
|
|
53
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.WindowManagement.AppWindow::TryShowAsync()
|
|
54
|
+
def try_show_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
55
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.AppWindow::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.AppWindow,Windows.UI.WindowManagement.AppWindowChangedEventArgs>)
|
|
56
|
+
def add_changed(self, handler: windows_foundation.TypedEventHandler[AppWindow, AppWindowChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
57
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::remove_Changed(Windows.Foundation.EventRegistrationToken)
|
|
58
|
+
def remove_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
59
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.AppWindow::add_CloseRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.AppWindow,Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs>)
|
|
60
|
+
def add_close_requested(self, handler: windows_foundation.TypedEventHandler[AppWindow, AppWindowCloseRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
61
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::remove_CloseRequested(Windows.Foundation.EventRegistrationToken)
|
|
62
|
+
def remove_close_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
63
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.AppWindow::add_Closed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.AppWindow,Windows.UI.WindowManagement.AppWindowClosedEventArgs>)
|
|
64
|
+
def add_closed(self, handler: windows_foundation.TypedEventHandler[AppWindow, AppWindowClosedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
65
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::remove_Closed(Windows.Foundation.EventRegistrationToken)
|
|
66
|
+
def remove_closed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
67
|
+
# System.String Windows.UI.WindowManagement.AppWindow::get_Title()
|
|
68
|
+
@_property
|
|
69
|
+
def title(self) -> str: ...
|
|
70
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::put_Title(System.String)
|
|
71
|
+
@title.setter
|
|
72
|
+
def title(self, value: str) -> None: ...
|
|
73
|
+
# System.String Windows.UI.WindowManagement.AppWindow::get_PersistedStateId()
|
|
74
|
+
@_property
|
|
75
|
+
def persisted_state_id(self) -> str: ...
|
|
76
|
+
# System.Void Windows.UI.WindowManagement.AppWindow::put_PersistedStateId(System.String)
|
|
77
|
+
@persisted_state_id.setter
|
|
78
|
+
def persisted_state_id(self, value: str) -> None: ...
|
|
79
|
+
# Windows.UI.UIContentRoot Windows.UI.WindowManagement.AppWindow::get_Content()
|
|
80
|
+
@_property
|
|
81
|
+
def content(self) -> windows_ui.UIContentRoot: ...
|
|
82
|
+
# Windows.System.DispatcherQueue Windows.UI.WindowManagement.AppWindow::get_DispatcherQueue()
|
|
83
|
+
@_property
|
|
84
|
+
def dispatcher_queue(self) -> windows_system.DispatcherQueue: ...
|
|
85
|
+
# Windows.UI.WindowManagement.AppWindowFrame Windows.UI.WindowManagement.AppWindow::get_Frame()
|
|
86
|
+
@_property
|
|
87
|
+
def frame(self) -> AppWindowFrame: ...
|
|
88
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindow::get_IsVisible()
|
|
89
|
+
@_property
|
|
90
|
+
def is_visible(self) -> bool: ...
|
|
91
|
+
# Windows.UI.WindowManagement.AppWindowPresenter Windows.UI.WindowManagement.AppWindow::get_Presenter()
|
|
92
|
+
@_property
|
|
93
|
+
def presenter(self) -> AppWindowPresenter: ...
|
|
94
|
+
# Windows.UI.WindowManagement.AppWindowTitleBar Windows.UI.WindowManagement.AppWindow::get_TitleBar()
|
|
95
|
+
@_property
|
|
96
|
+
def title_bar(self) -> AppWindowTitleBar: ...
|
|
97
|
+
# Windows.UI.UIContext Windows.UI.WindowManagement.AppWindow::get_UIContext()
|
|
98
|
+
@_property
|
|
99
|
+
def ui_context(self) -> windows_ui.UIContext: ...
|
|
100
|
+
# Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.AppWindow::get_WindowingEnvironment()
|
|
101
|
+
@_property
|
|
102
|
+
def windowing_environment(self) -> WindowingEnvironment: ...
|
|
103
|
+
|
|
104
|
+
@typing.final
|
|
105
|
+
class AppWindowChangedEventArgs(winrt.system.Object):
|
|
106
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidAvailableWindowPresentationsChange()
|
|
107
|
+
@_property
|
|
108
|
+
def did_available_window_presentations_change(self) -> bool: ...
|
|
109
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidDisplayRegionsChange()
|
|
110
|
+
@_property
|
|
111
|
+
def did_display_regions_change(self) -> bool: ...
|
|
112
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidFrameChange()
|
|
113
|
+
@_property
|
|
114
|
+
def did_frame_change(self) -> bool: ...
|
|
115
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidSizeChange()
|
|
116
|
+
@_property
|
|
117
|
+
def did_size_change(self) -> bool: ...
|
|
118
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidTitleBarChange()
|
|
119
|
+
@_property
|
|
120
|
+
def did_title_bar_change(self) -> bool: ...
|
|
121
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidVisibilityChange()
|
|
122
|
+
@_property
|
|
123
|
+
def did_visibility_change(self) -> bool: ...
|
|
124
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidWindowPresentationChange()
|
|
125
|
+
@_property
|
|
126
|
+
def did_window_presentation_change(self) -> bool: ...
|
|
127
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowChangedEventArgs::get_DidWindowingEnvironmentChange()
|
|
128
|
+
@_property
|
|
129
|
+
def did_windowing_environment_change(self) -> bool: ...
|
|
130
|
+
|
|
131
|
+
@typing.final
|
|
132
|
+
class AppWindowCloseRequestedEventArgs(winrt.system.Object):
|
|
133
|
+
# Windows.Foundation.Deferral Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs::GetDeferral()
|
|
134
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
135
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs::get_Cancel()
|
|
136
|
+
@_property
|
|
137
|
+
def cancel(self) -> bool: ...
|
|
138
|
+
# System.Void Windows.UI.WindowManagement.AppWindowCloseRequestedEventArgs::put_Cancel(System.Boolean)
|
|
139
|
+
@cancel.setter
|
|
140
|
+
def cancel(self, value: bool) -> None: ...
|
|
141
|
+
|
|
142
|
+
@typing.final
|
|
143
|
+
class AppWindowClosedEventArgs(winrt.system.Object):
|
|
144
|
+
# Windows.UI.WindowManagement.AppWindowClosedReason Windows.UI.WindowManagement.AppWindowClosedEventArgs::get_Reason()
|
|
145
|
+
@_property
|
|
146
|
+
def reason(self) -> AppWindowClosedReason: ...
|
|
147
|
+
|
|
148
|
+
@typing.final
|
|
149
|
+
class AppWindowFrame(winrt.system.Object):
|
|
150
|
+
# Windows.UI.WindowManagement.AppWindowFrameStyle Windows.UI.WindowManagement.AppWindowFrame::GetFrameStyle()
|
|
151
|
+
def get_frame_style(self) -> AppWindowFrameStyle: ...
|
|
152
|
+
# System.Void Windows.UI.WindowManagement.AppWindowFrame::SetFrameStyle(Windows.UI.WindowManagement.AppWindowFrameStyle)
|
|
153
|
+
def set_frame_style(self, frame_style: AppWindowFrameStyle, /) -> None: ...
|
|
154
|
+
# Windows.Foundation.Collections.IVector`1<Windows.UI.Composition.IVisualElement> Windows.UI.WindowManagement.AppWindowFrame::get_DragRegionVisuals()
|
|
155
|
+
@_property
|
|
156
|
+
def drag_region_visuals(self) -> typing.MutableSequence[windows_ui_composition.IVisualElement]: ...
|
|
157
|
+
|
|
158
|
+
@typing.final
|
|
159
|
+
class AppWindowPlacement(winrt.system.Object):
|
|
160
|
+
# Windows.UI.WindowManagement.DisplayRegion Windows.UI.WindowManagement.AppWindowPlacement::get_DisplayRegion()
|
|
161
|
+
@_property
|
|
162
|
+
def display_region(self) -> DisplayRegion: ...
|
|
163
|
+
# Windows.Foundation.Point Windows.UI.WindowManagement.AppWindowPlacement::get_Offset()
|
|
164
|
+
@_property
|
|
165
|
+
def offset(self) -> windows_foundation.Point: ...
|
|
166
|
+
# Windows.Foundation.Size Windows.UI.WindowManagement.AppWindowPlacement::get_Size()
|
|
167
|
+
@_property
|
|
168
|
+
def size(self) -> windows_foundation.Size: ...
|
|
169
|
+
|
|
170
|
+
class AppWindowPresentationConfiguration_Static(winrt._winrt.IInspectable_Static):
|
|
171
|
+
pass
|
|
172
|
+
|
|
173
|
+
class AppWindowPresentationConfiguration(winrt.system.Object, metaclass=AppWindowPresentationConfiguration_Static):
|
|
174
|
+
# Windows.UI.WindowManagement.AppWindowPresentationKind Windows.UI.WindowManagement.AppWindowPresentationConfiguration::get_Kind()
|
|
175
|
+
@_property
|
|
176
|
+
@typing.final
|
|
177
|
+
def kind(self) -> AppWindowPresentationKind: ...
|
|
178
|
+
|
|
179
|
+
@typing.final
|
|
180
|
+
class AppWindowPresenter(winrt.system.Object):
|
|
181
|
+
# Windows.UI.WindowManagement.AppWindowPresentationConfiguration Windows.UI.WindowManagement.AppWindowPresenter::GetConfiguration()
|
|
182
|
+
def get_configuration(self) -> AppWindowPresentationConfiguration: ...
|
|
183
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowPresenter::IsPresentationSupported(Windows.UI.WindowManagement.AppWindowPresentationKind)
|
|
184
|
+
def is_presentation_supported(self, presentation_kind: AppWindowPresentationKind, /) -> bool: ...
|
|
185
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowPresenter::RequestPresentation(Windows.UI.WindowManagement.AppWindowPresentationConfiguration)
|
|
186
|
+
def request_presentation(self, configuration: AppWindowPresentationConfiguration, /) -> bool: ...
|
|
187
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowPresenter::RequestPresentation(Windows.UI.WindowManagement.AppWindowPresentationKind)
|
|
188
|
+
def request_presentation_by_kind(self, presentation_kind: AppWindowPresentationKind, /) -> bool: ...
|
|
189
|
+
|
|
190
|
+
@typing.final
|
|
191
|
+
class AppWindowTitleBar(winrt.system.Object):
|
|
192
|
+
# Windows.UI.WindowManagement.AppWindowTitleBarVisibility Windows.UI.WindowManagement.AppWindowTitleBar::GetPreferredVisibility()
|
|
193
|
+
def get_preferred_visibility(self) -> AppWindowTitleBarVisibility: ...
|
|
194
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.AppWindowTitleBarOcclusion> Windows.UI.WindowManagement.AppWindowTitleBar::GetTitleBarOcclusions()
|
|
195
|
+
def get_title_bar_occlusions(self) -> typing.Sequence[AppWindowTitleBarOcclusion]: ...
|
|
196
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::SetPreferredVisibility(Windows.UI.WindowManagement.AppWindowTitleBarVisibility)
|
|
197
|
+
def set_preferred_visibility(self, visibility_mode: AppWindowTitleBarVisibility, /) -> None: ...
|
|
198
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_InactiveForegroundColor()
|
|
199
|
+
@_property
|
|
200
|
+
def inactive_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
201
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_InactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
202
|
+
@inactive_foreground_color.setter
|
|
203
|
+
def inactive_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
204
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_InactiveBackgroundColor()
|
|
205
|
+
@_property
|
|
206
|
+
def inactive_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
207
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_InactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
208
|
+
@inactive_background_color.setter
|
|
209
|
+
def inactive_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
210
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ForegroundColor()
|
|
211
|
+
@_property
|
|
212
|
+
def foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
213
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
214
|
+
@foreground_color.setter
|
|
215
|
+
def foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
216
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowTitleBar::get_ExtendsContentIntoTitleBar()
|
|
217
|
+
@_property
|
|
218
|
+
def extends_content_into_title_bar(self) -> bool: ...
|
|
219
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ExtendsContentIntoTitleBar(System.Boolean)
|
|
220
|
+
@extends_content_into_title_bar.setter
|
|
221
|
+
def extends_content_into_title_bar(self, value: bool) -> None: ...
|
|
222
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonPressedForegroundColor()
|
|
223
|
+
@_property
|
|
224
|
+
def button_pressed_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
225
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonPressedForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
226
|
+
@button_pressed_foreground_color.setter
|
|
227
|
+
def button_pressed_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
228
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonPressedBackgroundColor()
|
|
229
|
+
@_property
|
|
230
|
+
def button_pressed_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
231
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonPressedBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
232
|
+
@button_pressed_background_color.setter
|
|
233
|
+
def button_pressed_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
234
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonInactiveForegroundColor()
|
|
235
|
+
@_property
|
|
236
|
+
def button_inactive_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
237
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonInactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
238
|
+
@button_inactive_foreground_color.setter
|
|
239
|
+
def button_inactive_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
240
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonInactiveBackgroundColor()
|
|
241
|
+
@_property
|
|
242
|
+
def button_inactive_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
243
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonInactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
244
|
+
@button_inactive_background_color.setter
|
|
245
|
+
def button_inactive_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
246
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonHoverForegroundColor()
|
|
247
|
+
@_property
|
|
248
|
+
def button_hover_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
249
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonHoverForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
250
|
+
@button_hover_foreground_color.setter
|
|
251
|
+
def button_hover_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
252
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonHoverBackgroundColor()
|
|
253
|
+
@_property
|
|
254
|
+
def button_hover_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
255
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonHoverBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
256
|
+
@button_hover_background_color.setter
|
|
257
|
+
def button_hover_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
258
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonForegroundColor()
|
|
259
|
+
@_property
|
|
260
|
+
def button_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
261
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
262
|
+
@button_foreground_color.setter
|
|
263
|
+
def button_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
264
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_ButtonBackgroundColor()
|
|
265
|
+
@_property
|
|
266
|
+
def button_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
267
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_ButtonBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
268
|
+
@button_background_color.setter
|
|
269
|
+
def button_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
270
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.WindowManagement.AppWindowTitleBar::get_BackgroundColor()
|
|
271
|
+
@_property
|
|
272
|
+
def background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
273
|
+
# System.Void Windows.UI.WindowManagement.AppWindowTitleBar::put_BackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
274
|
+
@background_color.setter
|
|
275
|
+
def background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
276
|
+
# System.Boolean Windows.UI.WindowManagement.AppWindowTitleBar::get_IsVisible()
|
|
277
|
+
@_property
|
|
278
|
+
def is_visible(self) -> bool: ...
|
|
279
|
+
|
|
280
|
+
@typing.final
|
|
281
|
+
class AppWindowTitleBarOcclusion(winrt.system.Object):
|
|
282
|
+
# Windows.Foundation.Rect Windows.UI.WindowManagement.AppWindowTitleBarOcclusion::get_OccludingRect()
|
|
283
|
+
@_property
|
|
284
|
+
def occluding_rect(self) -> windows_foundation.Rect: ...
|
|
285
|
+
|
|
286
|
+
@typing.final
|
|
287
|
+
class CompactOverlayPresentationConfiguration(AppWindowPresentationConfiguration):
|
|
288
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
289
|
+
|
|
290
|
+
@typing.final
|
|
291
|
+
class DefaultPresentationConfiguration(AppWindowPresentationConfiguration):
|
|
292
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
293
|
+
|
|
294
|
+
@typing.final
|
|
295
|
+
class DisplayRegion(winrt.system.Object):
|
|
296
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.DisplayRegion::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.DisplayRegion,System.Object>)
|
|
297
|
+
def add_changed(self, handler: windows_foundation.TypedEventHandler[DisplayRegion, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
298
|
+
# System.Void Windows.UI.WindowManagement.DisplayRegion::remove_Changed(Windows.Foundation.EventRegistrationToken)
|
|
299
|
+
def remove_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
300
|
+
# System.String Windows.UI.WindowManagement.DisplayRegion::get_DisplayMonitorDeviceId()
|
|
301
|
+
@_property
|
|
302
|
+
def display_monitor_device_id(self) -> str: ...
|
|
303
|
+
# System.Boolean Windows.UI.WindowManagement.DisplayRegion::get_IsVisible()
|
|
304
|
+
@_property
|
|
305
|
+
def is_visible(self) -> bool: ...
|
|
306
|
+
# Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.DisplayRegion::get_WindowingEnvironment()
|
|
307
|
+
@_property
|
|
308
|
+
def windowing_environment(self) -> WindowingEnvironment: ...
|
|
309
|
+
# Windows.Foundation.Point Windows.UI.WindowManagement.DisplayRegion::get_WorkAreaOffset()
|
|
310
|
+
@_property
|
|
311
|
+
def work_area_offset(self) -> windows_foundation.Point: ...
|
|
312
|
+
# Windows.Foundation.Size Windows.UI.WindowManagement.DisplayRegion::get_WorkAreaSize()
|
|
313
|
+
@_property
|
|
314
|
+
def work_area_size(self) -> windows_foundation.Size: ...
|
|
315
|
+
|
|
316
|
+
@typing.final
|
|
317
|
+
class FullScreenPresentationConfiguration(AppWindowPresentationConfiguration):
|
|
318
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
319
|
+
# System.Boolean Windows.UI.WindowManagement.FullScreenPresentationConfiguration::get_IsExclusive()
|
|
320
|
+
@_property
|
|
321
|
+
def is_exclusive(self) -> bool: ...
|
|
322
|
+
# System.Void Windows.UI.WindowManagement.FullScreenPresentationConfiguration::put_IsExclusive(System.Boolean)
|
|
323
|
+
@is_exclusive.setter
|
|
324
|
+
def is_exclusive(self, value: bool) -> None: ...
|
|
325
|
+
|
|
326
|
+
@typing.final
|
|
327
|
+
class WindowServices_Static(winrt._winrt.IInspectable_Static):
|
|
328
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowId> Windows.UI.WindowManagement.WindowServices::FindAllTopLevelWindowIds()
|
|
329
|
+
def find_all_top_level_window_ids(cls) -> typing.Sequence[windows_ui.WindowId]: ...
|
|
330
|
+
|
|
331
|
+
@typing.final
|
|
332
|
+
class WindowServices(winrt.system.Object, metaclass=WindowServices_Static):
|
|
333
|
+
pass
|
|
334
|
+
|
|
335
|
+
@typing.final
|
|
336
|
+
class WindowingEnvironment_Static(winrt._winrt.IInspectable_Static):
|
|
337
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.WindowingEnvironment> Windows.UI.WindowManagement.WindowingEnvironment::FindAll()
|
|
338
|
+
def find_all(cls) -> typing.Sequence[WindowingEnvironment]: ...
|
|
339
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.WindowingEnvironment> Windows.UI.WindowManagement.WindowingEnvironment::FindAll(Windows.UI.WindowManagement.WindowingEnvironmentKind)
|
|
340
|
+
def find_all_with_kind(cls, kind: WindowingEnvironmentKind, /) -> typing.Sequence[WindowingEnvironment]: ...
|
|
341
|
+
|
|
342
|
+
@typing.final
|
|
343
|
+
class WindowingEnvironment(winrt.system.Object, metaclass=WindowingEnvironment_Static):
|
|
344
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.DisplayRegion> Windows.UI.WindowManagement.WindowingEnvironment::GetDisplayRegions()
|
|
345
|
+
def get_display_regions(self) -> typing.Sequence[DisplayRegion]: ...
|
|
346
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.WindowManagement.WindowingEnvironment::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.UI.WindowManagement.WindowingEnvironment,Windows.UI.WindowManagement.WindowingEnvironmentChangedEventArgs>)
|
|
347
|
+
def add_changed(self, handler: windows_foundation.TypedEventHandler[WindowingEnvironment, WindowingEnvironmentChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
348
|
+
# System.Void Windows.UI.WindowManagement.WindowingEnvironment::remove_Changed(Windows.Foundation.EventRegistrationToken)
|
|
349
|
+
def remove_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
350
|
+
# System.Boolean Windows.UI.WindowManagement.WindowingEnvironment::get_IsEnabled()
|
|
351
|
+
@_property
|
|
352
|
+
def is_enabled(self) -> bool: ...
|
|
353
|
+
# Windows.UI.WindowManagement.WindowingEnvironmentKind Windows.UI.WindowManagement.WindowingEnvironment::get_Kind()
|
|
354
|
+
@_property
|
|
355
|
+
def kind(self) -> WindowingEnvironmentKind: ...
|
|
356
|
+
|
|
357
|
+
@typing.final
|
|
358
|
+
class WindowingEnvironmentAddedEventArgs(winrt.system.Object):
|
|
359
|
+
# Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.WindowingEnvironmentAddedEventArgs::get_WindowingEnvironment()
|
|
360
|
+
@_property
|
|
361
|
+
def windowing_environment(self) -> WindowingEnvironment: ...
|
|
362
|
+
|
|
363
|
+
@typing.final
|
|
364
|
+
class WindowingEnvironmentChangedEventArgs(winrt.system.Object):
|
|
365
|
+
pass
|
|
366
|
+
|
|
367
|
+
@typing.final
|
|
368
|
+
class WindowingEnvironmentRemovedEventArgs(winrt.system.Object):
|
|
369
|
+
# Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.WindowManagement.WindowingEnvironmentRemovedEventArgs::get_WindowingEnvironment()
|
|
370
|
+
@_property
|
|
371
|
+
def windowing_environment(self) -> WindowingEnvironment: ...
|
|
372
|
+
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt._winrt_windows_ui_windowmanagement import (
|
|
7
|
+
AppWindow,
|
|
8
|
+
AppWindowChangedEventArgs,
|
|
9
|
+
AppWindowCloseRequestedEventArgs,
|
|
10
|
+
AppWindowClosedEventArgs,
|
|
11
|
+
AppWindowFrame,
|
|
12
|
+
AppWindowPlacement,
|
|
13
|
+
AppWindowPresentationConfiguration,
|
|
14
|
+
AppWindowPresenter,
|
|
15
|
+
AppWindowTitleBar,
|
|
16
|
+
AppWindowTitleBarOcclusion,
|
|
17
|
+
CompactOverlayPresentationConfiguration,
|
|
18
|
+
DefaultPresentationConfiguration,
|
|
19
|
+
DisplayRegion,
|
|
20
|
+
FullScreenPresentationConfiguration,
|
|
21
|
+
WindowServices,
|
|
22
|
+
WindowingEnvironment,
|
|
23
|
+
WindowingEnvironmentAddedEventArgs,
|
|
24
|
+
WindowingEnvironmentChangedEventArgs,
|
|
25
|
+
WindowingEnvironmentRemovedEventArgs,
|
|
26
|
+
)
|
|
27
|
+
from typing import TYPE_CHECKING
|
|
28
|
+
if TYPE_CHECKING:
|
|
29
|
+
from winrt._winrt_windows_ui_windowmanagement import (
|
|
30
|
+
AppWindowPresentationConfiguration_Static,
|
|
31
|
+
)
|
|
32
|
+
|
|
33
|
+
__all__ = [
|
|
34
|
+
"AppWindowClosedReason",
|
|
35
|
+
"AppWindowFrameStyle",
|
|
36
|
+
"AppWindowPresentationKind",
|
|
37
|
+
"AppWindowTitleBarVisibility",
|
|
38
|
+
"WindowingEnvironmentKind",
|
|
39
|
+
"AppWindow",
|
|
40
|
+
"AppWindowChangedEventArgs",
|
|
41
|
+
"AppWindowCloseRequestedEventArgs",
|
|
42
|
+
"AppWindowClosedEventArgs",
|
|
43
|
+
"AppWindowFrame",
|
|
44
|
+
"AppWindowPlacement",
|
|
45
|
+
"AppWindowPresentationConfiguration",
|
|
46
|
+
"AppWindowPresenter",
|
|
47
|
+
"AppWindowTitleBar",
|
|
48
|
+
"AppWindowTitleBarOcclusion",
|
|
49
|
+
"CompactOverlayPresentationConfiguration",
|
|
50
|
+
"DefaultPresentationConfiguration",
|
|
51
|
+
"DisplayRegion",
|
|
52
|
+
"FullScreenPresentationConfiguration",
|
|
53
|
+
"WindowServices",
|
|
54
|
+
"WindowingEnvironment",
|
|
55
|
+
"WindowingEnvironmentAddedEventArgs",
|
|
56
|
+
"WindowingEnvironmentChangedEventArgs",
|
|
57
|
+
"WindowingEnvironmentRemovedEventArgs",
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
class AppWindowClosedReason(enum.IntEnum):
|
|
61
|
+
OTHER = 0
|
|
62
|
+
APP_INITIATED = 1
|
|
63
|
+
USER_INITIATED = 2
|
|
64
|
+
|
|
65
|
+
class AppWindowFrameStyle(enum.IntEnum):
|
|
66
|
+
DEFAULT = 0
|
|
67
|
+
NO_FRAME = 1
|
|
68
|
+
|
|
69
|
+
class AppWindowPresentationKind(enum.IntEnum):
|
|
70
|
+
DEFAULT = 0
|
|
71
|
+
COMPACT_OVERLAY = 1
|
|
72
|
+
FULL_SCREEN = 2
|
|
73
|
+
|
|
74
|
+
class AppWindowTitleBarVisibility(enum.IntEnum):
|
|
75
|
+
DEFAULT = 0
|
|
76
|
+
ALWAYS_HIDDEN = 1
|
|
77
|
+
|
|
78
|
+
class WindowingEnvironmentKind(enum.IntEnum):
|
|
79
|
+
UNKNOWN = 0
|
|
80
|
+
OVERLAPPED = 1
|
|
81
|
+
TILED = 2
|
|
82
|
+
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.WindowManagement
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Composition[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.UI.WindowManagement
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.WindowManagement` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.ui.windowmanagement` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_windowmanagement.cp314-win32.pyd,sha256=4huUFgERTclinzXsTU1HECrfpY1GVieA75U3TBE70fE,296448
|
|
2
|
+
winrt/_winrt_windows_ui_windowmanagement.pyi,sha256=6oD3TC5zOSJ4U9qi76huAE_JgdtTOHWaMgPWw8Drh2Q,26099
|
|
3
|
+
winrt/windows/ui/windowmanagement/__init__.py,sha256=oNMtWn1cV24so944TA9oshrpFl3HkMQJ79EzMWD4STI,2198
|
|
4
|
+
winrt/windows/ui/windowmanagement/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_windowmanagement-3.2.1.dist-info/METADATA,sha256=wEtTvEyBMzwKA6_lMJqIhlVuoewK82vCyMwzRfuC2Kw,1353
|
|
6
|
+
winrt_windows_ui_windowmanagement-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_ui_windowmanagement-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_windowmanagement-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|