winrt-Windows.ApplicationModel.Preview.Notes 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.
@@ -0,0 +1,16 @@
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
+ "NotePlacementChangedPreviewEventArgs",
10
+ "NoteVisibilityChangedPreviewEventArgs",
11
+ "NotesWindowManagerPreview",
12
+ "NotesWindowManagerPreviewShowNoteOptions",
13
+ ]
14
+
15
+ winrt.runtime._internals.alias_method(NotesWindowManagerPreview, "show_note_relative_to_with_options", "show_note_relative_to")
16
+ winrt.runtime._internals.alias_method(NotesWindowManagerPreview, "show_note_with_placement_with_options", "show_note_with_placement")
@@ -0,0 +1,108 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import typing
4
+ from builtins import property as _property
5
+ from typing_extensions import deprecated
6
+
7
+ import winrt.system
8
+ import winrt.windows.foundation as windows_foundation
9
+ import winrt.windows.graphics.imaging as windows_graphics_imaging
10
+ import winrt.windows.storage.streams as windows_storage_streams
11
+
12
+ __all__ = [
13
+ "NotePlacementChangedPreviewEventArgs",
14
+ "NoteVisibilityChangedPreviewEventArgs",
15
+ "NotesWindowManagerPreview",
16
+ "NotesWindowManagerPreviewShowNoteOptions",
17
+ ]
18
+
19
+ @typing.final
20
+ class NotePlacementChangedPreviewEventArgs(winrt.system.Object):
21
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
22
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
23
+ # System.Int32 Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs::get_ViewId()
24
+ @_property
25
+ def view_id(self) -> winrt.system.Int32: ...
26
+
27
+ @typing.final
28
+ class NoteVisibilityChangedPreviewEventArgs(winrt.system.Object):
29
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
30
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
31
+ # System.Boolean Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs::get_IsVisible()
32
+ @_property
33
+ def is_visible(self) -> bool: ...
34
+ # System.Int32 Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs::get_ViewId()
35
+ @_property
36
+ def view_id(self) -> winrt.system.Int32: ...
37
+
38
+ @typing.final
39
+ class NotesWindowManagerPreview_Static(winrt.system.Object_Static):
40
+ # Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::GetForCurrentApp()
41
+ def get_for_current_app(cls) -> NotesWindowManagerPreview: ...
42
+
43
+ @typing.final
44
+ class NotesWindowManagerPreview(winrt.system.Object, metaclass=NotesWindowManagerPreview_Static):
45
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
46
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
47
+ # Windows.Storage.Streams.IBuffer Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::GetNotePlacement(System.Int32)
48
+ def get_note_placement(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_storage_streams.IBuffer: ...
49
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::HideNote(System.Int32)
50
+ def hide_note(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> None: ...
51
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetFocusToNextView()
52
+ def set_focus_to_next_view(self) -> None: ...
53
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetFocusToPreviousView()
54
+ def set_focus_to_previous_view(self) -> None: ...
55
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetNotesThumbnailAsync(Windows.Storage.Streams.IBuffer)
56
+ def set_notes_thumbnail_async(self, thumbnail: winrt.system.ReadableBuffer, /) -> windows_foundation.IAsyncAction: ...
57
+ # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetThumbnailImageForTaskSwitcherAsync(Windows.Graphics.Imaging.SoftwareBitmap)
58
+ def set_thumbnail_image_for_task_switcher_async(self, bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> windows_foundation.IAsyncAction: ...
59
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNote(System.Int32)
60
+ def show_note(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> None: ...
61
+ @typing.overload
62
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteRelativeTo(System.Int32,System.Int32)
63
+ def show_note_relative_to(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_note_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> None: ...
64
+ @typing.overload
65
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteRelativeTo(System.Int32,System.Int32,Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions)
66
+ def show_note_relative_to(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_note_view_id: winrt.system.Int32 | typing.SupportsIndex, options: NotesWindowManagerPreviewShowNoteOptions, /) -> None: ...
67
+ # Deprecated alias of show_note_relative_to() for pywinrt v3.x compatibility.
68
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteRelativeTo(System.Int32,System.Int32,Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions)
69
+ @deprecated("Use show_note_relative_to() instead.")
70
+ def show_note_relative_to_with_options(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, anchor_note_view_id: winrt.system.Int32 | typing.SupportsIndex, options: NotesWindowManagerPreviewShowNoteOptions, /) -> None: ...
71
+ @typing.overload
72
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteWithPlacement(System.Int32,Windows.Storage.Streams.IBuffer)
73
+ def show_note_with_placement(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, data: winrt.system.ReadableBuffer, /) -> None: ...
74
+ @typing.overload
75
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteWithPlacement(System.Int32,Windows.Storage.Streams.IBuffer,Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions)
76
+ def show_note_with_placement(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, data: winrt.system.ReadableBuffer, options: NotesWindowManagerPreviewShowNoteOptions, /) -> None: ...
77
+ # Deprecated alias of show_note_with_placement() for pywinrt v3.x compatibility.
78
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteWithPlacement(System.Int32,Windows.Storage.Streams.IBuffer,Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions)
79
+ @deprecated("Use show_note_with_placement() instead.")
80
+ def show_note_with_placement_with_options(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, data: winrt.system.ReadableBuffer, options: NotesWindowManagerPreviewShowNoteOptions, /) -> None: ...
81
+ # System.Boolean Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::TrySetNoteSize(System.Int32,Windows.Foundation.Size)
82
+ def try_set_note_size(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, size: windows_foundation.Size | tuple[winrt.system.Single, winrt.system.Single], /) -> bool: ...
83
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::add_NotePlacementChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs>)
84
+ def add_note_placement_changed(self, handler: windows_foundation.TypedEventHandler[NotesWindowManagerPreview, NotePlacementChangedPreviewEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
85
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::remove_NotePlacementChanged(Windows.Foundation.EventRegistrationToken)
86
+ def remove_note_placement_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
87
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::add_NoteVisibilityChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs>)
88
+ def add_note_visibility_changed(self, handler: windows_foundation.TypedEventHandler[NotesWindowManagerPreview, NoteVisibilityChangedPreviewEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
89
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::remove_NoteVisibilityChanged(Windows.Foundation.EventRegistrationToken)
90
+ def remove_note_visibility_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
91
+ # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::add_SystemLockStateChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,System.Object>)
92
+ def add_system_lock_state_changed(self, handler: windows_foundation.TypedEventHandler[NotesWindowManagerPreview, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
93
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::remove_SystemLockStateChanged(Windows.Foundation.EventRegistrationToken)
94
+ def remove_system_lock_state_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
95
+ # System.Boolean Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::get_IsScreenLocked()
96
+ @_property
97
+ def is_screen_locked(self) -> bool: ...
98
+
99
+ @typing.final
100
+ class NotesWindowManagerPreviewShowNoteOptions(winrt.system.Object):
101
+ def __new__(cls) -> typing.Self: ...
102
+ # System.Boolean Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions::get_ShowWithFocus()
103
+ @_property
104
+ def show_with_focus(self) -> bool: ...
105
+ # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions::put_ShowWithFocus(System.Boolean)
106
+ @show_with_focus.setter
107
+ def show_with_focus(self, value: bool) -> None: ...
108
+
File without changes
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.ApplicationModel.Preview.Notes
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.ApplicationModel.Preview.Notes 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
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
25
+ Provides-Extra: all
26
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
27
+ Requires-Dist: winrt-windows-graphics-imaging[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Description-Content-Type: text/markdown
30
+
31
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
32
+
33
+ # winrt-Windows.ApplicationModel.Preview.Notes
34
+
35
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Preview.Notes` namespace.
36
+
37
+ This package provides the `winrt.windows.applicationmodel.preview.notes` module.
38
+
39
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
40
+ `Microsoft.Windows.SDK.CPP` NuGet package.
41
+
42
+ ```
43
+ pip install winrt-Windows.ApplicationModel.Preview.Notes
44
+ ```
45
+
46
+ Other WinRT namespaces are packages of their own, so install the package of
47
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/applicationmodel/preview/notes/__init__.py,sha256=4TD0mgTR9FsaUavUYruv1HndWKgfRN3VFEK-uqI1Kr0,626
2
+ winrt/windows/applicationmodel/preview/notes/__init__.pyi,sha256=IRqH7uMfhzLRe486IHGasDgEYkxOdyOHVdW5cLxPE28,9834
3
+ winrt/windows/applicationmodel/preview/notes/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/applicationmodel/preview/notes/_table.pywinrt,sha256=U6RMM_mXUVANTH0fZRW5-GzYWTb4p6FkVb7wY3ao7Xw,7856
5
+ winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705.dist-info/METADATA,sha256=nTKWIvUxE9GTa6XfxcR7_ZOjdvfFs0j-nLwFE_x-v2Q,2109
6
+ winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -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