winrt-Windows.UI.ViewManagement 2.0.0b1__cp39-cp39-win_arm64.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,418 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.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.devices.enumeration
13
+ import winrt.windows.foundation
14
+ import winrt.windows.foundation.collections
15
+ import winrt.windows.ui
16
+ import winrt.windows.ui.core
17
+ import winrt.windows.ui.popups
18
+ import winrt.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
+ class AccessibilitySettings(winrt.system.Object):
25
+ @staticmethod
26
+ def _from(obj: winrt.system.Object, /) -> AccessibilitySettings: ...
27
+ def __new__(cls: typing.Type[AccessibilitySettings]) -> AccessibilitySettings:...
28
+ def add_high_contrast_changed(self, handler: winrt.windows.foundation.TypedEventHandler[AccessibilitySettings, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
29
+ def remove_high_contrast_changed(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
30
+ @_property
31
+ def high_contrast(self) -> bool: ...
32
+ @_property
33
+ def high_contrast_scheme(self) -> str: ...
34
+
35
+ class ActivationViewSwitcher(winrt.system.Object):
36
+ @staticmethod
37
+ def _from(obj: winrt.system.Object, /) -> ActivationViewSwitcher: ...
38
+ def is_view_presented_on_activation_virtual_desktop(self, view_id: winrt.system.Int32, /) -> bool: ...
39
+ @typing.overload
40
+ def show_as_standalone_async(self, view_id: winrt.system.Int32, /) -> winrt.windows.foundation.IAsyncAction: ...
41
+ @typing.overload
42
+ def show_as_standalone_async(self, view_id: winrt.system.Int32, size_preference: ViewSizePreference, /) -> winrt.windows.foundation.IAsyncAction: ...
43
+
44
+ class ApplicationView_Static(type):
45
+ def clear_all_persisted_state(cls) -> None: ...
46
+ def clear_persisted_state(cls, key: str, /) -> None: ...
47
+ def get_application_view_id_for_window(cls, window: typing.Optional[winrt.windows.ui.core.ICoreWindow], /) -> winrt.system.Int32: ...
48
+ def get_for_current_view(cls) -> typing.Optional[ApplicationView]: ...
49
+ def try_unsnap(cls) -> bool: ...
50
+ def try_unsnap_to_fullscreen(cls) -> bool: ...
51
+ @_property
52
+ def value(cls) -> ApplicationViewState: ...
53
+ @_property
54
+ def terminate_app_on_final_view_close(cls) -> bool: ...
55
+ @terminate_app_on_final_view_close.setter
56
+ def terminate_app_on_final_view_close(cls, value: bool) -> None: ...
57
+ @_property
58
+ def preferred_launch_windowing_mode(cls) -> ApplicationViewWindowingMode: ...
59
+ @preferred_launch_windowing_mode.setter
60
+ def preferred_launch_windowing_mode(cls, value: ApplicationViewWindowingMode) -> None: ...
61
+ @_property
62
+ def preferred_launch_view_size(cls) -> winrt.windows.foundation.Size: ...
63
+ @preferred_launch_view_size.setter
64
+ def preferred_launch_view_size(cls, value: winrt.windows.foundation.Size) -> None: ...
65
+
66
+ class ApplicationView(winrt.system.Object, metaclass=ApplicationView_Static):
67
+ @staticmethod
68
+ def _from(obj: winrt.system.Object, /) -> ApplicationView: ...
69
+ def exit_full_screen_mode(self) -> None: ...
70
+ def get_display_regions(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[winrt.windows.ui.windowmanagement.DisplayRegion]]: ...
71
+ def is_view_mode_supported(self, view_mode: ApplicationViewMode, /) -> bool: ...
72
+ def set_desired_bounds_mode(self, bounds_mode: ApplicationViewBoundsMode, /) -> bool: ...
73
+ def set_preferred_min_size(self, min_size: winrt.windows.foundation.Size, /) -> None: ...
74
+ def show_standard_system_overlays(self) -> None: ...
75
+ def try_consolidate_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
76
+ def try_enter_full_screen_mode(self) -> bool: ...
77
+ @typing.overload
78
+ def try_enter_view_mode_async(self, view_mode: ApplicationViewMode, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
79
+ @typing.overload
80
+ def try_enter_view_mode_async(self, view_mode: ApplicationViewMode, view_mode_preferences: typing.Optional[ViewModePreferences], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
81
+ def try_resize_view(self, value: winrt.windows.foundation.Size, /) -> bool: ...
82
+ def add_consolidated(self, handler: winrt.windows.foundation.TypedEventHandler[ApplicationView, ApplicationViewConsolidatedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
83
+ def remove_consolidated(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
84
+ def add_visible_bounds_changed(self, handler: winrt.windows.foundation.TypedEventHandler[ApplicationView, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
85
+ def remove_visible_bounds_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
86
+ @_property
87
+ def title(self) -> str: ...
88
+ @title.setter
89
+ def title(self, value: str) -> None: ...
90
+ @_property
91
+ def is_screen_capture_enabled(self) -> bool: ...
92
+ @is_screen_capture_enabled.setter
93
+ def is_screen_capture_enabled(self, value: bool) -> None: ...
94
+ @_property
95
+ def adjacent_to_left_display_edge(self) -> bool: ...
96
+ @_property
97
+ def adjacent_to_right_display_edge(self) -> bool: ...
98
+ @_property
99
+ def id(self) -> winrt.system.Int32: ...
100
+ @_property
101
+ def is_full_screen(self) -> bool: ...
102
+ @_property
103
+ def is_on_lock_screen(self) -> bool: ...
104
+ @_property
105
+ def orientation(self) -> ApplicationViewOrientation: ...
106
+ @_property
107
+ def suppress_system_overlays(self) -> bool: ...
108
+ @suppress_system_overlays.setter
109
+ def suppress_system_overlays(self, value: bool) -> None: ...
110
+ @_property
111
+ def visible_bounds(self) -> winrt.windows.foundation.Rect: ...
112
+ @_property
113
+ def desired_bounds_mode(self) -> ApplicationViewBoundsMode: ...
114
+ @_property
115
+ def full_screen_system_overlay_mode(self) -> FullScreenSystemOverlayMode: ...
116
+ @full_screen_system_overlay_mode.setter
117
+ def full_screen_system_overlay_mode(self, value: FullScreenSystemOverlayMode) -> None: ...
118
+ @_property
119
+ def title_bar(self) -> typing.Optional[ApplicationViewTitleBar]: ...
120
+ @_property
121
+ def is_full_screen_mode(self) -> bool: ...
122
+ @_property
123
+ def view_mode(self) -> ApplicationViewMode: ...
124
+ @_property
125
+ def persisted_state_id(self) -> str: ...
126
+ @persisted_state_id.setter
127
+ def persisted_state_id(self, value: str) -> None: ...
128
+ @_property
129
+ def windowing_environment(self) -> typing.Optional[winrt.windows.ui.windowmanagement.WindowingEnvironment]: ...
130
+ @_property
131
+ def u_i_context(self) -> typing.Optional[winrt.windows.ui.UIContext]: ...
132
+
133
+ class ApplicationViewConsolidatedEventArgs(winrt.system.Object):
134
+ @staticmethod
135
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewConsolidatedEventArgs: ...
136
+ @_property
137
+ def is_user_initiated(self) -> bool: ...
138
+ @_property
139
+ def is_app_initiated(self) -> bool: ...
140
+
141
+ class ApplicationViewScaling_Static(type):
142
+ def try_set_disable_layout_scaling(cls, disable_layout_scaling: bool, /) -> bool: ...
143
+ @_property
144
+ def disable_layout_scaling(cls) -> bool: ...
145
+
146
+ class ApplicationViewScaling(winrt.system.Object, metaclass=ApplicationViewScaling_Static):
147
+ @staticmethod
148
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewScaling: ...
149
+
150
+ class ApplicationViewSwitcher_Static(type):
151
+ def disable_showing_main_view_on_activation(cls) -> None: ...
152
+ def disable_system_view_activation_policy(cls) -> None: ...
153
+ def prepare_for_custom_animated_switch_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, options: ApplicationViewSwitchingOptions, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
154
+ @typing.overload
155
+ def switch_async(cls, view_id: winrt.system.Int32, /) -> winrt.windows.foundation.IAsyncAction: ...
156
+ @typing.overload
157
+ def switch_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, /) -> winrt.windows.foundation.IAsyncAction: ...
158
+ @typing.overload
159
+ def switch_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, options: ApplicationViewSwitchingOptions, /) -> winrt.windows.foundation.IAsyncAction: ...
160
+ @typing.overload
161
+ def try_show_as_standalone_async(cls, view_id: winrt.system.Int32, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
162
+ @typing.overload
163
+ def try_show_as_standalone_async(cls, view_id: winrt.system.Int32, size_preference: ViewSizePreference, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
164
+ @typing.overload
165
+ 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, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
166
+ @typing.overload
167
+ def try_show_as_view_mode_async(cls, view_id: winrt.system.Int32, view_mode: ApplicationViewMode, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
168
+ @typing.overload
169
+ def try_show_as_view_mode_async(cls, view_id: winrt.system.Int32, view_mode: ApplicationViewMode, view_mode_preferences: typing.Optional[ViewModePreferences], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
170
+
171
+ class ApplicationViewSwitcher(winrt.system.Object, metaclass=ApplicationViewSwitcher_Static):
172
+ @staticmethod
173
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewSwitcher: ...
174
+
175
+ class ApplicationViewTitleBar(winrt.system.Object):
176
+ @staticmethod
177
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewTitleBar: ...
178
+ @_property
179
+ def inactive_foreground_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
180
+ @inactive_foreground_color.setter
181
+ def inactive_foreground_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
182
+ @_property
183
+ def inactive_background_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
184
+ @inactive_background_color.setter
185
+ def inactive_background_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
186
+ @_property
187
+ def foreground_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
188
+ @foreground_color.setter
189
+ def foreground_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
190
+ @_property
191
+ def button_pressed_foreground_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
192
+ @button_pressed_foreground_color.setter
193
+ def button_pressed_foreground_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
194
+ @_property
195
+ def button_pressed_background_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
196
+ @button_pressed_background_color.setter
197
+ def button_pressed_background_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
198
+ @_property
199
+ def button_inactive_foreground_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
200
+ @button_inactive_foreground_color.setter
201
+ def button_inactive_foreground_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
202
+ @_property
203
+ def button_inactive_background_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
204
+ @button_inactive_background_color.setter
205
+ def button_inactive_background_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
206
+ @_property
207
+ def button_hover_foreground_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
208
+ @button_hover_foreground_color.setter
209
+ def button_hover_foreground_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
210
+ @_property
211
+ def button_hover_background_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
212
+ @button_hover_background_color.setter
213
+ def button_hover_background_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
214
+ @_property
215
+ def button_foreground_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
216
+ @button_foreground_color.setter
217
+ def button_foreground_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
218
+ @_property
219
+ def button_background_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
220
+ @button_background_color.setter
221
+ def button_background_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
222
+ @_property
223
+ def background_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
224
+ @background_color.setter
225
+ def background_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
226
+
227
+ class ApplicationViewTransferContext_Static(type):
228
+ @_property
229
+ def data_package_format_id(cls) -> str: ...
230
+
231
+ class ApplicationViewTransferContext(winrt.system.Object, metaclass=ApplicationViewTransferContext_Static):
232
+ @staticmethod
233
+ def _from(obj: winrt.system.Object, /) -> ApplicationViewTransferContext: ...
234
+ def __new__(cls: typing.Type[ApplicationViewTransferContext]) -> ApplicationViewTransferContext:...
235
+ @_property
236
+ def view_id(self) -> winrt.system.Int32: ...
237
+ @view_id.setter
238
+ def view_id(self, value: winrt.system.Int32) -> None: ...
239
+
240
+ class InputPane_Static(type):
241
+ def get_for_current_view(cls) -> typing.Optional[InputPane]: ...
242
+ def get_for_u_i_context(cls, context: typing.Optional[winrt.windows.ui.UIContext], /) -> typing.Optional[InputPane]: ...
243
+
244
+ class InputPane(winrt.system.Object, metaclass=InputPane_Static):
245
+ @staticmethod
246
+ def _from(obj: winrt.system.Object, /) -> InputPane: ...
247
+ def try_hide(self) -> bool: ...
248
+ def try_show(self) -> bool: ...
249
+ def add_hiding(self, handler: winrt.windows.foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
250
+ def remove_hiding(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
251
+ def add_showing(self, handler: winrt.windows.foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
252
+ def remove_showing(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
253
+ @_property
254
+ def occluded_rect(self) -> winrt.windows.foundation.Rect: ...
255
+ @_property
256
+ def visible(self) -> bool: ...
257
+ @visible.setter
258
+ def visible(self, value: bool) -> None: ...
259
+
260
+ class InputPaneVisibilityEventArgs(winrt.system.Object):
261
+ @staticmethod
262
+ def _from(obj: winrt.system.Object, /) -> InputPaneVisibilityEventArgs: ...
263
+ @_property
264
+ def ensured_focused_element_in_view(self) -> bool: ...
265
+ @ensured_focused_element_in_view.setter
266
+ def ensured_focused_element_in_view(self, value: bool) -> None: ...
267
+ @_property
268
+ def occluded_rect(self) -> winrt.windows.foundation.Rect: ...
269
+
270
+ class ProjectionManager_Static(type):
271
+ def get_device_selector(cls) -> str: ...
272
+ @typing.overload
273
+ def request_start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, selection: winrt.windows.foundation.Rect, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
274
+ @typing.overload
275
+ def request_start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, selection: winrt.windows.foundation.Rect, preffered_placement: winrt.windows.ui.popups.Placement, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
276
+ @typing.overload
277
+ def start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> winrt.windows.foundation.IAsyncAction: ...
278
+ @typing.overload
279
+ def start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, display_device_info: typing.Optional[winrt.windows.devices.enumeration.DeviceInformation], /) -> winrt.windows.foundation.IAsyncAction: ...
280
+ def stop_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> winrt.windows.foundation.IAsyncAction: ...
281
+ def swap_displays_for_views_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> winrt.windows.foundation.IAsyncAction: ...
282
+ def add_projection_display_available_changed(cls, handler: winrt.windows.foundation.EventHandler[winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
283
+ def remove_projection_display_available_changed(cls, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
284
+ @_property
285
+ def projection_display_available(cls) -> bool: ...
286
+
287
+ class ProjectionManager(winrt.system.Object, metaclass=ProjectionManager_Static):
288
+ @staticmethod
289
+ def _from(obj: winrt.system.Object, /) -> ProjectionManager: ...
290
+
291
+ class StatusBar_Static(type):
292
+ def get_for_current_view(cls) -> typing.Optional[StatusBar]: ...
293
+
294
+ class StatusBar(winrt.system.Object, metaclass=StatusBar_Static):
295
+ @staticmethod
296
+ def _from(obj: winrt.system.Object, /) -> StatusBar: ...
297
+ def hide_async(self) -> winrt.windows.foundation.IAsyncAction: ...
298
+ def show_async(self) -> winrt.windows.foundation.IAsyncAction: ...
299
+ def add_hiding(self, event_handler: winrt.windows.foundation.TypedEventHandler[StatusBar, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
300
+ def remove_hiding(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
301
+ def add_showing(self, event_handler: winrt.windows.foundation.TypedEventHandler[StatusBar, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
302
+ def remove_showing(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
303
+ @_property
304
+ def foreground_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
305
+ @foreground_color.setter
306
+ def foreground_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
307
+ @_property
308
+ def background_opacity(self) -> winrt.system.Double: ...
309
+ @background_opacity.setter
310
+ def background_opacity(self, value: winrt.system.Double) -> None: ...
311
+ @_property
312
+ def background_color(self) -> typing.Optional[typing.Optional[winrt.windows.ui.Color]]: ...
313
+ @background_color.setter
314
+ def background_color(self, value: typing.Optional[typing.Optional[winrt.windows.ui.Color]]) -> None: ...
315
+ @_property
316
+ def occluded_rect(self) -> winrt.windows.foundation.Rect: ...
317
+ @_property
318
+ def progress_indicator(self) -> typing.Optional[StatusBarProgressIndicator]: ...
319
+
320
+ class StatusBarProgressIndicator(winrt.system.Object):
321
+ @staticmethod
322
+ def _from(obj: winrt.system.Object, /) -> StatusBarProgressIndicator: ...
323
+ def hide_async(self) -> winrt.windows.foundation.IAsyncAction: ...
324
+ def show_async(self) -> winrt.windows.foundation.IAsyncAction: ...
325
+ @_property
326
+ def text(self) -> str: ...
327
+ @text.setter
328
+ def text(self, value: str) -> None: ...
329
+ @_property
330
+ def progress_value(self) -> typing.Optional[typing.Optional[winrt.system.Double]]: ...
331
+ @progress_value.setter
332
+ def progress_value(self, value: typing.Optional[typing.Optional[winrt.system.Double]]) -> None: ...
333
+
334
+ class UISettings(winrt.system.Object):
335
+ @staticmethod
336
+ def _from(obj: winrt.system.Object, /) -> UISettings: ...
337
+ def __new__(cls: typing.Type[UISettings]) -> UISettings:...
338
+ def get_color_value(self, desired_color: UIColorType, /) -> winrt.windows.ui.Color: ...
339
+ def u_i_element_color(self, desired_element: UIElementType, /) -> winrt.windows.ui.Color: ...
340
+ def add_text_scale_factor_changed(self, handler: winrt.windows.foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
341
+ def remove_text_scale_factor_changed(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
342
+ def add_color_values_changed(self, handler: winrt.windows.foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
343
+ def remove_color_values_changed(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
344
+ def add_advanced_effects_enabled_changed(self, handler: winrt.windows.foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
345
+ def remove_advanced_effects_enabled_changed(self, cookie: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
346
+ def add_auto_hide_scroll_bars_changed(self, handler: winrt.windows.foundation.TypedEventHandler[UISettings, UISettingsAutoHideScrollBarsChangedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
347
+ def remove_auto_hide_scroll_bars_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
348
+ def add_animations_enabled_changed(self, handler: winrt.windows.foundation.TypedEventHandler[UISettings, UISettingsAnimationsEnabledChangedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
349
+ def remove_animations_enabled_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
350
+ def add_message_duration_changed(self, handler: winrt.windows.foundation.TypedEventHandler[UISettings, UISettingsMessageDurationChangedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
351
+ def remove_message_duration_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
352
+ @_property
353
+ def animations_enabled(self) -> bool: ...
354
+ @_property
355
+ def caret_blink_rate(self) -> winrt.system.UInt32: ...
356
+ @_property
357
+ def caret_browsing_enabled(self) -> bool: ...
358
+ @_property
359
+ def caret_width(self) -> winrt.system.UInt32: ...
360
+ @_property
361
+ def cursor_size(self) -> winrt.windows.foundation.Size: ...
362
+ @_property
363
+ def double_click_time(self) -> winrt.system.UInt32: ...
364
+ @_property
365
+ def hand_preference(self) -> HandPreference: ...
366
+ @_property
367
+ def message_duration(self) -> winrt.system.UInt32: ...
368
+ @_property
369
+ def mouse_hover_time(self) -> winrt.system.UInt32: ...
370
+ @_property
371
+ def scroll_bar_arrow_size(self) -> winrt.windows.foundation.Size: ...
372
+ @_property
373
+ def scroll_bar_size(self) -> winrt.windows.foundation.Size: ...
374
+ @_property
375
+ def scroll_bar_thumb_box_size(self) -> winrt.windows.foundation.Size: ...
376
+ @_property
377
+ def text_scale_factor(self) -> winrt.system.Double: ...
378
+ @_property
379
+ def advanced_effects_enabled(self) -> bool: ...
380
+ @_property
381
+ def auto_hide_scroll_bars(self) -> bool: ...
382
+
383
+ class UISettingsAnimationsEnabledChangedEventArgs(winrt.system.Object):
384
+ @staticmethod
385
+ def _from(obj: winrt.system.Object, /) -> UISettingsAnimationsEnabledChangedEventArgs: ...
386
+
387
+ class UISettingsAutoHideScrollBarsChangedEventArgs(winrt.system.Object):
388
+ @staticmethod
389
+ def _from(obj: winrt.system.Object, /) -> UISettingsAutoHideScrollBarsChangedEventArgs: ...
390
+
391
+ class UISettingsMessageDurationChangedEventArgs(winrt.system.Object):
392
+ @staticmethod
393
+ def _from(obj: winrt.system.Object, /) -> UISettingsMessageDurationChangedEventArgs: ...
394
+
395
+ class UIViewSettings_Static(type):
396
+ def get_for_current_view(cls) -> typing.Optional[UIViewSettings]: ...
397
+
398
+ class UIViewSettings(winrt.system.Object, metaclass=UIViewSettings_Static):
399
+ @staticmethod
400
+ def _from(obj: winrt.system.Object, /) -> UIViewSettings: ...
401
+ @_property
402
+ def user_interaction_mode(self) -> UserInteractionMode: ...
403
+
404
+ class ViewModePreferences_Static(type):
405
+ def create_default(cls, mode: ApplicationViewMode, /) -> typing.Optional[ViewModePreferences]: ...
406
+
407
+ class ViewModePreferences(winrt.system.Object, metaclass=ViewModePreferences_Static):
408
+ @staticmethod
409
+ def _from(obj: winrt.system.Object, /) -> ViewModePreferences: ...
410
+ @_property
411
+ def view_size_preference(self) -> ViewSizePreference: ...
412
+ @view_size_preference.setter
413
+ def view_size_preference(self, value: ViewSizePreference) -> None: ...
414
+ @_property
415
+ def custom_size(self) -> winrt.windows.foundation.Size: ...
416
+ @custom_size.setter
417
+ def custom_size(self, value: winrt.windows.foundation.Size) -> None: ...
418
+
@@ -0,0 +1,156 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
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 = 0
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
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.ViewManagement
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.Devices.Enumeration[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.UI[all] ==2.0.0-beta.1 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.UI.Core[all] ==2.0.0-beta.1 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI.Popups[all] ==2.0.0-beta.1 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.UI.WindowManagement[all] ==2.0.0-beta.1 ; extra == 'all'
23
+
24
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
25
+
26
+ # winrt-Windows.UI.ViewManagement
27
+
28
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.ViewManagement` namespace.
29
+
30
+ This package provides the `winrt.windows.ui.viewmanagement` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_ui_viewmanagement.cp39-win_arm64.pyd,sha256=tZnnJpuA8fNz5MRsKQuIbB4vVT_aNeruCu1EctatO-8,464384
2
+ winrt/_winrt_windows_ui_viewmanagement.pyi,sha256=1-0h2OhVhg431L9TY39-rdzWnvGUfcFUUxggpi_-N7g,24875
3
+ winrt/windows/ui/viewmanagement/__init__.py,sha256=4-7P-aFqKNuO6hi5pyyh2XQcGgb5dV6oOXXGTXfL_BY,4845
4
+ winrt_Windows.UI.ViewManagement-2.0.0b1.dist-info/METADATA,sha256=IDi8w0yb72ECTCyvlqQThQPEVbU0ts32nBcreu3g8JQ,1494
5
+ winrt_Windows.UI.ViewManagement-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.UI.ViewManagement-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.UI.ViewManagement-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+