winrt-Windows.UI.Popups 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.
@@ -0,0 +1,124 @@
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
+
15
+ from winrt.windows.ui.popups import MessageDialogOptions, Placement
16
+ from winrt.windows.ui.popups import UICommandInvokedHandler
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ @typing.final
21
+ class MessageDialog(winrt.system.Object):
22
+ @staticmethod
23
+ def _from(obj: winrt.system.Object, /) -> MessageDialog: ...
24
+ @typing.overload
25
+ def __new__(cls: typing.Type[MessageDialog], content: str) -> MessageDialog: ...
26
+ @typing.overload
27
+ def __new__(cls: typing.Type[MessageDialog], content: str, title: str) -> MessageDialog: ...
28
+ def show_async(self) -> windows_foundation.IAsyncOperation[IUICommand]: ...
29
+ @_property
30
+ def title(self) -> str: ...
31
+ @title.setter
32
+ def title(self, value: str) -> None: ...
33
+ @_property
34
+ def options(self) -> MessageDialogOptions: ...
35
+ @options.setter
36
+ def options(self, value: MessageDialogOptions) -> None: ...
37
+ @_property
38
+ def default_command_index(self) -> winrt.system.UInt32: ...
39
+ @default_command_index.setter
40
+ def default_command_index(self, value: winrt.system.UInt32) -> None: ...
41
+ @_property
42
+ def content(self) -> str: ...
43
+ @content.setter
44
+ def content(self, value: str) -> None: ...
45
+ @_property
46
+ def cancel_command_index(self) -> winrt.system.UInt32: ...
47
+ @cancel_command_index.setter
48
+ def cancel_command_index(self, value: winrt.system.UInt32) -> None: ...
49
+ @_property
50
+ def commands(self) -> typing.Optional[windows_foundation_collections.IVector[IUICommand]]: ...
51
+
52
+ @typing.final
53
+ class PopupMenu(winrt.system.Object):
54
+ @staticmethod
55
+ def _from(obj: winrt.system.Object, /) -> PopupMenu: ...
56
+ def __new__(cls: typing.Type[PopupMenu]) -> PopupMenu: ...
57
+ def show_async(self, invocation_point: windows_foundation.Point, /) -> windows_foundation.IAsyncOperation[IUICommand]: ...
58
+ @typing.overload
59
+ def show_for_selection_async(self, selection: windows_foundation.Rect, /) -> windows_foundation.IAsyncOperation[IUICommand]: ...
60
+ @typing.overload
61
+ def show_for_selection_async(self, selection: windows_foundation.Rect, preferred_placement: Placement, /) -> windows_foundation.IAsyncOperation[IUICommand]: ...
62
+ @_property
63
+ def commands(self) -> typing.Optional[windows_foundation_collections.IVector[IUICommand]]: ...
64
+
65
+ @typing.final
66
+ class UICommand(winrt.system.Object):
67
+ @staticmethod
68
+ def _from(obj: winrt.system.Object, /) -> UICommand: ...
69
+ @typing.overload
70
+ def __new__(cls: typing.Type[UICommand], label: str) -> UICommand: ...
71
+ @typing.overload
72
+ def __new__(cls: typing.Type[UICommand], label: str, action: typing.Optional[UICommandInvokedHandler]) -> UICommand: ...
73
+ @typing.overload
74
+ def __new__(cls: typing.Type[UICommand], label: str, action: typing.Optional[UICommandInvokedHandler], command_id: typing.Optional[winrt.system.Object]) -> UICommand: ...
75
+ @typing.overload
76
+ def __new__(cls: typing.Type[UICommand]) -> UICommand: ...
77
+ @_property
78
+ def label(self) -> str: ...
79
+ @label.setter
80
+ def label(self, value: str) -> None: ...
81
+ @_property
82
+ def invoked(self) -> typing.Optional[UICommandInvokedHandler]: ...
83
+ @invoked.setter
84
+ def invoked(self, value: typing.Optional[UICommandInvokedHandler]) -> None: ...
85
+ @_property
86
+ def id(self) -> typing.Optional[winrt.system.Object]: ...
87
+ @id.setter
88
+ def id(self, value: typing.Optional[winrt.system.Object]) -> None: ...
89
+
90
+ @typing.final
91
+ class UICommandSeparator(winrt.system.Object):
92
+ @staticmethod
93
+ def _from(obj: winrt.system.Object, /) -> UICommandSeparator: ...
94
+ def __new__(cls: typing.Type[UICommandSeparator]) -> UICommandSeparator: ...
95
+ @_property
96
+ def label(self) -> str: ...
97
+ @label.setter
98
+ def label(self, value: str) -> None: ...
99
+ @_property
100
+ def invoked(self) -> typing.Optional[UICommandInvokedHandler]: ...
101
+ @invoked.setter
102
+ def invoked(self, value: typing.Optional[UICommandInvokedHandler]) -> None: ...
103
+ @_property
104
+ def id(self) -> typing.Optional[winrt.system.Object]: ...
105
+ @id.setter
106
+ def id(self, value: typing.Optional[winrt.system.Object]) -> None: ...
107
+
108
+ @typing.final
109
+ class IUICommand(winrt.system.Object):
110
+ @staticmethod
111
+ def _from(obj: winrt.system.Object, /) -> IUICommand: ...
112
+ @_property
113
+ def id(self) -> typing.Optional[winrt.system.Object]: ...
114
+ @id.setter
115
+ def id(self, value: typing.Optional[winrt.system.Object]) -> None: ...
116
+ @_property
117
+ def invoked(self) -> typing.Optional[UICommandInvokedHandler]: ...
118
+ @invoked.setter
119
+ def invoked(self, value: typing.Optional[UICommandInvokedHandler]) -> None: ...
120
+ @_property
121
+ def label(self) -> str: ...
122
+ @label.setter
123
+ def label(self, value: str) -> None: ...
124
+
@@ -0,0 +1,37 @@
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_popups
9
+
10
+ __all__ = [
11
+ "MessageDialogOptions",
12
+ "Placement",
13
+ "MessageDialog",
14
+ "PopupMenu",
15
+ "UICommand",
16
+ "UICommandSeparator",
17
+ "IUICommand",
18
+ "UICommandInvokedHandler",
19
+ ]
20
+
21
+ class MessageDialogOptions(enum.IntFlag):
22
+ NONE = 0x0
23
+ ACCEPT_USER_INPUT_AFTER_DELAY = 0x1
24
+
25
+ class Placement(enum.IntEnum):
26
+ DEFAULT = 0
27
+ ABOVE = 1
28
+ BELOW = 2
29
+ LEFT = 3
30
+ RIGHT = 4
31
+
32
+ MessageDialog = _winrt_windows_ui_popups.MessageDialog
33
+ PopupMenu = _winrt_windows_ui_popups.PopupMenu
34
+ UICommand = _winrt_windows_ui_popups.UICommand
35
+ UICommandSeparator = _winrt_windows_ui_popups.UICommandSeparator
36
+ IUICommand = _winrt_windows_ui_popups.IUICommand
37
+ UICommandInvokedHandler = typing.Callable[[typing.Optional[IUICommand]], None]
File without changes
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.1
2
+ Name: winrt-Windows.UI.Popups
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
+
20
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
21
+
22
+ # winrt-Windows.UI.Popups
23
+
24
+ Windows Runtime (WinRT) APIs for for the `Windows.UI.Popups` namespace.
25
+
26
+ This package provides the `winrt.windows.ui.popups` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_ui_popups.cp313-win_amd64.pyd,sha256=yJt-WT49Ll7l23-DWFyZkm65zeiFAoELdmWxV03f3tw,118784
2
+ winrt/_winrt_windows_ui_popups.pyi,sha256=xDWtArjinJVhSA2W9fACRpVmVl4FEKvs-8AU3CEdmJw,5040
3
+ winrt/windows/ui/popups/__init__.py,sha256=bAcYay8AT5PXHc4n88MXInv9EjmKlw2iTXo3KCe_UeM,926
4
+ winrt/windows/ui/popups/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_Windows.UI.Popups-2.2.0.dist-info/METADATA,sha256=568DSHP6kJuzs9HIWsXi5azvLl1uAFFk-I0ImerZzy8,1102
6
+ winrt_Windows.UI.Popups-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
7
+ winrt_Windows.UI.Popups-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_Windows.UI.Popups-2.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (73.0.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win_amd64
5
+