winrt-Windows.UI.ApplicationSettings 2.2.0__cp313-cp313-win_amd64.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_applicationsettings.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_ui_applicationsettings.pyi +157 -0
- winrt/windows/ui/applicationsettings/__init__.py +62 -0
- winrt/windows/ui/applicationsettings/py.typed +0 -0
- winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/METADATA +29 -0
- winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
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.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.security.credentials as windows_security_credentials
|
|
15
|
+
import winrt.windows.system as windows_system
|
|
16
|
+
import winrt.windows.ui.popups as windows_ui_popups
|
|
17
|
+
|
|
18
|
+
from winrt.windows.ui.applicationsettings import SettingsEdgeLocation, SupportedWebAccountActions, WebAccountAction
|
|
19
|
+
from winrt.windows.ui.applicationsettings import CredentialCommandCredentialDeletedHandler, WebAccountCommandInvokedHandler, WebAccountProviderCommandInvokedHandler
|
|
20
|
+
|
|
21
|
+
Self = typing.TypeVar('Self')
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class AccountsSettingsPane_Static(type):
|
|
25
|
+
def get_for_current_view(cls) -> typing.Optional[AccountsSettingsPane]: ...
|
|
26
|
+
def show(cls) -> None: ...
|
|
27
|
+
def show_add_account_async(cls) -> windows_foundation.IAsyncAction: ...
|
|
28
|
+
def show_add_account_for_user_async(cls, user: typing.Optional[windows_system.User], /) -> windows_foundation.IAsyncAction: ...
|
|
29
|
+
def show_manage_accounts_async(cls) -> windows_foundation.IAsyncAction: ...
|
|
30
|
+
def show_manage_accounts_for_user_async(cls, user: typing.Optional[windows_system.User], /) -> windows_foundation.IAsyncAction: ...
|
|
31
|
+
|
|
32
|
+
@typing.final
|
|
33
|
+
class AccountsSettingsPane(winrt.system.Object, metaclass=AccountsSettingsPane_Static):
|
|
34
|
+
@staticmethod
|
|
35
|
+
def _from(obj: winrt.system.Object, /) -> AccountsSettingsPane: ...
|
|
36
|
+
def add_account_commands_requested(self, handler: windows_foundation.TypedEventHandler[AccountsSettingsPane, AccountsSettingsPaneCommandsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
37
|
+
def remove_account_commands_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class AccountsSettingsPaneCommandsRequestedEventArgs(winrt.system.Object):
|
|
41
|
+
@staticmethod
|
|
42
|
+
def _from(obj: winrt.system.Object, /) -> AccountsSettingsPaneCommandsRequestedEventArgs: ...
|
|
43
|
+
def get_deferral(self) -> typing.Optional[AccountsSettingsPaneEventDeferral]: ...
|
|
44
|
+
@_property
|
|
45
|
+
def header_text(self) -> str: ...
|
|
46
|
+
@header_text.setter
|
|
47
|
+
def header_text(self, value: str) -> None: ...
|
|
48
|
+
@_property
|
|
49
|
+
def commands(self) -> typing.Optional[windows_foundation_collections.IVector[SettingsCommand]]: ...
|
|
50
|
+
@_property
|
|
51
|
+
def credential_commands(self) -> typing.Optional[windows_foundation_collections.IVector[CredentialCommand]]: ...
|
|
52
|
+
@_property
|
|
53
|
+
def web_account_commands(self) -> typing.Optional[windows_foundation_collections.IVector[WebAccountCommand]]: ...
|
|
54
|
+
@_property
|
|
55
|
+
def web_account_provider_commands(self) -> typing.Optional[windows_foundation_collections.IVector[WebAccountProviderCommand]]: ...
|
|
56
|
+
@_property
|
|
57
|
+
def user(self) -> typing.Optional[windows_system.User]: ...
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class AccountsSettingsPaneEventDeferral(winrt.system.Object):
|
|
61
|
+
@staticmethod
|
|
62
|
+
def _from(obj: winrt.system.Object, /) -> AccountsSettingsPaneEventDeferral: ...
|
|
63
|
+
def complete(self) -> None: ...
|
|
64
|
+
|
|
65
|
+
@typing.final
|
|
66
|
+
class CredentialCommand(winrt.system.Object):
|
|
67
|
+
@staticmethod
|
|
68
|
+
def _from(obj: winrt.system.Object, /) -> CredentialCommand: ...
|
|
69
|
+
@typing.overload
|
|
70
|
+
def __new__(cls: typing.Type[CredentialCommand], password_credential: typing.Optional[windows_security_credentials.PasswordCredential]) -> CredentialCommand: ...
|
|
71
|
+
@typing.overload
|
|
72
|
+
def __new__(cls: typing.Type[CredentialCommand], password_credential: typing.Optional[windows_security_credentials.PasswordCredential], deleted: typing.Optional[CredentialCommandCredentialDeletedHandler]) -> CredentialCommand: ...
|
|
73
|
+
@_property
|
|
74
|
+
def credential_deleted(self) -> typing.Optional[CredentialCommandCredentialDeletedHandler]: ...
|
|
75
|
+
@_property
|
|
76
|
+
def password_credential(self) -> typing.Optional[windows_security_credentials.PasswordCredential]: ...
|
|
77
|
+
|
|
78
|
+
@typing.final
|
|
79
|
+
class SettingsCommand_Static(type):
|
|
80
|
+
@_property
|
|
81
|
+
def accounts_command(cls) -> typing.Optional[SettingsCommand]: ...
|
|
82
|
+
|
|
83
|
+
@typing.final
|
|
84
|
+
class SettingsCommand(winrt.system.Object, metaclass=SettingsCommand_Static):
|
|
85
|
+
@staticmethod
|
|
86
|
+
def _from(obj: winrt.system.Object, /) -> SettingsCommand: ...
|
|
87
|
+
def __new__(cls: typing.Type[SettingsCommand], settings_command_id: typing.Optional[winrt.system.Object], label: str, handler: typing.Optional[windows_ui_popups.UICommandInvokedHandler]) -> SettingsCommand: ...
|
|
88
|
+
@_property
|
|
89
|
+
def label(self) -> str: ...
|
|
90
|
+
@label.setter
|
|
91
|
+
def label(self, value: str) -> None: ...
|
|
92
|
+
@_property
|
|
93
|
+
def invoked(self) -> typing.Optional[windows_ui_popups.UICommandInvokedHandler]: ...
|
|
94
|
+
@invoked.setter
|
|
95
|
+
def invoked(self, value: typing.Optional[windows_ui_popups.UICommandInvokedHandler]) -> None: ...
|
|
96
|
+
@_property
|
|
97
|
+
def id(self) -> typing.Optional[winrt.system.Object]: ...
|
|
98
|
+
@id.setter
|
|
99
|
+
def id(self, value: typing.Optional[winrt.system.Object]) -> None: ...
|
|
100
|
+
|
|
101
|
+
@typing.final
|
|
102
|
+
class SettingsPane_Static(type):
|
|
103
|
+
def get_for_current_view(cls) -> typing.Optional[SettingsPane]: ...
|
|
104
|
+
def show(cls) -> None: ...
|
|
105
|
+
@_property
|
|
106
|
+
def edge(cls) -> SettingsEdgeLocation: ...
|
|
107
|
+
|
|
108
|
+
@typing.final
|
|
109
|
+
class SettingsPane(winrt.system.Object, metaclass=SettingsPane_Static):
|
|
110
|
+
@staticmethod
|
|
111
|
+
def _from(obj: winrt.system.Object, /) -> SettingsPane: ...
|
|
112
|
+
def add_commands_requested(self, handler: windows_foundation.TypedEventHandler[SettingsPane, SettingsPaneCommandsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
113
|
+
def remove_commands_requested(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class SettingsPaneCommandsRequest(winrt.system.Object):
|
|
117
|
+
@staticmethod
|
|
118
|
+
def _from(obj: winrt.system.Object, /) -> SettingsPaneCommandsRequest: ...
|
|
119
|
+
@_property
|
|
120
|
+
def application_commands(self) -> typing.Optional[windows_foundation_collections.IVector[SettingsCommand]]: ...
|
|
121
|
+
|
|
122
|
+
@typing.final
|
|
123
|
+
class SettingsPaneCommandsRequestedEventArgs(winrt.system.Object):
|
|
124
|
+
@staticmethod
|
|
125
|
+
def _from(obj: winrt.system.Object, /) -> SettingsPaneCommandsRequestedEventArgs: ...
|
|
126
|
+
@_property
|
|
127
|
+
def request(self) -> typing.Optional[SettingsPaneCommandsRequest]: ...
|
|
128
|
+
|
|
129
|
+
@typing.final
|
|
130
|
+
class WebAccountCommand(winrt.system.Object):
|
|
131
|
+
@staticmethod
|
|
132
|
+
def _from(obj: winrt.system.Object, /) -> WebAccountCommand: ...
|
|
133
|
+
def __new__(cls: typing.Type[WebAccountCommand], web_account: typing.Optional[windows_security_credentials.WebAccount], invoked: typing.Optional[WebAccountCommandInvokedHandler], actions: SupportedWebAccountActions) -> WebAccountCommand: ...
|
|
134
|
+
@_property
|
|
135
|
+
def actions(self) -> SupportedWebAccountActions: ...
|
|
136
|
+
@_property
|
|
137
|
+
def invoked(self) -> typing.Optional[WebAccountCommandInvokedHandler]: ...
|
|
138
|
+
@_property
|
|
139
|
+
def web_account(self) -> typing.Optional[windows_security_credentials.WebAccount]: ...
|
|
140
|
+
|
|
141
|
+
@typing.final
|
|
142
|
+
class WebAccountInvokedArgs(winrt.system.Object):
|
|
143
|
+
@staticmethod
|
|
144
|
+
def _from(obj: winrt.system.Object, /) -> WebAccountInvokedArgs: ...
|
|
145
|
+
@_property
|
|
146
|
+
def action(self) -> WebAccountAction: ...
|
|
147
|
+
|
|
148
|
+
@typing.final
|
|
149
|
+
class WebAccountProviderCommand(winrt.system.Object):
|
|
150
|
+
@staticmethod
|
|
151
|
+
def _from(obj: winrt.system.Object, /) -> WebAccountProviderCommand: ...
|
|
152
|
+
def __new__(cls: typing.Type[WebAccountProviderCommand], web_account_provider: typing.Optional[windows_security_credentials.WebAccountProvider], invoked: typing.Optional[WebAccountProviderCommandInvokedHandler]) -> WebAccountProviderCommand: ...
|
|
153
|
+
@_property
|
|
154
|
+
def invoked(self) -> typing.Optional[WebAccountProviderCommandInvokedHandler]: ...
|
|
155
|
+
@_property
|
|
156
|
+
def web_account_provider(self) -> typing.Optional[windows_security_credentials.WebAccountProvider]: ...
|
|
157
|
+
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
import typing
|
|
5
|
+
import uuid as _uuid
|
|
6
|
+
|
|
7
|
+
import winrt.system
|
|
8
|
+
from winrt import _winrt_windows_ui_applicationsettings
|
|
9
|
+
|
|
10
|
+
__all__ = [
|
|
11
|
+
"SettingsEdgeLocation",
|
|
12
|
+
"SupportedWebAccountActions",
|
|
13
|
+
"WebAccountAction",
|
|
14
|
+
"AccountsSettingsPane",
|
|
15
|
+
"AccountsSettingsPaneCommandsRequestedEventArgs",
|
|
16
|
+
"AccountsSettingsPaneEventDeferral",
|
|
17
|
+
"CredentialCommand",
|
|
18
|
+
"SettingsCommand",
|
|
19
|
+
"SettingsPane",
|
|
20
|
+
"SettingsPaneCommandsRequest",
|
|
21
|
+
"SettingsPaneCommandsRequestedEventArgs",
|
|
22
|
+
"WebAccountCommand",
|
|
23
|
+
"WebAccountInvokedArgs",
|
|
24
|
+
"WebAccountProviderCommand",
|
|
25
|
+
"CredentialCommandCredentialDeletedHandler",
|
|
26
|
+
"WebAccountCommandInvokedHandler",
|
|
27
|
+
"WebAccountProviderCommandInvokedHandler",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
class SettingsEdgeLocation(enum.IntEnum):
|
|
31
|
+
RIGHT = 0
|
|
32
|
+
LEFT = 1
|
|
33
|
+
|
|
34
|
+
class SupportedWebAccountActions(enum.IntFlag):
|
|
35
|
+
NONE = 0x0
|
|
36
|
+
RECONNECT = 0x1
|
|
37
|
+
REMOVE = 0x2
|
|
38
|
+
VIEW_DETAILS = 0x4
|
|
39
|
+
MANAGE = 0x8
|
|
40
|
+
MORE = 0x10
|
|
41
|
+
|
|
42
|
+
class WebAccountAction(enum.IntEnum):
|
|
43
|
+
RECONNECT = 0
|
|
44
|
+
REMOVE = 1
|
|
45
|
+
VIEW_DETAILS = 2
|
|
46
|
+
MANAGE = 3
|
|
47
|
+
MORE = 4
|
|
48
|
+
|
|
49
|
+
AccountsSettingsPane = _winrt_windows_ui_applicationsettings.AccountsSettingsPane
|
|
50
|
+
AccountsSettingsPaneCommandsRequestedEventArgs = _winrt_windows_ui_applicationsettings.AccountsSettingsPaneCommandsRequestedEventArgs
|
|
51
|
+
AccountsSettingsPaneEventDeferral = _winrt_windows_ui_applicationsettings.AccountsSettingsPaneEventDeferral
|
|
52
|
+
CredentialCommand = _winrt_windows_ui_applicationsettings.CredentialCommand
|
|
53
|
+
SettingsCommand = _winrt_windows_ui_applicationsettings.SettingsCommand
|
|
54
|
+
SettingsPane = _winrt_windows_ui_applicationsettings.SettingsPane
|
|
55
|
+
SettingsPaneCommandsRequest = _winrt_windows_ui_applicationsettings.SettingsPaneCommandsRequest
|
|
56
|
+
SettingsPaneCommandsRequestedEventArgs = _winrt_windows_ui_applicationsettings.SettingsPaneCommandsRequestedEventArgs
|
|
57
|
+
WebAccountCommand = _winrt_windows_ui_applicationsettings.WebAccountCommand
|
|
58
|
+
WebAccountInvokedArgs = _winrt_windows_ui_applicationsettings.WebAccountInvokedArgs
|
|
59
|
+
WebAccountProviderCommand = _winrt_windows_ui_applicationsettings.WebAccountProviderCommand
|
|
60
|
+
CredentialCommandCredentialDeletedHandler = typing.Callable[[typing.Optional[CredentialCommand]], None]
|
|
61
|
+
WebAccountCommandInvokedHandler = typing.Callable[[typing.Optional[WebAccountCommand], typing.Optional[WebAccountInvokedArgs]], None]
|
|
62
|
+
WebAccountProviderCommandInvokedHandler = typing.Callable[[typing.Optional[WebAccountProviderCommand]], None]
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.UI.ApplicationSettings
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: 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.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Security.Credentials[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Popups[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.UI.ApplicationSettings
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.ApplicationSettings` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.ui.applicationsettings` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_applicationsettings.cp313-win_amd64.pyd,sha256=GIsdrXmtfiKPdOn_KE9iVtrdKXCpLP1S2gBJDIohO98,190464
|
|
2
|
+
winrt/_winrt_windows_ui_applicationsettings.pyi,sha256=eg1v7mQD-AXg_JC7SQv9xp17vPE6ZyasTmnPj3NCYcE,7863
|
|
3
|
+
winrt/windows/ui/applicationsettings/__init__.py,sha256=sol5HX72VQLsZ19B_pbhTTAPLjQnTOILyB3fDaMiH6Q,2501
|
|
4
|
+
winrt/windows/ui/applicationsettings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/METADATA,sha256=UfShEE64RflguEq8s6SZHAudeh3yuZtlPkOWV-rORzQ,1372
|
|
6
|
+
winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.UI.ApplicationSettings-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|