winrt-Windows.UI.ViewManagement 2.2.0__cp313-cp313-win_amd64.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,444 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
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.devices.enumeration as windows_devices_enumeration
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.ui as windows_ui
16
+ import winrt.windows.ui.core as windows_ui_core
17
+ import winrt.windows.ui.popups as windows_ui_popups
18
+ import winrt.windows.ui.windowmanagement as windows_ui_windowmanagement
19
+
20
+ from winrt.windows.ui.viewmanagement import ApplicationViewBoundsMode, ApplicationViewMode, ApplicationViewOrientation, ApplicationViewState, ApplicationViewSwitchingOptions, ApplicationViewWindowingMode, FullScreenSystemOverlayMode, HandPreference, ScreenCaptureDisabledBehavior, UIColorType, UIElementType, UserInteractionMode, ViewSizePreference
21
+
22
+ Self = typing.TypeVar('Self')
23
+
24
+ @typing.final
25
+ class AccessibilitySettings(winrt.system.Object):
26
+ @staticmethod
27
+ def _from(obj: winrt.system.Object, /) -> AccessibilitySettings: ...
28
+ def __new__(cls: typing.Type[AccessibilitySettings]) -> AccessibilitySettings: ...
29
+ def add_high_contrast_changed(self, handler: windows_foundation.TypedEventHandler[AccessibilitySettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
30
+ def remove_high_contrast_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
31
+ @_property
32
+ def high_contrast(self) -> bool: ...
33
+ @_property
34
+ def high_contrast_scheme(self) -> str: ...
35
+
36
+ @typing.final
37
+ class ActivationViewSwitcher(winrt.system.Object):
38
+ @staticmethod
39
+ def _from(obj: winrt.system.Object, /) -> ActivationViewSwitcher: ...
40
+ def is_view_presented_on_activation_virtual_desktop(self, view_id: winrt.system.Int32, /) -> bool: ...
41
+ @typing.overload
42
+ def show_as_standalone_async(self, view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
43
+ @typing.overload
44
+ def show_as_standalone_async(self, view_id: winrt.system.Int32, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncAction: ...
45
+
46
+ @typing.final
47
+ class ApplicationView_Static(type):
48
+ def clear_all_persisted_state(cls) -> None: ...
49
+ def clear_persisted_state(cls, key: str, /) -> None: ...
50
+ def get_application_view_id_for_window(cls, window: typing.Optional[windows_ui_core.ICoreWindow], /) -> winrt.system.Int32: ...
51
+ def get_for_current_view(cls) -> typing.Optional[ApplicationView]: ...
52
+ def try_unsnap(cls) -> bool: ...
53
+ def try_unsnap_to_fullscreen(cls) -> bool: ...
54
+ @_property
55
+ def value(cls) -> ApplicationViewState: ...
56
+ @_property
57
+ def terminate_app_on_final_view_close(cls) -> bool: ...
58
+ @terminate_app_on_final_view_close.setter
59
+ def terminate_app_on_final_view_close(cls, value: bool) -> None: ...
60
+ @_property
61
+ def preferred_launch_windowing_mode(cls) -> ApplicationViewWindowingMode: ...
62
+ @preferred_launch_windowing_mode.setter
63
+ def preferred_launch_windowing_mode(cls, value: ApplicationViewWindowingMode) -> None: ...
64
+ @_property
65
+ def preferred_launch_view_size(cls) -> windows_foundation.Size: ...
66
+ @preferred_launch_view_size.setter
67
+ def preferred_launch_view_size(cls, value: windows_foundation.Size) -> None: ...
68
+
69
+ @typing.final
70
+ class ApplicationView(winrt.system.Object, metaclass=ApplicationView_Static):
71
+ @staticmethod
72
+ def _from(obj: winrt.system.Object, /) -> ApplicationView: ...
73
+ def exit_full_screen_mode(self) -> None: ...
74
+ def get_display_regions(self) -> typing.Optional[windows_foundation_collections.IVectorView[windows_ui_windowmanagement.DisplayRegion]]: ...
75
+ def is_view_mode_supported(self, view_mode: ApplicationViewMode, /) -> bool: ...
76
+ def set_desired_bounds_mode(self, bounds_mode: ApplicationViewBoundsMode, /) -> bool: ...
77
+ def set_preferred_min_size(self, min_size: windows_foundation.Size, /) -> None: ...
78
+ def show_standard_system_overlays(self) -> None: ...
79
+ def try_consolidate_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
80
+ def try_enter_full_screen_mode(self) -> bool: ...
81
+ @typing.overload
82
+ def try_enter_view_mode_async(self, view_mode: ApplicationViewMode, /) -> windows_foundation.IAsyncOperation[bool]: ...
83
+ @typing.overload
84
+ def try_enter_view_mode_async(self, view_mode: ApplicationViewMode, view_mode_preferences: typing.Optional[ViewModePreferences], /) -> windows_foundation.IAsyncOperation[bool]: ...
85
+ def try_resize_view(self, value: windows_foundation.Size, /) -> bool: ...
86
+ def add_consolidated(self, handler: windows_foundation.TypedEventHandler[ApplicationView, ApplicationViewConsolidatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
87
+ def remove_consolidated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
88
+ def add_visible_bounds_changed(self, handler: windows_foundation.TypedEventHandler[ApplicationView, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
89
+ def remove_visible_bounds_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
90
+ @_property
91
+ def title(self) -> str: ...
92
+ @title.setter
93
+ def title(self, value: str) -> None: ...
94
+ @_property
95
+ def is_screen_capture_enabled(self) -> bool: ...
96
+ @is_screen_capture_enabled.setter
97
+ def is_screen_capture_enabled(self, value: bool) -> None: ...
98
+ @_property
99
+ def adjacent_to_left_display_edge(self) -> bool: ...
100
+ @_property
101
+ def adjacent_to_right_display_edge(self) -> bool: ...
102
+ @_property
103
+ def id(self) -> winrt.system.Int32: ...
104
+ @_property
105
+ def is_full_screen(self) -> bool: ...
106
+ @_property
107
+ def is_on_lock_screen(self) -> bool: ...
108
+ @_property
109
+ def orientation(self) -> ApplicationViewOrientation: ...
110
+ @_property
111
+ def suppress_system_overlays(self) -> bool: ...
112
+ @suppress_system_overlays.setter
113
+ def suppress_system_overlays(self, value: bool) -> None: ...
114
+ @_property
115
+ def visible_bounds(self) -> windows_foundation.Rect: ...
116
+ @_property
117
+ def desired_bounds_mode(self) -> ApplicationViewBoundsMode: ...
118
+ @_property
119
+ def full_screen_system_overlay_mode(self) -> FullScreenSystemOverlayMode: ...
120
+ @full_screen_system_overlay_mode.setter
121
+ def full_screen_system_overlay_mode(self, value: FullScreenSystemOverlayMode) -> None: ...
122
+ @_property
123
+ def title_bar(self) -> typing.Optional[ApplicationViewTitleBar]: ...
124
+ @_property
125
+ def is_full_screen_mode(self) -> bool: ...
126
+ @_property
127
+ def view_mode(self) -> ApplicationViewMode: ...
128
+ @_property
129
+ def persisted_state_id(self) -> str: ...
130
+ @persisted_state_id.setter
131
+ def persisted_state_id(self, value: str) -> None: ...
132
+ @_property
133
+ def windowing_environment(self) -> typing.Optional[windows_ui_windowmanagement.WindowingEnvironment]: ...
134
+ @_property
135
+ def u_i_context(self) -> typing.Optional[windows_ui.UIContext]: ...
136
+
137
+ @typing.final
138
+ class ApplicationViewConsolidatedEventArgs(winrt.system.Object):
139
+ @staticmethod
140
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewConsolidatedEventArgs: ...
141
+ @_property
142
+ def is_user_initiated(self) -> bool: ...
143
+ @_property
144
+ def is_app_initiated(self) -> bool: ...
145
+
146
+ @typing.final
147
+ class ApplicationViewScaling_Static(type):
148
+ def try_set_disable_layout_scaling(cls, disable_layout_scaling: bool, /) -> bool: ...
149
+ @_property
150
+ def disable_layout_scaling(cls) -> bool: ...
151
+
152
+ @typing.final
153
+ class ApplicationViewScaling(winrt.system.Object, metaclass=ApplicationViewScaling_Static):
154
+ @staticmethod
155
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewScaling: ...
156
+
157
+ @typing.final
158
+ class ApplicationViewSwitcher_Static(type):
159
+ def disable_showing_main_view_on_activation(cls) -> None: ...
160
+ def disable_system_view_activation_policy(cls) -> None: ...
161
+ def prepare_for_custom_animated_switch_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, options: ApplicationViewSwitchingOptions, /) -> windows_foundation.IAsyncOperation[bool]: ...
162
+ @typing.overload
163
+ def switch_async(cls, view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
164
+ @typing.overload
165
+ def switch_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
166
+ @typing.overload
167
+ def switch_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, options: ApplicationViewSwitchingOptions, /) -> windows_foundation.IAsyncAction: ...
168
+ @typing.overload
169
+ def try_show_as_standalone_async(cls, view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncOperation[bool]: ...
170
+ @typing.overload
171
+ def try_show_as_standalone_async(cls, view_id: winrt.system.Int32, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
172
+ @typing.overload
173
+ def try_show_as_standalone_async(cls, view_id: winrt.system.Int32, size_preference: ViewSizePreference, anchor_view_id: winrt.system.Int32, anchor_size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
174
+ @typing.overload
175
+ def try_show_as_view_mode_async(cls, view_id: winrt.system.Int32, view_mode: ApplicationViewMode, /) -> windows_foundation.IAsyncOperation[bool]: ...
176
+ @typing.overload
177
+ def try_show_as_view_mode_async(cls, view_id: winrt.system.Int32, view_mode: ApplicationViewMode, view_mode_preferences: typing.Optional[ViewModePreferences], /) -> windows_foundation.IAsyncOperation[bool]: ...
178
+
179
+ @typing.final
180
+ class ApplicationViewSwitcher(winrt.system.Object, metaclass=ApplicationViewSwitcher_Static):
181
+ pass
182
+
183
+ @typing.final
184
+ class ApplicationViewTitleBar(winrt.system.Object):
185
+ @staticmethod
186
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewTitleBar: ...
187
+ @_property
188
+ def inactive_foreground_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
189
+ @inactive_foreground_color.setter
190
+ def inactive_foreground_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
191
+ @_property
192
+ def inactive_background_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
193
+ @inactive_background_color.setter
194
+ def inactive_background_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
195
+ @_property
196
+ def foreground_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
197
+ @foreground_color.setter
198
+ def foreground_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
199
+ @_property
200
+ def button_pressed_foreground_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
201
+ @button_pressed_foreground_color.setter
202
+ def button_pressed_foreground_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
203
+ @_property
204
+ def button_pressed_background_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
205
+ @button_pressed_background_color.setter
206
+ def button_pressed_background_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
207
+ @_property
208
+ def button_inactive_foreground_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
209
+ @button_inactive_foreground_color.setter
210
+ def button_inactive_foreground_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
211
+ @_property
212
+ def button_inactive_background_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
213
+ @button_inactive_background_color.setter
214
+ def button_inactive_background_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
215
+ @_property
216
+ def button_hover_foreground_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
217
+ @button_hover_foreground_color.setter
218
+ def button_hover_foreground_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
219
+ @_property
220
+ def button_hover_background_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
221
+ @button_hover_background_color.setter
222
+ def button_hover_background_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
223
+ @_property
224
+ def button_foreground_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
225
+ @button_foreground_color.setter
226
+ def button_foreground_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
227
+ @_property
228
+ def button_background_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
229
+ @button_background_color.setter
230
+ def button_background_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
231
+ @_property
232
+ def background_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
233
+ @background_color.setter
234
+ def background_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
235
+
236
+ @typing.final
237
+ class ApplicationViewTransferContext_Static(type):
238
+ @_property
239
+ def data_package_format_id(cls) -> str: ...
240
+
241
+ @typing.final
242
+ class ApplicationViewTransferContext(winrt.system.Object, metaclass=ApplicationViewTransferContext_Static):
243
+ @staticmethod
244
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewTransferContext: ...
245
+ def __new__(cls: typing.Type[ApplicationViewTransferContext]) -> ApplicationViewTransferContext: ...
246
+ @_property
247
+ def view_id(self) -> winrt.system.Int32: ...
248
+ @view_id.setter
249
+ def view_id(self, value: winrt.system.Int32) -> None: ...
250
+
251
+ @typing.final
252
+ class InputPane_Static(type):
253
+ def get_for_current_view(cls) -> typing.Optional[InputPane]: ...
254
+ def get_for_u_i_context(cls, context: typing.Optional[windows_ui.UIContext], /) -> typing.Optional[InputPane]: ...
255
+
256
+ @typing.final
257
+ class InputPane(winrt.system.Object, metaclass=InputPane_Static):
258
+ @staticmethod
259
+ def _from(obj: winrt.system.Object, /) -> InputPane: ...
260
+ def try_hide(self) -> bool: ...
261
+ def try_show(self) -> bool: ...
262
+ def add_hiding(self, handler: windows_foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
263
+ def remove_hiding(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
264
+ def add_showing(self, handler: windows_foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
265
+ def remove_showing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
266
+ @_property
267
+ def occluded_rect(self) -> windows_foundation.Rect: ...
268
+ @_property
269
+ def visible(self) -> bool: ...
270
+ @visible.setter
271
+ def visible(self, value: bool) -> None: ...
272
+
273
+ @typing.final
274
+ class InputPaneVisibilityEventArgs(winrt.system.Object):
275
+ @staticmethod
276
+ def _from(obj: winrt.system.Object, /) -> InputPaneVisibilityEventArgs: ...
277
+ @_property
278
+ def ensured_focused_element_in_view(self) -> bool: ...
279
+ @ensured_focused_element_in_view.setter
280
+ def ensured_focused_element_in_view(self, value: bool) -> None: ...
281
+ @_property
282
+ def occluded_rect(self) -> windows_foundation.Rect: ...
283
+
284
+ @typing.final
285
+ class ProjectionManager_Static(type):
286
+ def get_device_selector(cls) -> str: ...
287
+ @typing.overload
288
+ def request_start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[bool]: ...
289
+ @typing.overload
290
+ def request_start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, selection: windows_foundation.Rect, preffered_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[bool]: ...
291
+ @typing.overload
292
+ def start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
293
+ @typing.overload
294
+ def start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, display_device_info: typing.Optional[windows_devices_enumeration.DeviceInformation], /) -> windows_foundation.IAsyncAction: ...
295
+ def stop_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
296
+ def swap_displays_for_views_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
297
+ def add_projection_display_available_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
298
+ def remove_projection_display_available_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
299
+ @_property
300
+ def projection_display_available(cls) -> bool: ...
301
+
302
+ @typing.final
303
+ class ProjectionManager(winrt.system.Object, metaclass=ProjectionManager_Static):
304
+ pass
305
+
306
+ @typing.final
307
+ class StatusBar_Static(type):
308
+ def get_for_current_view(cls) -> typing.Optional[StatusBar]: ...
309
+
310
+ @typing.final
311
+ class StatusBar(winrt.system.Object, metaclass=StatusBar_Static):
312
+ @staticmethod
313
+ def _from(obj: winrt.system.Object, /) -> StatusBar: ...
314
+ def hide_async(self) -> windows_foundation.IAsyncAction: ...
315
+ def show_async(self) -> windows_foundation.IAsyncAction: ...
316
+ def add_hiding(self, event_handler: windows_foundation.TypedEventHandler[StatusBar, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
317
+ def remove_hiding(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
318
+ def add_showing(self, event_handler: windows_foundation.TypedEventHandler[StatusBar, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
319
+ def remove_showing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
320
+ @_property
321
+ def foreground_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
322
+ @foreground_color.setter
323
+ def foreground_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
324
+ @_property
325
+ def background_opacity(self) -> winrt.system.Double: ...
326
+ @background_opacity.setter
327
+ def background_opacity(self, value: winrt.system.Double) -> None: ...
328
+ @_property
329
+ def background_color(self) -> typing.Optional[typing.Optional[windows_ui.Color]]: ...
330
+ @background_color.setter
331
+ def background_color(self, value: typing.Optional[typing.Optional[windows_ui.Color]]) -> None: ...
332
+ @_property
333
+ def occluded_rect(self) -> windows_foundation.Rect: ...
334
+ @_property
335
+ def progress_indicator(self) -> typing.Optional[StatusBarProgressIndicator]: ...
336
+
337
+ @typing.final
338
+ class StatusBarProgressIndicator(winrt.system.Object):
339
+ @staticmethod
340
+ def _from(obj: winrt.system.Object, /) -> StatusBarProgressIndicator: ...
341
+ def hide_async(self) -> windows_foundation.IAsyncAction: ...
342
+ def show_async(self) -> windows_foundation.IAsyncAction: ...
343
+ @_property
344
+ def text(self) -> str: ...
345
+ @text.setter
346
+ def text(self, value: str) -> None: ...
347
+ @_property
348
+ def progress_value(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
349
+ @progress_value.setter
350
+ def progress_value(self, value: typing.Optional[typing.Optional[winrt.system.Double]]) -> None: ...
351
+
352
+ @typing.final
353
+ class UISettings(winrt.system.Object):
354
+ @staticmethod
355
+ def _from(obj: winrt.system.Object, /) -> UISettings: ...
356
+ def __new__(cls: typing.Type[UISettings]) -> UISettings: ...
357
+ def get_color_value(self, desired_color: UIColorType, /) -> windows_ui.Color: ...
358
+ def u_i_element_color(self, desired_element: UIElementType, /) -> windows_ui.Color: ...
359
+ def add_text_scale_factor_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
360
+ def remove_text_scale_factor_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
361
+ def add_color_values_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
362
+ def remove_color_values_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
363
+ def add_advanced_effects_enabled_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
364
+ def remove_advanced_effects_enabled_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
365
+ def add_auto_hide_scroll_bars_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsAutoHideScrollBarsChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
366
+ def remove_auto_hide_scroll_bars_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
367
+ def add_animations_enabled_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsAnimationsEnabledChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
368
+ def remove_animations_enabled_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
369
+ def add_message_duration_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsMessageDurationChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
370
+ def remove_message_duration_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
371
+ @_property
372
+ def animations_enabled(self) -> bool: ...
373
+ @_property
374
+ def caret_blink_rate(self) -> winrt.system.UInt32: ...
375
+ @_property
376
+ def caret_browsing_enabled(self) -> bool: ...
377
+ @_property
378
+ def caret_width(self) -> winrt.system.UInt32: ...
379
+ @_property
380
+ def cursor_size(self) -> windows_foundation.Size: ...
381
+ @_property
382
+ def double_click_time(self) -> winrt.system.UInt32: ...
383
+ @_property
384
+ def hand_preference(self) -> HandPreference: ...
385
+ @_property
386
+ def message_duration(self) -> winrt.system.UInt32: ...
387
+ @_property
388
+ def mouse_hover_time(self) -> winrt.system.UInt32: ...
389
+ @_property
390
+ def scroll_bar_arrow_size(self) -> windows_foundation.Size: ...
391
+ @_property
392
+ def scroll_bar_size(self) -> windows_foundation.Size: ...
393
+ @_property
394
+ def scroll_bar_thumb_box_size(self) -> windows_foundation.Size: ...
395
+ @_property
396
+ def text_scale_factor(self) -> winrt.system.Double: ...
397
+ @_property
398
+ def advanced_effects_enabled(self) -> bool: ...
399
+ @_property
400
+ def auto_hide_scroll_bars(self) -> bool: ...
401
+
402
+ @typing.final
403
+ class UISettingsAnimationsEnabledChangedEventArgs(winrt.system.Object):
404
+ @staticmethod
405
+ def _from(obj: winrt.system.Object, /) -> UISettingsAnimationsEnabledChangedEventArgs: ...
406
+
407
+ @typing.final
408
+ class UISettingsAutoHideScrollBarsChangedEventArgs(winrt.system.Object):
409
+ @staticmethod
410
+ def _from(obj: winrt.system.Object, /) -> UISettingsAutoHideScrollBarsChangedEventArgs: ...
411
+
412
+ @typing.final
413
+ class UISettingsMessageDurationChangedEventArgs(winrt.system.Object):
414
+ @staticmethod
415
+ def _from(obj: winrt.system.Object, /) -> UISettingsMessageDurationChangedEventArgs: ...
416
+
417
+ @typing.final
418
+ class UIViewSettings_Static(type):
419
+ def get_for_current_view(cls) -> typing.Optional[UIViewSettings]: ...
420
+
421
+ @typing.final
422
+ class UIViewSettings(winrt.system.Object, metaclass=UIViewSettings_Static):
423
+ @staticmethod
424
+ def _from(obj: winrt.system.Object, /) -> UIViewSettings: ...
425
+ @_property
426
+ def user_interaction_mode(self) -> UserInteractionMode: ...
427
+
428
+ @typing.final
429
+ class ViewModePreferences_Static(type):
430
+ def create_default(cls, mode: ApplicationViewMode, /) -> typing.Optional[ViewModePreferences]: ...
431
+
432
+ @typing.final
433
+ class ViewModePreferences(winrt.system.Object, metaclass=ViewModePreferences_Static):
434
+ @staticmethod
435
+ def _from(obj: winrt.system.Object, /) -> ViewModePreferences: ...
436
+ @_property
437
+ def view_size_preference(self) -> ViewSizePreference: ...
438
+ @view_size_preference.setter
439
+ def view_size_preference(self, value: ViewSizePreference) -> None: ...
440
+ @_property
441
+ def custom_size(self) -> windows_foundation.Size: ...
442
+ @custom_size.setter
443
+ def custom_size(self, value: windows_foundation.Size) -> None: ...
444
+
@@ -0,0 +1,156 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_ui_viewmanagement
7
+
8
+ __all__ = [
9
+ "ApplicationViewBoundsMode",
10
+ "ApplicationViewMode",
11
+ "ApplicationViewOrientation",
12
+ "ApplicationViewState",
13
+ "ApplicationViewSwitchingOptions",
14
+ "ApplicationViewWindowingMode",
15
+ "FullScreenSystemOverlayMode",
16
+ "HandPreference",
17
+ "ScreenCaptureDisabledBehavior",
18
+ "UIColorType",
19
+ "UIElementType",
20
+ "UserInteractionMode",
21
+ "ViewSizePreference",
22
+ "AccessibilitySettings",
23
+ "ActivationViewSwitcher",
24
+ "ApplicationView",
25
+ "ApplicationViewConsolidatedEventArgs",
26
+ "ApplicationViewScaling",
27
+ "ApplicationViewSwitcher",
28
+ "ApplicationViewTitleBar",
29
+ "ApplicationViewTransferContext",
30
+ "InputPane",
31
+ "InputPaneVisibilityEventArgs",
32
+ "ProjectionManager",
33
+ "StatusBar",
34
+ "StatusBarProgressIndicator",
35
+ "UISettings",
36
+ "UISettingsAnimationsEnabledChangedEventArgs",
37
+ "UISettingsAutoHideScrollBarsChangedEventArgs",
38
+ "UISettingsMessageDurationChangedEventArgs",
39
+ "UIViewSettings",
40
+ "ViewModePreferences",
41
+ ]
42
+
43
+ class ApplicationViewBoundsMode(enum.IntEnum):
44
+ USE_VISIBLE = 0
45
+ USE_CORE_WINDOW = 1
46
+
47
+ class ApplicationViewMode(enum.IntEnum):
48
+ DEFAULT = 0
49
+ COMPACT_OVERLAY = 1
50
+
51
+ class ApplicationViewOrientation(enum.IntEnum):
52
+ LANDSCAPE = 0
53
+ PORTRAIT = 1
54
+
55
+ class ApplicationViewState(enum.IntEnum):
56
+ FULL_SCREEN_LANDSCAPE = 0
57
+ FILLED = 1
58
+ SNAPPED = 2
59
+ FULL_SCREEN_PORTRAIT = 3
60
+
61
+ class ApplicationViewSwitchingOptions(enum.IntFlag):
62
+ DEFAULT = 0x0
63
+ SKIP_ANIMATION = 0x1
64
+ CONSOLIDATE_VIEWS = 0x2
65
+
66
+ class ApplicationViewWindowingMode(enum.IntEnum):
67
+ AUTO = 0
68
+ PREFERRED_LAUNCH_VIEW_SIZE = 1
69
+ FULL_SCREEN = 2
70
+ COMPACT_OVERLAY = 3
71
+ MAXIMIZED = 4
72
+
73
+ class FullScreenSystemOverlayMode(enum.IntEnum):
74
+ STANDARD = 0
75
+ MINIMAL = 1
76
+
77
+ class HandPreference(enum.IntEnum):
78
+ LEFT_HANDED = 0
79
+ RIGHT_HANDED = 1
80
+
81
+ class ScreenCaptureDisabledBehavior(enum.IntEnum):
82
+ DRAW_AS_BLACK = 0
83
+ EXCLUDE_FROM_CAPTURE = 1
84
+
85
+ class UIColorType(enum.IntEnum):
86
+ BACKGROUND = 0
87
+ FOREGROUND = 1
88
+ ACCENT_DARK3 = 2
89
+ ACCENT_DARK2 = 3
90
+ ACCENT_DARK1 = 4
91
+ ACCENT = 5
92
+ ACCENT_LIGHT1 = 6
93
+ ACCENT_LIGHT2 = 7
94
+ ACCENT_LIGHT3 = 8
95
+ COMPLEMENT = 9
96
+
97
+ class UIElementType(enum.IntEnum):
98
+ ACTIVE_CAPTION = 0
99
+ BACKGROUND = 1
100
+ BUTTON_FACE = 2
101
+ BUTTON_TEXT = 3
102
+ CAPTION_TEXT = 4
103
+ GRAY_TEXT = 5
104
+ HIGHLIGHT = 6
105
+ HIGHLIGHT_TEXT = 7
106
+ HOTLIGHT = 8
107
+ INACTIVE_CAPTION = 9
108
+ INACTIVE_CAPTION_TEXT = 10
109
+ WINDOW = 11
110
+ WINDOW_TEXT = 12
111
+ ACCENT_COLOR = 1000
112
+ TEXT_HIGH = 1001
113
+ TEXT_MEDIUM = 1002
114
+ TEXT_LOW = 1003
115
+ TEXT_CONTRAST_WITH_HIGH = 1004
116
+ NON_TEXT_HIGH = 1005
117
+ NON_TEXT_MEDIUM_HIGH = 1006
118
+ NON_TEXT_MEDIUM = 1007
119
+ NON_TEXT_MEDIUM_LOW = 1008
120
+ NON_TEXT_LOW = 1009
121
+ PAGE_BACKGROUND = 1010
122
+ POPUP_BACKGROUND = 1011
123
+ OVERLAY_OUTSIDE_POPUP = 1012
124
+
125
+ class UserInteractionMode(enum.IntEnum):
126
+ MOUSE = 0
127
+ TOUCH = 1
128
+
129
+ class ViewSizePreference(enum.IntEnum):
130
+ DEFAULT = 0
131
+ USE_LESS = 1
132
+ USE_HALF = 2
133
+ USE_MORE = 3
134
+ USE_MINIMUM = 4
135
+ USE_NONE = 5
136
+ CUSTOM = 6
137
+
138
+ AccessibilitySettings = _winrt_windows_ui_viewmanagement.AccessibilitySettings
139
+ ActivationViewSwitcher = _winrt_windows_ui_viewmanagement.ActivationViewSwitcher
140
+ ApplicationView = _winrt_windows_ui_viewmanagement.ApplicationView
141
+ ApplicationViewConsolidatedEventArgs = _winrt_windows_ui_viewmanagement.ApplicationViewConsolidatedEventArgs
142
+ ApplicationViewScaling = _winrt_windows_ui_viewmanagement.ApplicationViewScaling
143
+ ApplicationViewSwitcher = _winrt_windows_ui_viewmanagement.ApplicationViewSwitcher
144
+ ApplicationViewTitleBar = _winrt_windows_ui_viewmanagement.ApplicationViewTitleBar
145
+ ApplicationViewTransferContext = _winrt_windows_ui_viewmanagement.ApplicationViewTransferContext
146
+ InputPane = _winrt_windows_ui_viewmanagement.InputPane
147
+ InputPaneVisibilityEventArgs = _winrt_windows_ui_viewmanagement.InputPaneVisibilityEventArgs
148
+ ProjectionManager = _winrt_windows_ui_viewmanagement.ProjectionManager
149
+ StatusBar = _winrt_windows_ui_viewmanagement.StatusBar
150
+ StatusBarProgressIndicator = _winrt_windows_ui_viewmanagement.StatusBarProgressIndicator
151
+ UISettings = _winrt_windows_ui_viewmanagement.UISettings
152
+ UISettingsAnimationsEnabledChangedEventArgs = _winrt_windows_ui_viewmanagement.UISettingsAnimationsEnabledChangedEventArgs
153
+ UISettingsAutoHideScrollBarsChangedEventArgs = _winrt_windows_ui_viewmanagement.UISettingsAutoHideScrollBarsChangedEventArgs
154
+ UISettingsMessageDurationChangedEventArgs = _winrt_windows_ui_viewmanagement.UISettingsMessageDurationChangedEventArgs
155
+ UIViewSettings = _winrt_windows_ui_viewmanagement.UIViewSettings
156
+ ViewModePreferences = _winrt_windows_ui_viewmanagement.ViewModePreferences
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.ViewManagement
3
+ Version: 2.2.0
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: 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.14,>=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime ==2.2.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Devices.Enumeration[all] ==2.2.0 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Core[all] ==2.2.0 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.UI.Popups[all] ==2.2.0 ; extra == 'all'
23
+ Requires-Dist: winrt-Windows.UI.WindowManagement[all] ==2.2.0 ; extra == 'all'
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.UI.ViewManagement
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.ViewManagement` namespace.
30
+
31
+ This package provides the `winrt.windows.ui.viewmanagement` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_viewmanagement.cp313-win_amd64.pyd,sha256=VX0g2DZNgYukZBF0qwr83ARQDmppAl0iumNpPeivK2g,310272
2
+ winrt/_winrt_windows_ui_viewmanagement.pyi,sha256=NtQmnz3EUa5c0gWJ3drTJr4DMcKNehK8xXwLPKszAVI,24553
3
+ winrt/windows/ui/viewmanagement/__init__.py,sha256=SoFr_8ZKiacKB5fXHVid_4olWI6PTQApyr2MvZRYrdc,4840
4
+ winrt/windows/ui/viewmanagement/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.ViewManagement-2.2.0.dist-info/METADATA,sha256=8i_yxJUP9oQU6lKwQPGmJSJNszEFVYCQmIQDO7zHOSE,1495
6
+ winrt_Windows.UI.ViewManagement-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.UI.ViewManagement-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.ViewManagement-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+