winrt-Windows.UI.Shell 3.2.1__cp314-cp314-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.
- winrt/_winrt_windows_ui_shell.cp314-win_arm64.pyd +0 -0
- winrt/_winrt_windows_ui_shell.pyi +345 -0
- winrt/windows/ui/shell/__init__.py +73 -0
- winrt/windows/ui/shell/py.typed +0 -0
- winrt_windows_ui_shell-3.2.1.dist-info/METADATA +31 -0
- winrt_windows_ui_shell-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_shell-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_shell-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
from abc import abstractmethod
|
|
10
|
+
|
|
11
|
+
import winrt._winrt
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.applicationmodel.core as windows_applicationmodel_core
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
16
|
+
import winrt.windows.graphics.imaging as windows_graphics_imaging
|
|
17
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
18
|
+
import winrt.windows.ui as windows_ui
|
|
19
|
+
import winrt.windows.ui.startscreen as windows_ui_startscreen
|
|
20
|
+
|
|
21
|
+
from winrt.windows.ui.shell import SecurityAppKind, SecurityAppState, SecurityAppSubstatus, ShareWindowCommand
|
|
22
|
+
|
|
23
|
+
Self = typing.TypeVar('Self')
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class AdaptiveCardBuilder_Static(winrt._winrt.IInspectable_Static):
|
|
27
|
+
# Windows.UI.Shell.IAdaptiveCard Windows.UI.Shell.AdaptiveCardBuilder::CreateAdaptiveCardFromJson(System.String)
|
|
28
|
+
def create_adaptive_card_from_json(cls, value: str, /) -> IAdaptiveCard: ...
|
|
29
|
+
|
|
30
|
+
@typing.final
|
|
31
|
+
class AdaptiveCardBuilder(winrt.system.Object, metaclass=AdaptiveCardBuilder_Static):
|
|
32
|
+
pass
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class FocusSession(winrt.system.Object):
|
|
36
|
+
# System.Void Windows.UI.Shell.FocusSession::End()
|
|
37
|
+
def end(self) -> None: ...
|
|
38
|
+
# System.String Windows.UI.Shell.FocusSession::get_Id()
|
|
39
|
+
@_property
|
|
40
|
+
def id(self) -> str: ...
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class FocusSessionManager_Static(winrt._winrt.IInspectable_Static):
|
|
44
|
+
# Windows.UI.Shell.FocusSessionManager Windows.UI.Shell.FocusSessionManager::GetDefault()
|
|
45
|
+
def get_default(cls) -> FocusSessionManager: ...
|
|
46
|
+
# System.Boolean Windows.UI.Shell.FocusSessionManager::get_IsSupported()
|
|
47
|
+
@_property
|
|
48
|
+
def is_supported(cls) -> bool: ...
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class FocusSessionManager(winrt.system.Object, metaclass=FocusSessionManager_Static):
|
|
52
|
+
# System.Void Windows.UI.Shell.FocusSessionManager::DeactivateFocus()
|
|
53
|
+
def deactivate_focus(self) -> None: ...
|
|
54
|
+
# Windows.UI.Shell.FocusSession Windows.UI.Shell.FocusSessionManager::GetSession(System.String)
|
|
55
|
+
def get_session(self, id: str, /) -> FocusSession: ...
|
|
56
|
+
# Windows.UI.Shell.FocusSession Windows.UI.Shell.FocusSessionManager::TryStartFocusSession()
|
|
57
|
+
def try_start_focus_session(self) -> typing.Optional[FocusSession]: ...
|
|
58
|
+
# Windows.UI.Shell.FocusSession Windows.UI.Shell.FocusSessionManager::TryStartFocusSession(Windows.Foundation.DateTime)
|
|
59
|
+
def try_start_focus_session2(self, end_time: datetime.datetime, /) -> typing.Optional[FocusSession]: ...
|
|
60
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Shell.FocusSessionManager::add_IsFocusActiveChanged(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.FocusSessionManager,System.Object>)
|
|
61
|
+
def add_is_focus_active_changed(self, handler: windows_foundation.TypedEventHandler[FocusSessionManager, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
62
|
+
# System.Void Windows.UI.Shell.FocusSessionManager::remove_IsFocusActiveChanged(Windows.Foundation.EventRegistrationToken)
|
|
63
|
+
def remove_is_focus_active_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
64
|
+
# System.Boolean Windows.UI.Shell.FocusSessionManager::get_IsFocusActive()
|
|
65
|
+
@_property
|
|
66
|
+
def is_focus_active(self) -> bool: ...
|
|
67
|
+
|
|
68
|
+
@typing.final
|
|
69
|
+
class SecurityAppManager(winrt.system.Object):
|
|
70
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
71
|
+
# System.Guid Windows.UI.Shell.SecurityAppManager::Register(Windows.UI.Shell.SecurityAppKind,System.String,Windows.Foundation.Uri,System.Boolean)
|
|
72
|
+
def register(self, kind: SecurityAppKind, display_name: str, details_uri: windows_foundation.Uri, register_per_user: bool, /) -> _uuid.UUID: ...
|
|
73
|
+
# System.Void Windows.UI.Shell.SecurityAppManager::Unregister(Windows.UI.Shell.SecurityAppKind,System.Guid)
|
|
74
|
+
def unregister(self, kind: SecurityAppKind, guid_registration: _uuid.UUID, /) -> None: ...
|
|
75
|
+
# System.Void Windows.UI.Shell.SecurityAppManager::UpdateState(Windows.UI.Shell.SecurityAppKind,System.Guid,Windows.UI.Shell.SecurityAppState,Windows.UI.Shell.SecurityAppSubstatus,Windows.Foundation.Uri)
|
|
76
|
+
def update_state(self, kind: SecurityAppKind, guid_registration: _uuid.UUID, state: SecurityAppState, substatus: SecurityAppSubstatus, details_uri: windows_foundation.Uri, /) -> None: ...
|
|
77
|
+
|
|
78
|
+
@typing.final
|
|
79
|
+
class ShareWindowCommandEventArgs(winrt.system.Object):
|
|
80
|
+
# Windows.UI.Shell.ShareWindowCommand Windows.UI.Shell.ShareWindowCommandEventArgs::get_Command()
|
|
81
|
+
@_property
|
|
82
|
+
def command(self) -> ShareWindowCommand: ...
|
|
83
|
+
# System.Void Windows.UI.Shell.ShareWindowCommandEventArgs::put_Command(Windows.UI.Shell.ShareWindowCommand)
|
|
84
|
+
@command.setter
|
|
85
|
+
def command(self, value: ShareWindowCommand) -> None: ...
|
|
86
|
+
# Windows.UI.WindowId Windows.UI.Shell.ShareWindowCommandEventArgs::get_WindowId()
|
|
87
|
+
@_property
|
|
88
|
+
def window_id(self) -> windows_ui.WindowId: ...
|
|
89
|
+
|
|
90
|
+
@typing.final
|
|
91
|
+
class ShareWindowCommandSource_Static(winrt._winrt.IInspectable_Static):
|
|
92
|
+
# Windows.UI.Shell.ShareWindowCommandSource Windows.UI.Shell.ShareWindowCommandSource::GetForCurrentView()
|
|
93
|
+
def get_for_current_view(cls) -> ShareWindowCommandSource: ...
|
|
94
|
+
|
|
95
|
+
@typing.final
|
|
96
|
+
class ShareWindowCommandSource(winrt.system.Object, metaclass=ShareWindowCommandSource_Static):
|
|
97
|
+
# System.Void Windows.UI.Shell.ShareWindowCommandSource::ReportCommandChanged()
|
|
98
|
+
def report_command_changed(self) -> None: ...
|
|
99
|
+
# System.Void Windows.UI.Shell.ShareWindowCommandSource::Start()
|
|
100
|
+
def start(self) -> None: ...
|
|
101
|
+
# System.Void Windows.UI.Shell.ShareWindowCommandSource::Stop()
|
|
102
|
+
def stop(self) -> None: ...
|
|
103
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Shell.ShareWindowCommandSource::add_CommandInvoked(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.ShareWindowCommandSource,Windows.UI.Shell.ShareWindowCommandEventArgs>)
|
|
104
|
+
def add_command_invoked(self, handler: windows_foundation.TypedEventHandler[ShareWindowCommandSource, ShareWindowCommandEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
105
|
+
# System.Void Windows.UI.Shell.ShareWindowCommandSource::remove_CommandInvoked(Windows.Foundation.EventRegistrationToken)
|
|
106
|
+
def remove_command_invoked(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
107
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Shell.ShareWindowCommandSource::add_CommandRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.ShareWindowCommandSource,Windows.UI.Shell.ShareWindowCommandEventArgs>)
|
|
108
|
+
def add_command_requested(self, handler: windows_foundation.TypedEventHandler[ShareWindowCommandSource, ShareWindowCommandEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
109
|
+
# System.Void Windows.UI.Shell.ShareWindowCommandSource::remove_CommandRequested(Windows.Foundation.EventRegistrationToken)
|
|
110
|
+
def remove_command_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
111
|
+
|
|
112
|
+
@typing.final
|
|
113
|
+
class TaskbarManager_Static(winrt._winrt.IInspectable_Static):
|
|
114
|
+
# Windows.UI.Shell.TaskbarManager Windows.UI.Shell.TaskbarManager::GetDefault()
|
|
115
|
+
def get_default(cls) -> TaskbarManager: ...
|
|
116
|
+
|
|
117
|
+
@typing.final
|
|
118
|
+
class TaskbarManager(winrt.system.Object, metaclass=TaskbarManager_Static):
|
|
119
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.Shell.TaskbarManager::IsAppListEntryPinnedAsync(Windows.ApplicationModel.Core.AppListEntry)
|
|
120
|
+
def is_app_list_entry_pinned_async(self, app_list_entry: windows_applicationmodel_core.AppListEntry, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
121
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.Shell.TaskbarManager::IsCurrentAppPinnedAsync()
|
|
122
|
+
def is_current_app_pinned_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
123
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.Shell.TaskbarManager::IsSecondaryTilePinnedAsync(System.String)
|
|
124
|
+
def is_secondary_tile_pinned_async(self, tile_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
125
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.Shell.TaskbarManager::RequestPinAppListEntryAsync(Windows.ApplicationModel.Core.AppListEntry)
|
|
126
|
+
def request_pin_app_list_entry_async(self, app_list_entry: windows_applicationmodel_core.AppListEntry, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
127
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.Shell.TaskbarManager::RequestPinCurrentAppAsync()
|
|
128
|
+
def request_pin_current_app_async(self) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
129
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.Shell.TaskbarManager::RequestPinSecondaryTileAsync(Windows.UI.StartScreen.SecondaryTile)
|
|
130
|
+
def request_pin_secondary_tile_async(self, secondary_tile: windows_ui_startscreen.SecondaryTile, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
131
|
+
# Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.UI.Shell.TaskbarManager::TryUnpinSecondaryTileAsync(System.String)
|
|
132
|
+
def try_unpin_secondary_tile_async(self, tile_id: str, /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
133
|
+
# System.Boolean Windows.UI.Shell.TaskbarManager::get_IsPinningAllowed()
|
|
134
|
+
@_property
|
|
135
|
+
def is_pinning_allowed(self) -> bool: ...
|
|
136
|
+
# System.Boolean Windows.UI.Shell.TaskbarManager::get_IsSupported()
|
|
137
|
+
@_property
|
|
138
|
+
def is_supported(self) -> bool: ...
|
|
139
|
+
|
|
140
|
+
@typing.final
|
|
141
|
+
class WindowTab(winrt.system.Object):
|
|
142
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
143
|
+
# System.Void Windows.UI.Shell.WindowTab::ReportThumbnailAvailable()
|
|
144
|
+
def report_thumbnail_available(self) -> None: ...
|
|
145
|
+
# System.String Windows.UI.Shell.WindowTab::get_TreatAsSecondaryTileId()
|
|
146
|
+
@_property
|
|
147
|
+
def treat_as_secondary_tile_id(self) -> str: ...
|
|
148
|
+
# System.Void Windows.UI.Shell.WindowTab::put_TreatAsSecondaryTileId(System.String)
|
|
149
|
+
@treat_as_secondary_tile_id.setter
|
|
150
|
+
def treat_as_secondary_tile_id(self, value: str) -> None: ...
|
|
151
|
+
# System.String Windows.UI.Shell.WindowTab::get_Title()
|
|
152
|
+
@_property
|
|
153
|
+
def title(self) -> str: ...
|
|
154
|
+
# System.Void Windows.UI.Shell.WindowTab::put_Title(System.String)
|
|
155
|
+
@title.setter
|
|
156
|
+
def title(self, value: str) -> None: ...
|
|
157
|
+
# System.Object Windows.UI.Shell.WindowTab::get_Tag()
|
|
158
|
+
@_property
|
|
159
|
+
def tag(self) -> winrt.system.Object: ...
|
|
160
|
+
# System.Void Windows.UI.Shell.WindowTab::put_Tag(System.Object)
|
|
161
|
+
@tag.setter
|
|
162
|
+
def tag(self, value: winrt.system.Object) -> None: ...
|
|
163
|
+
# Windows.UI.Shell.WindowTabIcon Windows.UI.Shell.WindowTab::get_Icon()
|
|
164
|
+
@_property
|
|
165
|
+
def icon(self) -> WindowTabIcon: ...
|
|
166
|
+
# System.Void Windows.UI.Shell.WindowTab::put_Icon(Windows.UI.Shell.WindowTabIcon)
|
|
167
|
+
@icon.setter
|
|
168
|
+
def icon(self, value: WindowTabIcon) -> None: ...
|
|
169
|
+
# Windows.UI.Shell.WindowTabGroup Windows.UI.Shell.WindowTab::get_Group()
|
|
170
|
+
@_property
|
|
171
|
+
def group(self) -> WindowTabGroup: ...
|
|
172
|
+
# System.Void Windows.UI.Shell.WindowTab::put_Group(Windows.UI.Shell.WindowTabGroup)
|
|
173
|
+
@group.setter
|
|
174
|
+
def group(self, value: WindowTabGroup) -> None: ...
|
|
175
|
+
|
|
176
|
+
@typing.final
|
|
177
|
+
class WindowTabCloseRequestedEventArgs(winrt.system.Object):
|
|
178
|
+
# Windows.UI.Shell.WindowTab Windows.UI.Shell.WindowTabCloseRequestedEventArgs::get_Tab()
|
|
179
|
+
@_property
|
|
180
|
+
def tab(self) -> WindowTab: ...
|
|
181
|
+
|
|
182
|
+
@typing.final
|
|
183
|
+
class WindowTabCollection(winrt.system.Object, winrt._winrt.MutableSequence[WindowTab]):
|
|
184
|
+
def __len__(self) -> int: ...
|
|
185
|
+
def __iter__(self) -> typing.Iterator[WindowTab]: ...
|
|
186
|
+
@typing.overload
|
|
187
|
+
def __getitem__(self, index: typing.SupportsIndex) -> WindowTab: ...
|
|
188
|
+
@typing.overload
|
|
189
|
+
def __getitem__(self, index: slice) -> winrt.system.Array[WindowTab]: ...
|
|
190
|
+
@typing.overload
|
|
191
|
+
def __delitem__(self, index: typing.SupportsIndex) -> None: ...
|
|
192
|
+
@typing.overload
|
|
193
|
+
def __delitem__(self, index: slice) -> None: ...
|
|
194
|
+
@typing.overload
|
|
195
|
+
def __setitem__(self, index: typing.SupportsIndex, value: WindowTab) -> None: ...
|
|
196
|
+
@typing.overload
|
|
197
|
+
def __setitem__(self, index: slice, value: typing.Iterable[WindowTab]) -> None: ...
|
|
198
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::Append(Windows.UI.Shell.WindowTab)
|
|
199
|
+
def append(self, value: WindowTab, /) -> None: ...
|
|
200
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::Clear()
|
|
201
|
+
def clear(self) -> None: ...
|
|
202
|
+
# Windows.Foundation.Collections.IIterator`1<Windows.UI.Shell.WindowTab> Windows.UI.Shell.WindowTabCollection::First()
|
|
203
|
+
def first(self) -> windows_foundation_collections.IIterator[WindowTab]: ...
|
|
204
|
+
# Windows.UI.Shell.WindowTab Windows.UI.Shell.WindowTabCollection::GetAt(System.UInt32)
|
|
205
|
+
def get_at(self, index: winrt.system.UInt32, /) -> WindowTab: ...
|
|
206
|
+
# System.UInt32 Windows.UI.Shell.WindowTabCollection::GetMany(System.UInt32,Windows.UI.Shell.WindowTab[])
|
|
207
|
+
def get_many(self, start_index: winrt.system.UInt32, items: typing.Union[winrt.system.Array[WindowTab], winrt.system.WriteableBuffer], /) -> winrt.system.UInt32: ...
|
|
208
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.UI.Shell.WindowTab> Windows.UI.Shell.WindowTabCollection::GetView()
|
|
209
|
+
def get_view(self) -> typing.Sequence[WindowTab]: ...
|
|
210
|
+
# System.Boolean Windows.UI.Shell.WindowTabCollection::IndexOf(Windows.UI.Shell.WindowTab,System.UInt32&)
|
|
211
|
+
def index_of(self, value: WindowTab, /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
|
|
212
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::InsertAt(System.UInt32,Windows.UI.Shell.WindowTab)
|
|
213
|
+
def insert_at(self, index: winrt.system.UInt32, value: WindowTab, /) -> None: ...
|
|
214
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::MoveTab(Windows.UI.Shell.WindowTab,System.UInt32)
|
|
215
|
+
def move_tab(self, tab: WindowTab, index: winrt.system.UInt32, /) -> None: ...
|
|
216
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::RemoveAt(System.UInt32)
|
|
217
|
+
def remove_at(self, index: winrt.system.UInt32, /) -> None: ...
|
|
218
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::RemoveAtEnd()
|
|
219
|
+
def remove_at_end(self) -> None: ...
|
|
220
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::ReplaceAll(Windows.UI.Shell.WindowTab[])
|
|
221
|
+
def replace_all(self, items: typing.Union[winrt.system.Array[WindowTab], winrt.system.ReadableBuffer], /) -> None: ...
|
|
222
|
+
# System.Void Windows.UI.Shell.WindowTabCollection::SetAt(System.UInt32,Windows.UI.Shell.WindowTab)
|
|
223
|
+
def set_at(self, index: winrt.system.UInt32, value: WindowTab, /) -> None: ...
|
|
224
|
+
# System.UInt32 Windows.UI.Shell.WindowTabCollection::get_Size()
|
|
225
|
+
@_property
|
|
226
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
227
|
+
|
|
228
|
+
@typing.final
|
|
229
|
+
class WindowTabGroup(winrt.system.Object):
|
|
230
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
231
|
+
# System.String Windows.UI.Shell.WindowTabGroup::get_Title()
|
|
232
|
+
@_property
|
|
233
|
+
def title(self) -> str: ...
|
|
234
|
+
# System.Void Windows.UI.Shell.WindowTabGroup::put_Title(System.String)
|
|
235
|
+
@title.setter
|
|
236
|
+
def title(self, value: str) -> None: ...
|
|
237
|
+
# Windows.UI.Shell.WindowTabIcon Windows.UI.Shell.WindowTabGroup::get_Icon()
|
|
238
|
+
@_property
|
|
239
|
+
def icon(self) -> WindowTabIcon: ...
|
|
240
|
+
# System.Void Windows.UI.Shell.WindowTabGroup::put_Icon(Windows.UI.Shell.WindowTabIcon)
|
|
241
|
+
@icon.setter
|
|
242
|
+
def icon(self, value: WindowTabIcon) -> None: ...
|
|
243
|
+
|
|
244
|
+
@typing.final
|
|
245
|
+
class WindowTabIcon_Static(winrt._winrt.IInspectable_Static):
|
|
246
|
+
# Windows.UI.Shell.WindowTabIcon Windows.UI.Shell.WindowTabIcon::CreateFromFontGlyph(System.String,System.String)
|
|
247
|
+
def create_from_font_glyph(cls, glyph: str, font_family: str, /) -> WindowTabIcon: ...
|
|
248
|
+
# Windows.UI.Shell.WindowTabIcon Windows.UI.Shell.WindowTabIcon::CreateFromFontGlyph(System.String,System.String,Windows.Foundation.Uri)
|
|
249
|
+
def create_from_font_glyph_with_uri(cls, glyph: str, font_family: str, font_uri: windows_foundation.Uri, /) -> WindowTabIcon: ...
|
|
250
|
+
# Windows.UI.Shell.WindowTabIcon Windows.UI.Shell.WindowTabIcon::CreateFromImage(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
251
|
+
def create_from_image(cls, image: windows_storage_streams.IRandomAccessStreamReference, /) -> WindowTabIcon: ...
|
|
252
|
+
|
|
253
|
+
@typing.final
|
|
254
|
+
class WindowTabIcon(winrt.system.Object, metaclass=WindowTabIcon_Static):
|
|
255
|
+
pass
|
|
256
|
+
|
|
257
|
+
@typing.final
|
|
258
|
+
class WindowTabManager_Static(winrt._winrt.IInspectable_Static):
|
|
259
|
+
# Windows.UI.Shell.WindowTabManager Windows.UI.Shell.WindowTabManager::GetForWindow(Windows.UI.WindowId)
|
|
260
|
+
def get_for_window(cls, id: typing.Union[windows_ui.WindowId, typing.Tuple[winrt.system.UInt64]], /) -> WindowTabManager: ...
|
|
261
|
+
# System.Boolean Windows.UI.Shell.WindowTabManager::IsSupported()
|
|
262
|
+
def is_supported(cls) -> bool: ...
|
|
263
|
+
# System.Boolean Windows.UI.Shell.WindowTabManager::IsTabTearOutSupported()
|
|
264
|
+
def is_tab_tear_out_supported(cls) -> bool: ...
|
|
265
|
+
|
|
266
|
+
@typing.final
|
|
267
|
+
class WindowTabManager(winrt.system.Object, metaclass=WindowTabManager_Static):
|
|
268
|
+
# System.Void Windows.UI.Shell.WindowTabManager::SetActiveTab(Windows.UI.Shell.WindowTab)
|
|
269
|
+
def set_active_tab(self, tab: WindowTab, /) -> None: ...
|
|
270
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Shell.WindowTabManager::add_TabCloseRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.WindowTabManager,Windows.UI.Shell.WindowTabCloseRequestedEventArgs>)
|
|
271
|
+
def add_tab_close_requested(self, handler: windows_foundation.TypedEventHandler[WindowTabManager, WindowTabCloseRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
272
|
+
# System.Void Windows.UI.Shell.WindowTabManager::remove_TabCloseRequested(Windows.Foundation.EventRegistrationToken)
|
|
273
|
+
def remove_tab_close_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
274
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Shell.WindowTabManager::add_TabSwitchRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.WindowTabManager,Windows.UI.Shell.WindowTabSwitchRequestedEventArgs>)
|
|
275
|
+
def add_tab_switch_requested(self, handler: windows_foundation.TypedEventHandler[WindowTabManager, WindowTabSwitchRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
276
|
+
# System.Void Windows.UI.Shell.WindowTabManager::remove_TabSwitchRequested(Windows.Foundation.EventRegistrationToken)
|
|
277
|
+
def remove_tab_switch_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
278
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Shell.WindowTabManager::add_TabTearOutRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.WindowTabManager,Windows.UI.Shell.WindowTabTearOutRequestedEventArgs>)
|
|
279
|
+
def add_tab_tear_out_requested(self, handler: windows_foundation.TypedEventHandler[WindowTabManager, WindowTabTearOutRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
280
|
+
# System.Void Windows.UI.Shell.WindowTabManager::remove_TabTearOutRequested(Windows.Foundation.EventRegistrationToken)
|
|
281
|
+
def remove_tab_tear_out_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
282
|
+
# Windows.Foundation.EventRegistrationToken Windows.UI.Shell.WindowTabManager::add_TabThumbnailRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.Shell.WindowTabManager,Windows.UI.Shell.WindowTabThumbnailRequestedEventArgs>)
|
|
283
|
+
def add_tab_thumbnail_requested(self, handler: windows_foundation.TypedEventHandler[WindowTabManager, WindowTabThumbnailRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
284
|
+
# System.Void Windows.UI.Shell.WindowTabManager::remove_TabThumbnailRequested(Windows.Foundation.EventRegistrationToken)
|
|
285
|
+
def remove_tab_thumbnail_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
|
|
286
|
+
# Windows.UI.Shell.WindowTabCollection Windows.UI.Shell.WindowTabManager::get_Tabs()
|
|
287
|
+
@_property
|
|
288
|
+
def tabs(self) -> WindowTabCollection: ...
|
|
289
|
+
|
|
290
|
+
@typing.final
|
|
291
|
+
class WindowTabSwitchRequestedEventArgs(winrt.system.Object):
|
|
292
|
+
# Windows.UI.Shell.WindowTab Windows.UI.Shell.WindowTabSwitchRequestedEventArgs::get_Tab()
|
|
293
|
+
@_property
|
|
294
|
+
def tab(self) -> WindowTab: ...
|
|
295
|
+
|
|
296
|
+
@typing.final
|
|
297
|
+
class WindowTabTearOutRequestedEventArgs(winrt.system.Object):
|
|
298
|
+
# Windows.Foundation.Deferral Windows.UI.Shell.WindowTabTearOutRequestedEventArgs::GetDeferral()
|
|
299
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
300
|
+
# System.UInt64 Windows.UI.Shell.WindowTabTearOutRequestedEventArgs::get_WindowId()
|
|
301
|
+
@_property
|
|
302
|
+
def window_id(self) -> winrt.system.UInt64: ...
|
|
303
|
+
# System.Void Windows.UI.Shell.WindowTabTearOutRequestedEventArgs::put_WindowId(System.UInt64)
|
|
304
|
+
@window_id.setter
|
|
305
|
+
def window_id(self, value: winrt.system.UInt64) -> None: ...
|
|
306
|
+
# Windows.UI.Shell.WindowTab Windows.UI.Shell.WindowTabTearOutRequestedEventArgs::get_Tab()
|
|
307
|
+
@_property
|
|
308
|
+
def tab(self) -> WindowTab: ...
|
|
309
|
+
|
|
310
|
+
@typing.final
|
|
311
|
+
class WindowTabThumbnailRequestedEventArgs(winrt.system.Object):
|
|
312
|
+
# Windows.Foundation.Deferral Windows.UI.Shell.WindowTabThumbnailRequestedEventArgs::GetDeferral()
|
|
313
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
314
|
+
# Windows.Storage.Streams.IRandomAccessStreamReference Windows.UI.Shell.WindowTabThumbnailRequestedEventArgs::get_Image()
|
|
315
|
+
@_property
|
|
316
|
+
def image(self) -> windows_storage_streams.IRandomAccessStreamReference: ...
|
|
317
|
+
# System.Void Windows.UI.Shell.WindowTabThumbnailRequestedEventArgs::put_Image(Windows.Storage.Streams.IRandomAccessStreamReference)
|
|
318
|
+
@image.setter
|
|
319
|
+
def image(self, value: windows_storage_streams.IRandomAccessStreamReference) -> None: ...
|
|
320
|
+
# System.Boolean Windows.UI.Shell.WindowTabThumbnailRequestedEventArgs::get_IsCompositedOnWindow()
|
|
321
|
+
@_property
|
|
322
|
+
def is_composited_on_window(self) -> bool: ...
|
|
323
|
+
# Windows.Graphics.Imaging.BitmapSize Windows.UI.Shell.WindowTabThumbnailRequestedEventArgs::get_RequestedSize()
|
|
324
|
+
@_property
|
|
325
|
+
def requested_size(self) -> windows_graphics_imaging.BitmapSize: ...
|
|
326
|
+
# Windows.UI.Shell.WindowTab Windows.UI.Shell.WindowTabThumbnailRequestedEventArgs::get_Tab()
|
|
327
|
+
@_property
|
|
328
|
+
def tab(self) -> WindowTab: ...
|
|
329
|
+
|
|
330
|
+
@typing.final
|
|
331
|
+
class _IAdaptiveCard: ...
|
|
332
|
+
|
|
333
|
+
class IAdaptiveCard(winrt._winrt.IInspectable):
|
|
334
|
+
# System.String Windows.UI.Shell.IAdaptiveCard::ToJson()
|
|
335
|
+
@abstractmethod
|
|
336
|
+
def to_json(self) -> str: ...
|
|
337
|
+
|
|
338
|
+
@typing.final
|
|
339
|
+
class _IAdaptiveCardBuilderStatics: ...
|
|
340
|
+
|
|
341
|
+
class IAdaptiveCardBuilderStatics(winrt._winrt.IInspectable):
|
|
342
|
+
# Windows.UI.Shell.IAdaptiveCard Windows.UI.Shell.IAdaptiveCardBuilderStatics::CreateAdaptiveCardFromJson(System.String)
|
|
343
|
+
@abstractmethod
|
|
344
|
+
def create_adaptive_card_from_json(self, value: str, /) -> IAdaptiveCard: ...
|
|
345
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.runtime._internals
|
|
6
|
+
import winrt.system
|
|
7
|
+
from winrt._winrt_windows_ui_shell import (
|
|
8
|
+
AdaptiveCardBuilder,
|
|
9
|
+
FocusSession,
|
|
10
|
+
FocusSessionManager,
|
|
11
|
+
SecurityAppManager,
|
|
12
|
+
ShareWindowCommandEventArgs,
|
|
13
|
+
ShareWindowCommandSource,
|
|
14
|
+
TaskbarManager,
|
|
15
|
+
WindowTab,
|
|
16
|
+
WindowTabCloseRequestedEventArgs,
|
|
17
|
+
WindowTabCollection,
|
|
18
|
+
WindowTabGroup,
|
|
19
|
+
WindowTabIcon,
|
|
20
|
+
WindowTabManager,
|
|
21
|
+
WindowTabSwitchRequestedEventArgs,
|
|
22
|
+
WindowTabTearOutRequestedEventArgs,
|
|
23
|
+
WindowTabThumbnailRequestedEventArgs,
|
|
24
|
+
_IAdaptiveCard,
|
|
25
|
+
IAdaptiveCard,
|
|
26
|
+
_IAdaptiveCardBuilderStatics,
|
|
27
|
+
IAdaptiveCardBuilderStatics,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
__all__ = [
|
|
31
|
+
"SecurityAppKind",
|
|
32
|
+
"SecurityAppState",
|
|
33
|
+
"SecurityAppSubstatus",
|
|
34
|
+
"ShareWindowCommand",
|
|
35
|
+
"AdaptiveCardBuilder",
|
|
36
|
+
"FocusSession",
|
|
37
|
+
"FocusSessionManager",
|
|
38
|
+
"SecurityAppManager",
|
|
39
|
+
"ShareWindowCommandEventArgs",
|
|
40
|
+
"ShareWindowCommandSource",
|
|
41
|
+
"TaskbarManager",
|
|
42
|
+
"WindowTab",
|
|
43
|
+
"WindowTabCloseRequestedEventArgs",
|
|
44
|
+
"WindowTabCollection",
|
|
45
|
+
"WindowTabGroup",
|
|
46
|
+
"WindowTabIcon",
|
|
47
|
+
"WindowTabManager",
|
|
48
|
+
"WindowTabSwitchRequestedEventArgs",
|
|
49
|
+
"WindowTabTearOutRequestedEventArgs",
|
|
50
|
+
"WindowTabThumbnailRequestedEventArgs",
|
|
51
|
+
"IAdaptiveCard",
|
|
52
|
+
"IAdaptiveCardBuilderStatics",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
class SecurityAppKind(enum.IntEnum):
|
|
56
|
+
WEB_PROTECTION = 0
|
|
57
|
+
|
|
58
|
+
class SecurityAppState(enum.IntEnum):
|
|
59
|
+
DISABLED = 0
|
|
60
|
+
ENABLED = 1
|
|
61
|
+
|
|
62
|
+
class SecurityAppSubstatus(enum.IntEnum):
|
|
63
|
+
UNDETERMINED = 0
|
|
64
|
+
NO_ACTION_NEEDED = 1
|
|
65
|
+
ACTION_RECOMMENDED = 2
|
|
66
|
+
ACTION_NEEDED = 3
|
|
67
|
+
|
|
68
|
+
class ShareWindowCommand(enum.IntEnum):
|
|
69
|
+
NONE = 0
|
|
70
|
+
START_SHARING = 1
|
|
71
|
+
STOP_SHARING = 2
|
|
72
|
+
|
|
73
|
+
winrt.runtime._internals.mixin_mutable_sequence(WindowTabCollection)
|
|
File without changes
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.Shell
|
|
3
|
+
Version: 3.2.1
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: >=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime~=3.2.1.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Core[all]~=3.2.1.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.Imaging[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.UI[all]~=3.2.1.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.UI.StartScreen[all]~=3.2.1.0; extra == "all"
|
|
24
|
+
|
|
25
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
26
|
+
|
|
27
|
+
# winrt-Windows.UI.Shell
|
|
28
|
+
|
|
29
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Shell` namespace.
|
|
30
|
+
|
|
31
|
+
This package provides the `winrt.windows.ui.shell` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_shell.cp314-win_arm64.pyd,sha256=HA9mtAn0Ks6ZveV5Cl1t-nksjrZ6nZ1pQPrkgvtcRfc,265216
|
|
2
|
+
winrt/_winrt_windows_ui_shell.pyi,sha256=xkHCnGRtSDL7nnZtdgZ2pX7qSpoOiRQsrpAQQm9kOek,22829
|
|
3
|
+
winrt/windows/ui/shell/__init__.py,sha256=zxGW0KiuzBRukP6qkTDfNoCDawbDsZXRJkaIcvxaI8A,1810
|
|
4
|
+
winrt/windows/ui/shell/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_shell-3.2.1.dist-info/METADATA,sha256=jRPAtn_XSIuNVB9chmI6LlHRjm7zw2nEfPdzoYf_LnI,1477
|
|
6
|
+
winrt_windows_ui_shell-3.2.1.dist-info/WHEEL,sha256=bMXkUWfr_3hlaRObp_pv9_U0ksvQo0T0Mwq6lQkXaZc,101
|
|
7
|
+
winrt_windows_ui_shell-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_shell-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|