winrt-Microsoft.WindowsAppSDK.InteractiveExperiences 4!2.5.1__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/microsoft/graphics/directx/__init__.py +14 -0
- winrt/microsoft/graphics/directx/__init__.pyi +181 -0
- winrt/microsoft/graphics/directx/_table.pywinrt +0 -0
- winrt/microsoft/graphics/directx/py.typed +0 -0
- winrt/microsoft/graphics/display/__init__.py +14 -0
- winrt/microsoft/graphics/display/__init__.pyi +109 -0
- winrt/microsoft/graphics/display/_table.pywinrt +0 -0
- winrt/microsoft/graphics/display/py.typed +0 -0
- winrt/microsoft/ui/__init__.py +20 -0
- winrt/microsoft/ui/__init__.pyi +506 -0
- winrt/microsoft/ui/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/__init__.py +148 -0
- winrt/microsoft/ui/composition/__init__.pyi +3148 -0
- winrt/microsoft/ui/composition/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/core/__init__.py +11 -0
- winrt/microsoft/ui/composition/core/__init__.pyi +33 -0
- winrt/microsoft/ui/composition/core/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/core/py.typed +0 -0
- winrt/microsoft/ui/composition/diagnostics/__init__.py +13 -0
- winrt/microsoft/ui/composition/diagnostics/__init__.pyi +52 -0
- winrt/microsoft/ui/composition/diagnostics/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/diagnostics/py.typed +0 -0
- winrt/microsoft/ui/composition/effects/__init__.py +12 -0
- winrt/microsoft/ui/composition/effects/__init__.pyi +64 -0
- winrt/microsoft/ui/composition/effects/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/effects/py.typed +0 -0
- winrt/microsoft/ui/composition/interactions/__init__.py +36 -0
- winrt/microsoft/ui/composition/interactions/__init__.pyi +598 -0
- winrt/microsoft/ui/composition/interactions/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/interactions/py.typed +0 -0
- winrt/microsoft/ui/composition/py.typed +0 -0
- winrt/microsoft/ui/composition/scenes/__init__.py +34 -0
- winrt/microsoft/ui/composition/scenes/__init__.pyi +513 -0
- winrt/microsoft/ui/composition/scenes/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/scenes/py.typed +0 -0
- winrt/microsoft/ui/composition/systembackdrops/__init__.py +19 -0
- winrt/microsoft/ui/composition/systembackdrops/__init__.pyi +257 -0
- winrt/microsoft/ui/composition/systembackdrops/_table.pywinrt +0 -0
- winrt/microsoft/ui/composition/systembackdrops/py.typed +0 -0
- winrt/microsoft/ui/content/__init__.py +38 -0
- winrt/microsoft/ui/content/__init__.pyi +1159 -0
- winrt/microsoft/ui/content/_table.pywinrt +0 -0
- winrt/microsoft/ui/content/py.typed +0 -0
- winrt/microsoft/ui/dispatching/__init__.py +21 -0
- winrt/microsoft/ui/dispatching/__init__.pyi +139 -0
- winrt/microsoft/ui/dispatching/_table.pywinrt +0 -0
- winrt/microsoft/ui/dispatching/py.typed +0 -0
- winrt/microsoft/ui/input/__init__.py +74 -0
- winrt/microsoft/ui/input/__init__.pyi +1335 -0
- winrt/microsoft/ui/input/_table.pywinrt +0 -0
- winrt/microsoft/ui/input/dragdrop/__init__.py +18 -0
- winrt/microsoft/ui/input/dragdrop/__init__.pyi +169 -0
- winrt/microsoft/ui/input/dragdrop/_table.pywinrt +0 -0
- winrt/microsoft/ui/input/dragdrop/py.typed +0 -0
- winrt/microsoft/ui/input/interop/__init__.py +11 -0
- winrt/microsoft/ui/input/interop/__init__.pyi +22 -0
- winrt/microsoft/ui/input/interop/_table.pywinrt +0 -0
- winrt/microsoft/ui/input/interop/py.typed +0 -0
- winrt/microsoft/ui/input/py.typed +0 -0
- winrt/microsoft/ui/py.typed +0 -0
- winrt/microsoft/ui/system/__init__.py +11 -0
- winrt/microsoft/ui/system/__init__.pyi +33 -0
- winrt/microsoft/ui/system/_table.pywinrt +0 -0
- winrt/microsoft/ui/system/py.typed +0 -0
- winrt/microsoft/ui/windowing/__init__.py +28 -0
- winrt/microsoft/ui/windowing/__init__.pyi +565 -0
- winrt/microsoft/ui/windowing/_table.pywinrt +0 -0
- winrt/microsoft/ui/windowing/py.typed +0 -0
- winrt_microsoft_windowsappsdk_interactiveexperiences-4!2.5.1.dist-info/METADATA +84 -0
- winrt_microsoft_windowsappsdk_interactiveexperiences-4!2.5.1.dist-info/RECORD +72 -0
- winrt_microsoft_windowsappsdk_interactiveexperiences-4!2.5.1.dist-info/WHEEL +4 -0
- winrt_microsoft_windowsappsdk_interactiveexperiences-4!2.5.1.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
"DirectXAlphaMode",
|
|
10
|
+
"DirectXColorSpace",
|
|
11
|
+
"DirectXPixelFormat",
|
|
12
|
+
"DirectXPrimitiveTopology",
|
|
13
|
+
]
|
|
14
|
+
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
|
|
7
|
+
__all__ = [
|
|
8
|
+
"DirectXAlphaMode",
|
|
9
|
+
"DirectXColorSpace",
|
|
10
|
+
"DirectXPixelFormat",
|
|
11
|
+
"DirectXPrimitiveTopology",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
class DirectXAlphaMode(enum.IntEnum):
|
|
15
|
+
UNSPECIFIED = 0
|
|
16
|
+
PREMULTIPLIED = 1
|
|
17
|
+
STRAIGHT = 2
|
|
18
|
+
IGNORE = 3
|
|
19
|
+
|
|
20
|
+
class DirectXColorSpace(enum.IntEnum):
|
|
21
|
+
RGB_FULL_G22_NONE_P709 = 0
|
|
22
|
+
RGB_FULL_G10_NONE_P709 = 1
|
|
23
|
+
RGB_STUDIO_G22_NONE_P709 = 2
|
|
24
|
+
RGB_STUDIO_G22_NONE_P2020 = 3
|
|
25
|
+
RESERVED = 4
|
|
26
|
+
YCC_FULL_G22_NONE_P709_X601 = 5
|
|
27
|
+
YCC_STUDIO_G22_LEFT_P601 = 6
|
|
28
|
+
YCC_FULL_G22_LEFT_P601 = 7
|
|
29
|
+
YCC_STUDIO_G22_LEFT_P709 = 8
|
|
30
|
+
YCC_FULL_G22_LEFT_P709 = 9
|
|
31
|
+
YCC_STUDIO_G22_LEFT_P2020 = 10
|
|
32
|
+
YCC_FULL_G22_LEFT_P2020 = 11
|
|
33
|
+
RGB_FULL_G2084_NONE_P2020 = 12
|
|
34
|
+
YCC_STUDIO_G2084_LEFT_P2020 = 13
|
|
35
|
+
RGB_STUDIO_G2084_NONE_P2020 = 14
|
|
36
|
+
YCC_STUDIO_G22_TOP_LEFT_P2020 = 15
|
|
37
|
+
YCC_STUDIO_G2084_TOP_LEFT_P2020 = 16
|
|
38
|
+
RGB_FULL_G22_NONE_P2020 = 17
|
|
39
|
+
YCC_STUDIO_G_HLG_TOP_LEFT_P2020 = 18
|
|
40
|
+
YCC_FULL_G_HLG_TOP_LEFT_P2020 = 19
|
|
41
|
+
RGB_STUDIO_G24_NONE_P709 = 20
|
|
42
|
+
RGB_STUDIO_G24_NONE_P2020 = 21
|
|
43
|
+
YCC_STUDIO_G24_LEFT_P709 = 22
|
|
44
|
+
YCC_STUDIO_G24_LEFT_P2020 = 23
|
|
45
|
+
YCC_STUDIO_G24_TOP_LEFT_P2020 = 24
|
|
46
|
+
RGB_FULL_G10_NONE_P2020 = 25
|
|
47
|
+
RGB_FULL_G22_EXT_NONE_P709 = 26
|
|
48
|
+
RGB_FULL_G22_NONE_P3 = 27
|
|
49
|
+
|
|
50
|
+
class DirectXPixelFormat(enum.IntEnum):
|
|
51
|
+
UNKNOWN = 0
|
|
52
|
+
R32_G32_B32_A32_TYPELESS = 1
|
|
53
|
+
R32_G32_B32_A32_FLOAT = 2
|
|
54
|
+
R32_G32_B32_A32_UINT = 3
|
|
55
|
+
R32_G32_B32_A32_INT = 4
|
|
56
|
+
R32_G32_B32_TYPELESS = 5
|
|
57
|
+
R32_G32_B32_FLOAT = 6
|
|
58
|
+
R32_G32_B32_UINT = 7
|
|
59
|
+
R32_G32_B32_INT = 8
|
|
60
|
+
R16_G16_B16_A16_TYPELESS = 9
|
|
61
|
+
R16_G16_B16_A16_FLOAT = 10
|
|
62
|
+
R16_G16_B16_A16_UINT_NORMALIZED = 11
|
|
63
|
+
R16_G16_B16_A16_UINT = 12
|
|
64
|
+
R16_G16_B16_A16_INT_NORMALIZED = 13
|
|
65
|
+
R16_G16_B16_A16_INT = 14
|
|
66
|
+
R32_G32_TYPELESS = 15
|
|
67
|
+
R32_G32_FLOAT = 16
|
|
68
|
+
R32_G32_UINT = 17
|
|
69
|
+
R32_G32_INT = 18
|
|
70
|
+
R32_G8_X24_TYPELESS = 19
|
|
71
|
+
D32_FLOAT_S8_X24_UINT = 20
|
|
72
|
+
R32_FLOAT_X8_X24_TYPELESS = 21
|
|
73
|
+
X32_TYPELESS_G8_X24_UINT = 22
|
|
74
|
+
R10_G10_B10_A2_TYPELESS = 23
|
|
75
|
+
R10_G10_B10_A2_UINT_NORMALIZED = 24
|
|
76
|
+
R10_G10_B10_A2_UINT = 25
|
|
77
|
+
R11_G11_B10_FLOAT = 26
|
|
78
|
+
R8_G8_B8_A8_TYPELESS = 27
|
|
79
|
+
R8_G8_B8_A8_UINT_NORMALIZED = 28
|
|
80
|
+
R8_G8_B8_A8_UINT_NORMALIZED_SRGB = 29
|
|
81
|
+
R8_G8_B8_A8_UINT = 30
|
|
82
|
+
R8_G8_B8_A8_INT_NORMALIZED = 31
|
|
83
|
+
R8_G8_B8_A8_INT = 32
|
|
84
|
+
R16_G16_TYPELESS = 33
|
|
85
|
+
R16_G16_FLOAT = 34
|
|
86
|
+
R16_G16_UINT_NORMALIZED = 35
|
|
87
|
+
R16_G16_UINT = 36
|
|
88
|
+
R16_G16_INT_NORMALIZED = 37
|
|
89
|
+
R16_G16_INT = 38
|
|
90
|
+
R32_TYPELESS = 39
|
|
91
|
+
D32_FLOAT = 40
|
|
92
|
+
R32_FLOAT = 41
|
|
93
|
+
R32_UINT = 42
|
|
94
|
+
R32_INT = 43
|
|
95
|
+
R24_G8_TYPELESS = 44
|
|
96
|
+
D24_UINT_NORMALIZED_S8_UINT = 45
|
|
97
|
+
R24_UINT_NORMALIZED_X8_TYPELESS = 46
|
|
98
|
+
X24_TYPELESS_G8_UINT = 47
|
|
99
|
+
R8_G8_TYPELESS = 48
|
|
100
|
+
R8_G8_UINT_NORMALIZED = 49
|
|
101
|
+
R8_G8_UINT = 50
|
|
102
|
+
R8_G8_INT_NORMALIZED = 51
|
|
103
|
+
R8_G8_INT = 52
|
|
104
|
+
R16_TYPELESS = 53
|
|
105
|
+
R16_FLOAT = 54
|
|
106
|
+
D16_UINT_NORMALIZED = 55
|
|
107
|
+
R16_UINT_NORMALIZED = 56
|
|
108
|
+
R16_UINT = 57
|
|
109
|
+
R16_INT_NORMALIZED = 58
|
|
110
|
+
R16_INT = 59
|
|
111
|
+
R8_TYPELESS = 60
|
|
112
|
+
R8_UINT_NORMALIZED = 61
|
|
113
|
+
R8_UINT = 62
|
|
114
|
+
R8_INT_NORMALIZED = 63
|
|
115
|
+
R8_INT = 64
|
|
116
|
+
A8_UINT_NORMALIZED = 65
|
|
117
|
+
R1_UINT_NORMALIZED = 66
|
|
118
|
+
R9_G9_B9_E5_SHARED_EXPONENT = 67
|
|
119
|
+
R8_G8_B8_G8_UINT_NORMALIZED = 68
|
|
120
|
+
G8_R8_G8_B8_UINT_NORMALIZED = 69
|
|
121
|
+
B_C1_TYPELESS = 70
|
|
122
|
+
B_C1_UINT_NORMALIZED = 71
|
|
123
|
+
B_C1_UINT_NORMALIZED_SRGB = 72
|
|
124
|
+
B_C2_TYPELESS = 73
|
|
125
|
+
B_C2_UINT_NORMALIZED = 74
|
|
126
|
+
B_C2_UINT_NORMALIZED_SRGB = 75
|
|
127
|
+
B_C3_TYPELESS = 76
|
|
128
|
+
B_C3_UINT_NORMALIZED = 77
|
|
129
|
+
B_C3_UINT_NORMALIZED_SRGB = 78
|
|
130
|
+
B_C4_TYPELESS = 79
|
|
131
|
+
B_C4_UINT_NORMALIZED = 80
|
|
132
|
+
B_C4_INT_NORMALIZED = 81
|
|
133
|
+
B_C5_TYPELESS = 82
|
|
134
|
+
B_C5_UINT_NORMALIZED = 83
|
|
135
|
+
B_C5_INT_NORMALIZED = 84
|
|
136
|
+
B5_G6_R5_UINT_NORMALIZED = 85
|
|
137
|
+
B5_G5_R5_A1_UINT_NORMALIZED = 86
|
|
138
|
+
B8_G8_R8_A8_UINT_NORMALIZED = 87
|
|
139
|
+
B8_G8_R8_X8_UINT_NORMALIZED = 88
|
|
140
|
+
R10_G10_B10_X_R_BIAS_A2_UINT_NORMALIZED = 89
|
|
141
|
+
B8_G8_R8_A8_TYPELESS = 90
|
|
142
|
+
B8_G8_R8_A8_UINT_NORMALIZED_SRGB = 91
|
|
143
|
+
B8_G8_R8_X8_TYPELESS = 92
|
|
144
|
+
B8_G8_R8_X8_UINT_NORMALIZED_SRGB = 93
|
|
145
|
+
B_C6_H_TYPELESS = 94
|
|
146
|
+
B_C6_H16_UNSIGNED_FLOAT = 95
|
|
147
|
+
B_C6_H16_FLOAT = 96
|
|
148
|
+
B_C7_TYPELESS = 97
|
|
149
|
+
B_C7_UINT_NORMALIZED = 98
|
|
150
|
+
B_C7_UINT_NORMALIZED_SRGB = 99
|
|
151
|
+
AYUV = 100
|
|
152
|
+
Y410 = 101
|
|
153
|
+
Y416 = 102
|
|
154
|
+
NV12 = 103
|
|
155
|
+
P010 = 104
|
|
156
|
+
P016 = 105
|
|
157
|
+
OPAQUE420 = 106
|
|
158
|
+
YUY2 = 107
|
|
159
|
+
Y210 = 108
|
|
160
|
+
Y216 = 109
|
|
161
|
+
NV11 = 110
|
|
162
|
+
AI44 = 111
|
|
163
|
+
IA44 = 112
|
|
164
|
+
P8 = 113
|
|
165
|
+
A8P8 = 114
|
|
166
|
+
B4_G4_R4_A4_UINT_NORMALIZED = 115
|
|
167
|
+
P208 = 130
|
|
168
|
+
V208 = 131
|
|
169
|
+
V408 = 132
|
|
170
|
+
SAMPLER_FEEDBACK_MIN_MIP_OPAQUE = 189
|
|
171
|
+
SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE = 190
|
|
172
|
+
A4B4G4R4 = 191
|
|
173
|
+
|
|
174
|
+
class DirectXPrimitiveTopology(enum.IntEnum):
|
|
175
|
+
UNDEFINED = 0
|
|
176
|
+
POINT_LIST = 1
|
|
177
|
+
LINE_LIST = 2
|
|
178
|
+
LINE_STRIP = 3
|
|
179
|
+
TRIANGLE_LIST = 4
|
|
180
|
+
TRIANGLE_STRIP = 5
|
|
181
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
"DisplayAdvancedColorKind",
|
|
10
|
+
"DisplayHdrMetadataFormat",
|
|
11
|
+
"DisplayAdvancedColorInfo",
|
|
12
|
+
"DisplayInformation",
|
|
13
|
+
]
|
|
14
|
+
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import types
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.microsoft.ui as microsoft_ui
|
|
10
|
+
import winrt.microsoft.ui.dispatching as microsoft_ui_dispatching
|
|
11
|
+
import winrt.windows.foundation as windows_foundation
|
|
12
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
13
|
+
|
|
14
|
+
__all__ = [
|
|
15
|
+
"DisplayAdvancedColorKind",
|
|
16
|
+
"DisplayHdrMetadataFormat",
|
|
17
|
+
"DisplayAdvancedColorInfo",
|
|
18
|
+
"DisplayInformation",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
class DisplayAdvancedColorKind(enum.IntEnum):
|
|
22
|
+
STANDARD_DYNAMIC_RANGE = 0
|
|
23
|
+
WIDE_COLOR_GAMUT = 1
|
|
24
|
+
HIGH_DYNAMIC_RANGE = 2
|
|
25
|
+
|
|
26
|
+
class DisplayHdrMetadataFormat(enum.IntEnum):
|
|
27
|
+
HDR10 = 0
|
|
28
|
+
HDR10_PLUS = 1
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class DisplayAdvancedColorInfo(winrt.system.Object):
|
|
32
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
33
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
34
|
+
# System.Boolean Microsoft.Graphics.Display.DisplayAdvancedColorInfo::IsAdvancedColorKindAvailable(Microsoft.Graphics.Display.DisplayAdvancedColorKind)
|
|
35
|
+
def is_advanced_color_kind_available(self, kind: DisplayAdvancedColorKind, /) -> bool: ...
|
|
36
|
+
# System.Boolean Microsoft.Graphics.Display.DisplayAdvancedColorInfo::IsHdrMetadataFormatCurrentlySupported(Microsoft.Graphics.Display.DisplayHdrMetadataFormat)
|
|
37
|
+
def is_hdr_metadata_format_currently_supported(self, format: DisplayHdrMetadataFormat, /) -> bool: ...
|
|
38
|
+
# Windows.Foundation.Point Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_BluePrimary()
|
|
39
|
+
@_property
|
|
40
|
+
def blue_primary(self) -> windows_foundation.Point: ...
|
|
41
|
+
# Microsoft.Graphics.Display.DisplayAdvancedColorKind Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_CurrentAdvancedColorKind()
|
|
42
|
+
@_property
|
|
43
|
+
def current_advanced_color_kind(self) -> DisplayAdvancedColorKind: ...
|
|
44
|
+
# Windows.Foundation.Point Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_GreenPrimary()
|
|
45
|
+
@_property
|
|
46
|
+
def green_primary(self) -> windows_foundation.Point: ...
|
|
47
|
+
# System.Double Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_MaxAverageFullFrameLuminanceInNits()
|
|
48
|
+
@_property
|
|
49
|
+
def max_average_full_frame_luminance_in_nits(self) -> winrt.system.Double: ...
|
|
50
|
+
# System.Double Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_MaxLuminanceInNits()
|
|
51
|
+
@_property
|
|
52
|
+
def max_luminance_in_nits(self) -> winrt.system.Double: ...
|
|
53
|
+
# System.Double Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_MinLuminanceInNits()
|
|
54
|
+
@_property
|
|
55
|
+
def min_luminance_in_nits(self) -> winrt.system.Double: ...
|
|
56
|
+
# Windows.Foundation.Point Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_RedPrimary()
|
|
57
|
+
@_property
|
|
58
|
+
def red_primary(self) -> windows_foundation.Point: ...
|
|
59
|
+
# System.Double Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_SdrWhiteLevelInNits()
|
|
60
|
+
@_property
|
|
61
|
+
def sdr_white_level_in_nits(self) -> winrt.system.Double: ...
|
|
62
|
+
# Windows.Foundation.Point Microsoft.Graphics.Display.DisplayAdvancedColorInfo::get_WhitePoint()
|
|
63
|
+
@_property
|
|
64
|
+
def white_point(self) -> windows_foundation.Point: ...
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class DisplayInformation_Static(winrt.system.Object_Static):
|
|
68
|
+
# Microsoft.Graphics.Display.DisplayInformation Microsoft.Graphics.Display.DisplayInformation::CreateForDisplayId(Microsoft.UI.DisplayId)
|
|
69
|
+
def create_for_display_id(cls, display_id: microsoft_ui.DisplayId | tuple[winrt.system.UInt64 | typing.SupportsIndex], /) -> DisplayInformation: ...
|
|
70
|
+
# Microsoft.Graphics.Display.DisplayInformation Microsoft.Graphics.Display.DisplayInformation::CreateForWindowId(Microsoft.UI.WindowId)
|
|
71
|
+
def create_for_window_id(cls, window_id: microsoft_ui.WindowId | tuple[winrt.system.UInt64 | typing.SupportsIndex], /) -> DisplayInformation: ...
|
|
72
|
+
|
|
73
|
+
@typing.final
|
|
74
|
+
class DisplayInformation(windows_foundation.IClosable, winrt.system.Object, metaclass=DisplayInformation_Static):
|
|
75
|
+
def __enter__(self) -> typing.Self: ...
|
|
76
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
77
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
78
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
79
|
+
# System.Void Microsoft.Graphics.Display.DisplayInformation::Close()
|
|
80
|
+
def close(self) -> None: ...
|
|
81
|
+
# Microsoft.Graphics.Display.DisplayAdvancedColorInfo Microsoft.Graphics.Display.DisplayInformation::GetAdvancedColorInfo()
|
|
82
|
+
def get_advanced_color_info(self) -> DisplayAdvancedColorInfo: ...
|
|
83
|
+
# Windows.Storage.Streams.IRandomAccessStream Microsoft.Graphics.Display.DisplayInformation::GetColorProfile()
|
|
84
|
+
def get_color_profile(self) -> windows_storage_streams.IRandomAccessStream: ...
|
|
85
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Storage.Streams.IRandomAccessStream> Microsoft.Graphics.Display.DisplayInformation::GetColorProfileAsync()
|
|
86
|
+
def get_color_profile_async(self) -> windows_foundation.IAsyncOperation[windows_storage_streams.IRandomAccessStream]: ...
|
|
87
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Graphics.Display.DisplayInformation::add_AdvancedColorInfoChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Graphics.Display.DisplayInformation,System.Object>)
|
|
88
|
+
def add_advanced_color_info_changed(self, handler: windows_foundation.TypedEventHandler[DisplayInformation, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
89
|
+
# System.Void Microsoft.Graphics.Display.DisplayInformation::remove_AdvancedColorInfoChanged(Windows.Foundation.EventRegistrationToken)
|
|
90
|
+
def remove_advanced_color_info_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
91
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Graphics.Display.DisplayInformation::add_ColorProfileChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Graphics.Display.DisplayInformation,System.Object>)
|
|
92
|
+
def add_color_profile_changed(self, handler: windows_foundation.TypedEventHandler[DisplayInformation, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
93
|
+
# System.Void Microsoft.Graphics.Display.DisplayInformation::remove_ColorProfileChanged(Windows.Foundation.EventRegistrationToken)
|
|
94
|
+
def remove_color_profile_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
95
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Graphics.Display.DisplayInformation::add_Destroyed(Windows.Foundation.TypedEventHandler`2<Microsoft.Graphics.Display.DisplayInformation,System.Object>)
|
|
96
|
+
def add_destroyed(self, handler: windows_foundation.TypedEventHandler[DisplayInformation, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
97
|
+
# System.Void Microsoft.Graphics.Display.DisplayInformation::remove_Destroyed(Windows.Foundation.EventRegistrationToken)
|
|
98
|
+
def remove_destroyed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
99
|
+
# Windows.Foundation.EventRegistrationToken Microsoft.Graphics.Display.DisplayInformation::add_IsStereoEnabledChanged(Windows.Foundation.TypedEventHandler`2<Microsoft.Graphics.Display.DisplayInformation,System.Object>)
|
|
100
|
+
def add_is_stereo_enabled_changed(self, handler: windows_foundation.TypedEventHandler[DisplayInformation, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
101
|
+
# System.Void Microsoft.Graphics.Display.DisplayInformation::remove_IsStereoEnabledChanged(Windows.Foundation.EventRegistrationToken)
|
|
102
|
+
def remove_is_stereo_enabled_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
103
|
+
# Microsoft.UI.Dispatching.DispatcherQueue Microsoft.Graphics.Display.DisplayInformation::get_DispatcherQueue()
|
|
104
|
+
@_property
|
|
105
|
+
def dispatcher_queue(self) -> microsoft_ui_dispatching.DispatcherQueue: ...
|
|
106
|
+
# System.Boolean Microsoft.Graphics.Display.DisplayInformation::get_IsStereoEnabled()
|
|
107
|
+
@_property
|
|
108
|
+
def is_stereo_enabled(self) -> bool: ...
|
|
109
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import typing
|
|
4
|
+
|
|
5
|
+
import winrt.runtime._internals
|
|
6
|
+
import winrt.system
|
|
7
|
+
|
|
8
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"DisplayId",
|
|
12
|
+
"IconId",
|
|
13
|
+
"WindowId",
|
|
14
|
+
"ColorHelper",
|
|
15
|
+
"Colors",
|
|
16
|
+
"IClosableNotifier",
|
|
17
|
+
"ClosableNotifierHandler",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
ClosableNotifierHandler = typing.Callable[[], object]
|