winrt-Windows.UI.ApplicationSettings 3.2.1__cp314-cp314-win32.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,178 @@
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
+
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(winrt._winrt.IInspectable_Static):
25
+ # Windows.UI.ApplicationSettings.AccountsSettingsPane Windows.UI.ApplicationSettings.AccountsSettingsPane::GetForCurrentView()
26
+ def get_for_current_view(cls) -> AccountsSettingsPane: ...
27
+ # System.Void Windows.UI.ApplicationSettings.AccountsSettingsPane::Show()
28
+ def show(cls) -> None: ...
29
+ # Windows.Foundation.IAsyncAction Windows.UI.ApplicationSettings.AccountsSettingsPane::ShowAddAccountAsync()
30
+ def show_add_account_async(cls) -> windows_foundation.IAsyncAction: ...
31
+ # Windows.Foundation.IAsyncAction Windows.UI.ApplicationSettings.AccountsSettingsPane::ShowAddAccountForUserAsync(Windows.System.User)
32
+ def show_add_account_for_user_async(cls, user: windows_system.User, /) -> windows_foundation.IAsyncAction: ...
33
+ # Windows.Foundation.IAsyncAction Windows.UI.ApplicationSettings.AccountsSettingsPane::ShowManageAccountsAsync()
34
+ def show_manage_accounts_async(cls) -> windows_foundation.IAsyncAction: ...
35
+ # Windows.Foundation.IAsyncAction Windows.UI.ApplicationSettings.AccountsSettingsPane::ShowManageAccountsForUserAsync(Windows.System.User)
36
+ def show_manage_accounts_for_user_async(cls, user: windows_system.User, /) -> windows_foundation.IAsyncAction: ...
37
+
38
+ @typing.final
39
+ class AccountsSettingsPane(winrt.system.Object, metaclass=AccountsSettingsPane_Static):
40
+ # Windows.Foundation.EventRegistrationToken Windows.UI.ApplicationSettings.AccountsSettingsPane::add_AccountCommandsRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.ApplicationSettings.AccountsSettingsPane,Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs>)
41
+ def add_account_commands_requested(self, handler: windows_foundation.TypedEventHandler[AccountsSettingsPane, AccountsSettingsPaneCommandsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
42
+ # System.Void Windows.UI.ApplicationSettings.AccountsSettingsPane::remove_AccountCommandsRequested(Windows.Foundation.EventRegistrationToken)
43
+ def remove_account_commands_requested(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
44
+
45
+ @typing.final
46
+ class AccountsSettingsPaneCommandsRequestedEventArgs(winrt.system.Object):
47
+ # Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::GetDeferral()
48
+ def get_deferral(self) -> AccountsSettingsPaneEventDeferral: ...
49
+ # System.String Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::get_HeaderText()
50
+ @_property
51
+ def header_text(self) -> str: ...
52
+ # System.Void Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::put_HeaderText(System.String)
53
+ @header_text.setter
54
+ def header_text(self, value: str) -> None: ...
55
+ # Windows.Foundation.Collections.IVector`1<Windows.UI.ApplicationSettings.SettingsCommand> Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::get_Commands()
56
+ @_property
57
+ def commands(self) -> typing.MutableSequence[SettingsCommand]: ...
58
+ # Windows.Foundation.Collections.IVector`1<Windows.UI.ApplicationSettings.CredentialCommand> Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::get_CredentialCommands()
59
+ @_property
60
+ def credential_commands(self) -> typing.MutableSequence[CredentialCommand]: ...
61
+ # Windows.Foundation.Collections.IVector`1<Windows.UI.ApplicationSettings.WebAccountCommand> Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::get_WebAccountCommands()
62
+ @_property
63
+ def web_account_commands(self) -> typing.MutableSequence[WebAccountCommand]: ...
64
+ # Windows.Foundation.Collections.IVector`1<Windows.UI.ApplicationSettings.WebAccountProviderCommand> Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::get_WebAccountProviderCommands()
65
+ @_property
66
+ def web_account_provider_commands(self) -> typing.MutableSequence[WebAccountProviderCommand]: ...
67
+ # Windows.System.User Windows.UI.ApplicationSettings.AccountsSettingsPaneCommandsRequestedEventArgs::get_User()
68
+ @_property
69
+ def user(self) -> windows_system.User: ...
70
+
71
+ @typing.final
72
+ class AccountsSettingsPaneEventDeferral(winrt.system.Object):
73
+ # System.Void Windows.UI.ApplicationSettings.AccountsSettingsPaneEventDeferral::Complete()
74
+ def complete(self) -> None: ...
75
+
76
+ @typing.final
77
+ class CredentialCommand(winrt.system.Object):
78
+ @typing.overload
79
+ def __new__(cls: typing.Type[Self], password_credential: windows_security_credentials.PasswordCredential) -> Self: ...
80
+ @typing.overload
81
+ def __new__(cls: typing.Type[Self], password_credential: windows_security_credentials.PasswordCredential, deleted: CredentialCommandCredentialDeletedHandler) -> Self: ...
82
+ # Windows.UI.ApplicationSettings.CredentialCommandCredentialDeletedHandler Windows.UI.ApplicationSettings.CredentialCommand::get_CredentialDeleted()
83
+ @_property
84
+ def credential_deleted(self) -> CredentialCommandCredentialDeletedHandler: ...
85
+ # Windows.Security.Credentials.PasswordCredential Windows.UI.ApplicationSettings.CredentialCommand::get_PasswordCredential()
86
+ @_property
87
+ def password_credential(self) -> windows_security_credentials.PasswordCredential: ...
88
+
89
+ @typing.final
90
+ class SettingsCommand_Static(winrt._winrt.IInspectable_Static):
91
+ # Windows.UI.ApplicationSettings.SettingsCommand Windows.UI.ApplicationSettings.SettingsCommand::get_AccountsCommand()
92
+ @_property
93
+ def accounts_command(cls) -> SettingsCommand: ...
94
+
95
+ @typing.final
96
+ class SettingsCommand(winrt.system.Object, windows_ui_popups.IUICommand, metaclass=SettingsCommand_Static):
97
+ def __new__(cls: typing.Type[Self], settings_command_id: winrt.system.Object, label: str, handler: windows_ui_popups.UICommandInvokedHandler) -> Self: ...
98
+ # System.String Windows.UI.ApplicationSettings.SettingsCommand::get_Label()
99
+ @_property
100
+ def label(self) -> str: ...
101
+ # System.Void Windows.UI.ApplicationSettings.SettingsCommand::put_Label(System.String)
102
+ @label.setter
103
+ def label(self, value: str) -> None: ...
104
+ # Windows.UI.Popups.UICommandInvokedHandler Windows.UI.ApplicationSettings.SettingsCommand::get_Invoked()
105
+ @_property
106
+ def invoked(self) -> windows_ui_popups.UICommandInvokedHandler: ...
107
+ # System.Void Windows.UI.ApplicationSettings.SettingsCommand::put_Invoked(Windows.UI.Popups.UICommandInvokedHandler)
108
+ @invoked.setter
109
+ def invoked(self, value: windows_ui_popups.UICommandInvokedHandler) -> None: ...
110
+ # System.Object Windows.UI.ApplicationSettings.SettingsCommand::get_Id()
111
+ @_property
112
+ def id(self) -> winrt.system.Object: ...
113
+ # System.Void Windows.UI.ApplicationSettings.SettingsCommand::put_Id(System.Object)
114
+ @id.setter
115
+ def id(self, value: winrt.system.Object) -> None: ...
116
+
117
+ @typing.final
118
+ class SettingsPane_Static(winrt._winrt.IInspectable_Static):
119
+ # Windows.UI.ApplicationSettings.SettingsPane Windows.UI.ApplicationSettings.SettingsPane::GetForCurrentView()
120
+ # @deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.")
121
+ def get_for_current_view(cls) -> SettingsPane: ...
122
+ # System.Void Windows.UI.ApplicationSettings.SettingsPane::Show()
123
+ # @deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.")
124
+ def show(cls) -> None: ...
125
+ # Windows.UI.ApplicationSettings.SettingsEdgeLocation Windows.UI.ApplicationSettings.SettingsPane::get_Edge()
126
+ @_property
127
+ def edge(cls) -> SettingsEdgeLocation: ...
128
+
129
+ @typing.final
130
+ class SettingsPane(winrt.system.Object, metaclass=SettingsPane_Static):
131
+ # Windows.Foundation.EventRegistrationToken Windows.UI.ApplicationSettings.SettingsPane::add_CommandsRequested(Windows.Foundation.TypedEventHandler`2<Windows.UI.ApplicationSettings.SettingsPane,Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs>)
132
+ # @deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.")
133
+ def add_commands_requested(self, handler: windows_foundation.TypedEventHandler[SettingsPane, SettingsPaneCommandsRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
134
+ # System.Void Windows.UI.ApplicationSettings.SettingsPane::remove_CommandsRequested(Windows.Foundation.EventRegistrationToken)
135
+ # @deprecated("SettingsPane is deprecated and might not work on all platforms. For more info, see MSDN.")
136
+ def remove_commands_requested(self, cookie: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
137
+
138
+ @typing.final
139
+ class SettingsPaneCommandsRequest(winrt.system.Object):
140
+ # Windows.Foundation.Collections.IVector`1<Windows.UI.ApplicationSettings.SettingsCommand> Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest::get_ApplicationCommands()
141
+ @_property
142
+ def application_commands(self) -> typing.MutableSequence[SettingsCommand]: ...
143
+
144
+ @typing.final
145
+ class SettingsPaneCommandsRequestedEventArgs(winrt.system.Object):
146
+ # Windows.UI.ApplicationSettings.SettingsPaneCommandsRequest Windows.UI.ApplicationSettings.SettingsPaneCommandsRequestedEventArgs::get_Request()
147
+ @_property
148
+ def request(self) -> SettingsPaneCommandsRequest: ...
149
+
150
+ @typing.final
151
+ class WebAccountCommand(winrt.system.Object):
152
+ def __new__(cls: typing.Type[Self], web_account: windows_security_credentials.WebAccount, invoked: WebAccountCommandInvokedHandler, actions: SupportedWebAccountActions) -> Self: ...
153
+ # Windows.UI.ApplicationSettings.SupportedWebAccountActions Windows.UI.ApplicationSettings.WebAccountCommand::get_Actions()
154
+ @_property
155
+ def actions(self) -> SupportedWebAccountActions: ...
156
+ # Windows.UI.ApplicationSettings.WebAccountCommandInvokedHandler Windows.UI.ApplicationSettings.WebAccountCommand::get_Invoked()
157
+ @_property
158
+ def invoked(self) -> WebAccountCommandInvokedHandler: ...
159
+ # Windows.Security.Credentials.WebAccount Windows.UI.ApplicationSettings.WebAccountCommand::get_WebAccount()
160
+ @_property
161
+ def web_account(self) -> windows_security_credentials.WebAccount: ...
162
+
163
+ @typing.final
164
+ class WebAccountInvokedArgs(winrt.system.Object):
165
+ # Windows.UI.ApplicationSettings.WebAccountAction Windows.UI.ApplicationSettings.WebAccountInvokedArgs::get_Action()
166
+ @_property
167
+ def action(self) -> WebAccountAction: ...
168
+
169
+ @typing.final
170
+ class WebAccountProviderCommand(winrt.system.Object):
171
+ def __new__(cls: typing.Type[Self], web_account_provider: windows_security_credentials.WebAccountProvider, invoked: WebAccountProviderCommandInvokedHandler) -> Self: ...
172
+ # Windows.UI.ApplicationSettings.WebAccountProviderCommandInvokedHandler Windows.UI.ApplicationSettings.WebAccountProviderCommand::get_Invoked()
173
+ @_property
174
+ def invoked(self) -> WebAccountProviderCommandInvokedHandler: ...
175
+ # Windows.Security.Credentials.WebAccountProvider Windows.UI.ApplicationSettings.WebAccountProviderCommand::get_WebAccountProvider()
176
+ @_property
177
+ def web_account_provider(self) -> windows_security_credentials.WebAccountProvider: ...
178
+
@@ -0,0 +1,63 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+ import typing
5
+ import uuid as _uuid
6
+
7
+ import winrt.system
8
+ from winrt._winrt_windows_ui_applicationsettings import (
9
+ AccountsSettingsPane,
10
+ AccountsSettingsPaneCommandsRequestedEventArgs,
11
+ AccountsSettingsPaneEventDeferral,
12
+ CredentialCommand,
13
+ SettingsCommand,
14
+ SettingsPane,
15
+ SettingsPaneCommandsRequest,
16
+ SettingsPaneCommandsRequestedEventArgs,
17
+ WebAccountCommand,
18
+ WebAccountInvokedArgs,
19
+ WebAccountProviderCommand,
20
+ )
21
+
22
+ __all__ = [
23
+ "SettingsEdgeLocation",
24
+ "SupportedWebAccountActions",
25
+ "WebAccountAction",
26
+ "AccountsSettingsPane",
27
+ "AccountsSettingsPaneCommandsRequestedEventArgs",
28
+ "AccountsSettingsPaneEventDeferral",
29
+ "CredentialCommand",
30
+ "SettingsCommand",
31
+ "SettingsPane",
32
+ "SettingsPaneCommandsRequest",
33
+ "SettingsPaneCommandsRequestedEventArgs",
34
+ "WebAccountCommand",
35
+ "WebAccountInvokedArgs",
36
+ "WebAccountProviderCommand",
37
+ "CredentialCommandCredentialDeletedHandler",
38
+ "WebAccountCommandInvokedHandler",
39
+ "WebAccountProviderCommandInvokedHandler",
40
+ ]
41
+
42
+ class SettingsEdgeLocation(enum.IntEnum):
43
+ RIGHT = 0
44
+ LEFT = 1
45
+
46
+ class SupportedWebAccountActions(enum.IntFlag):
47
+ NONE = 0x0
48
+ RECONNECT = 0x1
49
+ REMOVE = 0x2
50
+ VIEW_DETAILS = 0x4
51
+ MANAGE = 0x8
52
+ MORE = 0x10
53
+
54
+ class WebAccountAction(enum.IntEnum):
55
+ RECONNECT = 0
56
+ REMOVE = 1
57
+ VIEW_DETAILS = 2
58
+ MANAGE = 3
59
+ MORE = 4
60
+
61
+ CredentialCommandCredentialDeletedHandler = typing.Callable[[CredentialCommand], None]
62
+ WebAccountCommandInvokedHandler = typing.Callable[[WebAccountCommand, WebAccountInvokedArgs], None]
63
+ WebAccountProviderCommandInvokedHandler = typing.Callable[[WebAccountProviderCommand], None]
File without changes
@@ -0,0 +1,29 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.UI.ApplicationSettings
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.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Security.Credentials[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.System[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI.Popups[all]~=3.2.1.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.cp314-win32.pyd,sha256=hTREOcjfnuvCwp898XrX2aCPDuFnxsrTs_PwipOZgKU,210432
2
+ winrt/_winrt_windows_ui_applicationsettings.pyi,sha256=WXOSfM45bMp8fKZRFXdhpisNA4jrrjtYZ3o9fiiVzJo,12084
3
+ winrt/windows/ui/applicationsettings/__init__.py,sha256=m2LiRvi-I9cTelBpJgETe5qSIc6IWyu4XYIOaw_U0UU,1770
4
+ winrt/windows/ui/applicationsettings/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_ui_applicationsettings-3.2.1.dist-info/METADATA,sha256=V_IP-lQDYOPmcNLYo0jHvRfjrNbWWSnny2vS8_0HFDw,1378
6
+ winrt_windows_ui_applicationsettings-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
7
+ winrt_windows_ui_applicationsettings-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_ui_applicationsettings-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win32
5
+