win32more-Microsoft.WindowsAppSDK 0.6.1.5.240227000__py2.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.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- win32more/Microsoft/Foundation/__init__.py +7 -0
- win32more/Microsoft/Graphics/DirectX/__init__.py +167 -0
- win32more/Microsoft/Graphics/Display/__init__.py +174 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +52 -0
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +63 -0
- win32more/Microsoft/UI/Composition/Effects/__init__.py +96 -0
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +951 -0
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +671 -0
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +356 -0
- win32more/Microsoft/UI/Composition/__init__.py +4793 -0
- win32more/Microsoft/UI/Content/__init__.py +918 -0
- win32more/Microsoft/UI/Dispatching/__init__.py +241 -0
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +235 -0
- win32more/Microsoft/UI/Input/Interop/__init__.py +19 -0
- win32more/Microsoft/UI/Input/__init__.py +1927 -0
- win32more/Microsoft/UI/System/__init__.py +46 -0
- win32more/Microsoft/UI/Text/__init__.py +1090 -0
- win32more/Microsoft/UI/Windowing/__init__.py +877 -0
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +3414 -0
- win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +489 -0
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +17 -0
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +1607 -0
- win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +170 -0
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +6458 -0
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +31159 -0
- win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
- win32more/Microsoft/UI/Xaml/Data/__init__.py +670 -0
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +2030 -0
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +329 -0
- win32more/Microsoft/UI/Xaml/Input/__init__.py +1985 -0
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +148 -0
- win32more/Microsoft/UI/Xaml/Markup/__init__.py +391 -0
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +4167 -0
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +632 -0
- win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +373 -0
- win32more/Microsoft/UI/Xaml/Media/__init__.py +3510 -0
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +255 -0
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +193 -0
- win32more/Microsoft/UI/Xaml/Resources/__init__.py +53 -0
- win32more/Microsoft/UI/Xaml/Shapes/__init__.py +538 -0
- win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +39 -0
- win32more/Microsoft/UI/Xaml/__init__.py +6010 -0
- win32more/Microsoft/UI/__init__.py +912 -0
- win32more/Microsoft/Web/WebView2/Core/__init__.py +4685 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +180 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +572 -0
- win32more/Microsoft/Windows/AppNotifications/__init__.py +333 -0
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +244 -0
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +322 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +114 -0
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +1114 -0
- win32more/Microsoft/Windows/PushNotifications/__init__.py +146 -0
- win32more/Microsoft/Windows/Security/AccessControl/__init__.py +25 -0
- win32more/Microsoft/Windows/System/Power/__init__.py +223 -0
- win32more/Microsoft/Windows/System/__init__.py +78 -0
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +181 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +325 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +3 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/METADATA +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/RECORD +66 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/WHEEL +5 -0
- win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +90 -0
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more.winrt.prelude import *
|
|
3
|
+
import win32more.Microsoft.UI
|
|
4
|
+
import win32more.Microsoft.UI.Composition
|
|
5
|
+
import win32more.Microsoft.UI.Composition.SystemBackdrops
|
|
6
|
+
import win32more.Windows.Foundation
|
|
7
|
+
import win32more.Windows.UI
|
|
8
|
+
import win32more.Windows.UI.Composition
|
|
9
|
+
import win32more.Windows.UI.Core
|
|
10
|
+
class DesktopAcrylicController(ComPtr):
|
|
11
|
+
extends: IInspectable
|
|
12
|
+
implements: Tuple[ContextManagerProtocol]
|
|
13
|
+
default_interface: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController
|
|
14
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicController'
|
|
15
|
+
def __init__(self, *args, **kwargs):
|
|
16
|
+
if kwargs:
|
|
17
|
+
super().__init__(**kwargs)
|
|
18
|
+
elif len(args) == 0:
|
|
19
|
+
super().__init__(move=win32more.Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicController.CreateInstance(*args))
|
|
20
|
+
else:
|
|
21
|
+
raise ValueError('no matched constructor')
|
|
22
|
+
@winrt_activatemethod
|
|
23
|
+
def CreateInstance(cls) -> win32more.Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicController: ...
|
|
24
|
+
@winrt_mixinmethod
|
|
25
|
+
def RemoveSystemBackdropTarget(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, systemBackdropTarget: win32more.Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop) -> Boolean: ...
|
|
26
|
+
@winrt_mixinmethod
|
|
27
|
+
def get_TintOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController) -> Single: ...
|
|
28
|
+
@winrt_mixinmethod
|
|
29
|
+
def put_TintOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController, value: Single) -> Void: ...
|
|
30
|
+
@winrt_mixinmethod
|
|
31
|
+
def ResetProperties(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController2) -> Void: ...
|
|
32
|
+
@winrt_mixinmethod
|
|
33
|
+
def get_Kind(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController3) -> win32more.Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicKind: ...
|
|
34
|
+
@winrt_mixinmethod
|
|
35
|
+
def put_Kind(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController3, value: win32more.Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicKind) -> Void: ...
|
|
36
|
+
@winrt_mixinmethod
|
|
37
|
+
def SetTargetWithWindowId(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropController, windowId: win32more.Microsoft.UI.WindowId, desktopWindowTarget: win32more.Windows.UI.Composition.CompositionTarget) -> Boolean: ...
|
|
38
|
+
@winrt_mixinmethod
|
|
39
|
+
def SetTargetWithCoreWindow(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropController, coreWindow: win32more.Windows.UI.Core.CoreWindow, compositionTarget: win32more.Windows.UI.Composition.CompositionTarget) -> Boolean: ...
|
|
40
|
+
@winrt_mixinmethod
|
|
41
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
42
|
+
@winrt_mixinmethod
|
|
43
|
+
def get_State(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets) -> win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropState: ...
|
|
44
|
+
@winrt_mixinmethod
|
|
45
|
+
def AddSystemBackdropTarget(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, systemBackdropTarget: win32more.Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop) -> Boolean: ...
|
|
46
|
+
@winrt_mixinmethod
|
|
47
|
+
def RemoveAllSystemBackdropTargets(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets) -> Void: ...
|
|
48
|
+
@winrt_mixinmethod
|
|
49
|
+
def get_IsClosed(self: win32more.Microsoft.UI.IClosableNotifier) -> Boolean: ...
|
|
50
|
+
@winrt_mixinmethod
|
|
51
|
+
def SetSystemBackdropConfiguration(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, configuration: win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropConfiguration) -> Void: ...
|
|
52
|
+
@winrt_mixinmethod
|
|
53
|
+
def add_StateChanged(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
54
|
+
@winrt_mixinmethod
|
|
55
|
+
def remove_StateChanged(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
56
|
+
@winrt_mixinmethod
|
|
57
|
+
def get_FallbackColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController) -> win32more.Windows.UI.Color: ...
|
|
58
|
+
@winrt_mixinmethod
|
|
59
|
+
def add_Closed(self: win32more.Microsoft.UI.IClosableNotifier, handler: win32more.Microsoft.UI.ClosableNotifierHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
60
|
+
@winrt_mixinmethod
|
|
61
|
+
def remove_Closed(self: win32more.Microsoft.UI.IClosableNotifier, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
62
|
+
@winrt_mixinmethod
|
|
63
|
+
def add_FrameworkClosed(self: win32more.Microsoft.UI.IClosableNotifier, handler: win32more.Microsoft.UI.ClosableNotifierHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
64
|
+
@winrt_mixinmethod
|
|
65
|
+
def remove_FrameworkClosed(self: win32more.Microsoft.UI.IClosableNotifier, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
66
|
+
@winrt_mixinmethod
|
|
67
|
+
def put_FallbackColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController, value: win32more.Windows.UI.Color) -> Void: ...
|
|
68
|
+
@winrt_mixinmethod
|
|
69
|
+
def get_LuminosityOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController) -> Single: ...
|
|
70
|
+
@winrt_mixinmethod
|
|
71
|
+
def put_LuminosityOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController, value: Single) -> Void: ...
|
|
72
|
+
@winrt_mixinmethod
|
|
73
|
+
def get_TintColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController) -> win32more.Windows.UI.Color: ...
|
|
74
|
+
@winrt_mixinmethod
|
|
75
|
+
def put_TintColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController, value: win32more.Windows.UI.Color) -> Void: ...
|
|
76
|
+
@winrt_classmethod
|
|
77
|
+
def IsSupported(cls: win32more.Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicControllerStatics) -> Boolean: ...
|
|
78
|
+
FallbackColor = property(get_FallbackColor, put_FallbackColor)
|
|
79
|
+
IsClosed = property(get_IsClosed, None)
|
|
80
|
+
Kind = property(get_Kind, put_Kind)
|
|
81
|
+
LuminosityOpacity = property(get_LuminosityOpacity, put_LuminosityOpacity)
|
|
82
|
+
State = property(get_State, None)
|
|
83
|
+
TintColor = property(get_TintColor, put_TintColor)
|
|
84
|
+
TintOpacity = property(get_TintOpacity, put_TintOpacity)
|
|
85
|
+
StateChanged = event()
|
|
86
|
+
Closed = event()
|
|
87
|
+
FrameworkClosed = event()
|
|
88
|
+
class DesktopAcrylicKind(Enum, Int32):
|
|
89
|
+
Default = 0
|
|
90
|
+
Base = 1
|
|
91
|
+
Thin = 2
|
|
92
|
+
class IDesktopAcrylicController(ComPtr):
|
|
93
|
+
extends: IInspectable
|
|
94
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController'
|
|
95
|
+
_iid_ = Guid('{7c20a6af-8eb3-5f08-bdfc-6d35e35dfe45}')
|
|
96
|
+
@winrt_commethod(6)
|
|
97
|
+
def get_FallbackColor(self) -> win32more.Windows.UI.Color: ...
|
|
98
|
+
@winrt_commethod(7)
|
|
99
|
+
def put_FallbackColor(self, value: win32more.Windows.UI.Color) -> Void: ...
|
|
100
|
+
@winrt_commethod(8)
|
|
101
|
+
def get_LuminosityOpacity(self) -> Single: ...
|
|
102
|
+
@winrt_commethod(9)
|
|
103
|
+
def put_LuminosityOpacity(self, value: Single) -> Void: ...
|
|
104
|
+
@winrt_commethod(10)
|
|
105
|
+
def get_TintColor(self) -> win32more.Windows.UI.Color: ...
|
|
106
|
+
@winrt_commethod(11)
|
|
107
|
+
def put_TintColor(self, value: win32more.Windows.UI.Color) -> Void: ...
|
|
108
|
+
@winrt_commethod(12)
|
|
109
|
+
def get_TintOpacity(self) -> Single: ...
|
|
110
|
+
@winrt_commethod(13)
|
|
111
|
+
def put_TintOpacity(self, value: Single) -> Void: ...
|
|
112
|
+
FallbackColor = property(get_FallbackColor, put_FallbackColor)
|
|
113
|
+
LuminosityOpacity = property(get_LuminosityOpacity, put_LuminosityOpacity)
|
|
114
|
+
TintColor = property(get_TintColor, put_TintColor)
|
|
115
|
+
TintOpacity = property(get_TintOpacity, put_TintOpacity)
|
|
116
|
+
class IDesktopAcrylicController2(ComPtr):
|
|
117
|
+
extends: IInspectable
|
|
118
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController2'
|
|
119
|
+
_iid_ = Guid('{88e0a368-dfc7-5971-a50b-40df5aa5f5c2}')
|
|
120
|
+
@winrt_commethod(6)
|
|
121
|
+
def ResetProperties(self) -> Void: ...
|
|
122
|
+
class IDesktopAcrylicController3(ComPtr):
|
|
123
|
+
extends: IInspectable
|
|
124
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicController3'
|
|
125
|
+
_iid_ = Guid('{30d917e6-02d3-59ca-b440-bf9d2e7cc140}')
|
|
126
|
+
@winrt_commethod(6)
|
|
127
|
+
def get_Kind(self) -> win32more.Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicKind: ...
|
|
128
|
+
@winrt_commethod(7)
|
|
129
|
+
def put_Kind(self, value: win32more.Microsoft.UI.Composition.SystemBackdrops.DesktopAcrylicKind) -> Void: ...
|
|
130
|
+
Kind = property(get_Kind, put_Kind)
|
|
131
|
+
class IDesktopAcrylicControllerStatics(ComPtr):
|
|
132
|
+
extends: IInspectable
|
|
133
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.IDesktopAcrylicControllerStatics'
|
|
134
|
+
_iid_ = Guid('{a9e8f790-79ef-5416-9b67-6bcfe867c8b7}')
|
|
135
|
+
@winrt_commethod(6)
|
|
136
|
+
def IsSupported(self) -> Boolean: ...
|
|
137
|
+
class IMicaController(ComPtr):
|
|
138
|
+
extends: IInspectable
|
|
139
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.IMicaController'
|
|
140
|
+
_iid_ = Guid('{2de996a9-0a2a-5889-a89c-1f84060a8cab}')
|
|
141
|
+
@winrt_commethod(6)
|
|
142
|
+
def get_FallbackColor(self) -> win32more.Windows.UI.Color: ...
|
|
143
|
+
@winrt_commethod(7)
|
|
144
|
+
def put_FallbackColor(self, value: win32more.Windows.UI.Color) -> Void: ...
|
|
145
|
+
@winrt_commethod(8)
|
|
146
|
+
def get_LuminosityOpacity(self) -> Single: ...
|
|
147
|
+
@winrt_commethod(9)
|
|
148
|
+
def put_LuminosityOpacity(self, value: Single) -> Void: ...
|
|
149
|
+
@winrt_commethod(10)
|
|
150
|
+
def get_TintColor(self) -> win32more.Windows.UI.Color: ...
|
|
151
|
+
@winrt_commethod(11)
|
|
152
|
+
def put_TintColor(self, value: win32more.Windows.UI.Color) -> Void: ...
|
|
153
|
+
@winrt_commethod(12)
|
|
154
|
+
def get_TintOpacity(self) -> Single: ...
|
|
155
|
+
@winrt_commethod(13)
|
|
156
|
+
def put_TintOpacity(self, value: Single) -> Void: ...
|
|
157
|
+
FallbackColor = property(get_FallbackColor, put_FallbackColor)
|
|
158
|
+
LuminosityOpacity = property(get_LuminosityOpacity, put_LuminosityOpacity)
|
|
159
|
+
TintColor = property(get_TintColor, put_TintColor)
|
|
160
|
+
TintOpacity = property(get_TintOpacity, put_TintOpacity)
|
|
161
|
+
class IMicaController2(ComPtr):
|
|
162
|
+
extends: IInspectable
|
|
163
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.IMicaController2'
|
|
164
|
+
_iid_ = Guid('{f1ed4a52-d9ca-506e-9586-caaefd3aa971}')
|
|
165
|
+
@winrt_commethod(6)
|
|
166
|
+
def get_Kind(self) -> win32more.Microsoft.UI.Composition.SystemBackdrops.MicaKind: ...
|
|
167
|
+
@winrt_commethod(7)
|
|
168
|
+
def put_Kind(self, value: win32more.Microsoft.UI.Composition.SystemBackdrops.MicaKind) -> Void: ...
|
|
169
|
+
@winrt_commethod(8)
|
|
170
|
+
def ResetProperties(self) -> Void: ...
|
|
171
|
+
Kind = property(get_Kind, put_Kind)
|
|
172
|
+
class IMicaControllerStatics(ComPtr):
|
|
173
|
+
extends: IInspectable
|
|
174
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.IMicaControllerStatics'
|
|
175
|
+
_iid_ = Guid('{7d85d834-d514-5250-b7c4-0b7850d1efdc}')
|
|
176
|
+
@winrt_commethod(6)
|
|
177
|
+
def IsSupported(self) -> Boolean: ...
|
|
178
|
+
class ISystemBackdropConfiguration(ComPtr):
|
|
179
|
+
extends: IInspectable
|
|
180
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration'
|
|
181
|
+
_iid_ = Guid('{ebcce1b9-0e0c-5431-ab0e-00f3f0669962}')
|
|
182
|
+
@winrt_commethod(6)
|
|
183
|
+
def get_HighContrastBackgroundColor(self) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
|
|
184
|
+
@winrt_commethod(7)
|
|
185
|
+
def put_HighContrastBackgroundColor(self, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
|
|
186
|
+
@winrt_commethod(8)
|
|
187
|
+
def get_IsHighContrast(self) -> Boolean: ...
|
|
188
|
+
@winrt_commethod(9)
|
|
189
|
+
def put_IsHighContrast(self, value: Boolean) -> Void: ...
|
|
190
|
+
@winrt_commethod(10)
|
|
191
|
+
def get_IsInputActive(self) -> Boolean: ...
|
|
192
|
+
@winrt_commethod(11)
|
|
193
|
+
def put_IsInputActive(self, value: Boolean) -> Void: ...
|
|
194
|
+
@winrt_commethod(12)
|
|
195
|
+
def get_Theme(self) -> win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropTheme: ...
|
|
196
|
+
@winrt_commethod(13)
|
|
197
|
+
def put_Theme(self, value: win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropTheme) -> Void: ...
|
|
198
|
+
HighContrastBackgroundColor = property(get_HighContrastBackgroundColor, put_HighContrastBackgroundColor)
|
|
199
|
+
IsHighContrast = property(get_IsHighContrast, put_IsHighContrast)
|
|
200
|
+
IsInputActive = property(get_IsInputActive, put_IsInputActive)
|
|
201
|
+
Theme = property(get_Theme, put_Theme)
|
|
202
|
+
class ISystemBackdropController(ComPtr):
|
|
203
|
+
extends: IInspectable
|
|
204
|
+
implements: Tuple[ContextManagerProtocol]
|
|
205
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropController'
|
|
206
|
+
_iid_ = Guid('{5632d76c-0b74-5b52-aa33-80262068aeb2}')
|
|
207
|
+
@winrt_commethod(6)
|
|
208
|
+
def SetTargetWithWindowId(self, windowId: win32more.Microsoft.UI.WindowId, desktopWindowTarget: win32more.Windows.UI.Composition.CompositionTarget) -> Boolean: ...
|
|
209
|
+
@winrt_commethod(7)
|
|
210
|
+
def SetTargetWithCoreWindow(self, coreWindow: win32more.Windows.UI.Core.CoreWindow, compositionTarget: win32more.Windows.UI.Composition.CompositionTarget) -> Boolean: ...
|
|
211
|
+
class ISystemBackdropControllerWithTargets(ComPtr):
|
|
212
|
+
extends: IInspectable
|
|
213
|
+
implements: Tuple[ContextManagerProtocol]
|
|
214
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets'
|
|
215
|
+
_iid_ = Guid('{9c56fe7c-98eb-5f89-ad97-dad57fc30c8c}')
|
|
216
|
+
@winrt_commethod(6)
|
|
217
|
+
def get_State(self) -> win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropState: ...
|
|
218
|
+
@winrt_commethod(7)
|
|
219
|
+
def AddSystemBackdropTarget(self, systemBackdropTarget: win32more.Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop) -> Boolean: ...
|
|
220
|
+
@winrt_commethod(8)
|
|
221
|
+
def RemoveAllSystemBackdropTargets(self) -> Void: ...
|
|
222
|
+
@winrt_commethod(9)
|
|
223
|
+
def RemoveSystemBackdropTarget(self, systemBackdropTarget: win32more.Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop) -> Boolean: ...
|
|
224
|
+
@winrt_commethod(10)
|
|
225
|
+
def SetSystemBackdropConfiguration(self, configuration: win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropConfiguration) -> Void: ...
|
|
226
|
+
@winrt_commethod(11)
|
|
227
|
+
def add_StateChanged(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
228
|
+
@winrt_commethod(12)
|
|
229
|
+
def remove_StateChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
230
|
+
State = property(get_State, None)
|
|
231
|
+
StateChanged = event()
|
|
232
|
+
class MicaController(ComPtr):
|
|
233
|
+
extends: IInspectable
|
|
234
|
+
implements: Tuple[ContextManagerProtocol]
|
|
235
|
+
default_interface: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController
|
|
236
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.MicaController'
|
|
237
|
+
def __init__(self, *args, **kwargs):
|
|
238
|
+
if kwargs:
|
|
239
|
+
super().__init__(**kwargs)
|
|
240
|
+
elif len(args) == 0:
|
|
241
|
+
super().__init__(move=win32more.Microsoft.UI.Composition.SystemBackdrops.MicaController.CreateInstance(*args))
|
|
242
|
+
else:
|
|
243
|
+
raise ValueError('no matched constructor')
|
|
244
|
+
@winrt_activatemethod
|
|
245
|
+
def CreateInstance(cls) -> win32more.Microsoft.UI.Composition.SystemBackdrops.MicaController: ...
|
|
246
|
+
@winrt_mixinmethod
|
|
247
|
+
def RemoveSystemBackdropTarget(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, systemBackdropTarget: win32more.Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop) -> Boolean: ...
|
|
248
|
+
@winrt_mixinmethod
|
|
249
|
+
def get_State(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets) -> win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropState: ...
|
|
250
|
+
@winrt_mixinmethod
|
|
251
|
+
def SetSystemBackdropConfiguration(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, configuration: win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropConfiguration) -> Void: ...
|
|
252
|
+
@winrt_mixinmethod
|
|
253
|
+
def add_StateChanged(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
254
|
+
@winrt_mixinmethod
|
|
255
|
+
def remove_StateChanged(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
256
|
+
@winrt_mixinmethod
|
|
257
|
+
def get_IsClosed(self: win32more.Microsoft.UI.IClosableNotifier) -> Boolean: ...
|
|
258
|
+
@winrt_mixinmethod
|
|
259
|
+
def add_Closed(self: win32more.Microsoft.UI.IClosableNotifier, handler: win32more.Microsoft.UI.ClosableNotifierHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
260
|
+
@winrt_mixinmethod
|
|
261
|
+
def remove_Closed(self: win32more.Microsoft.UI.IClosableNotifier, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
262
|
+
@winrt_mixinmethod
|
|
263
|
+
def add_FrameworkClosed(self: win32more.Microsoft.UI.IClosableNotifier, handler: win32more.Microsoft.UI.ClosableNotifierHandler) -> win32more.Windows.Foundation.EventRegistrationToken: ...
|
|
264
|
+
@winrt_mixinmethod
|
|
265
|
+
def remove_FrameworkClosed(self: win32more.Microsoft.UI.IClosableNotifier, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
|
|
266
|
+
@winrt_mixinmethod
|
|
267
|
+
def AddSystemBackdropTarget(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets, systemBackdropTarget: win32more.Microsoft.UI.Composition.ICompositionSupportsSystemBackdrop) -> Boolean: ...
|
|
268
|
+
@winrt_mixinmethod
|
|
269
|
+
def RemoveAllSystemBackdropTargets(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropControllerWithTargets) -> Void: ...
|
|
270
|
+
@winrt_mixinmethod
|
|
271
|
+
def put_FallbackColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController, value: win32more.Windows.UI.Color) -> Void: ...
|
|
272
|
+
@winrt_mixinmethod
|
|
273
|
+
def get_LuminosityOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController) -> Single: ...
|
|
274
|
+
@winrt_mixinmethod
|
|
275
|
+
def put_LuminosityOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController, value: Single) -> Void: ...
|
|
276
|
+
@winrt_mixinmethod
|
|
277
|
+
def get_TintColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController) -> win32more.Windows.UI.Color: ...
|
|
278
|
+
@winrt_mixinmethod
|
|
279
|
+
def put_TintColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController, value: win32more.Windows.UI.Color) -> Void: ...
|
|
280
|
+
@winrt_mixinmethod
|
|
281
|
+
def get_TintOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController) -> Single: ...
|
|
282
|
+
@winrt_mixinmethod
|
|
283
|
+
def get_FallbackColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController) -> win32more.Windows.UI.Color: ...
|
|
284
|
+
@winrt_mixinmethod
|
|
285
|
+
def put_TintOpacity(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController, value: Single) -> Void: ...
|
|
286
|
+
@winrt_mixinmethod
|
|
287
|
+
def get_Kind(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController2) -> win32more.Microsoft.UI.Composition.SystemBackdrops.MicaKind: ...
|
|
288
|
+
@winrt_mixinmethod
|
|
289
|
+
def put_Kind(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController2, value: win32more.Microsoft.UI.Composition.SystemBackdrops.MicaKind) -> Void: ...
|
|
290
|
+
@winrt_mixinmethod
|
|
291
|
+
def ResetProperties(self: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaController2) -> Void: ...
|
|
292
|
+
@winrt_mixinmethod
|
|
293
|
+
def SetTargetWithWindowId(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropController, windowId: win32more.Microsoft.UI.WindowId, desktopWindowTarget: win32more.Windows.UI.Composition.CompositionTarget) -> Boolean: ...
|
|
294
|
+
@winrt_mixinmethod
|
|
295
|
+
def SetTargetWithCoreWindow(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropController, coreWindow: win32more.Windows.UI.Core.CoreWindow, compositionTarget: win32more.Windows.UI.Composition.CompositionTarget) -> Boolean: ...
|
|
296
|
+
@winrt_mixinmethod
|
|
297
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
298
|
+
@winrt_classmethod
|
|
299
|
+
def IsSupported(cls: win32more.Microsoft.UI.Composition.SystemBackdrops.IMicaControllerStatics) -> Boolean: ...
|
|
300
|
+
FallbackColor = property(get_FallbackColor, put_FallbackColor)
|
|
301
|
+
IsClosed = property(get_IsClosed, None)
|
|
302
|
+
Kind = property(get_Kind, put_Kind)
|
|
303
|
+
LuminosityOpacity = property(get_LuminosityOpacity, put_LuminosityOpacity)
|
|
304
|
+
State = property(get_State, None)
|
|
305
|
+
TintColor = property(get_TintColor, put_TintColor)
|
|
306
|
+
TintOpacity = property(get_TintOpacity, put_TintOpacity)
|
|
307
|
+
StateChanged = event()
|
|
308
|
+
Closed = event()
|
|
309
|
+
FrameworkClosed = event()
|
|
310
|
+
class MicaKind(Enum, Int32):
|
|
311
|
+
Base = 0
|
|
312
|
+
BaseAlt = 1
|
|
313
|
+
class SystemBackdropConfiguration(ComPtr):
|
|
314
|
+
extends: IInspectable
|
|
315
|
+
default_interface: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration
|
|
316
|
+
_classid_ = 'Microsoft.UI.Composition.SystemBackdrops.SystemBackdropConfiguration'
|
|
317
|
+
def __init__(self, *args, **kwargs):
|
|
318
|
+
if kwargs:
|
|
319
|
+
super().__init__(**kwargs)
|
|
320
|
+
elif len(args) == 0:
|
|
321
|
+
super().__init__(move=win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropConfiguration.CreateInstance(*args))
|
|
322
|
+
else:
|
|
323
|
+
raise ValueError('no matched constructor')
|
|
324
|
+
@winrt_activatemethod
|
|
325
|
+
def CreateInstance(cls) -> win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropConfiguration: ...
|
|
326
|
+
@winrt_mixinmethod
|
|
327
|
+
def put_Theme(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration, value: win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropTheme) -> Void: ...
|
|
328
|
+
@winrt_mixinmethod
|
|
329
|
+
def put_IsHighContrast(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration, value: Boolean) -> Void: ...
|
|
330
|
+
@winrt_mixinmethod
|
|
331
|
+
def get_IsInputActive(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration) -> Boolean: ...
|
|
332
|
+
@winrt_mixinmethod
|
|
333
|
+
def put_IsInputActive(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration, value: Boolean) -> Void: ...
|
|
334
|
+
@winrt_mixinmethod
|
|
335
|
+
def get_Theme(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration) -> win32more.Microsoft.UI.Composition.SystemBackdrops.SystemBackdropTheme: ...
|
|
336
|
+
@winrt_mixinmethod
|
|
337
|
+
def get_HighContrastBackgroundColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration) -> win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]: ...
|
|
338
|
+
@winrt_mixinmethod
|
|
339
|
+
def put_HighContrastBackgroundColor(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration, value: win32more.Windows.Foundation.IReference[win32more.Windows.UI.Color]) -> Void: ...
|
|
340
|
+
@winrt_mixinmethod
|
|
341
|
+
def get_IsHighContrast(self: win32more.Microsoft.UI.Composition.SystemBackdrops.ISystemBackdropConfiguration) -> Boolean: ...
|
|
342
|
+
HighContrastBackgroundColor = property(get_HighContrastBackgroundColor, put_HighContrastBackgroundColor)
|
|
343
|
+
IsHighContrast = property(get_IsHighContrast, put_IsHighContrast)
|
|
344
|
+
IsInputActive = property(get_IsInputActive, put_IsInputActive)
|
|
345
|
+
Theme = property(get_Theme, put_Theme)
|
|
346
|
+
class SystemBackdropState(Enum, Int32):
|
|
347
|
+
Active = 0
|
|
348
|
+
Fallback = 1
|
|
349
|
+
HighContrast = 2
|
|
350
|
+
class SystemBackdropTheme(Enum, Int32):
|
|
351
|
+
Default = 0
|
|
352
|
+
Light = 1
|
|
353
|
+
Dark = 2
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
make_ready(__name__)
|