winrt-Windows.UI.Shell 2.0.0b1__cp39-cp39-win_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,256 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.applicationmodel.core
13
+ import winrt.windows.foundation
14
+ import winrt.windows.foundation.collections
15
+ import winrt.windows.graphics.imaging
16
+ import winrt.windows.storage.streams
17
+ import winrt.windows.ui
18
+ import winrt.windows.ui.startscreen
19
+
20
+ from winrt.windows.ui.shell import SecurityAppKind, SecurityAppState, SecurityAppSubstatus, ShareWindowCommand
21
+
22
+ Self = typing.TypeVar('Self')
23
+
24
+ class AdaptiveCardBuilder_Static(type):
25
+ def create_adaptive_card_from_json(cls, value: str, /) -> typing.Optional[IAdaptiveCard]: ...
26
+
27
+ class AdaptiveCardBuilder(winrt.system.Object, metaclass=AdaptiveCardBuilder_Static):
28
+ @staticmethod
29
+ def _from(obj: winrt.system.Object, /) -> AdaptiveCardBuilder: ...
30
+
31
+ class FocusSession(winrt.system.Object):
32
+ @staticmethod
33
+ def _from(obj: winrt.system.Object, /) -> FocusSession: ...
34
+ def end(self) -> None: ...
35
+ @_property
36
+ def id(self) -> str: ...
37
+
38
+ class FocusSessionManager_Static(type):
39
+ def get_default(cls) -> typing.Optional[FocusSessionManager]: ...
40
+ @_property
41
+ def is_supported(cls) -> bool: ...
42
+
43
+ class FocusSessionManager(winrt.system.Object, metaclass=FocusSessionManager_Static):
44
+ @staticmethod
45
+ def _from(obj: winrt.system.Object, /) -> FocusSessionManager: ...
46
+ def deactivate_focus(self) -> None: ...
47
+ def get_session(self, id: str, /) -> typing.Optional[FocusSession]: ...
48
+ @typing.overload
49
+ def try_start_focus_session(self) -> typing.Optional[FocusSession]: ...
50
+ @typing.overload
51
+ def try_start_focus_session(self, end_time: datetime.datetime, /) -> typing.Optional[FocusSession]: ...
52
+ def add_is_focus_active_changed(self, handler: winrt.windows.foundation.TypedEventHandler[FocusSessionManager, winrt.system.Object], /) -> winrt.windows.foundation.EventRegistrationToken: ...
53
+ def remove_is_focus_active_changed(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
54
+ @_property
55
+ def is_focus_active(self) -> bool: ...
56
+
57
+ class SecurityAppManager(winrt.system.Object):
58
+ @staticmethod
59
+ def _from(obj: winrt.system.Object, /) -> SecurityAppManager: ...
60
+ def __new__(cls: typing.Type[SecurityAppManager]) -> SecurityAppManager:...
61
+ def register(self, kind: SecurityAppKind, display_name: str, details_uri: typing.Optional[winrt.windows.foundation.Uri], register_per_user: bool, /) -> _uuid.UUID: ...
62
+ def unregister(self, kind: SecurityAppKind, guid_registration: _uuid.UUID, /) -> None: ...
63
+ def update_state(self, kind: SecurityAppKind, guid_registration: _uuid.UUID, state: SecurityAppState, substatus: SecurityAppSubstatus, details_uri: typing.Optional[winrt.windows.foundation.Uri], /) -> None: ...
64
+
65
+ class ShareWindowCommandEventArgs(winrt.system.Object):
66
+ @staticmethod
67
+ def _from(obj: winrt.system.Object, /) -> ShareWindowCommandEventArgs: ...
68
+ @_property
69
+ def command(self) -> ShareWindowCommand: ...
70
+ @command.setter
71
+ def command(self, value: ShareWindowCommand) -> None: ...
72
+ @_property
73
+ def window_id(self) -> winrt.windows.ui.WindowId: ...
74
+
75
+ class ShareWindowCommandSource_Static(type):
76
+ def get_for_current_view(cls) -> typing.Optional[ShareWindowCommandSource]: ...
77
+
78
+ class ShareWindowCommandSource(winrt.system.Object, metaclass=ShareWindowCommandSource_Static):
79
+ @staticmethod
80
+ def _from(obj: winrt.system.Object, /) -> ShareWindowCommandSource: ...
81
+ def report_command_changed(self) -> None: ...
82
+ def start(self) -> None: ...
83
+ def stop(self) -> None: ...
84
+ def add_command_invoked(self, handler: winrt.windows.foundation.TypedEventHandler[ShareWindowCommandSource, ShareWindowCommandEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
85
+ def remove_command_invoked(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
86
+ def add_command_requested(self, handler: winrt.windows.foundation.TypedEventHandler[ShareWindowCommandSource, ShareWindowCommandEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
87
+ def remove_command_requested(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
88
+
89
+ class TaskbarManager_Static(type):
90
+ def get_default(cls) -> typing.Optional[TaskbarManager]: ...
91
+
92
+ class TaskbarManager(winrt.system.Object, metaclass=TaskbarManager_Static):
93
+ @staticmethod
94
+ def _from(obj: winrt.system.Object, /) -> TaskbarManager: ...
95
+ def is_app_list_entry_pinned_async(self, app_list_entry: typing.Optional[winrt.windows.applicationmodel.core.AppListEntry], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
96
+ def is_current_app_pinned_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
97
+ def is_secondary_tile_pinned_async(self, tile_id: str, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
98
+ def request_pin_app_list_entry_async(self, app_list_entry: typing.Optional[winrt.windows.applicationmodel.core.AppListEntry], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
99
+ def request_pin_current_app_async(self) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
100
+ def request_pin_secondary_tile_async(self, secondary_tile: typing.Optional[winrt.windows.ui.startscreen.SecondaryTile], /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
101
+ def try_unpin_secondary_tile_async(self, tile_id: str, /) -> winrt.windows.foundation.IAsyncOperation[bool]: ...
102
+ @_property
103
+ def is_pinning_allowed(self) -> bool: ...
104
+ @_property
105
+ def is_supported(self) -> bool: ...
106
+
107
+ class WindowTab(winrt.system.Object):
108
+ @staticmethod
109
+ def _from(obj: winrt.system.Object, /) -> WindowTab: ...
110
+ def __new__(cls: typing.Type[WindowTab]) -> WindowTab:...
111
+ def report_thumbnail_available(self) -> None: ...
112
+ @_property
113
+ def treat_as_secondary_tile_id(self) -> str: ...
114
+ @treat_as_secondary_tile_id.setter
115
+ def treat_as_secondary_tile_id(self, value: str) -> None: ...
116
+ @_property
117
+ def title(self) -> str: ...
118
+ @title.setter
119
+ def title(self, value: str) -> None: ...
120
+ @_property
121
+ def tag(self) -> typing.Optional[winrt.system.Object]: ...
122
+ @tag.setter
123
+ def tag(self, value: typing.Optional[winrt.system.Object]) -> None: ...
124
+ @_property
125
+ def icon(self) -> typing.Optional[WindowTabIcon]: ...
126
+ @icon.setter
127
+ def icon(self, value: typing.Optional[WindowTabIcon]) -> None: ...
128
+ @_property
129
+ def group(self) -> typing.Optional[WindowTabGroup]: ...
130
+ @group.setter
131
+ def group(self, value: typing.Optional[WindowTabGroup]) -> None: ...
132
+
133
+ class WindowTabCloseRequestedEventArgs(winrt.system.Object):
134
+ @staticmethod
135
+ def _from(obj: winrt.system.Object, /) -> WindowTabCloseRequestedEventArgs: ...
136
+ @_property
137
+ def tab(self) -> typing.Optional[WindowTab]: ...
138
+
139
+ class WindowTabCollection(winrt.system.Object, winrt._winrt.MutableSequence[WindowTab]):
140
+ def __len__(self) -> int: ...
141
+ @typing.overload
142
+ def __getitem__(self, index: int) -> WindowTab: ...
143
+ @typing.overload
144
+ def __getitem__(self, index: slice) -> winrt.system.Array[WindowTab]: ...
145
+ @typing.overload
146
+ def __delitem__(self, index: int) -> None: ...
147
+ @typing.overload
148
+ def __delitem__(self, index: slice) -> None: ...
149
+ @typing.overload
150
+ def __setitem__(self, index: int, value: WindowTab) -> None: ...
151
+ @typing.overload
152
+ def __setitem__(self, index: slice, value: typing.Iterable[WindowTab]) -> None: ...
153
+ @staticmethod
154
+ def _from(obj: winrt.system.Object, /) -> WindowTabCollection: ...
155
+ def append(self, value: typing.Optional[WindowTab], /) -> None: ...
156
+ def clear(self) -> None: ...
157
+ def first(self) -> typing.Optional[winrt.windows.foundation.collections.IIterator[WindowTab]]: ...
158
+ def get_at(self, index: winrt.system.UInt32, /) -> typing.Optional[WindowTab]: ...
159
+ def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[WindowTab], /) -> winrt.system.UInt32: ...
160
+ def get_view(self) -> typing.Optional[winrt.windows.foundation.collections.IVectorView[WindowTab]]: ...
161
+ def index_of(self, value: typing.Optional[WindowTab], /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
162
+ def insert_at(self, index: winrt.system.UInt32, value: typing.Optional[WindowTab], /) -> None: ...
163
+ def move_tab(self, tab: typing.Optional[WindowTab], index: winrt.system.UInt32, /) -> None: ...
164
+ def remove_at(self, index: winrt.system.UInt32, /) -> None: ...
165
+ def remove_at_end(self) -> None: ...
166
+ def replace_all(self, items: winrt.system.Array[WindowTab], /) -> None: ...
167
+ def set_at(self, index: winrt.system.UInt32, value: typing.Optional[WindowTab], /) -> None: ...
168
+ @_property
169
+ def size(self) -> winrt.system.UInt32: ...
170
+
171
+ class WindowTabGroup(winrt.system.Object):
172
+ @staticmethod
173
+ def _from(obj: winrt.system.Object, /) -> WindowTabGroup: ...
174
+ def __new__(cls: typing.Type[WindowTabGroup]) -> WindowTabGroup:...
175
+ @_property
176
+ def title(self) -> str: ...
177
+ @title.setter
178
+ def title(self, value: str) -> None: ...
179
+ @_property
180
+ def icon(self) -> typing.Optional[WindowTabIcon]: ...
181
+ @icon.setter
182
+ def icon(self, value: typing.Optional[WindowTabIcon]) -> None: ...
183
+
184
+ class WindowTabIcon_Static(type):
185
+ @typing.overload
186
+ def create_from_font_glyph(cls, glyph: str, font_family: str, /) -> typing.Optional[WindowTabIcon]: ...
187
+ @typing.overload
188
+ def create_from_font_glyph(cls, glyph: str, font_family: str, font_uri: typing.Optional[winrt.windows.foundation.Uri], /) -> typing.Optional[WindowTabIcon]: ...
189
+ def create_from_image(cls, image: typing.Optional[winrt.windows.storage.streams.IRandomAccessStreamReference], /) -> typing.Optional[WindowTabIcon]: ...
190
+
191
+ class WindowTabIcon(winrt.system.Object, metaclass=WindowTabIcon_Static):
192
+ @staticmethod
193
+ def _from(obj: winrt.system.Object, /) -> WindowTabIcon: ...
194
+
195
+ class WindowTabManager_Static(type):
196
+ def get_for_window(cls, id: winrt.windows.ui.WindowId, /) -> typing.Optional[WindowTabManager]: ...
197
+ def is_supported(cls) -> bool: ...
198
+ def is_tab_tear_out_supported(cls) -> bool: ...
199
+
200
+ class WindowTabManager(winrt.system.Object, metaclass=WindowTabManager_Static):
201
+ @staticmethod
202
+ def _from(obj: winrt.system.Object, /) -> WindowTabManager: ...
203
+ def set_active_tab(self, tab: typing.Optional[WindowTab], /) -> None: ...
204
+ def add_tab_close_requested(self, handler: winrt.windows.foundation.TypedEventHandler[WindowTabManager, WindowTabCloseRequestedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
205
+ def remove_tab_close_requested(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
206
+ def add_tab_switch_requested(self, handler: winrt.windows.foundation.TypedEventHandler[WindowTabManager, WindowTabSwitchRequestedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
207
+ def remove_tab_switch_requested(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
208
+ def add_tab_tear_out_requested(self, handler: winrt.windows.foundation.TypedEventHandler[WindowTabManager, WindowTabTearOutRequestedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
209
+ def remove_tab_tear_out_requested(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
210
+ def add_tab_thumbnail_requested(self, handler: winrt.windows.foundation.TypedEventHandler[WindowTabManager, WindowTabThumbnailRequestedEventArgs], /) -> winrt.windows.foundation.EventRegistrationToken: ...
211
+ def remove_tab_thumbnail_requested(self, token: winrt.windows.foundation.EventRegistrationToken, /) -> None: ...
212
+ @_property
213
+ def tabs(self) -> typing.Optional[WindowTabCollection]: ...
214
+
215
+ class WindowTabSwitchRequestedEventArgs(winrt.system.Object):
216
+ @staticmethod
217
+ def _from(obj: winrt.system.Object, /) -> WindowTabSwitchRequestedEventArgs: ...
218
+ @_property
219
+ def tab(self) -> typing.Optional[WindowTab]: ...
220
+
221
+ class WindowTabTearOutRequestedEventArgs(winrt.system.Object):
222
+ @staticmethod
223
+ def _from(obj: winrt.system.Object, /) -> WindowTabTearOutRequestedEventArgs: ...
224
+ def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
225
+ @_property
226
+ def window_id(self) -> winrt.system.UInt64: ...
227
+ @window_id.setter
228
+ def window_id(self, value: winrt.system.UInt64) -> None: ...
229
+ @_property
230
+ def tab(self) -> typing.Optional[WindowTab]: ...
231
+
232
+ class WindowTabThumbnailRequestedEventArgs(winrt.system.Object):
233
+ @staticmethod
234
+ def _from(obj: winrt.system.Object, /) -> WindowTabThumbnailRequestedEventArgs: ...
235
+ def get_deferral(self) -> typing.Optional[winrt.windows.foundation.Deferral]: ...
236
+ @_property
237
+ def image(self) -> typing.Optional[winrt.windows.storage.streams.IRandomAccessStreamReference]: ...
238
+ @image.setter
239
+ def image(self, value: typing.Optional[winrt.windows.storage.streams.IRandomAccessStreamReference]) -> None: ...
240
+ @_property
241
+ def is_composited_on_window(self) -> bool: ...
242
+ @_property
243
+ def requested_size(self) -> winrt.windows.graphics.imaging.BitmapSize: ...
244
+ @_property
245
+ def tab(self) -> typing.Optional[WindowTab]: ...
246
+
247
+ class IAdaptiveCard(winrt.system.Object):
248
+ @staticmethod
249
+ def _from(obj: winrt.system.Object, /) -> IAdaptiveCard: ...
250
+ def to_json(self) -> str: ...
251
+
252
+ class IAdaptiveCardBuilderStatics(winrt.system.Object):
253
+ @staticmethod
254
+ def _from(obj: winrt.system.Object, /) -> IAdaptiveCardBuilderStatics: ...
255
+ def create_adaptive_card_from_json(self, value: str, /) -> typing.Optional[IAdaptiveCard]: ...
256
+
@@ -0,0 +1,69 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.0.0-beta.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt import _winrt_windows_ui_shell
7
+
8
+ __all__ = [
9
+ "SecurityAppKind",
10
+ "SecurityAppState",
11
+ "SecurityAppSubstatus",
12
+ "ShareWindowCommand",
13
+ "AdaptiveCardBuilder",
14
+ "FocusSession",
15
+ "FocusSessionManager",
16
+ "SecurityAppManager",
17
+ "ShareWindowCommandEventArgs",
18
+ "ShareWindowCommandSource",
19
+ "TaskbarManager",
20
+ "WindowTab",
21
+ "WindowTabCloseRequestedEventArgs",
22
+ "WindowTabCollection",
23
+ "WindowTabGroup",
24
+ "WindowTabIcon",
25
+ "WindowTabManager",
26
+ "WindowTabSwitchRequestedEventArgs",
27
+ "WindowTabTearOutRequestedEventArgs",
28
+ "WindowTabThumbnailRequestedEventArgs",
29
+ "IAdaptiveCard",
30
+ "IAdaptiveCardBuilderStatics",
31
+ ]
32
+
33
+ class SecurityAppKind(enum.IntEnum):
34
+ WEB_PROTECTION = 0
35
+
36
+ class SecurityAppState(enum.IntEnum):
37
+ DISABLED = 0
38
+ ENABLED = 1
39
+
40
+ class SecurityAppSubstatus(enum.IntEnum):
41
+ UNDETERMINED = 0
42
+ NO_ACTION_NEEDED = 1
43
+ ACTION_RECOMMENDED = 2
44
+ ACTION_NEEDED = 3
45
+
46
+ class ShareWindowCommand(enum.IntEnum):
47
+ NONE = 0
48
+ START_SHARING = 1
49
+ STOP_SHARING = 2
50
+
51
+ AdaptiveCardBuilder = _winrt_windows_ui_shell.AdaptiveCardBuilder
52
+ FocusSession = _winrt_windows_ui_shell.FocusSession
53
+ FocusSessionManager = _winrt_windows_ui_shell.FocusSessionManager
54
+ SecurityAppManager = _winrt_windows_ui_shell.SecurityAppManager
55
+ ShareWindowCommandEventArgs = _winrt_windows_ui_shell.ShareWindowCommandEventArgs
56
+ ShareWindowCommandSource = _winrt_windows_ui_shell.ShareWindowCommandSource
57
+ TaskbarManager = _winrt_windows_ui_shell.TaskbarManager
58
+ WindowTab = _winrt_windows_ui_shell.WindowTab
59
+ WindowTabCloseRequestedEventArgs = _winrt_windows_ui_shell.WindowTabCloseRequestedEventArgs
60
+ WindowTabCollection = _winrt_windows_ui_shell.WindowTabCollection
61
+ winrt.system._mixin_mutable_sequence(WindowTabCollection)
62
+ WindowTabGroup = _winrt_windows_ui_shell.WindowTabGroup
63
+ WindowTabIcon = _winrt_windows_ui_shell.WindowTabIcon
64
+ WindowTabManager = _winrt_windows_ui_shell.WindowTabManager
65
+ WindowTabSwitchRequestedEventArgs = _winrt_windows_ui_shell.WindowTabSwitchRequestedEventArgs
66
+ WindowTabTearOutRequestedEventArgs = _winrt_windows_ui_shell.WindowTabTearOutRequestedEventArgs
67
+ WindowTabThumbnailRequestedEventArgs = _winrt_windows_ui_shell.WindowTabThumbnailRequestedEventArgs
68
+ IAdaptiveCard = _winrt_windows_ui_shell.IAdaptiveCard
69
+ IAdaptiveCardBuilderStatics = _winrt_windows_ui_shell.IAdaptiveCardBuilderStatics
@@ -0,0 +1,30 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Shell
3
+ Version: 2.0.0b1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License: MIT
6
+ Project-URL: Repository, https://github.com/pywrint/pywrinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
8
+ Classifier: Operating System :: Microsoft :: Windows
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: Implementation :: CPython
11
+ Classifier: Intended Audience :: Developers
12
+ Requires-Python: <3.13,>=3.9
13
+ Description-Content-Type: text/markdown
14
+ Requires-Dist: winrt-runtime ==2.0.0-beta.1
15
+ Provides-Extra: all
16
+ Requires-Dist: winrt-Windows.ApplicationModel.Core[all] ==2.0.0-beta.1 ; extra == 'all'
17
+ Requires-Dist: winrt-Windows.Foundation[all] ==2.0.0-beta.1 ; extra == 'all'
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.0.0-beta.1 ; extra == 'all'
19
+ Requires-Dist: winrt-Windows.Graphics.Imaging[all] ==2.0.0-beta.1 ; extra == 'all'
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.0.0-beta.1 ; extra == 'all'
21
+ Requires-Dist: winrt-Windows.UI[all] ==2.0.0-beta.1 ; extra == 'all'
22
+ Requires-Dist: winrt-Windows.UI.StartScreen[all] ==2.0.0-beta.1 ; extra == 'all'
23
+
24
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
25
+
26
+ # winrt-Windows.UI.Shell
27
+
28
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Shell` namespace.
29
+
30
+ This package provides the `winrt.windows.ui.shell` module.
@@ -0,0 +1,7 @@
1
+ winrt/_winrt_windows_ui_shell.cp39-win_arm64.pyd,sha256=CACjXZw0NAi7-vWyuWpj8ybL5ox8FiaVFL26Wn-fp7M,290304
2
+ winrt/_winrt_windows_ui_shell.pyi,sha256=wMbXcqxtGPqGob7XREZOoK0q0ua8oUCbAjNgz6JvCPY,13723
3
+ winrt/windows/ui/shell/__init__.py,sha256=-diT6nto8rRmGpLyeOXIQDhME2LrtmB5Tvy8IIrwSi8,2491
4
+ winrt_Windows.UI.Shell-2.0.0b1.dist-info/METADATA,sha256=ip5t5qN5fFY_zBeXvriIU3ithnR9ywdXCIaASKaPOCk,1470
5
+ winrt_Windows.UI.Shell-2.0.0b1.dist-info/WHEEL,sha256=PrHTG687fNsk7jS4Y-tLXN-3gpnf3wReNnzEPkeWHK0,100
6
+ winrt_Windows.UI.Shell-2.0.0b1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
7
+ winrt_Windows.UI.Shell-2.0.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.41.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-win_arm64
5
+