winrt-Windows.UI.Shell.Tasks 4!10.0.28000.2705__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/windows/ui/shell/tasks/__init__.py +14 -0
- winrt/windows/ui/shell/tasks/__init__.pyi +108 -0
- winrt/windows/ui/shell/tasks/_table.pywinrt +0 -0
- winrt/windows/ui/shell/tasks/py.typed +0 -0
- winrt_windows_ui_shell_tasks-4!10.0.28000.2705.dist-info/METADATA +44 -0
- winrt_windows_ui_shell_tasks-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_ui_shell_tasks-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_ui_shell_tasks-4!10.0.28000.2705.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
|
+
"AppTaskState",
|
|
10
|
+
"AppTaskContent",
|
|
11
|
+
"AppTaskInfo",
|
|
12
|
+
"AppTaskResultAsset",
|
|
13
|
+
]
|
|
14
|
+
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import enum
|
|
5
|
+
import typing
|
|
6
|
+
from builtins import property as _property
|
|
7
|
+
|
|
8
|
+
import winrt.system
|
|
9
|
+
import winrt.windows.foundation as windows_foundation
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"AppTaskState",
|
|
13
|
+
"AppTaskContent",
|
|
14
|
+
"AppTaskInfo",
|
|
15
|
+
"AppTaskResultAsset",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
class AppTaskState(enum.IntEnum):
|
|
19
|
+
RUNNING = 0
|
|
20
|
+
COMPLETED = 1
|
|
21
|
+
NEEDS_ATTENTION = 2
|
|
22
|
+
PAUSED = 3
|
|
23
|
+
ERROR = 4
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class AppTaskContent_Static(winrt.system.Object_Static):
|
|
27
|
+
# Windows.UI.Shell.Tasks.AppTaskContent Windows.UI.Shell.Tasks.AppTaskContent::CreateGeneratedAssetsResult(Windows.UI.Shell.Tasks.AppTaskResultAsset[])
|
|
28
|
+
def create_generated_assets_result(cls, assets: winrt.system.Array[AppTaskResultAsset] | winrt.system.ReadableBuffer, /) -> AppTaskContent: ...
|
|
29
|
+
# Windows.UI.Shell.Tasks.AppTaskContent Windows.UI.Shell.Tasks.AppTaskContent::CreatePreviewThumbnail(Windows.Foundation.Uri,System.String)
|
|
30
|
+
def create_preview_thumbnail(cls, image_uri: windows_foundation.Uri, executing_step: str, /) -> AppTaskContent: ...
|
|
31
|
+
# Windows.UI.Shell.Tasks.AppTaskContent Windows.UI.Shell.Tasks.AppTaskContent::CreateSequenceOfSteps(System.String[],System.String)
|
|
32
|
+
def create_sequence_of_steps(cls, completed_steps: winrt.system.Array[str] | winrt.system.ReadableBuffer, executing_step: str, /) -> AppTaskContent: ...
|
|
33
|
+
# Windows.UI.Shell.Tasks.AppTaskContent Windows.UI.Shell.Tasks.AppTaskContent::CreateTextSummaryResult(System.String)
|
|
34
|
+
def create_text_summary_result(cls, text: str, /) -> AppTaskContent: ...
|
|
35
|
+
# System.UInt32 Windows.UI.Shell.Tasks.AppTaskContent::get_MaxButtons()
|
|
36
|
+
@_property
|
|
37
|
+
def max_buttons(cls) -> winrt.system.UInt32: ...
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class AppTaskContent(winrt.system.Object, metaclass=AppTaskContent_Static):
|
|
41
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
42
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
43
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskContent::AddButton(System.String,Windows.Foundation.Uri)
|
|
44
|
+
def add_button(self, text: str, action_uri: windows_foundation.Uri, /) -> None: ...
|
|
45
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskContent::SetQuestion(System.String)
|
|
46
|
+
def set_question(self, question: str, /) -> None: ...
|
|
47
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskContent::SetTextInput(System.String,System.String)
|
|
48
|
+
def set_text_input(self, placeholder_text: str, action_uri_template: str, /) -> None: ...
|
|
49
|
+
|
|
50
|
+
@typing.final
|
|
51
|
+
class AppTaskInfo_Static(winrt.system.Object_Static):
|
|
52
|
+
# Windows.UI.Shell.Tasks.AppTaskInfo Windows.UI.Shell.Tasks.AppTaskInfo::Create(System.String,System.String,Windows.Foundation.Uri,Windows.Foundation.Uri,Windows.UI.Shell.Tasks.AppTaskContent)
|
|
53
|
+
def create(cls, title: str, subtitle: str, deep_link: windows_foundation.Uri, icon_uri: windows_foundation.Uri, content: AppTaskContent, /) -> AppTaskInfo: ...
|
|
54
|
+
# Windows.UI.Shell.Tasks.AppTaskInfo[] Windows.UI.Shell.Tasks.AppTaskInfo::FindAll()
|
|
55
|
+
def find_all(cls) -> winrt.system.Array[AppTaskInfo]: ...
|
|
56
|
+
# System.Boolean Windows.UI.Shell.Tasks.AppTaskInfo::IsSupported()
|
|
57
|
+
def is_supported(cls) -> bool: ...
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class AppTaskInfo(winrt.system.Object, metaclass=AppTaskInfo_Static):
|
|
61
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
62
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
63
|
+
# System.String[] Windows.UI.Shell.Tasks.AppTaskInfo::GetCompletedSteps()
|
|
64
|
+
def get_completed_steps(self) -> winrt.system.Array[str]: ...
|
|
65
|
+
# System.String Windows.UI.Shell.Tasks.AppTaskInfo::GetExecutingStep()
|
|
66
|
+
def get_executing_step(self) -> str: ...
|
|
67
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskInfo::Remove()
|
|
68
|
+
def remove(self) -> None: ...
|
|
69
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskInfo::Update(Windows.UI.Shell.Tasks.AppTaskState,Windows.UI.Shell.Tasks.AppTaskContent)
|
|
70
|
+
def update(self, state: AppTaskState, content: AppTaskContent, /) -> None: ...
|
|
71
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskInfo::UpdateDeepLink(Windows.Foundation.Uri)
|
|
72
|
+
def update_deep_link(self, deep_link: windows_foundation.Uri, /) -> None: ...
|
|
73
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskInfo::UpdateState(Windows.UI.Shell.Tasks.AppTaskState)
|
|
74
|
+
def update_state(self, state: AppTaskState, /) -> None: ...
|
|
75
|
+
# System.Void Windows.UI.Shell.Tasks.AppTaskInfo::UpdateTitles(System.String,System.String)
|
|
76
|
+
def update_titles(self, title: str, subtitle: str, /) -> None: ...
|
|
77
|
+
# Windows.Foundation.Uri Windows.UI.Shell.Tasks.AppTaskInfo::get_DeepLink()
|
|
78
|
+
@_property
|
|
79
|
+
def deep_link(self) -> windows_foundation.Uri: ...
|
|
80
|
+
# Windows.Foundation.IReference`1<Windows.Foundation.DateTime> Windows.UI.Shell.Tasks.AppTaskInfo::get_EndTime()
|
|
81
|
+
@_property
|
|
82
|
+
def end_time(self) -> datetime.datetime | None: ...
|
|
83
|
+
# Windows.Foundation.Uri Windows.UI.Shell.Tasks.AppTaskInfo::get_IconUri()
|
|
84
|
+
@_property
|
|
85
|
+
def icon_uri(self) -> windows_foundation.Uri: ...
|
|
86
|
+
# Windows.Foundation.DateTime Windows.UI.Shell.Tasks.AppTaskInfo::get_StartTime()
|
|
87
|
+
@_property
|
|
88
|
+
def start_time(self) -> datetime.datetime: ...
|
|
89
|
+
# Windows.UI.Shell.Tasks.AppTaskState Windows.UI.Shell.Tasks.AppTaskInfo::get_State()
|
|
90
|
+
@_property
|
|
91
|
+
def state(self) -> AppTaskState: ...
|
|
92
|
+
# System.String Windows.UI.Shell.Tasks.AppTaskInfo::get_Subtitle()
|
|
93
|
+
@_property
|
|
94
|
+
def subtitle(self) -> str: ...
|
|
95
|
+
# System.String Windows.UI.Shell.Tasks.AppTaskInfo::get_Title()
|
|
96
|
+
@_property
|
|
97
|
+
def title(self) -> str: ...
|
|
98
|
+
# System.Boolean Windows.UI.Shell.Tasks.AppTaskInfo::get_HiddenByUser()
|
|
99
|
+
@_property
|
|
100
|
+
def hidden_by_user(self) -> bool: ...
|
|
101
|
+
# System.String Windows.UI.Shell.Tasks.AppTaskInfo::get_Id()
|
|
102
|
+
@_property
|
|
103
|
+
def id(self) -> str: ...
|
|
104
|
+
|
|
105
|
+
@typing.final
|
|
106
|
+
class AppTaskResultAsset(winrt.system.Object):
|
|
107
|
+
def __new__(cls, name: str, context: str, icon_uri: windows_foundation.Uri, asset_uri: windows_foundation.Uri, /) -> typing.Self: ...
|
|
108
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.UI.Shell.Tasks
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.UI.Shell.Tasks namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
24
|
+
Provides-Extra: all
|
|
25
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
29
|
+
|
|
30
|
+
# winrt-Windows.UI.Shell.Tasks
|
|
31
|
+
|
|
32
|
+
Windows Runtime (WinRT) APIs for the `Windows.UI.Shell.Tasks` namespace.
|
|
33
|
+
|
|
34
|
+
This package provides the `winrt.windows.ui.shell.tasks` module.
|
|
35
|
+
|
|
36
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
37
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
pip install winrt-Windows.UI.Shell.Tasks
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
44
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/ui/shell/tasks/__init__.py,sha256=NMkk0rXLKkAfRFSRCdLIIgUp2voxBTNZ7TvUQ4cj9_A,281
|
|
2
|
+
winrt/windows/ui/shell/tasks/__init__.pyi,sha256=ZxyiVstHbHYwsBNYD1k3-EOw1Buh1UQa4PGwwU8qTRk,6025
|
|
3
|
+
winrt/windows/ui/shell/tasks/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/ui/shell/tasks/_table.pywinrt,sha256=VZV4zQ1UqmhyFF9096gKKr1sCyDdPp-yrs_o4y2dP_U,10528
|
|
5
|
+
winrt_windows_ui_shell_tasks-4!10.0.28000.2705.dist-info/METADATA,sha256=rTaaRBFTqQO7GJFPRIjLtJMBnv7fl-mmrieGz1hiZ-E,1778
|
|
6
|
+
winrt_windows_ui_shell_tasks-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_ui_shell_tasks-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_ui_shell_tasks-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|