winrt-Windows.UI.ViewManagement 4!10.0.28000.2705__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/windows/ui/viewmanagement/__init__.py +49 -0
- winrt/windows/ui/viewmanagement/__init__.pyi +725 -0
- winrt/windows/ui/viewmanagement/_table.pywinrt +0 -0
- winrt/windows/ui/viewmanagement/py.typed +0 -0
- winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/METADATA +51 -0
- winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"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
|
+
"UISettings",
|
|
34
|
+
"UISettingsAnimationsEnabledChangedEventArgs",
|
|
35
|
+
"UISettingsAutoHideScrollBarsChangedEventArgs",
|
|
36
|
+
"UISettingsMessageDurationChangedEventArgs",
|
|
37
|
+
"UIViewSettings",
|
|
38
|
+
"ViewModePreferences",
|
|
39
|
+
]
|
|
40
|
+
|
|
41
|
+
winrt.runtime._internals.alias_method(ActivationViewSwitcher, "show_as_standalone_with_size_preference_async", "show_as_standalone_async")
|
|
42
|
+
winrt.runtime._internals.alias_method(ApplicationView, "try_enter_view_mode_with_preferences_async", "try_enter_view_mode_async")
|
|
43
|
+
winrt.runtime._internals.alias_static_method(ApplicationViewSwitcher, "switch_from_view_async", "switch_async")
|
|
44
|
+
winrt.runtime._internals.alias_static_method(ApplicationViewSwitcher, "switch_from_view_with_options_async", "switch_async")
|
|
45
|
+
winrt.runtime._internals.alias_static_method(ApplicationViewSwitcher, "try_show_as_standalone_with_anchor_view_and_size_preference_async", "try_show_as_standalone_async")
|
|
46
|
+
winrt.runtime._internals.alias_static_method(ApplicationViewSwitcher, "try_show_as_standalone_with_size_preference_async", "try_show_as_standalone_async")
|
|
47
|
+
winrt.runtime._internals.alias_static_method(ApplicationViewSwitcher, "try_show_as_view_mode_with_preferences_async", "try_show_as_view_mode_async")
|
|
48
|
+
winrt.runtime._internals.alias_static_method(ProjectionManager, "request_start_projecting_with_placement_async", "request_start_projecting_async")
|
|
49
|
+
winrt.runtime._internals.alias_static_method(ProjectionManager, "start_projecting_with_device_info_async", "start_projecting_async")
|
|
@@ -0,0 +1,725 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
from typing_extensions import deprecated
|
|
8
|
+
|
|
9
|
+
import winrt.system
|
|
10
|
+
import winrt.windows.devices.enumeration as windows_devices_enumeration
|
|
11
|
+
import winrt.windows.foundation as windows_foundation
|
|
12
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
13
|
+
import winrt.windows.ui as windows_ui
|
|
14
|
+
import winrt.windows.ui.core as windows_ui_core
|
|
15
|
+
import winrt.windows.ui.popups as windows_ui_popups
|
|
16
|
+
import winrt.windows.ui.windowmanagement as windows_ui_windowmanagement
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"ApplicationViewBoundsMode",
|
|
20
|
+
"ApplicationViewMode",
|
|
21
|
+
"ApplicationViewOrientation",
|
|
22
|
+
"ApplicationViewState",
|
|
23
|
+
"ApplicationViewSwitchingOptions",
|
|
24
|
+
"ApplicationViewWindowingMode",
|
|
25
|
+
"FullScreenSystemOverlayMode",
|
|
26
|
+
"HandPreference",
|
|
27
|
+
"ScreenCaptureDisabledBehavior",
|
|
28
|
+
"UIColorType",
|
|
29
|
+
"UIElementType",
|
|
30
|
+
"UserInteractionMode",
|
|
31
|
+
"ViewSizePreference",
|
|
32
|
+
"AccessibilitySettings",
|
|
33
|
+
"ActivationViewSwitcher",
|
|
34
|
+
"ApplicationView",
|
|
35
|
+
"ApplicationViewConsolidatedEventArgs",
|
|
36
|
+
"ApplicationViewScaling",
|
|
37
|
+
"ApplicationViewSwitcher",
|
|
38
|
+
"ApplicationViewTitleBar",
|
|
39
|
+
"ApplicationViewTransferContext",
|
|
40
|
+
"InputPane",
|
|
41
|
+
"InputPaneVisibilityEventArgs",
|
|
42
|
+
"ProjectionManager",
|
|
43
|
+
"UISettings",
|
|
44
|
+
"UISettingsAnimationsEnabledChangedEventArgs",
|
|
45
|
+
"UISettingsAutoHideScrollBarsChangedEventArgs",
|
|
46
|
+
"UISettingsMessageDurationChangedEventArgs",
|
|
47
|
+
"UIViewSettings",
|
|
48
|
+
"ViewModePreferences",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
class ApplicationViewBoundsMode(enum.IntEnum):
|
|
52
|
+
USE_VISIBLE = 0
|
|
53
|
+
USE_CORE_WINDOW = 1
|
|
54
|
+
|
|
55
|
+
class ApplicationViewMode(enum.IntEnum):
|
|
56
|
+
DEFAULT = 0
|
|
57
|
+
COMPACT_OVERLAY = 1
|
|
58
|
+
|
|
59
|
+
class ApplicationViewOrientation(enum.IntEnum):
|
|
60
|
+
LANDSCAPE = 0
|
|
61
|
+
PORTRAIT = 1
|
|
62
|
+
|
|
63
|
+
@deprecated("ApplicationViewState may be altered or unavailable for releases after Windows 8.1. Instead, query for window layout sizes directly.")
|
|
64
|
+
class ApplicationViewState(enum.IntEnum):
|
|
65
|
+
FULL_SCREEN_LANDSCAPE = 0
|
|
66
|
+
FILLED = 1
|
|
67
|
+
SNAPPED = 2
|
|
68
|
+
FULL_SCREEN_PORTRAIT = 3
|
|
69
|
+
|
|
70
|
+
class ApplicationViewSwitchingOptions(enum.IntFlag):
|
|
71
|
+
DEFAULT = 0x0
|
|
72
|
+
SKIP_ANIMATION = 0x1
|
|
73
|
+
CONSOLIDATE_VIEWS = 0x2
|
|
74
|
+
|
|
75
|
+
class ApplicationViewWindowingMode(enum.IntEnum):
|
|
76
|
+
AUTO = 0
|
|
77
|
+
PREFERRED_LAUNCH_VIEW_SIZE = 1
|
|
78
|
+
FULL_SCREEN = 2
|
|
79
|
+
COMPACT_OVERLAY = 3
|
|
80
|
+
MAXIMIZED = 4
|
|
81
|
+
|
|
82
|
+
class FullScreenSystemOverlayMode(enum.IntEnum):
|
|
83
|
+
STANDARD = 0
|
|
84
|
+
MINIMAL = 1
|
|
85
|
+
|
|
86
|
+
class HandPreference(enum.IntEnum):
|
|
87
|
+
LEFT_HANDED = 0
|
|
88
|
+
RIGHT_HANDED = 1
|
|
89
|
+
|
|
90
|
+
class ScreenCaptureDisabledBehavior(enum.IntEnum):
|
|
91
|
+
DRAW_AS_BLACK = 0
|
|
92
|
+
EXCLUDE_FROM_CAPTURE = 1
|
|
93
|
+
|
|
94
|
+
class UIColorType(enum.IntEnum):
|
|
95
|
+
BACKGROUND = 0
|
|
96
|
+
FOREGROUND = 1
|
|
97
|
+
ACCENT_DARK3 = 2
|
|
98
|
+
ACCENT_DARK2 = 3
|
|
99
|
+
ACCENT_DARK1 = 4
|
|
100
|
+
ACCENT = 5
|
|
101
|
+
ACCENT_LIGHT1 = 6
|
|
102
|
+
ACCENT_LIGHT2 = 7
|
|
103
|
+
ACCENT_LIGHT3 = 8
|
|
104
|
+
COMPLEMENT = 9
|
|
105
|
+
|
|
106
|
+
class UIElementType(enum.IntEnum):
|
|
107
|
+
ACTIVE_CAPTION = 0
|
|
108
|
+
BACKGROUND = 1
|
|
109
|
+
BUTTON_FACE = 2
|
|
110
|
+
BUTTON_TEXT = 3
|
|
111
|
+
CAPTION_TEXT = 4
|
|
112
|
+
GRAY_TEXT = 5
|
|
113
|
+
HIGHLIGHT = 6
|
|
114
|
+
HIGHLIGHT_TEXT = 7
|
|
115
|
+
HOTLIGHT = 8
|
|
116
|
+
INACTIVE_CAPTION = 9
|
|
117
|
+
INACTIVE_CAPTION_TEXT = 10
|
|
118
|
+
WINDOW = 11
|
|
119
|
+
WINDOW_TEXT = 12
|
|
120
|
+
ACCENT_COLOR = 1000
|
|
121
|
+
TEXT_HIGH = 1001
|
|
122
|
+
TEXT_MEDIUM = 1002
|
|
123
|
+
TEXT_LOW = 1003
|
|
124
|
+
TEXT_CONTRAST_WITH_HIGH = 1004
|
|
125
|
+
NON_TEXT_HIGH = 1005
|
|
126
|
+
NON_TEXT_MEDIUM_HIGH = 1006
|
|
127
|
+
NON_TEXT_MEDIUM = 1007
|
|
128
|
+
NON_TEXT_MEDIUM_LOW = 1008
|
|
129
|
+
NON_TEXT_LOW = 1009
|
|
130
|
+
PAGE_BACKGROUND = 1010
|
|
131
|
+
POPUP_BACKGROUND = 1011
|
|
132
|
+
OVERLAY_OUTSIDE_POPUP = 1012
|
|
133
|
+
|
|
134
|
+
class UserInteractionMode(enum.IntEnum):
|
|
135
|
+
MOUSE = 0
|
|
136
|
+
TOUCH = 1
|
|
137
|
+
|
|
138
|
+
class ViewSizePreference(enum.IntEnum):
|
|
139
|
+
DEFAULT = 0
|
|
140
|
+
USE_LESS = 1
|
|
141
|
+
USE_HALF = 2
|
|
142
|
+
USE_MORE = 3
|
|
143
|
+
USE_MINIMUM = 4
|
|
144
|
+
USE_NONE = 5
|
|
145
|
+
CUSTOM = 6
|
|
146
|
+
|
|
147
|
+
@typing.final
|
|
148
|
+
class AccessibilitySettings(winrt.system.Object):
|
|
149
|
+
def __new__(cls) -> typing.Self: ...
|
|
150
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.AccessibilitySettings::add_HighContrastChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.AccessibilitySettings,System.Object>)
|
|
151
|
+
def add_high_contrast_changed(self, handler: windows_foundation.TypedEventHandler[AccessibilitySettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
152
|
+
# System.Void Windows.UI.ViewManagement.AccessibilitySettings::remove_HighContrastChanged(Windows.Foundation.EventRegistrationToken)
|
|
153
|
+
def remove_high_contrast_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
154
|
+
# System.Boolean Windows.UI.ViewManagement.AccessibilitySettings::get_HighContrast()
|
|
155
|
+
@_property
|
|
156
|
+
def high_contrast(self) -> bool: ...
|
|
157
|
+
# System.String Windows.UI.ViewManagement.AccessibilitySettings::get_HighContrastScheme()
|
|
158
|
+
@_property
|
|
159
|
+
def high_contrast_scheme(self) -> str: ...
|
|
160
|
+
|
|
161
|
+
@typing.final
|
|
162
|
+
class ActivationViewSwitcher(winrt.system.Object):
|
|
163
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
164
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
165
|
+
# System.Boolean Windows.UI.ViewManagement.ActivationViewSwitcher::IsViewPresentedOnActivationVirtualDesktop(System.Int32)
|
|
166
|
+
def is_view_presented_on_activation_virtual_desktop(self, view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> bool: ...
|
|
167
|
+
@typing.overload
|
|
168
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ActivationViewSwitcher::ShowAsStandaloneAsync(System.Int32)
|
|
169
|
+
def show_as_standalone_async(self, view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncAction: ...
|
|
170
|
+
@typing.overload
|
|
171
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ActivationViewSwitcher::ShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
172
|
+
def show_as_standalone_async(self, view_id: winrt.system.Int32 | typing.SupportsIndex, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncAction: ...
|
|
173
|
+
# Deprecated alias of show_as_standalone_async() for pywinrt v3.x compatibility.
|
|
174
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ActivationViewSwitcher::ShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
175
|
+
@deprecated("Use show_as_standalone_async() instead.")
|
|
176
|
+
def show_as_standalone_with_size_preference_async(self, view_id: winrt.system.Int32 | typing.SupportsIndex, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncAction: ...
|
|
177
|
+
|
|
178
|
+
@typing.final
|
|
179
|
+
class ApplicationView_Static(winrt.system.Object_Static):
|
|
180
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ClearAllPersistedState()
|
|
181
|
+
def clear_all_persisted_state(cls) -> None: ...
|
|
182
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ClearPersistedState(System.String)
|
|
183
|
+
def clear_persisted_state(cls, key: str, /) -> None: ...
|
|
184
|
+
# System.Int32 Windows.UI.ViewManagement.ApplicationView::GetApplicationViewIdForWindow(Windows.UI.Core.ICoreWindow)
|
|
185
|
+
def get_application_view_id_for_window(cls, window: windows_ui_core.ICoreWindow, /) -> winrt.system.Int32: ...
|
|
186
|
+
# Windows.UI.ViewManagement.ApplicationView Windows.UI.ViewManagement.ApplicationView::GetForCurrentView()
|
|
187
|
+
def get_for_current_view(cls) -> ApplicationView: ...
|
|
188
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryUnsnap()
|
|
189
|
+
@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.")
|
|
190
|
+
def try_unsnap(cls) -> bool: ...
|
|
191
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryUnsnapToFullscreen()
|
|
192
|
+
@deprecated("IApplicationViewFullscreenStatics is deprecated after Windows 8. Please use other resize APIs.")
|
|
193
|
+
def try_unsnap_to_fullscreen(cls) -> bool: ...
|
|
194
|
+
# Windows.UI.ViewManagement.ApplicationViewState Windows.UI.ViewManagement.ApplicationView::get_Value()
|
|
195
|
+
@_property
|
|
196
|
+
@deprecated("Value may be altered or unavailable for releases after Windows 8.1. Instead, query for window layout sizes directly.")
|
|
197
|
+
def value(cls) -> ApplicationViewState: ...
|
|
198
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_TerminateAppOnFinalViewClose()
|
|
199
|
+
@_property
|
|
200
|
+
def terminate_app_on_final_view_close(cls) -> bool: ...
|
|
201
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_TerminateAppOnFinalViewClose(System.Boolean)
|
|
202
|
+
@terminate_app_on_final_view_close.setter
|
|
203
|
+
def terminate_app_on_final_view_close(cls, value: bool) -> None: ...
|
|
204
|
+
# Windows.UI.ViewManagement.ApplicationViewWindowingMode Windows.UI.ViewManagement.ApplicationView::get_PreferredLaunchWindowingMode()
|
|
205
|
+
@_property
|
|
206
|
+
def preferred_launch_windowing_mode(cls) -> ApplicationViewWindowingMode: ...
|
|
207
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_PreferredLaunchWindowingMode(Windows.UI.ViewManagement.ApplicationViewWindowingMode)
|
|
208
|
+
@preferred_launch_windowing_mode.setter
|
|
209
|
+
def preferred_launch_windowing_mode(cls, value: ApplicationViewWindowingMode) -> None: ...
|
|
210
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.ApplicationView::get_PreferredLaunchViewSize()
|
|
211
|
+
@_property
|
|
212
|
+
def preferred_launch_view_size(cls) -> windows_foundation.Size: ...
|
|
213
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_PreferredLaunchViewSize(Windows.Foundation.Size)
|
|
214
|
+
@preferred_launch_view_size.setter
|
|
215
|
+
def preferred_launch_view_size(cls, value: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single]) -> None: ...
|
|
216
|
+
|
|
217
|
+
@typing.final
|
|
218
|
+
class ApplicationView(winrt.system.Object, metaclass=ApplicationView_Static):
|
|
219
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
220
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
221
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ExitFullScreenMode()
|
|
222
|
+
def exit_full_screen_mode(self) -> None: ...
|
|
223
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.WindowManagement.DisplayRegion> Windows.UI.ViewManagement.ApplicationView::GetDisplayRegions()
|
|
224
|
+
def get_display_regions(self) -> _cabc.Sequence[windows_ui_windowmanagement.DisplayRegion]: ...
|
|
225
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::IsViewModeSupported(Windows.UI.ViewManagement.ApplicationViewMode)
|
|
226
|
+
def is_view_mode_supported(self, view_mode: ApplicationViewMode, /) -> bool: ...
|
|
227
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::SetDesiredBoundsMode(Windows.UI.ViewManagement.ApplicationViewBoundsMode)
|
|
228
|
+
def set_desired_bounds_mode(self, bounds_mode: ApplicationViewBoundsMode, /) -> bool: ...
|
|
229
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::SetPreferredMinSize(Windows.Foundation.Size)
|
|
230
|
+
def set_preferred_min_size(self, min_size: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single], /) -> None: ...
|
|
231
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::ShowStandardSystemOverlays()
|
|
232
|
+
def show_standard_system_overlays(self) -> None: ...
|
|
233
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationView::TryConsolidateAsync()
|
|
234
|
+
def try_consolidate_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
235
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryEnterFullScreenMode()
|
|
236
|
+
def try_enter_full_screen_mode(self) -> bool: ...
|
|
237
|
+
@typing.overload
|
|
238
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationView::TryEnterViewModeAsync(Windows.UI.ViewManagement.ApplicationViewMode)
|
|
239
|
+
def try_enter_view_mode_async(self, view_mode: ApplicationViewMode, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
240
|
+
@typing.overload
|
|
241
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationView::TryEnterViewModeAsync(Windows.UI.ViewManagement.ApplicationViewMode,Windows.UI.ViewManagement.ViewModePreferences)
|
|
242
|
+
def try_enter_view_mode_async(self, view_mode: ApplicationViewMode, view_mode_preferences: ViewModePreferences, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
243
|
+
# Deprecated alias of try_enter_view_mode_async() for pywinrt v3.x compatibility.
|
|
244
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationView::TryEnterViewModeAsync(Windows.UI.ViewManagement.ApplicationViewMode,Windows.UI.ViewManagement.ViewModePreferences)
|
|
245
|
+
@deprecated("Use try_enter_view_mode_async() instead.")
|
|
246
|
+
def try_enter_view_mode_with_preferences_async(self, view_mode: ApplicationViewMode, view_mode_preferences: ViewModePreferences, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
247
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::TryResizeView(Windows.Foundation.Size)
|
|
248
|
+
def try_resize_view(self, value: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single], /) -> bool: ...
|
|
249
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.ApplicationView::add_Consolidated(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.ApplicationView,Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs>)
|
|
250
|
+
def add_consolidated(self, handler: windows_foundation.TypedEventHandler[ApplicationView, ApplicationViewConsolidatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
251
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::remove_Consolidated(Windows.Foundation.EventRegistrationToken)
|
|
252
|
+
def remove_consolidated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
253
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.ApplicationView::add_VisibleBoundsChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.ApplicationView,System.Object>)
|
|
254
|
+
def add_visible_bounds_changed(self, handler: windows_foundation.TypedEventHandler[ApplicationView, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
255
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::remove_VisibleBoundsChanged(Windows.Foundation.EventRegistrationToken)
|
|
256
|
+
def remove_visible_bounds_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
257
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsScreenCaptureEnabled()
|
|
258
|
+
@_property
|
|
259
|
+
def is_screen_capture_enabled(self) -> bool: ...
|
|
260
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_IsScreenCaptureEnabled(System.Boolean)
|
|
261
|
+
@is_screen_capture_enabled.setter
|
|
262
|
+
def is_screen_capture_enabled(self, value: bool) -> None: ...
|
|
263
|
+
# System.String Windows.UI.ViewManagement.ApplicationView::get_Title()
|
|
264
|
+
@_property
|
|
265
|
+
def title(self) -> str: ...
|
|
266
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_Title(System.String)
|
|
267
|
+
@title.setter
|
|
268
|
+
def title(self, value: str) -> None: ...
|
|
269
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_AdjacentToLeftDisplayEdge()
|
|
270
|
+
@_property
|
|
271
|
+
def adjacent_to_left_display_edge(self) -> bool: ...
|
|
272
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_AdjacentToRightDisplayEdge()
|
|
273
|
+
@_property
|
|
274
|
+
def adjacent_to_right_display_edge(self) -> bool: ...
|
|
275
|
+
# System.Int32 Windows.UI.ViewManagement.ApplicationView::get_Id()
|
|
276
|
+
@_property
|
|
277
|
+
def id(self) -> winrt.system.Int32: ...
|
|
278
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsFullScreen()
|
|
279
|
+
@_property
|
|
280
|
+
@deprecated("To check full screen mode, use IsFullScreenMode. To check if the view is adjacent to both edges, use AdjacentToLeftDisplayEdge and AdjacentToRightDisplayEdge. For more info, see MSDN.")
|
|
281
|
+
def is_full_screen(self) -> bool: ...
|
|
282
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsOnLockScreen()
|
|
283
|
+
@_property
|
|
284
|
+
def is_on_lock_screen(self) -> bool: ...
|
|
285
|
+
# Windows.UI.ViewManagement.ApplicationViewOrientation Windows.UI.ViewManagement.ApplicationView::get_Orientation()
|
|
286
|
+
@_property
|
|
287
|
+
def orientation(self) -> ApplicationViewOrientation: ...
|
|
288
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_SuppressSystemOverlays()
|
|
289
|
+
@_property
|
|
290
|
+
@deprecated("Use the TryEnterFullScreen method and IsFullScreenMode property instead of SuppressSystemOverlays. For more info, see MSDN.")
|
|
291
|
+
def suppress_system_overlays(self) -> bool: ...
|
|
292
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_SuppressSystemOverlays(System.Boolean)
|
|
293
|
+
@suppress_system_overlays.setter
|
|
294
|
+
@deprecated("Use the TryEnterFullScreen method and IsFullScreenMode property instead of SuppressSystemOverlays. For more info, see MSDN.")
|
|
295
|
+
def suppress_system_overlays(self, value: bool) -> None: ...
|
|
296
|
+
# Windows.UI.ViewManagement.ApplicationViewBoundsMode Windows.UI.ViewManagement.ApplicationView::get_DesiredBoundsMode()
|
|
297
|
+
@_property
|
|
298
|
+
def desired_bounds_mode(self) -> ApplicationViewBoundsMode: ...
|
|
299
|
+
# Windows.Foundation.Rect Windows.UI.ViewManagement.ApplicationView::get_VisibleBounds()
|
|
300
|
+
@_property
|
|
301
|
+
def visible_bounds(self) -> windows_foundation.Rect: ...
|
|
302
|
+
# Windows.UI.ViewManagement.FullScreenSystemOverlayMode Windows.UI.ViewManagement.ApplicationView::get_FullScreenSystemOverlayMode()
|
|
303
|
+
@_property
|
|
304
|
+
def full_screen_system_overlay_mode(self) -> FullScreenSystemOverlayMode: ...
|
|
305
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_FullScreenSystemOverlayMode(Windows.UI.ViewManagement.FullScreenSystemOverlayMode)
|
|
306
|
+
@full_screen_system_overlay_mode.setter
|
|
307
|
+
def full_screen_system_overlay_mode(self, value: FullScreenSystemOverlayMode) -> None: ...
|
|
308
|
+
# Windows.UI.ViewManagement.ApplicationViewTitleBar Windows.UI.ViewManagement.ApplicationView::get_TitleBar()
|
|
309
|
+
@_property
|
|
310
|
+
def title_bar(self) -> ApplicationViewTitleBar: ...
|
|
311
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationView::get_IsFullScreenMode()
|
|
312
|
+
@_property
|
|
313
|
+
def is_full_screen_mode(self) -> bool: ...
|
|
314
|
+
# Windows.UI.ViewManagement.ApplicationViewMode Windows.UI.ViewManagement.ApplicationView::get_ViewMode()
|
|
315
|
+
@_property
|
|
316
|
+
def view_mode(self) -> ApplicationViewMode: ...
|
|
317
|
+
# System.String Windows.UI.ViewManagement.ApplicationView::get_PersistedStateId()
|
|
318
|
+
@_property
|
|
319
|
+
def persisted_state_id(self) -> str: ...
|
|
320
|
+
# System.Void Windows.UI.ViewManagement.ApplicationView::put_PersistedStateId(System.String)
|
|
321
|
+
@persisted_state_id.setter
|
|
322
|
+
def persisted_state_id(self, value: str) -> None: ...
|
|
323
|
+
# Windows.UI.WindowManagement.WindowingEnvironment Windows.UI.ViewManagement.ApplicationView::get_WindowingEnvironment()
|
|
324
|
+
@_property
|
|
325
|
+
def windowing_environment(self) -> windows_ui_windowmanagement.WindowingEnvironment: ...
|
|
326
|
+
# Windows.UI.UIContext Windows.UI.ViewManagement.ApplicationView::get_UIContext()
|
|
327
|
+
@_property
|
|
328
|
+
def ui_context(self) -> windows_ui.UIContext: ...
|
|
329
|
+
|
|
330
|
+
@typing.final
|
|
331
|
+
class ApplicationViewConsolidatedEventArgs(winrt.system.Object):
|
|
332
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
333
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
334
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs::get_IsUserInitiated()
|
|
335
|
+
@_property
|
|
336
|
+
def is_user_initiated(self) -> bool: ...
|
|
337
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewConsolidatedEventArgs::get_IsAppInitiated()
|
|
338
|
+
@_property
|
|
339
|
+
def is_app_initiated(self) -> bool: ...
|
|
340
|
+
|
|
341
|
+
@typing.final
|
|
342
|
+
class ApplicationViewScaling_Static(winrt.system.Object_Static):
|
|
343
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewScaling::TrySetDisableLayoutScaling(System.Boolean)
|
|
344
|
+
def try_set_disable_layout_scaling(cls, disable_layout_scaling: bool, /) -> bool: ...
|
|
345
|
+
# System.Boolean Windows.UI.ViewManagement.ApplicationViewScaling::get_DisableLayoutScaling()
|
|
346
|
+
@_property
|
|
347
|
+
def disable_layout_scaling(cls) -> bool: ...
|
|
348
|
+
|
|
349
|
+
@typing.final
|
|
350
|
+
class ApplicationViewScaling(winrt.system.Object, metaclass=ApplicationViewScaling_Static):
|
|
351
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
352
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
353
|
+
|
|
354
|
+
@typing.final
|
|
355
|
+
class ApplicationViewSwitcher_Static(winrt.system.Object_Static):
|
|
356
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewSwitcher::DisableShowingMainViewOnActivation()
|
|
357
|
+
def disable_showing_main_view_on_activation(cls) -> None: ...
|
|
358
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewSwitcher::DisableSystemViewActivationPolicy()
|
|
359
|
+
def disable_system_view_activation_policy(cls) -> None: ...
|
|
360
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::PrepareForCustomAnimatedSwitchAsync(System.Int32,System.Int32,Windows.UI.ViewManagement.ApplicationViewSwitchingOptions)
|
|
361
|
+
def prepare_for_custom_animated_switch_async(cls, to_view_id: winrt.system.Int32 | typing.SupportsIndex, from_view_id: winrt.system.Int32 | typing.SupportsIndex, options: ApplicationViewSwitchingOptions, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
362
|
+
@typing.overload
|
|
363
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32)
|
|
364
|
+
def switch_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncAction: ...
|
|
365
|
+
@typing.overload
|
|
366
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32,System.Int32)
|
|
367
|
+
def switch_async(cls, to_view_id: winrt.system.Int32 | typing.SupportsIndex, from_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncAction: ...
|
|
368
|
+
@typing.overload
|
|
369
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32,System.Int32,Windows.UI.ViewManagement.ApplicationViewSwitchingOptions)
|
|
370
|
+
def switch_async(cls, to_view_id: winrt.system.Int32 | typing.SupportsIndex, from_view_id: winrt.system.Int32 | typing.SupportsIndex, options: ApplicationViewSwitchingOptions, /) -> windows_foundation.IAsyncAction: ...
|
|
371
|
+
# Deprecated alias of switch_async() for pywinrt v3.x compatibility.
|
|
372
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32,System.Int32)
|
|
373
|
+
@deprecated("Use switch_async() instead.")
|
|
374
|
+
def switch_from_view_async(cls, to_view_id: winrt.system.Int32 | typing.SupportsIndex, from_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncAction: ...
|
|
375
|
+
# Deprecated alias of switch_async() for pywinrt v3.x compatibility.
|
|
376
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ApplicationViewSwitcher::SwitchAsync(System.Int32,System.Int32,Windows.UI.ViewManagement.ApplicationViewSwitchingOptions)
|
|
377
|
+
@deprecated("Use switch_async() instead.")
|
|
378
|
+
def switch_from_view_with_options_async(cls, to_view_id: winrt.system.Int32 | typing.SupportsIndex, from_view_id: winrt.system.Int32 | typing.SupportsIndex, options: ApplicationViewSwitchingOptions, /) -> windows_foundation.IAsyncAction: ...
|
|
379
|
+
@typing.overload
|
|
380
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32)
|
|
381
|
+
def try_show_as_standalone_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
382
|
+
@typing.overload
|
|
383
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
384
|
+
def try_show_as_standalone_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
385
|
+
@typing.overload
|
|
386
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference,System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
387
|
+
def try_show_as_standalone_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, size_preference: ViewSizePreference, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
388
|
+
# Deprecated alias of try_show_as_standalone_async() for pywinrt v3.x compatibility.
|
|
389
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference,System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
390
|
+
@deprecated("Use try_show_as_standalone_async() instead.")
|
|
391
|
+
def try_show_as_standalone_with_anchor_view_and_size_preference_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, size_preference: ViewSizePreference, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
392
|
+
# Deprecated alias of try_show_as_standalone_async() for pywinrt v3.x compatibility.
|
|
393
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsStandaloneAsync(System.Int32,Windows.UI.ViewManagement.ViewSizePreference)
|
|
394
|
+
@deprecated("Use try_show_as_standalone_async() instead.")
|
|
395
|
+
def try_show_as_standalone_with_size_preference_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, size_preference: ViewSizePreference, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
396
|
+
@typing.overload
|
|
397
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsViewModeAsync(System.Int32,Windows.UI.ViewManagement.ApplicationViewMode)
|
|
398
|
+
def try_show_as_view_mode_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, view_mode: ApplicationViewMode, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
399
|
+
@typing.overload
|
|
400
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsViewModeAsync(System.Int32,Windows.UI.ViewManagement.ApplicationViewMode,Windows.UI.ViewManagement.ViewModePreferences)
|
|
401
|
+
def try_show_as_view_mode_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, view_mode: ApplicationViewMode, view_mode_preferences: ViewModePreferences, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
402
|
+
# Deprecated alias of try_show_as_view_mode_async() for pywinrt v3.x compatibility.
|
|
403
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ApplicationViewSwitcher::TryShowAsViewModeAsync(System.Int32,Windows.UI.ViewManagement.ApplicationViewMode,Windows.UI.ViewManagement.ViewModePreferences)
|
|
404
|
+
@deprecated("Use try_show_as_view_mode_async() instead.")
|
|
405
|
+
def try_show_as_view_mode_with_preferences_async(cls, view_id: winrt.system.Int32 | typing.SupportsIndex, view_mode: ApplicationViewMode, view_mode_preferences: ViewModePreferences, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
406
|
+
|
|
407
|
+
@typing.final
|
|
408
|
+
class ApplicationViewSwitcher(winrt.system.Object, metaclass=ApplicationViewSwitcher_Static):
|
|
409
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
410
|
+
"""A class of static members only, so there is nothing to create."""
|
|
411
|
+
|
|
412
|
+
@typing.final
|
|
413
|
+
class ApplicationViewTitleBar(winrt.system.Object):
|
|
414
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
415
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
416
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_InactiveForegroundColor()
|
|
417
|
+
@_property
|
|
418
|
+
def inactive_foreground_color(self) -> windows_ui.Color | None: ...
|
|
419
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_InactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
420
|
+
@inactive_foreground_color.setter
|
|
421
|
+
def inactive_foreground_color(self, value: windows_ui.Color | None) -> None: ...
|
|
422
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_InactiveBackgroundColor()
|
|
423
|
+
@_property
|
|
424
|
+
def inactive_background_color(self) -> windows_ui.Color | None: ...
|
|
425
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_InactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
426
|
+
@inactive_background_color.setter
|
|
427
|
+
def inactive_background_color(self, value: windows_ui.Color | None) -> None: ...
|
|
428
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ForegroundColor()
|
|
429
|
+
@_property
|
|
430
|
+
def foreground_color(self) -> windows_ui.Color | None: ...
|
|
431
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
432
|
+
@foreground_color.setter
|
|
433
|
+
def foreground_color(self, value: windows_ui.Color | None) -> None: ...
|
|
434
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonPressedForegroundColor()
|
|
435
|
+
@_property
|
|
436
|
+
def button_pressed_foreground_color(self) -> windows_ui.Color | None: ...
|
|
437
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonPressedForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
438
|
+
@button_pressed_foreground_color.setter
|
|
439
|
+
def button_pressed_foreground_color(self, value: windows_ui.Color | None) -> None: ...
|
|
440
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonPressedBackgroundColor()
|
|
441
|
+
@_property
|
|
442
|
+
def button_pressed_background_color(self) -> windows_ui.Color | None: ...
|
|
443
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonPressedBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
444
|
+
@button_pressed_background_color.setter
|
|
445
|
+
def button_pressed_background_color(self, value: windows_ui.Color | None) -> None: ...
|
|
446
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonInactiveForegroundColor()
|
|
447
|
+
@_property
|
|
448
|
+
def button_inactive_foreground_color(self) -> windows_ui.Color | None: ...
|
|
449
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonInactiveForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
450
|
+
@button_inactive_foreground_color.setter
|
|
451
|
+
def button_inactive_foreground_color(self, value: windows_ui.Color | None) -> None: ...
|
|
452
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonInactiveBackgroundColor()
|
|
453
|
+
@_property
|
|
454
|
+
def button_inactive_background_color(self) -> windows_ui.Color | None: ...
|
|
455
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonInactiveBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
456
|
+
@button_inactive_background_color.setter
|
|
457
|
+
def button_inactive_background_color(self, value: windows_ui.Color | None) -> None: ...
|
|
458
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonHoverForegroundColor()
|
|
459
|
+
@_property
|
|
460
|
+
def button_hover_foreground_color(self) -> windows_ui.Color | None: ...
|
|
461
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonHoverForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
462
|
+
@button_hover_foreground_color.setter
|
|
463
|
+
def button_hover_foreground_color(self, value: windows_ui.Color | None) -> None: ...
|
|
464
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonHoverBackgroundColor()
|
|
465
|
+
@_property
|
|
466
|
+
def button_hover_background_color(self) -> windows_ui.Color | None: ...
|
|
467
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonHoverBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
468
|
+
@button_hover_background_color.setter
|
|
469
|
+
def button_hover_background_color(self, value: windows_ui.Color | None) -> None: ...
|
|
470
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonForegroundColor()
|
|
471
|
+
@_property
|
|
472
|
+
def button_foreground_color(self) -> windows_ui.Color | None: ...
|
|
473
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonForegroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
474
|
+
@button_foreground_color.setter
|
|
475
|
+
def button_foreground_color(self, value: windows_ui.Color | None) -> None: ...
|
|
476
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_ButtonBackgroundColor()
|
|
477
|
+
@_property
|
|
478
|
+
def button_background_color(self) -> windows_ui.Color | None: ...
|
|
479
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_ButtonBackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
480
|
+
@button_background_color.setter
|
|
481
|
+
def button_background_color(self, value: windows_ui.Color | None) -> None: ...
|
|
482
|
+
# Windows.Foundation.IReference`1<Windows.UI.Color> Windows.UI.ViewManagement.ApplicationViewTitleBar::get_BackgroundColor()
|
|
483
|
+
@_property
|
|
484
|
+
def background_color(self) -> windows_ui.Color | None: ...
|
|
485
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTitleBar::put_BackgroundColor(Windows.Foundation.IReference`1<Windows.UI.Color>)
|
|
486
|
+
@background_color.setter
|
|
487
|
+
def background_color(self, value: windows_ui.Color | None) -> None: ...
|
|
488
|
+
|
|
489
|
+
@typing.final
|
|
490
|
+
class ApplicationViewTransferContext_Static(winrt.system.Object_Static):
|
|
491
|
+
# System.String Windows.UI.ViewManagement.ApplicationViewTransferContext::get_DataPackageFormatId()
|
|
492
|
+
@_property
|
|
493
|
+
def data_package_format_id(cls) -> str: ...
|
|
494
|
+
|
|
495
|
+
@typing.final
|
|
496
|
+
class ApplicationViewTransferContext(winrt.system.Object, metaclass=ApplicationViewTransferContext_Static):
|
|
497
|
+
def __new__(cls) -> typing.Self: ...
|
|
498
|
+
# System.Int32 Windows.UI.ViewManagement.ApplicationViewTransferContext::get_ViewId()
|
|
499
|
+
@_property
|
|
500
|
+
def view_id(self) -> winrt.system.Int32: ...
|
|
501
|
+
# System.Void Windows.UI.ViewManagement.ApplicationViewTransferContext::put_ViewId(System.Int32)
|
|
502
|
+
@view_id.setter
|
|
503
|
+
def view_id(self, value: winrt.system.Int32 | typing.SupportsIndex) -> None: ...
|
|
504
|
+
|
|
505
|
+
@typing.final
|
|
506
|
+
class InputPane_Static(winrt.system.Object_Static):
|
|
507
|
+
# Windows.UI.ViewManagement.InputPane Windows.UI.ViewManagement.InputPane::GetForCurrentView()
|
|
508
|
+
def get_for_current_view(cls) -> InputPane: ...
|
|
509
|
+
# Windows.UI.ViewManagement.InputPane Windows.UI.ViewManagement.InputPane::GetForUIContext(Windows.UI.UIContext)
|
|
510
|
+
def get_for_ui_context(cls, context: windows_ui.UIContext, /) -> InputPane: ...
|
|
511
|
+
|
|
512
|
+
@typing.final
|
|
513
|
+
class InputPane(winrt.system.Object, metaclass=InputPane_Static):
|
|
514
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
515
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
516
|
+
# System.Boolean Windows.UI.ViewManagement.InputPane::TryHide()
|
|
517
|
+
def try_hide(self) -> bool: ...
|
|
518
|
+
# System.Boolean Windows.UI.ViewManagement.InputPane::TryShow()
|
|
519
|
+
def try_show(self) -> bool: ...
|
|
520
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.InputPane::add_Hiding(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.InputPane,Windows.UI.ViewManagement.InputPaneVisibilityEventArgs>)
|
|
521
|
+
def add_hiding(self, handler: windows_foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
522
|
+
# System.Void Windows.UI.ViewManagement.InputPane::remove_Hiding(Windows.Foundation.EventRegistrationToken)
|
|
523
|
+
def remove_hiding(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
524
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.InputPane::add_Showing(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.InputPane,Windows.UI.ViewManagement.InputPaneVisibilityEventArgs>)
|
|
525
|
+
def add_showing(self, handler: windows_foundation.TypedEventHandler[InputPane, InputPaneVisibilityEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
526
|
+
# System.Void Windows.UI.ViewManagement.InputPane::remove_Showing(Windows.Foundation.EventRegistrationToken)
|
|
527
|
+
def remove_showing(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
528
|
+
# Windows.Foundation.Rect Windows.UI.ViewManagement.InputPane::get_OccludedRect()
|
|
529
|
+
@_property
|
|
530
|
+
def occluded_rect(self) -> windows_foundation.Rect: ...
|
|
531
|
+
# System.Boolean Windows.UI.ViewManagement.InputPane::get_Visible()
|
|
532
|
+
@_property
|
|
533
|
+
def visible(self) -> bool: ...
|
|
534
|
+
# System.Void Windows.UI.ViewManagement.InputPane::put_Visible(System.Boolean)
|
|
535
|
+
@visible.setter
|
|
536
|
+
def visible(self, value: bool) -> None: ...
|
|
537
|
+
|
|
538
|
+
@typing.final
|
|
539
|
+
class InputPaneVisibilityEventArgs(winrt.system.Object):
|
|
540
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
541
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
542
|
+
# System.Boolean Windows.UI.ViewManagement.InputPaneVisibilityEventArgs::get_EnsuredFocusedElementInView()
|
|
543
|
+
@_property
|
|
544
|
+
def ensured_focused_element_in_view(self) -> bool: ...
|
|
545
|
+
# System.Void Windows.UI.ViewManagement.InputPaneVisibilityEventArgs::put_EnsuredFocusedElementInView(System.Boolean)
|
|
546
|
+
@ensured_focused_element_in_view.setter
|
|
547
|
+
def ensured_focused_element_in_view(self, value: bool) -> None: ...
|
|
548
|
+
# Windows.Foundation.Rect Windows.UI.ViewManagement.InputPaneVisibilityEventArgs::get_OccludedRect()
|
|
549
|
+
@_property
|
|
550
|
+
def occluded_rect(self) -> windows_foundation.Rect: ...
|
|
551
|
+
|
|
552
|
+
@typing.final
|
|
553
|
+
class ProjectionManager_Static(winrt.system.Object_Static):
|
|
554
|
+
# System.String Windows.UI.ViewManagement.ProjectionManager::GetDeviceSelector()
|
|
555
|
+
def get_device_selector(cls) -> str: ...
|
|
556
|
+
@typing.overload
|
|
557
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ProjectionManager::RequestStartProjectingAsync(System.Int32,System.Int32,Windows.Foundation.Rect)
|
|
558
|
+
def request_start_projecting_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, selection: windows_foundation.Rect | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
559
|
+
@typing.overload
|
|
560
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ProjectionManager::RequestStartProjectingAsync(System.Int32,System.Int32,Windows.Foundation.Rect,Windows.UI.Popups.Placement)
|
|
561
|
+
def request_start_projecting_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, selection: windows_foundation.Rect | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], preffered_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
562
|
+
# Deprecated alias of request_start_projecting_async() for pywinrt v3.x compatibility.
|
|
563
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.ViewManagement.ProjectionManager::RequestStartProjectingAsync(System.Int32,System.Int32,Windows.Foundation.Rect,Windows.UI.Popups.Placement)
|
|
564
|
+
@deprecated("Use request_start_projecting_async() instead.")
|
|
565
|
+
def request_start_projecting_with_placement_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, selection: windows_foundation.Rect | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], preffered_placement: windows_ui_popups.Placement, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
566
|
+
@typing.overload
|
|
567
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::StartProjectingAsync(System.Int32,System.Int32)
|
|
568
|
+
def start_projecting_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncAction: ...
|
|
569
|
+
@typing.overload
|
|
570
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::StartProjectingAsync(System.Int32,System.Int32,Windows.Devices.Enumeration.DeviceInformation)
|
|
571
|
+
def start_projecting_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, display_device_info: windows_devices_enumeration.DeviceInformation, /) -> windows_foundation.IAsyncAction: ...
|
|
572
|
+
# Deprecated alias of start_projecting_async() for pywinrt v3.x compatibility.
|
|
573
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::StartProjectingAsync(System.Int32,System.Int32,Windows.Devices.Enumeration.DeviceInformation)
|
|
574
|
+
@deprecated("Use start_projecting_async() instead.")
|
|
575
|
+
def start_projecting_with_device_info_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, display_device_info: windows_devices_enumeration.DeviceInformation, /) -> windows_foundation.IAsyncAction: ...
|
|
576
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::StopProjectingAsync(System.Int32,System.Int32)
|
|
577
|
+
def stop_projecting_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncAction: ...
|
|
578
|
+
# Windows.Foundation.IAsyncAction Windows.UI.ViewManagement.ProjectionManager::SwapDisplaysForViewsAsync(System.Int32,System.Int32)
|
|
579
|
+
def swap_displays_for_views_async(cls, projection_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_foundation.IAsyncAction: ...
|
|
580
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.ProjectionManager::add_ProjectionDisplayAvailableChanged(Windows.Foundation.EventHandler`1<System.Object>)
|
|
581
|
+
def add_projection_display_available_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
582
|
+
# System.Void Windows.UI.ViewManagement.ProjectionManager::remove_ProjectionDisplayAvailableChanged(Windows.Foundation.EventRegistrationToken)
|
|
583
|
+
def remove_projection_display_available_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
584
|
+
# System.Boolean Windows.UI.ViewManagement.ProjectionManager::get_ProjectionDisplayAvailable()
|
|
585
|
+
@_property
|
|
586
|
+
def projection_display_available(cls) -> bool: ...
|
|
587
|
+
|
|
588
|
+
@typing.final
|
|
589
|
+
class ProjectionManager(winrt.system.Object, metaclass=ProjectionManager_Static):
|
|
590
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
591
|
+
"""A class of static members only, so there is nothing to create."""
|
|
592
|
+
|
|
593
|
+
@typing.final
|
|
594
|
+
class UISettings(winrt.system.Object):
|
|
595
|
+
def __new__(cls) -> typing.Self: ...
|
|
596
|
+
# Windows.UI.Color Windows.UI.ViewManagement.UISettings::GetColorValue(Windows.UI.ViewManagement.UIColorType)
|
|
597
|
+
def get_color_value(self, desired_color: UIColorType, /) -> windows_ui.Color: ...
|
|
598
|
+
# Windows.UI.Color Windows.UI.ViewManagement.UISettings::UIElementColor(Windows.UI.ViewManagement.UIElementType)
|
|
599
|
+
def ui_element_color(self, desired_element: UIElementType, /) -> windows_ui.Color: ...
|
|
600
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_TextScaleFactorChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,System.Object>)
|
|
601
|
+
def add_text_scale_factor_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
602
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_TextScaleFactorChanged(Windows.Foundation.EventRegistrationToken)
|
|
603
|
+
def remove_text_scale_factor_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
604
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_ColorValuesChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,System.Object>)
|
|
605
|
+
def add_color_values_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
606
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_ColorValuesChanged(Windows.Foundation.EventRegistrationToken)
|
|
607
|
+
def remove_color_values_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
608
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_AdvancedEffectsEnabledChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,System.Object>)
|
|
609
|
+
def add_advanced_effects_enabled_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
610
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_AdvancedEffectsEnabledChanged(Windows.Foundation.EventRegistrationToken)
|
|
611
|
+
def remove_advanced_effects_enabled_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
612
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_AutoHideScrollBarsChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,Windows.UI.ViewManagement.UISettingsAutoHideScrollBarsChangedEventArgs>)
|
|
613
|
+
def add_auto_hide_scroll_bars_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsAutoHideScrollBarsChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
614
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_AutoHideScrollBarsChanged(Windows.Foundation.EventRegistrationToken)
|
|
615
|
+
def remove_auto_hide_scroll_bars_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
616
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_AnimationsEnabledChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,Windows.UI.ViewManagement.UISettingsAnimationsEnabledChangedEventArgs>)
|
|
617
|
+
def add_animations_enabled_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsAnimationsEnabledChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
618
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_AnimationsEnabledChanged(Windows.Foundation.EventRegistrationToken)
|
|
619
|
+
def remove_animations_enabled_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
620
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UISettings::add_MessageDurationChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UISettings,Windows.UI.ViewManagement.UISettingsMessageDurationChangedEventArgs>)
|
|
621
|
+
def add_message_duration_changed(self, handler: windows_foundation.TypedEventHandler[UISettings, UISettingsMessageDurationChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
622
|
+
# System.Void Windows.UI.ViewManagement.UISettings::remove_MessageDurationChanged(Windows.Foundation.EventRegistrationToken)
|
|
623
|
+
def remove_message_duration_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
624
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_AnimationsEnabled()
|
|
625
|
+
@_property
|
|
626
|
+
def animations_enabled(self) -> bool: ...
|
|
627
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_CaretBlinkRate()
|
|
628
|
+
@_property
|
|
629
|
+
def caret_blink_rate(self) -> winrt.system.UInt32: ...
|
|
630
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_CaretBrowsingEnabled()
|
|
631
|
+
@_property
|
|
632
|
+
def caret_browsing_enabled(self) -> bool: ...
|
|
633
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_CaretWidth()
|
|
634
|
+
@_property
|
|
635
|
+
def caret_width(self) -> winrt.system.UInt32: ...
|
|
636
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_CursorSize()
|
|
637
|
+
@_property
|
|
638
|
+
def cursor_size(self) -> windows_foundation.Size: ...
|
|
639
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_DoubleClickTime()
|
|
640
|
+
@_property
|
|
641
|
+
def double_click_time(self) -> winrt.system.UInt32: ...
|
|
642
|
+
# Windows.UI.ViewManagement.HandPreference Windows.UI.ViewManagement.UISettings::get_HandPreference()
|
|
643
|
+
@_property
|
|
644
|
+
def hand_preference(self) -> HandPreference: ...
|
|
645
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_MessageDuration()
|
|
646
|
+
@_property
|
|
647
|
+
def message_duration(self) -> winrt.system.UInt32: ...
|
|
648
|
+
# System.UInt32 Windows.UI.ViewManagement.UISettings::get_MouseHoverTime()
|
|
649
|
+
@_property
|
|
650
|
+
def mouse_hover_time(self) -> winrt.system.UInt32: ...
|
|
651
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_ScrollBarArrowSize()
|
|
652
|
+
@_property
|
|
653
|
+
def scroll_bar_arrow_size(self) -> windows_foundation.Size: ...
|
|
654
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_ScrollBarSize()
|
|
655
|
+
@_property
|
|
656
|
+
def scroll_bar_size(self) -> windows_foundation.Size: ...
|
|
657
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.UISettings::get_ScrollBarThumbBoxSize()
|
|
658
|
+
@_property
|
|
659
|
+
def scroll_bar_thumb_box_size(self) -> windows_foundation.Size: ...
|
|
660
|
+
# System.Double Windows.UI.ViewManagement.UISettings::get_TextScaleFactor()
|
|
661
|
+
@_property
|
|
662
|
+
def text_scale_factor(self) -> winrt.system.Double: ...
|
|
663
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_AdvancedEffectsEnabled()
|
|
664
|
+
@_property
|
|
665
|
+
def advanced_effects_enabled(self) -> bool: ...
|
|
666
|
+
# System.Boolean Windows.UI.ViewManagement.UISettings::get_AutoHideScrollBars()
|
|
667
|
+
@_property
|
|
668
|
+
def auto_hide_scroll_bars(self) -> bool: ...
|
|
669
|
+
|
|
670
|
+
@typing.final
|
|
671
|
+
class UISettingsAnimationsEnabledChangedEventArgs(winrt.system.Object):
|
|
672
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
673
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
674
|
+
|
|
675
|
+
@typing.final
|
|
676
|
+
class UISettingsAutoHideScrollBarsChangedEventArgs(winrt.system.Object):
|
|
677
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
678
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
679
|
+
|
|
680
|
+
@typing.final
|
|
681
|
+
class UISettingsMessageDurationChangedEventArgs(winrt.system.Object):
|
|
682
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
683
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
684
|
+
|
|
685
|
+
@typing.final
|
|
686
|
+
class UIViewSettings_Static(winrt.system.Object_Static):
|
|
687
|
+
# Windows.UI.ViewManagement.UIViewSettings Windows.UI.ViewManagement.UIViewSettings::GetForCurrentView()
|
|
688
|
+
def get_for_current_view(cls) -> UIViewSettings: ...
|
|
689
|
+
|
|
690
|
+
@typing.final
|
|
691
|
+
class UIViewSettings(winrt.system.Object, metaclass=UIViewSettings_Static):
|
|
692
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
693
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
694
|
+
# Windows.UI.ViewManagement.UserInteractionMode Windows.UI.ViewManagement.UIViewSettings::GetPreferredInteractionMode(Windows.UI.ViewManagement.UserInteractionMode[])
|
|
695
|
+
def get_preferred_interaction_mode(self, supported_modes: winrt.system.Array[UserInteractionMode] | winrt.system.ReadableBuffer, /) -> UserInteractionMode: ...
|
|
696
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.ViewManagement.UIViewSettings::add_PreferredInteractionModeChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.ViewManagement.UIViewSettings,System.Object>)
|
|
697
|
+
def add_preferred_interaction_mode_changed(self, handler: windows_foundation.TypedEventHandler[UIViewSettings, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
698
|
+
# System.Void Windows.UI.ViewManagement.UIViewSettings::remove_PreferredInteractionModeChanged(Windows.Foundation.EventRegistrationToken)
|
|
699
|
+
def remove_preferred_interaction_mode_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
700
|
+
# Windows.UI.ViewManagement.UserInteractionMode Windows.UI.ViewManagement.UIViewSettings::get_UserInteractionMode()
|
|
701
|
+
@_property
|
|
702
|
+
def user_interaction_mode(self) -> UserInteractionMode: ...
|
|
703
|
+
|
|
704
|
+
@typing.final
|
|
705
|
+
class ViewModePreferences_Static(winrt.system.Object_Static):
|
|
706
|
+
# Windows.UI.ViewManagement.ViewModePreferences Windows.UI.ViewManagement.ViewModePreferences::CreateDefault(Windows.UI.ViewManagement.ApplicationViewMode)
|
|
707
|
+
def create_default(cls, mode: ApplicationViewMode, /) -> ViewModePreferences: ...
|
|
708
|
+
|
|
709
|
+
@typing.final
|
|
710
|
+
class ViewModePreferences(winrt.system.Object, metaclass=ViewModePreferences_Static):
|
|
711
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
712
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
713
|
+
# Windows.UI.ViewManagement.ViewSizePreference Windows.UI.ViewManagement.ViewModePreferences::get_ViewSizePreference()
|
|
714
|
+
@_property
|
|
715
|
+
def view_size_preference(self) -> ViewSizePreference: ...
|
|
716
|
+
# System.Void Windows.UI.ViewManagement.ViewModePreferences::put_ViewSizePreference(Windows.UI.ViewManagement.ViewSizePreference)
|
|
717
|
+
@view_size_preference.setter
|
|
718
|
+
def view_size_preference(self, value: ViewSizePreference) -> None: ...
|
|
719
|
+
# Windows.Foundation.Size Windows.UI.ViewManagement.ViewModePreferences::get_CustomSize()
|
|
720
|
+
@_property
|
|
721
|
+
def custom_size(self) -> windows_foundation.Size: ...
|
|
722
|
+
# System.Void Windows.UI.ViewManagement.ViewModePreferences::put_CustomSize(Windows.Foundation.Size)
|
|
723
|
+
@custom_size.setter
|
|
724
|
+
def custom_size(self, value: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single]) -> None: ...
|
|
725
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.UI.ViewManagement
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.UI.ViewManagement namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
25
|
+
Provides-Extra: all
|
|
26
|
+
Requires-Dist: winrt-windows-devices-enumeration[all]>=4!10.0.28000.2705; extra == 'all'
|
|
27
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-ui-core[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-ui-popups[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-windows-ui-windowmanagement[all]>=4!10.0.28000.2705; extra == 'all'
|
|
32
|
+
Requires-Dist: winrt-windows-ui[all]>=4!10.0.28000.2705; extra == 'all'
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
34
|
+
|
|
35
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
36
|
+
|
|
37
|
+
# winrt-Windows.UI.ViewManagement
|
|
38
|
+
|
|
39
|
+
Windows Runtime (WinRT) APIs for the `Windows.UI.ViewManagement` namespace.
|
|
40
|
+
|
|
41
|
+
This package provides the `winrt.windows.ui.viewmanagement` module.
|
|
42
|
+
|
|
43
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
44
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
pip install winrt-Windows.UI.ViewManagement
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
51
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/ui/viewmanagement/__init__.py,sha256=Ko-PzPtj0EGritza3b8PnlI5qlvAYbPe4OZ5UAEj_mI,2392
|
|
2
|
+
winrt/windows/ui/viewmanagement/__init__.pyi,sha256=GMrNWuDnCo2C4ikbHZ33DyhSI8K4Riudv55q9vJjWOI,53760
|
|
3
|
+
winrt/windows/ui/viewmanagement/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/ui/viewmanagement/_table.pywinrt,sha256=kLvGqm_Pz_HtGZ3i-CJ7vGLP6lzEvMod1fC442yuU9U,49064
|
|
5
|
+
winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/METADATA,sha256=CJD3qIh9xRX6Q-V0H_s7bDSA-RG0nt1QW9Oz39zTQZc,2365
|
|
6
|
+
winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_ui_viewmanagement-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|