winrt-Windows.UI.ViewManagement 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_viewmanagement.cp314-win32.pyd +0 -0
- winrt/_winrt_windows_ui_viewmanagement.pyi +524 -0
- winrt/windows/ui/viewmanagement/__init__.py +153 -0
- winrt/windows/ui/viewmanagement/py.typed +0 -0
- winrt_windows_ui_viewmanagement-3.2.1.dist-info/METADATA +31 -0
- winrt_windows_ui_viewmanagement-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_viewmanagement-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_viewmanagement-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,524 @@
|
|
|
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.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
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
27
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.AccessibilitySettings::add_HighContrastChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.AccessibilitySettings,System.Object>)
|
|
28
|
+
def add_high_contrast_changed(self, handler: windows_foundation.TypedEventHandler[AccessibilitySettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
29
|
+
# System.Void Windows.UI.ViewManagement.AccessibilitySettings::remove_HighContrastChanged(Windows.Foundation.EventRegistrationToken)
|
|
30
|
+
def remove_high_contrast_changed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
31
|
+
# System.Boolean Windows.UI.ViewManagement.AccessibilitySettings::get_HighContrast()
|
|
32
|
+
@_property
|
|
33
|
+
def high_contrast(self) -> bool: ...
|
|
34
|
+
# System.String Windows.UI.ViewManagement.AccessibilitySettings::get_HighContrastScheme()
|
|
35
|
+
@_property
|
|
36
|
+
def high_contrast_scheme(self) -> str: ...
|
|
37
|
+
|
|
38
|
+
@typing.final
|
|
39
|
+
class ActivationViewSwitcher(winrt.system.Object):
|
|
40
|
+
# System.Boolean Windows.UI.ViewManagement.ActivationViewSwitcher::IsViewPresentedOnActivationVirtualDesktop(System.Int32)
|
|
41
|
+
def is_view_presented_on_activation_virtual_desktop(self, view_id: winrt.system.Int32, /) -> bool: ...
|
|
42
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ActivationViewSwitcher::ShowAsStandaloneAsync(System.Int32)
|
|
43
|
+
def show_as_standalone_async(self, view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
|
|
44
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ActivationViewSwitcher::ShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
45
|
+
def show_as_standalone_with_size_preference_async(self, view_id: winrt.system.Int32, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncAction: ...
|
|
46
|
+
|
|
47
|
+
@typing.final
|
|
48
|
+
class ApplicationView_Static(winrt._winrt.IInspectable_Static):
|
|
49
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ClearAllPersistedState()
|
|
50
|
+
def clear_all_persisted_state(cls) -> None: ...
|
|
51
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ClearPersistedState(System.String)
|
|
52
|
+
def clear_persisted_state(cls, key: str, /) -> None: ...
|
|
53
|
+
# System.Int32 Windows.UI.ViewManagement.ApplicationView::GetApplicationViewIdForWindow(Windows.UI.Core.ICoreWindow)
|
|
54
|
+
def get_application_view_id_for_window(cls, window: windows_ui_core.ICoreWindow, /) -> winrt.system.Int32: ...
|
|
55
|
+
# Windows.UI.ViewManagement.ApplicationView Windows.UI.ViewManagement.ApplicationView::GetForCurrentView()
|
|
56
|
+
def get_for_current_view(cls) -> ApplicationView: ...
|
|
57
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryUnsnap()
|
|
58
|
+
# @deprecated("TryUnsnap may be altered or unavailable for releases after Windows 8.1. Apps can be continuously resized, but cannot be snapped, starting in Windows 8.1.")
|
|
59
|
+
def try_unsnap(cls) -> bool: ...
|
|
60
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryUnsnapToFullscreen()
|
|
61
|
+
# @deprecated("IApplicationViewFullscreenStatics is deprecated after Windows 8. Please use other resize APIs.")
|
|
62
|
+
def try_unsnap_to_fullscreen(cls) -> bool: ...
|
|
63
|
+
# Windows.UI.ViewManagement.ApplicationViewState Windows.UI.ViewManagement.ApplicationView::get_Value()
|
|
64
|
+
@_property
|
|
65
|
+
def value(cls) -> ApplicationViewState: ...
|
|
66
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_TerminateAppOnFinalViewClose()
|
|
67
|
+
@_property
|
|
68
|
+
def terminate_app_on_final_view_close(cls) -> bool: ...
|
|
69
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_TerminateAppOnFinalViewClose(System.Boolean)
|
|
70
|
+
@terminate_app_on_final_view_close.setter
|
|
71
|
+
def terminate_app_on_final_view_close(cls, value: bool) -> None: ...
|
|
72
|
+
# Windows.UI.ViewManagement.ApplicationViewWindowingMode Windows.UI.ViewManagement.ApplicationView::get_PreferredLaunchWindowingMode()
|
|
73
|
+
@_property
|
|
74
|
+
def preferred_launch_windowing_mode(cls) -> ApplicationViewWindowingMode: ...
|
|
75
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_PreferredLaunchWindowingMode(Windows.UI.ViewManagement.ApplicationViewWindowingMode)
|
|
76
|
+
@preferred_launch_windowing_mode.setter
|
|
77
|
+
def preferred_launch_windowing_mode(cls, value: ApplicationViewWindowingMode) -> None: ...
|
|
78
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.ApplicationView::get_PreferredLaunchViewSize()
|
|
79
|
+
@_property
|
|
80
|
+
def preferred_launch_view_size(cls) -> windows_foundation.Size: ...
|
|
81
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_PreferredLaunchViewSize(Windows.Foundation.Size)
|
|
82
|
+
@preferred_launch_view_size.setter
|
|
83
|
+
def preferred_launch_view_size(cls, value: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]]) -> None: ...
|
|
84
|
+
|
|
85
|
+
@typing.final
|
|
86
|
+
class ApplicationView(winrt.system.Object, metaclass=ApplicationView_Static):
|
|
87
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ExitFullScreenMode()
|
|
88
|
+
def exit_full_screen_mode(self) -> None: ...
|
|
89
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.DisplayRegion> Windows.UI.ViewManagement.ApplicationView::GetDisplayRegions()
|
|
90
|
+
def get_display_regions(self) -> typing.Sequence[windows_ui_windowmanagement.DisplayRegion]: ...
|
|
91
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::IsViewModeSupported(Windows.UI.ViewManagement.ApplicationViewMode)
|
|
92
|
+
def is_view_mode_supported(self, view_mode: ApplicationViewMode, /) -> bool: ...
|
|
93
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::SetDesiredBoundsMode(Windows.UI.ViewManagement.ApplicationViewBoundsMode)
|
|
94
|
+
def set_desired_bounds_mode(self, bounds_mode: ApplicationViewBoundsMode, /) -> bool: ...
|
|
95
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::SetPreferredMinSize(Windows.Foundation.Size)
|
|
96
|
+
def set_preferred_min_size(self, min_size: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> None: ...
|
|
97
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ShowStandardSystemOverlays()
|
|
98
|
+
def show_standard_system_overlays(self) -> None: ...
|
|
99
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationView::TryConsolidateAsync()
|
|
100
|
+
def try_consolidate_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
101
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryEnterFullScreenMode()
|
|
102
|
+
def try_enter_full_screen_mode(self) -> bool: ...
|
|
103
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationView::TryEnterViewModeAsync(Windows.UI.ViewManagement.ApplicationViewMode)
|
|
104
|
+
def try_enter_view_mode_async(self, view_mode: ApplicationViewMode, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
105
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationView::TryEnterViewModeAsync(Windows.UI.ViewManagement.ApplicationViewMode,Windows.UI.ViewManagement.ViewModePreferences)
|
|
106
|
+
def try_enter_view_mode_with_preferences_async(self, view_mode: ApplicationViewMode, view_mode_preferences: ViewModePreferences, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
107
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryResizeView(Windows.Foundation.Size)
|
|
108
|
+
def try_resize_view(self, value: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> bool: ...
|
|
109
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.ApplicationView::add_Consolidated(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.ApplicationView,Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs>)
|
|
110
|
+
def add_consolidated(self, handler: windows_foundation.TypedEventHandler[ApplicationView, ApplicationViewConsolidatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
111
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::remove_Consolidated(Windows.Foundation.EventRegistrationToken)
|
|
112
|
+
def remove_consolidated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
113
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.ApplicationView::add_VisibleBoundsChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.ApplicationView,System.Object>)
|
|
114
|
+
def add_visible_bounds_changed(self, handler: windows_foundation.TypedEventHandler[ApplicationView, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
115
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::remove_VisibleBoundsChanged(Windows.Foundation.EventRegistrationToken)
|
|
116
|
+
def remove_visible_bounds_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
117
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsScreenCaptureEnabled()
|
|
118
|
+
@_property
|
|
119
|
+
def is_screen_capture_enabled(self) -> bool: ...
|
|
120
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_IsScreenCaptureEnabled(System.Boolean)
|
|
121
|
+
@is_screen_capture_enabled.setter
|
|
122
|
+
def is_screen_capture_enabled(self, value: bool) -> None: ...
|
|
123
|
+
# System.String Windows.UI.ViewManagement.ApplicationView::get_Title()
|
|
124
|
+
@_property
|
|
125
|
+
def title(self) -> str: ...
|
|
126
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_Title(System.String)
|
|
127
|
+
@title.setter
|
|
128
|
+
def title(self, value: str) -> None: ...
|
|
129
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_AdjacentToLeftDisplayEdge()
|
|
130
|
+
@_property
|
|
131
|
+
def adjacent_to_left_display_edge(self) -> bool: ...
|
|
132
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_AdjacentToRightDisplayEdge()
|
|
133
|
+
@_property
|
|
134
|
+
def adjacent_to_right_display_edge(self) -> bool: ...
|
|
135
|
+
# System.Int32 Windows.UI.ViewManagement.ApplicationView::get_Id()
|
|
136
|
+
@_property
|
|
137
|
+
def id(self) -> winrt.system.Int32: ...
|
|
138
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsFullScreen()
|
|
139
|
+
@_property
|
|
140
|
+
def is_full_screen(self) -> bool: ...
|
|
141
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsOnLockScreen()
|
|
142
|
+
@_property
|
|
143
|
+
def is_on_lock_screen(self) -> bool: ...
|
|
144
|
+
# Windows.UI.ViewManagement.ApplicationViewOrientation Windows.UI.ViewManagement.ApplicationView::get_Orientation()
|
|
145
|
+
@_property
|
|
146
|
+
def orientation(self) -> ApplicationViewOrientation: ...
|
|
147
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_SuppressSystemOverlays()
|
|
148
|
+
@_property
|
|
149
|
+
def suppress_system_overlays(self) -> bool: ...
|
|
150
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_SuppressSystemOverlays(System.Boolean)
|
|
151
|
+
@suppress_system_overlays.setter
|
|
152
|
+
def suppress_system_overlays(self, value: bool) -> None: ...
|
|
153
|
+
# Windows.UI.ViewManagement.ApplicationViewBoundsMode Windows.UI.ViewManagement.ApplicationView::get_DesiredBoundsMode()
|
|
154
|
+
@_property
|
|
155
|
+
def desired_bounds_mode(self) -> ApplicationViewBoundsMode: ...
|
|
156
|
+
# Windows.Foundation.Rect Windows.UI.ViewManagement.ApplicationView::get_VisibleBounds()
|
|
157
|
+
@_property
|
|
158
|
+
def visible_bounds(self) -> windows_foundation.Rect: ...
|
|
159
|
+
# Windows.UI.ViewManagement.FullScreenSystemOverlayMode Windows.UI.ViewManagement.ApplicationView::get_FullScreenSystemOverlayMode()
|
|
160
|
+
@_property
|
|
161
|
+
def full_screen_system_overlay_mode(self) -> FullScreenSystemOverlayMode: ...
|
|
162
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_FullScreenSystemOverlayMode(Windows.UI.ViewManagement.FullScreenSystemOverlayMode)
|
|
163
|
+
@full_screen_system_overlay_mode.setter
|
|
164
|
+
def full_screen_system_overlay_mode(self, value: FullScreenSystemOverlayMode) -> None: ...
|
|
165
|
+
# Windows.UI.ViewManagement.ApplicationViewTitleBar Windows.UI.ViewManagement.ApplicationView::get_TitleBar()
|
|
166
|
+
@_property
|
|
167
|
+
def title_bar(self) -> ApplicationViewTitleBar: ...
|
|
168
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsFullScreenMode()
|
|
169
|
+
@_property
|
|
170
|
+
def is_full_screen_mode(self) -> bool: ...
|
|
171
|
+
# Windows.UI.ViewManagement.ApplicationViewMode Windows.UI.ViewManagement.ApplicationView::get_ViewMode()
|
|
172
|
+
@_property
|
|
173
|
+
def view_mode(self) -> ApplicationViewMode: ...
|
|
174
|
+
# System.String Windows.UI.ViewManagement.ApplicationView::get_PersistedStateId()
|
|
175
|
+
@_property
|
|
176
|
+
def persisted_state_id(self) -> str: ...
|
|
177
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_PersistedStateId(System.String)
|
|
178
|
+
@persisted_state_id.setter
|
|
179
|
+
def persisted_state_id(self, value: str) -> None: ...
|
|
180
|
+
# Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.ViewManagement.ApplicationView::get_WindowingEnvironment()
|
|
181
|
+
@_property
|
|
182
|
+
def windowing_environment(self) -> windows_ui_windowmanagement.WindowingEnvironment: ...
|
|
183
|
+
# Windows.UI.UIContext Windows.UI.ViewManagement.ApplicationView::get_UIContext()
|
|
184
|
+
@_property
|
|
185
|
+
def ui_context(self) -> windows_ui.UIContext: ...
|
|
186
|
+
|
|
187
|
+
@typing.final
|
|
188
|
+
class ApplicationViewConsolidatedEventArgs(winrt.system.Object):
|
|
189
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs::get_IsUserInitiated()
|
|
190
|
+
@_property
|
|
191
|
+
def is_user_initiated(self) -> bool: ...
|
|
192
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs::get_IsAppInitiated()
|
|
193
|
+
@_property
|
|
194
|
+
def is_app_initiated(self) -> bool: ...
|
|
195
|
+
|
|
196
|
+
@typing.final
|
|
197
|
+
class ApplicationViewScaling_Static(winrt._winrt.IInspectable_Static):
|
|
198
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewScaling::TrySetDisableLayoutScaling(System.Boolean)
|
|
199
|
+
def try_set_disable_layout_scaling(cls, disable_layout_scaling: bool, /) -> bool: ...
|
|
200
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewScaling::get_DisableLayoutScaling()
|
|
201
|
+
@_property
|
|
202
|
+
def disable_layout_scaling(cls) -> bool: ...
|
|
203
|
+
|
|
204
|
+
@typing.final
|
|
205
|
+
class ApplicationViewScaling(winrt.system.Object, metaclass=ApplicationViewScaling_Static):
|
|
206
|
+
pass
|
|
207
|
+
|
|
208
|
+
@typing.final
|
|
209
|
+
class ApplicationViewSwitcher_Static(winrt._winrt.IInspectable_Static):
|
|
210
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewSwitcher::DisableShowingMainViewOnActivation()
|
|
211
|
+
def disable_showing_main_view_on_activation(cls) -> None: ...
|
|
212
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewSwitcher::DisableSystemViewActivationPolicy()
|
|
213
|
+
def disable_system_view_activation_policy(cls) -> None: ...
|
|
214
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::PrepareForCustomAnimatedSwitchAsync(System.Int32,System.Int32,Windows.UI.ViewManagement.ApplicationViewSwitchingOptions)
|
|
215
|
+
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]: ...
|
|
216
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32)
|
|
217
|
+
def switch_async(cls, view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
|
|
218
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32,System.Int32)
|
|
219
|
+
def switch_from_view_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
|
|
220
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32,System.Int32,Windows.UI.ViewManagement.ApplicationViewSwitchingOptions)
|
|
221
|
+
def switch_from_view_with_options_async(cls, to_view_id: winrt.system.Int32, from_view_id: winrt.system.Int32, options: ApplicationViewSwitchingOptions, /) -> windows_foundation.IAsyncAction: ...
|
|
222
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32)
|
|
223
|
+
def try_show_as_standalone_async(cls, view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
224
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference,System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
225
|
+
def try_show_as_standalone_with_anchor_view_and_size_preference_async(cls, view_id: winrt.system.Int32, size_preference: ViewSizePreference, anchor_view_id: winrt.system.Int32, anchor_size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
226
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
227
|
+
def try_show_as_standalone_with_size_preference_async(cls, view_id: winrt.system.Int32, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
228
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsViewModeAsync(System.Int32,Windows.UI.ViewManagement.ApplicationViewMode)
|
|
229
|
+
def try_show_as_view_mode_async(cls, view_id: winrt.system.Int32, view_mode: ApplicationViewMode, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
230
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsViewModeAsync(System.Int32,Windows.UI.ViewManagement.ApplicationViewMode,Windows.UI.ViewManagement.ViewModePreferences)
|
|
231
|
+
def try_show_as_view_mode_with_preferences_async(cls, view_id: winrt.system.Int32, view_mode: ApplicationViewMode, view_mode_preferences: ViewModePreferences, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
232
|
+
|
|
233
|
+
@typing.final
|
|
234
|
+
class ApplicationViewSwitcher(winrt.system.Object, metaclass=ApplicationViewSwitcher_Static):
|
|
235
|
+
pass
|
|
236
|
+
|
|
237
|
+
@typing.final
|
|
238
|
+
class ApplicationViewTitleBar(winrt.system.Object):
|
|
239
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_InactiveForegroundColor()
|
|
240
|
+
@_property
|
|
241
|
+
def inactive_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
242
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_InactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
243
|
+
@inactive_foreground_color.setter
|
|
244
|
+
def inactive_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
245
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_InactiveBackgroundColor()
|
|
246
|
+
@_property
|
|
247
|
+
def inactive_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
248
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_InactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
249
|
+
@inactive_background_color.setter
|
|
250
|
+
def inactive_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
251
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ForegroundColor()
|
|
252
|
+
@_property
|
|
253
|
+
def foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
254
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
255
|
+
@foreground_color.setter
|
|
256
|
+
def foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
257
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonPressedForegroundColor()
|
|
258
|
+
@_property
|
|
259
|
+
def button_pressed_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
260
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonPressedForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
261
|
+
@button_pressed_foreground_color.setter
|
|
262
|
+
def button_pressed_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
263
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonPressedBackgroundColor()
|
|
264
|
+
@_property
|
|
265
|
+
def button_pressed_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
266
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonPressedBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
267
|
+
@button_pressed_background_color.setter
|
|
268
|
+
def button_pressed_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
269
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonInactiveForegroundColor()
|
|
270
|
+
@_property
|
|
271
|
+
def button_inactive_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
272
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonInactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
273
|
+
@button_inactive_foreground_color.setter
|
|
274
|
+
def button_inactive_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
275
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonInactiveBackgroundColor()
|
|
276
|
+
@_property
|
|
277
|
+
def button_inactive_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
278
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonInactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
279
|
+
@button_inactive_background_color.setter
|
|
280
|
+
def button_inactive_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
281
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonHoverForegroundColor()
|
|
282
|
+
@_property
|
|
283
|
+
def button_hover_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
284
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonHoverForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
285
|
+
@button_hover_foreground_color.setter
|
|
286
|
+
def button_hover_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
287
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonHoverBackgroundColor()
|
|
288
|
+
@_property
|
|
289
|
+
def button_hover_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
290
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonHoverBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
291
|
+
@button_hover_background_color.setter
|
|
292
|
+
def button_hover_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
293
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonForegroundColor()
|
|
294
|
+
@_property
|
|
295
|
+
def button_foreground_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
296
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
297
|
+
@button_foreground_color.setter
|
|
298
|
+
def button_foreground_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
299
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonBackgroundColor()
|
|
300
|
+
@_property
|
|
301
|
+
def button_background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
302
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
303
|
+
@button_background_color.setter
|
|
304
|
+
def button_background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
305
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_BackgroundColor()
|
|
306
|
+
@_property
|
|
307
|
+
def background_color(self) -> typing.Optional[windows_ui.Color]: ...
|
|
308
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_BackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
309
|
+
@background_color.setter
|
|
310
|
+
def background_color(self, value: typing.Optional[windows_ui.Color]) -> None: ...
|
|
311
|
+
|
|
312
|
+
@typing.final
|
|
313
|
+
class ApplicationViewTransferContext_Static(winrt._winrt.IInspectable_Static):
|
|
314
|
+
# System.String Windows.UI.ViewManagement.ApplicationViewTransferContext::get_DataPackageFormatId()
|
|
315
|
+
@_property
|
|
316
|
+
def data_package_format_id(cls) -> str: ...
|
|
317
|
+
|
|
318
|
+
@typing.final
|
|
319
|
+
class ApplicationViewTransferContext(winrt.system.Object, metaclass=ApplicationViewTransferContext_Static):
|
|
320
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
321
|
+
# System.Int32 Windows.UI.ViewManagement.ApplicationViewTransferContext::get_ViewId()
|
|
322
|
+
@_property
|
|
323
|
+
def view_id(self) -> winrt.system.Int32: ...
|
|
324
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTransferContext::put_ViewId(System.Int32)
|
|
325
|
+
@view_id.setter
|
|
326
|
+
def view_id(self, value: winrt.system.Int32) -> None: ...
|
|
327
|
+
|
|
328
|
+
@typing.final
|
|
329
|
+
class InputPane_Static(winrt._winrt.IInspectable_Static):
|
|
330
|
+
# Windows.UI.ViewManagement.InputPane Windows.UI.ViewManagement.InputPane::GetForCurrentView()
|
|
331
|
+
def get_for_current_view(cls) -> InputPane: ...
|
|
332
|
+
# Windows.UI.ViewManagement.InputPane Windows.UI.ViewManagement.InputPane::GetForUIContext(Windows.UI.UIContext)
|
|
333
|
+
def get_for_ui_context(cls, context: windows_ui.UIContext, /) -> InputPane: ...
|
|
334
|
+
|
|
335
|
+
@typing.final
|
|
336
|
+
class InputPane(winrt.system.Object, metaclass=InputPane_Static):
|
|
337
|
+
# System.Boolean Windows.UI.ViewManagement.InputPane::TryHide()
|
|
338
|
+
def try_hide(self) -> bool: ...
|
|
339
|
+
# System.Boolean Windows.UI.ViewManagement.InputPane::TryShow()
|
|
340
|
+
def try_show(self) -> bool: ...
|
|
341
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.InputPane::add_Hiding(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.InputPane,Windows.UI.ViewManagement.InputPaneVisibilityEventArgs>)
|
|
342
|
+
def add_hiding(self, handler: windows_foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
343
|
+
# System.Void Windows.UI.ViewManagement.InputPane::remove_Hiding(Windows.Foundation.EventRegistrationToken)
|
|
344
|
+
def remove_hiding(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
345
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.InputPane::add_Showing(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.InputPane,Windows.UI.ViewManagement.InputPaneVisibilityEventArgs>)
|
|
346
|
+
def add_showing(self, handler: windows_foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
347
|
+
# System.Void Windows.UI.ViewManagement.InputPane::remove_Showing(Windows.Foundation.EventRegistrationToken)
|
|
348
|
+
def remove_showing(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
349
|
+
# Windows.Foundation.Rect Windows.UI.ViewManagement.InputPane::get_OccludedRect()
|
|
350
|
+
@_property
|
|
351
|
+
def occluded_rect(self) -> windows_foundation.Rect: ...
|
|
352
|
+
# System.Boolean Windows.UI.ViewManagement.InputPane::get_Visible()
|
|
353
|
+
@_property
|
|
354
|
+
def visible(self) -> bool: ...
|
|
355
|
+
# System.Void Windows.UI.ViewManagement.InputPane::put_Visible(System.Boolean)
|
|
356
|
+
@visible.setter
|
|
357
|
+
def visible(self, value: bool) -> None: ...
|
|
358
|
+
|
|
359
|
+
@typing.final
|
|
360
|
+
class InputPaneVisibilityEventArgs(winrt.system.Object):
|
|
361
|
+
# System.Boolean Windows.UI.ViewManagement.InputPaneVisibilityEventArgs::get_EnsuredFocusedElementInView()
|
|
362
|
+
@_property
|
|
363
|
+
def ensured_focused_element_in_view(self) -> bool: ...
|
|
364
|
+
# System.Void Windows.UI.ViewManagement.InputPaneVisibilityEventArgs::put_EnsuredFocusedElementInView(System.Boolean)
|
|
365
|
+
@ensured_focused_element_in_view.setter
|
|
366
|
+
def ensured_focused_element_in_view(self, value: bool) -> None: ...
|
|
367
|
+
# Windows.Foundation.Rect Windows.UI.ViewManagement.InputPaneVisibilityEventArgs::get_OccludedRect()
|
|
368
|
+
@_property
|
|
369
|
+
def occluded_rect(self) -> windows_foundation.Rect: ...
|
|
370
|
+
|
|
371
|
+
@typing.final
|
|
372
|
+
class ProjectionManager_Static(winrt._winrt.IInspectable_Static):
|
|
373
|
+
# System.String Windows.UI.ViewManagement.ProjectionManager::GetDeviceSelector()
|
|
374
|
+
def get_device_selector(cls) -> str: ...
|
|
375
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ProjectionManager::RequestStartProjectingAsync(System.Int32,System.Int32,Windows.Foundation.Rect)
|
|
376
|
+
def request_start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, selection: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
377
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ProjectionManager::RequestStartProjectingAsync(System.Int32,System.Int32,Windows.Foundation.Rect,Windows.UI.Popups.Placement)
|
|
378
|
+
def request_start_projecting_with_placement_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, selection: typing.Union[windows_foundation.Rect, typing.Tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], preffered_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
379
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::StartProjectingAsync(System.Int32,System.Int32)
|
|
380
|
+
def start_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
|
|
381
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::StartProjectingAsync(System.Int32,System.Int32,Windows.Devices.Enumeration.DeviceInformation)
|
|
382
|
+
def start_projecting_with_device_info_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, display_device_info: windows_devices_enumeration.DeviceInformation, /) -> windows_foundation.IAsyncAction: ...
|
|
383
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::StopProjectingAsync(System.Int32,System.Int32)
|
|
384
|
+
def stop_projecting_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
|
|
385
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::SwapDisplaysForViewsAsync(System.Int32,System.Int32)
|
|
386
|
+
def swap_displays_for_views_async(cls, projection_view_id: winrt.system.Int32, anchor_view_id: winrt.system.Int32, /) -> windows_foundation.IAsyncAction: ...
|
|
387
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.ProjectionManager::add_ProjectionDisplayAvailableChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
388
|
+
def add_projection_display_available_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
389
|
+
# System.Void Windows.UI.ViewManagement.ProjectionManager::remove_ProjectionDisplayAvailableChanged(Windows.Foundation.EventRegistrationToken)
|
|
390
|
+
def remove_projection_display_available_changed(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
391
|
+
# System.Boolean Windows.UI.ViewManagement.ProjectionManager::get_ProjectionDisplayAvailable()
|
|
392
|
+
@_property
|
|
393
|
+
def projection_display_available(cls) -> bool: ...
|
|
394
|
+
|
|
395
|
+
@typing.final
|
|
396
|
+
class ProjectionManager(winrt.system.Object, metaclass=ProjectionManager_Static):
|
|
397
|
+
pass
|
|
398
|
+
|
|
399
|
+
@typing.final
|
|
400
|
+
class UISettings(winrt.system.Object):
|
|
401
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
402
|
+
# Windows.UI.Color Windows.UI.ViewManagement.UISettings::GetColorValue(Windows.UI.ViewManagement.UIColorType)
|
|
403
|
+
def get_color_value(self, desired_color: UIColorType, /) -> windows_ui.Color: ...
|
|
404
|
+
# Windows.UI.Color Windows.UI.ViewManagement.UISettings::UIElementColor(Windows.UI.ViewManagement.UIElementType)
|
|
405
|
+
def ui_element_color(self, desired_element: UIElementType, /) -> windows_ui.Color: ...
|
|
406
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_TextScaleFactorChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,System.Object>)
|
|
407
|
+
def add_text_scale_factor_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
408
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_TextScaleFactorChanged(Windows.Foundation.EventRegistrationToken)
|
|
409
|
+
def remove_text_scale_factor_changed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
410
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_ColorValuesChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,System.Object>)
|
|
411
|
+
def add_color_values_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
412
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_ColorValuesChanged(Windows.Foundation.EventRegistrationToken)
|
|
413
|
+
def remove_color_values_changed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
414
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_AdvancedEffectsEnabledChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,System.Object>)
|
|
415
|
+
def add_advanced_effects_enabled_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
416
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_AdvancedEffectsEnabledChanged(Windows.Foundation.EventRegistrationToken)
|
|
417
|
+
def remove_advanced_effects_enabled_changed(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
418
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_AutoHideScrollBarsChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs>)
|
|
419
|
+
def add_auto_hide_scroll_bars_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsAutoHideScrollBarsChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
420
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_AutoHideScrollBarsChanged(Windows.Foundation.EventRegistrationToken)
|
|
421
|
+
def remove_auto_hide_scroll_bars_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
422
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_AnimationsEnabledChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs>)
|
|
423
|
+
def add_animations_enabled_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsAnimationsEnabledChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
424
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_AnimationsEnabledChanged(Windows.Foundation.EventRegistrationToken)
|
|
425
|
+
def remove_animations_enabled_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
426
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_MessageDurationChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs>)
|
|
427
|
+
def add_message_duration_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsMessageDurationChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
428
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_MessageDurationChanged(Windows.Foundation.EventRegistrationToken)
|
|
429
|
+
def remove_message_duration_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
430
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_AnimationsEnabled()
|
|
431
|
+
@_property
|
|
432
|
+
def animations_enabled(self) -> bool: ...
|
|
433
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_CaretBlinkRate()
|
|
434
|
+
@_property
|
|
435
|
+
def caret_blink_rate(self) -> winrt.system.UInt32: ...
|
|
436
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_CaretBrowsingEnabled()
|
|
437
|
+
@_property
|
|
438
|
+
def caret_browsing_enabled(self) -> bool: ...
|
|
439
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_CaretWidth()
|
|
440
|
+
@_property
|
|
441
|
+
def caret_width(self) -> winrt.system.UInt32: ...
|
|
442
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_CursorSize()
|
|
443
|
+
@_property
|
|
444
|
+
def cursor_size(self) -> windows_foundation.Size: ...
|
|
445
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_DoubleClickTime()
|
|
446
|
+
@_property
|
|
447
|
+
def double_click_time(self) -> winrt.system.UInt32: ...
|
|
448
|
+
# Windows.UI.ViewManagement.HandPreference Windows.UI.ViewManagement.UISettings::get_HandPreference()
|
|
449
|
+
@_property
|
|
450
|
+
def hand_preference(self) -> HandPreference: ...
|
|
451
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_MessageDuration()
|
|
452
|
+
@_property
|
|
453
|
+
def message_duration(self) -> winrt.system.UInt32: ...
|
|
454
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_MouseHoverTime()
|
|
455
|
+
@_property
|
|
456
|
+
def mouse_hover_time(self) -> winrt.system.UInt32: ...
|
|
457
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_ScrollBarArrowSize()
|
|
458
|
+
@_property
|
|
459
|
+
def scroll_bar_arrow_size(self) -> windows_foundation.Size: ...
|
|
460
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_ScrollBarSize()
|
|
461
|
+
@_property
|
|
462
|
+
def scroll_bar_size(self) -> windows_foundation.Size: ...
|
|
463
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_ScrollBarThumbBoxSize()
|
|
464
|
+
@_property
|
|
465
|
+
def scroll_bar_thumb_box_size(self) -> windows_foundation.Size: ...
|
|
466
|
+
# System.Double Windows.UI.ViewManagement.UISettings::get_TextScaleFactor()
|
|
467
|
+
@_property
|
|
468
|
+
def text_scale_factor(self) -> winrt.system.Double: ...
|
|
469
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_AdvancedEffectsEnabled()
|
|
470
|
+
@_property
|
|
471
|
+
def advanced_effects_enabled(self) -> bool: ...
|
|
472
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_AutoHideScrollBars()
|
|
473
|
+
@_property
|
|
474
|
+
def auto_hide_scroll_bars(self) -> bool: ...
|
|
475
|
+
|
|
476
|
+
@typing.final
|
|
477
|
+
class UISettingsAnimationsEnabledChangedEventArgs(winrt.system.Object):
|
|
478
|
+
pass
|
|
479
|
+
|
|
480
|
+
@typing.final
|
|
481
|
+
class UISettingsAutoHideScrollBarsChangedEventArgs(winrt.system.Object):
|
|
482
|
+
pass
|
|
483
|
+
|
|
484
|
+
@typing.final
|
|
485
|
+
class UISettingsMessageDurationChangedEventArgs(winrt.system.Object):
|
|
486
|
+
pass
|
|
487
|
+
|
|
488
|
+
@typing.final
|
|
489
|
+
class UIViewSettings_Static(winrt._winrt.IInspectable_Static):
|
|
490
|
+
# Windows.UI.ViewManagement.UIViewSettings Windows.UI.ViewManagement.UIViewSettings::GetForCurrentView()
|
|
491
|
+
def get_for_current_view(cls) -> UIViewSettings: ...
|
|
492
|
+
|
|
493
|
+
@typing.final
|
|
494
|
+
class UIViewSettings(winrt.system.Object, metaclass=UIViewSettings_Static):
|
|
495
|
+
# Windows.UI.ViewManagement.UserInteractionMode Windows.UI.ViewManagement.UIViewSettings::GetPreferredInteractionMode(Windows.UI.ViewManagement.UserInteractionMode[])
|
|
496
|
+
def get_preferred_interaction_mode(self, supported_modes: typing.Union[winrt.system.Array[UserInteractionMode], winrt.system.ReadableBuffer], /) -> UserInteractionMode: ...
|
|
497
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UIViewSettings::add_PreferredInteractionModeChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UIViewSettings,System.Object>)
|
|
498
|
+
def add_preferred_interaction_mode_changed(self, handler: windows_foundation.TypedEventHandler[UIViewSettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
499
|
+
# System.Void Windows.UI.ViewManagement.UIViewSettings::remove_PreferredInteractionModeChanged(Windows.Foundation.EventRegistrationToken)
|
|
500
|
+
def remove_preferred_interaction_mode_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
501
|
+
# Windows.UI.ViewManagement.UserInteractionMode Windows.UI.ViewManagement.UIViewSettings::get_UserInteractionMode()
|
|
502
|
+
@_property
|
|
503
|
+
def user_interaction_mode(self) -> UserInteractionMode: ...
|
|
504
|
+
|
|
505
|
+
@typing.final
|
|
506
|
+
class ViewModePreferences_Static(winrt._winrt.IInspectable_Static):
|
|
507
|
+
# Windows.UI.ViewManagement.ViewModePreferences Windows.UI.ViewManagement.ViewModePreferences::CreateDefault(Windows.UI.ViewManagement.ApplicationViewMode)
|
|
508
|
+
def create_default(cls, mode: ApplicationViewMode, /) -> ViewModePreferences: ...
|
|
509
|
+
|
|
510
|
+
@typing.final
|
|
511
|
+
class ViewModePreferences(winrt.system.Object, metaclass=ViewModePreferences_Static):
|
|
512
|
+
# Windows.UI.ViewManagement.ViewSizePreference Windows.UI.ViewManagement.ViewModePreferences::get_ViewSizePreference()
|
|
513
|
+
@_property
|
|
514
|
+
def view_size_preference(self) -> ViewSizePreference: ...
|
|
515
|
+
# System.Void Windows.UI.ViewManagement.ViewModePreferences::put_ViewSizePreference(Windows.UI.ViewManagement.ViewSizePreference)
|
|
516
|
+
@view_size_preference.setter
|
|
517
|
+
def view_size_preference(self, value: ViewSizePreference) -> None: ...
|
|
518
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.ViewModePreferences::get_CustomSize()
|
|
519
|
+
@_property
|
|
520
|
+
def custom_size(self) -> windows_foundation.Size: ...
|
|
521
|
+
# System.Void Windows.UI.ViewManagement.ViewModePreferences::put_CustomSize(Windows.Foundation.Size)
|
|
522
|
+
@custom_size.setter
|
|
523
|
+
def custom_size(self, value: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]]) -> None: ...
|
|
524
|
+
|
|
@@ -0,0 +1,153 @@
|
|
|
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_viewmanagement import (
|
|
7
|
+
AccessibilitySettings,
|
|
8
|
+
ActivationViewSwitcher,
|
|
9
|
+
ApplicationView,
|
|
10
|
+
ApplicationViewConsolidatedEventArgs,
|
|
11
|
+
ApplicationViewScaling,
|
|
12
|
+
ApplicationViewSwitcher,
|
|
13
|
+
ApplicationViewTitleBar,
|
|
14
|
+
ApplicationViewTransferContext,
|
|
15
|
+
InputPane,
|
|
16
|
+
InputPaneVisibilityEventArgs,
|
|
17
|
+
ProjectionManager,
|
|
18
|
+
UISettings,
|
|
19
|
+
UISettingsAnimationsEnabledChangedEventArgs,
|
|
20
|
+
UISettingsAutoHideScrollBarsChangedEventArgs,
|
|
21
|
+
UISettingsMessageDurationChangedEventArgs,
|
|
22
|
+
UIViewSettings,
|
|
23
|
+
ViewModePreferences,
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
__all__ = [
|
|
27
|
+
"ApplicationViewBoundsMode",
|
|
28
|
+
"ApplicationViewMode",
|
|
29
|
+
"ApplicationViewOrientation",
|
|
30
|
+
"ApplicationViewState",
|
|
31
|
+
"ApplicationViewSwitchingOptions",
|
|
32
|
+
"ApplicationViewWindowingMode",
|
|
33
|
+
"FullScreenSystemOverlayMode",
|
|
34
|
+
"HandPreference",
|
|
35
|
+
"ScreenCaptureDisabledBehavior",
|
|
36
|
+
"UIColorType",
|
|
37
|
+
"UIElementType",
|
|
38
|
+
"UserInteractionMode",
|
|
39
|
+
"ViewSizePreference",
|
|
40
|
+
"AccessibilitySettings",
|
|
41
|
+
"ActivationViewSwitcher",
|
|
42
|
+
"ApplicationView",
|
|
43
|
+
"ApplicationViewConsolidatedEventArgs",
|
|
44
|
+
"ApplicationViewScaling",
|
|
45
|
+
"ApplicationViewSwitcher",
|
|
46
|
+
"ApplicationViewTitleBar",
|
|
47
|
+
"ApplicationViewTransferContext",
|
|
48
|
+
"InputPane",
|
|
49
|
+
"InputPaneVisibilityEventArgs",
|
|
50
|
+
"ProjectionManager",
|
|
51
|
+
"UISettings",
|
|
52
|
+
"UISettingsAnimationsEnabledChangedEventArgs",
|
|
53
|
+
"UISettingsAutoHideScrollBarsChangedEventArgs",
|
|
54
|
+
"UISettingsMessageDurationChangedEventArgs",
|
|
55
|
+
"UIViewSettings",
|
|
56
|
+
"ViewModePreferences",
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
class ApplicationViewBoundsMode(enum.IntEnum):
|
|
60
|
+
USE_VISIBLE = 0
|
|
61
|
+
USE_CORE_WINDOW = 1
|
|
62
|
+
|
|
63
|
+
class ApplicationViewMode(enum.IntEnum):
|
|
64
|
+
DEFAULT = 0
|
|
65
|
+
COMPACT_OVERLAY = 1
|
|
66
|
+
|
|
67
|
+
class ApplicationViewOrientation(enum.IntEnum):
|
|
68
|
+
LANDSCAPE = 0
|
|
69
|
+
PORTRAIT = 1
|
|
70
|
+
|
|
71
|
+
class ApplicationViewState(enum.IntEnum):
|
|
72
|
+
FULL_SCREEN_LANDSCAPE = 0
|
|
73
|
+
FILLED = 1
|
|
74
|
+
SNAPPED = 2
|
|
75
|
+
FULL_SCREEN_PORTRAIT = 3
|
|
76
|
+
|
|
77
|
+
class ApplicationViewSwitchingOptions(enum.IntFlag):
|
|
78
|
+
DEFAULT = 0x0
|
|
79
|
+
SKIP_ANIMATION = 0x1
|
|
80
|
+
CONSOLIDATE_VIEWS = 0x2
|
|
81
|
+
|
|
82
|
+
class ApplicationViewWindowingMode(enum.IntEnum):
|
|
83
|
+
AUTO = 0
|
|
84
|
+
PREFERRED_LAUNCH_VIEW_SIZE = 1
|
|
85
|
+
FULL_SCREEN = 2
|
|
86
|
+
COMPACT_OVERLAY = 3
|
|
87
|
+
MAXIMIZED = 4
|
|
88
|
+
|
|
89
|
+
class FullScreenSystemOverlayMode(enum.IntEnum):
|
|
90
|
+
STANDARD = 0
|
|
91
|
+
MINIMAL = 1
|
|
92
|
+
|
|
93
|
+
class HandPreference(enum.IntEnum):
|
|
94
|
+
LEFT_HANDED = 0
|
|
95
|
+
RIGHT_HANDED = 1
|
|
96
|
+
|
|
97
|
+
class ScreenCaptureDisabledBehavior(enum.IntEnum):
|
|
98
|
+
DRAW_AS_BLACK = 0
|
|
99
|
+
EXCLUDE_FROM_CAPTURE = 1
|
|
100
|
+
|
|
101
|
+
class UIColorType(enum.IntEnum):
|
|
102
|
+
BACKGROUND = 0
|
|
103
|
+
FOREGROUND = 1
|
|
104
|
+
ACCENT_DARK3 = 2
|
|
105
|
+
ACCENT_DARK2 = 3
|
|
106
|
+
ACCENT_DARK1 = 4
|
|
107
|
+
ACCENT = 5
|
|
108
|
+
ACCENT_LIGHT1 = 6
|
|
109
|
+
ACCENT_LIGHT2 = 7
|
|
110
|
+
ACCENT_LIGHT3 = 8
|
|
111
|
+
COMPLEMENT = 9
|
|
112
|
+
|
|
113
|
+
class UIElementType(enum.IntEnum):
|
|
114
|
+
ACTIVE_CAPTION = 0
|
|
115
|
+
BACKGROUND = 1
|
|
116
|
+
BUTTON_FACE = 2
|
|
117
|
+
BUTTON_TEXT = 3
|
|
118
|
+
CAPTION_TEXT = 4
|
|
119
|
+
GRAY_TEXT = 5
|
|
120
|
+
HIGHLIGHT = 6
|
|
121
|
+
HIGHLIGHT_TEXT = 7
|
|
122
|
+
HOTLIGHT = 8
|
|
123
|
+
INACTIVE_CAPTION = 9
|
|
124
|
+
INACTIVE_CAPTION_TEXT = 10
|
|
125
|
+
WINDOW = 11
|
|
126
|
+
WINDOW_TEXT = 12
|
|
127
|
+
ACCENT_COLOR = 1000
|
|
128
|
+
TEXT_HIGH = 1001
|
|
129
|
+
TEXT_MEDIUM = 1002
|
|
130
|
+
TEXT_LOW = 1003
|
|
131
|
+
TEXT_CONTRAST_WITH_HIGH = 1004
|
|
132
|
+
NON_TEXT_HIGH = 1005
|
|
133
|
+
NON_TEXT_MEDIUM_HIGH = 1006
|
|
134
|
+
NON_TEXT_MEDIUM = 1007
|
|
135
|
+
NON_TEXT_MEDIUM_LOW = 1008
|
|
136
|
+
NON_TEXT_LOW = 1009
|
|
137
|
+
PAGE_BACKGROUND = 1010
|
|
138
|
+
POPUP_BACKGROUND = 1011
|
|
139
|
+
OVERLAY_OUTSIDE_POPUP = 1012
|
|
140
|
+
|
|
141
|
+
class UserInteractionMode(enum.IntEnum):
|
|
142
|
+
MOUSE = 0
|
|
143
|
+
TOUCH = 1
|
|
144
|
+
|
|
145
|
+
class ViewSizePreference(enum.IntEnum):
|
|
146
|
+
DEFAULT = 0
|
|
147
|
+
USE_LESS = 1
|
|
148
|
+
USE_HALF = 2
|
|
149
|
+
USE_MORE = 3
|
|
150
|
+
USE_MINIMUM = 4
|
|
151
|
+
USE_NONE = 5
|
|
152
|
+
CUSTOM = 6
|
|
153
|
+
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.ViewManagement
|
|
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.Devices.Enumeration[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[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.Core[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI.Popups[all]~=3.2.1.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.UI.WindowManagement[all]~=3.2.1.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.cp314-win32.pyd,sha256=awPvX_wIq9Qsr_AsGjNuNLHs5mAf8gLwsVfAhdfphDI,312832
|
|
2
|
+
winrt/_winrt_windows_ui_viewmanagement.pyi,sha256=i_CKU10JZHdAyu69PJS52WrGY9RHwl7nldmumrhDqgQ,43010
|
|
3
|
+
winrt/windows/ui/viewmanagement/__init__.py,sha256=Gwkv5ozyE75Ss7YN7F2_w5bhyi_vhIJLTyBIj-ugZIQ,3705
|
|
4
|
+
winrt/windows/ui/viewmanagement/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_viewmanagement-3.2.1.dist-info/METADATA,sha256=_bnm7D1wqKo5hBbmeHO9J5iGnsbtkqFZnTEyPWCYvX4,1501
|
|
6
|
+
winrt_windows_ui_viewmanagement-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
|
|
7
|
+
winrt_windows_ui_viewmanagement-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_viewmanagement-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|