winrt-Windows.ApplicationModel.Preview.Notes 3.2.0__tar.gz → 4!10.0.28000.2705__tar.gz

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.
Files changed (24) hide show
  1. winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/PKG-INFO +47 -0
  4. winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/pyproject.toml +59 -0
  6. winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/winrt/windows/applicationmodel/preview/notes/__init__.py +16 -0
  7. winrt_windows_applicationmodel_preview_notes-3.2.0/winrt/_winrt_windows_applicationmodel_preview_notes.pyi → winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/winrt/windows/applicationmodel/preview/notes/__init__.pyi +40 -21
  8. winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705/winrt/windows/applicationmodel/preview/notes/_table.pywinrt.txt +191 -0
  9. winrt_windows_applicationmodel_preview_notes-3.2.0/PKG-INFO +0 -27
  10. winrt_windows_applicationmodel_preview_notes-3.2.0/README.md +0 -7
  11. winrt_windows_applicationmodel_preview_notes-3.2.0/all-requirements.txt +0 -5
  12. winrt_windows_applicationmodel_preview_notes-3.2.0/py.Windows.ApplicationModel.Preview.Notes.cpp +0 -1354
  13. winrt_windows_applicationmodel_preview_notes-3.2.0/pyproject.toml +0 -47
  14. winrt_windows_applicationmodel_preview_notes-3.2.0/pywinrt-version.txt +0 -1
  15. winrt_windows_applicationmodel_preview_notes-3.2.0/requirements.txt +0 -3
  16. winrt_windows_applicationmodel_preview_notes-3.2.0/setup.cfg +0 -4
  17. winrt_windows_applicationmodel_preview_notes-3.2.0/setup.py +0 -33
  18. winrt_windows_applicationmodel_preview_notes-3.2.0/winrt/windows/applicationmodel/preview/notes/__init__.py +0 -17
  19. winrt_windows_applicationmodel_preview_notes-3.2.0/winrt_Windows.ApplicationModel.Preview.Notes.egg-info/PKG-INFO +0 -27
  20. winrt_windows_applicationmodel_preview_notes-3.2.0/winrt_Windows.ApplicationModel.Preview.Notes.egg-info/SOURCES.txt +0 -15
  21. winrt_windows_applicationmodel_preview_notes-3.2.0/winrt_Windows.ApplicationModel.Preview.Notes.egg-info/dependency_links.txt +0 -1
  22. winrt_windows_applicationmodel_preview_notes-3.2.0/winrt_Windows.ApplicationModel.Preview.Notes.egg-info/requires.txt +0 -6
  23. winrt_windows_applicationmodel_preview_notes-3.2.0/winrt_Windows.ApplicationModel.Preview.Notes.egg-info/top_level.txt +0 -1
  24. {winrt_windows_applicationmodel_preview_notes-3.2.0 → winrt_windows_applicationmodel_preview_notes-4!10.0.28000.2705}/winrt/windows/applicationmodel/preview/notes/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -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
@@ -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,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.ApplicationModel.Preview.Notes
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.ApplicationModel.Preview.Notes` namespace.
6
+
7
+ This package provides the `winrt.windows.applicationmodel.preview.notes` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.ApplicationModel.Preview.Notes
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,59 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.ApplicationModel.Preview.Notes"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.ApplicationModel.Preview.Notes namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2705",
31
+ "winrt-Windows.Storage.Streams>=4!10.0.28000.2705",
32
+ ]
33
+
34
+ [project.optional-dependencies]
35
+ all = [
36
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
37
+ "winrt-Windows.Graphics.Imaging[all]>=4!10.0.28000.2705",
38
+ "winrt-Windows.Storage.Streams[all]>=4!10.0.28000.2705",
39
+ ]
40
+
41
+ [project.urls]
42
+ Documentation = "https://pywinrt.readthedocs.io"
43
+ Repository = "https://github.com/pywinrt/pywinrt"
44
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
45
+
46
+ [tool.hatch.build.targets.sdist]
47
+ # The text form of the table is what the source distribution carries, and the
48
+ # compiled form is build output wherever it turns up. Hatchling reads no
49
+ # .gitignore above the package, so it has to be told about the latter.
50
+ only-include = ["winrt", "LICENSE", "README.md"]
51
+ exclude = ["**/_table.pywinrt"]
52
+
53
+ [tool.hatch.build.targets.wheel]
54
+ packages = ["winrt"]
55
+ exclude = ["**/_table.pywinrt.txt"]
56
+
57
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
58
+ # the package carries and puts the result beside the __init__.py that loads it.
59
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -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")
@@ -1,28 +1,33 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
- import datetime
4
- import sys
5
- import types
6
3
  import typing
7
- import uuid as _uuid
8
4
  from builtins import property as _property
5
+ from typing_extensions import deprecated
9
6
 
10
- import winrt._winrt
11
7
  import winrt.system
12
8
  import winrt.windows.foundation as windows_foundation
13
9
  import winrt.windows.graphics.imaging as windows_graphics_imaging
14
10
  import winrt.windows.storage.streams as windows_storage_streams
15
11
 
16
- Self = typing.TypeVar('Self')
12
+ __all__ = [
13
+ "NotePlacementChangedPreviewEventArgs",
14
+ "NoteVisibilityChangedPreviewEventArgs",
15
+ "NotesWindowManagerPreview",
16
+ "NotesWindowManagerPreviewShowNoteOptions",
17
+ ]
17
18
 
18
19
  @typing.final
19
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."""
20
23
  # System.Int32 Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs::get_ViewId()
21
24
  @_property
22
25
  def view_id(self) -> winrt.system.Int32: ...
23
26
 
24
27
  @typing.final
25
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."""
26
31
  # System.Boolean Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs::get_IsVisible()
27
32
  @_property
28
33
  def is_visible(self) -> bool: ...
@@ -31,55 +36,69 @@ class NoteVisibilityChangedPreviewEventArgs(winrt.system.Object):
31
36
  def view_id(self) -> winrt.system.Int32: ...
32
37
 
33
38
  @typing.final
34
- class NotesWindowManagerPreview_Static(winrt._winrt.IInspectable_Static):
39
+ class NotesWindowManagerPreview_Static(winrt.system.Object_Static):
35
40
  # Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::GetForCurrentApp()
36
41
  def get_for_current_app(cls) -> NotesWindowManagerPreview: ...
37
42
 
38
43
  @typing.final
39
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."""
40
47
  # Windows.Storage.Streams.IBuffer Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::GetNotePlacement(System.Int32)
41
- def get_note_placement(self, note_view_id: winrt.system.Int32, /) -> winrt.system.Buffer: ...
48
+ def get_note_placement(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> windows_storage_streams.IBuffer: ...
42
49
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::HideNote(System.Int32)
43
- def hide_note(self, note_view_id: winrt.system.Int32, /) -> None: ...
50
+ def hide_note(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> None: ...
44
51
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetFocusToNextView()
45
52
  def set_focus_to_next_view(self) -> None: ...
46
53
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetFocusToPreviousView()
47
54
  def set_focus_to_previous_view(self) -> None: ...
48
55
  # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetNotesThumbnailAsync(Windows.Storage.Streams.IBuffer)
49
- def set_notes_thumbnail_async(self, thumbnail: winrt.system.Buffer, /) -> windows_foundation.IAsyncAction: ...
56
+ def set_notes_thumbnail_async(self, thumbnail: winrt.system.ReadableBuffer, /) -> windows_foundation.IAsyncAction: ...
50
57
  # Windows.Foundation.IAsyncAction Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::SetThumbnailImageForTaskSwitcherAsync(Windows.Graphics.Imaging.SoftwareBitmap)
51
58
  def set_thumbnail_image_for_task_switcher_async(self, bitmap: windows_graphics_imaging.SoftwareBitmap, /) -> windows_foundation.IAsyncAction: ...
52
59
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNote(System.Int32)
53
- def show_note(self, note_view_id: winrt.system.Int32, /) -> None: ...
60
+ def show_note(self, note_view_id: winrt.system.Int32 | typing.SupportsIndex, /) -> None: ...
61
+ @typing.overload
54
62
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteRelativeTo(System.Int32,System.Int32)
55
- def show_note_relative_to(self, note_view_id: winrt.system.Int32, anchor_note_view_id: winrt.system.Int32, /) -> None: ...
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
56
65
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteRelativeTo(System.Int32,System.Int32,Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions)
57
- def show_note_relative_to_with_options(self, note_view_id: winrt.system.Int32, anchor_note_view_id: winrt.system.Int32, options: NotesWindowManagerPreviewShowNoteOptions, /) -> None: ...
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
58
72
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteWithPlacement(System.Int32,Windows.Storage.Streams.IBuffer)
59
- def show_note_with_placement(self, note_view_id: winrt.system.Int32, data: winrt.system.Buffer, /) -> None: ...
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.
60
78
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::ShowNoteWithPlacement(System.Int32,Windows.Storage.Streams.IBuffer,Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions)
61
- def show_note_with_placement_with_options(self, note_view_id: winrt.system.Int32, data: winrt.system.Buffer, options: NotesWindowManagerPreviewShowNoteOptions, /) -> None: ...
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: ...
62
81
  # System.Boolean Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::TrySetNoteSize(System.Int32,Windows.Foundation.Size)
63
- def try_set_note_size(self, note_view_id: winrt.system.Int32, size: typing.Union[windows_foundation.Size, typing.Tuple[winrt.system.Single, winrt.system.Single]], /) -> bool: ...
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: ...
64
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>)
65
84
  def add_note_placement_changed(self, handler: windows_foundation.TypedEventHandler[NotesWindowManagerPreview, NotePlacementChangedPreviewEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
66
85
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::remove_NotePlacementChanged(Windows.Foundation.EventRegistrationToken)
67
- def remove_note_placement_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
86
+ def remove_note_placement_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
68
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>)
69
88
  def add_note_visibility_changed(self, handler: windows_foundation.TypedEventHandler[NotesWindowManagerPreview, NoteVisibilityChangedPreviewEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
70
89
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::remove_NoteVisibilityChanged(Windows.Foundation.EventRegistrationToken)
71
- def remove_note_visibility_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
90
+ def remove_note_visibility_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
72
91
  # Windows.Foundation.EventRegistrationToken Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::add_SystemLockStateChanged(Windows.Foundation.TypedEventHandler`2<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,System.Object>)
73
92
  def add_system_lock_state_changed(self, handler: windows_foundation.TypedEventHandler[NotesWindowManagerPreview, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
74
93
  # System.Void Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::remove_SystemLockStateChanged(Windows.Foundation.EventRegistrationToken)
75
- def remove_system_lock_state_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
94
+ def remove_system_lock_state_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
76
95
  # System.Boolean Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview::get_IsScreenLocked()
77
96
  @_property
78
97
  def is_screen_locked(self) -> bool: ...
79
98
 
80
99
  @typing.final
81
100
  class NotesWindowManagerPreviewShowNoteOptions(winrt.system.Object):
82
- def __new__(cls: typing.Type[Self]) -> Self: ...
101
+ def __new__(cls) -> typing.Self: ...
83
102
  # System.Boolean Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions::get_ShowWithFocus()
84
103
  @_property
85
104
  def show_with_focus(self) -> bool: ...
@@ -0,0 +1,191 @@
1
+ format 4.0
2
+ census 2e30db26-66c8-4551-85b9-a537376d8f99 1
3
+ namespace Windows.ApplicationModel.Preview.Notes
4
+
5
+ interface Windows.ApplicationModel.Preview.Notes.INotePlacementChangedPreviewEventArgs
6
+ guid 491d57b7-f780-4e7f-a939-9a4caf965214
7
+
8
+ interface Windows.ApplicationModel.Preview.Notes.INoteVisibilityChangedPreviewEventArgs
9
+ guid 0e34649e-3815-4ff6-83b3-a14d17120e24
10
+
11
+ interface Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview
12
+ guid dc2ac23e-4850-4f13-9cc7-ff487efdfcde
13
+
14
+ interface Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview2
15
+ guid edfe864a-1f54-4b09-9823-ff477f6fa3bc
16
+
17
+ interface Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewShowNoteOptions
18
+ guid 886b09d6-a6ae-4007-a56d-1ca70c84c0d2
19
+
20
+ interface Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewStatics
21
+ guid 6668cc88-0a8e-4127-a38e-995445868a78
22
+
23
+ class Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs python_type
24
+ py NotePlacementChangedPreviewEventArgs
25
+ signature rc(Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs;{491d57b7-f780-4e7f-a939-9a4caf965214})
26
+ default Windows.ApplicationModel.Preview.Notes.INotePlacementChangedPreviewEventArgs
27
+ requires Windows.ApplicationModel.Preview.Notes.INotePlacementChangedPreviewEventArgs
28
+ property view_id
29
+ get get_ViewId slot=6 inputs=0 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotePlacementChangedPreviewEventArgs shape=4
30
+ out int32 return
31
+
32
+ class Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs python_type
33
+ py NoteVisibilityChangedPreviewEventArgs
34
+ signature rc(Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs;{0e34649e-3815-4ff6-83b3-a14d17120e24})
35
+ default Windows.ApplicationModel.Preview.Notes.INoteVisibilityChangedPreviewEventArgs
36
+ requires Windows.ApplicationModel.Preview.Notes.INoteVisibilityChangedPreviewEventArgs
37
+ property is_visible
38
+ get get_IsVisible slot=7 inputs=0 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INoteVisibilityChangedPreviewEventArgs shape=4
39
+ out boolean return
40
+ property view_id
41
+ get get_ViewId slot=6 inputs=0 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INoteVisibilityChangedPreviewEventArgs shape=4
42
+ out int32 return
43
+
44
+ class Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview python_type
45
+ py NotesWindowManagerPreview
46
+ signature rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview;{dc2ac23e-4850-4f13-9cc7-ff487efdfcde})
47
+ default Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview
48
+ requires Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview
49
+ requires Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview2
50
+ factory Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewStatics
51
+ property is_screen_locked
52
+ get get_IsScreenLocked slot=6 inputs=0 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=4
53
+ out boolean return
54
+ event note_placement_changed
55
+ add add_NotePlacementChanged slot=17 inputs=1 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=51
56
+ in delegate type=Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs> name=handler
57
+ out event_token type=Windows.Foundation.EventRegistrationToken return
58
+ remove remove_NotePlacementChanged slot=18 inputs=1 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=26
59
+ in event_token type=Windows.Foundation.EventRegistrationToken name=token
60
+ event note_visibility_changed
61
+ add add_NoteVisibilityChanged slot=19 inputs=1 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=51
62
+ in delegate type=Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs> name=handler
63
+ out event_token type=Windows.Foundation.EventRegistrationToken return
64
+ remove remove_NoteVisibilityChanged slot=20 inputs=1 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=26
65
+ in event_token type=Windows.Foundation.EventRegistrationToken name=token
66
+ event system_lock_state_changed
67
+ add add_SystemLockStateChanged slot=15 inputs=1 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=51
68
+ in delegate type=Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,System.Object> name=handler
69
+ out event_token type=Windows.Foundation.EventRegistrationToken return
70
+ remove remove_SystemLockStateChanged slot=16 inputs=1 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=26
71
+ in event_token type=Windows.Foundation.EventRegistrationToken name=token
72
+ method get_for_current_app static
73
+ method GetForCurrentApp slot=6 inputs=0 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewStatics shape=4 static
74
+ out class type=Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview return
75
+ method get_note_placement
76
+ method GetNotePlacement slot=11 inputs=1 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=51
77
+ in int32 name=noteViewId
78
+ out interface type=Windows.Storage.Streams.IBuffer return
79
+ method hide_note
80
+ method HideNote slot=10 inputs=1 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=4
81
+ in int32 name=noteViewId
82
+ method set_focus_to_next_view
83
+ method SetFocusToNextView slot=13 inputs=0 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=0
84
+ method set_focus_to_previous_view
85
+ method SetFocusToPreviousView slot=8 inputs=0 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview2 shape=0
86
+ method set_notes_thumbnail_async
87
+ method SetNotesThumbnailAsync slot=14 inputs=1 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=51
88
+ in interface type=Windows.Storage.Streams.IBuffer name=thumbnail
89
+ out interface type=Windows.Foundation.IAsyncAction return
90
+ method set_thumbnail_image_for_task_switcher_async
91
+ method SetThumbnailImageForTaskSwitcherAsync slot=9 inputs=1 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview2 shape=51
92
+ in class type=Windows.Graphics.Imaging.SoftwareBitmap name=bitmap
93
+ out interface type=Windows.Foundation.IAsyncAction return
94
+ method show_note
95
+ method ShowNote slot=7 inputs=1 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=4
96
+ in int32 name=noteViewId
97
+ method show_note_relative_to
98
+ method ShowNoteRelativeTo slot=8 inputs=2 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=51
99
+ in int32 name=noteViewId
100
+ in int32 name=anchorNoteViewId
101
+ method ShowNoteRelativeTo slot=6 inputs=3 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview2 shape=117
102
+ in int32 name=noteViewId
103
+ in int32 name=anchorNoteViewId
104
+ in class type=Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions name=options
105
+ method show_note_with_placement
106
+ method ShowNoteWithPlacement slot=9 inputs=2 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=51
107
+ in int32 name=noteViewId
108
+ in interface type=Windows.Storage.Streams.IBuffer name=data
109
+ method ShowNoteWithPlacement slot=7 inputs=3 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview2 shape=117
110
+ in int32 name=noteViewId
111
+ in interface type=Windows.Storage.Streams.IBuffer name=data
112
+ in class type=Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions name=options
113
+ method try_set_note_size
114
+ method TrySetNoteSize slot=12 inputs=2 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreview shape=134
115
+ in int32 name=noteViewId
116
+ in struct type=Windows.Foundation.Size name=size
117
+ out boolean return
118
+
119
+ class Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions activatable python_type
120
+ py NotesWindowManagerPreviewShowNoteOptions
121
+ signature rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreviewShowNoteOptions;{886b09d6-a6ae-4007-a56d-1ca70c84c0d2})
122
+ default Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewShowNoteOptions
123
+ requires Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewShowNoteOptions
124
+ constructor -
125
+ ctor .ctor slot=6 inputs=0 outputs=1 shape=4
126
+ out object return
127
+ property show_with_focus
128
+ get get_ShowWithFocus slot=6 inputs=0 outputs=1 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewShowNoteOptions shape=4
129
+ out boolean return
130
+ put put_ShowWithFocus slot=7 inputs=1 outputs=0 declaring=Windows.ApplicationModel.Preview.Notes.INotesWindowManagerPreviewShowNoteOptions shape=4
131
+ in boolean name=value
132
+
133
+ delegate Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,System.Object> concrete
134
+ py winrt.windows.foundation.TypedEventHandler[NotesWindowManagerPreview, Object]
135
+ guid 6f2755fb-6c33-543c-9ab4-de486bc7bfe2
136
+ signature pinterface({9de1c534-6ae1-11e0-84e1-18a905bcc53f};rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview;{dc2ac23e-4850-4f13-9cc7-ff487efdfcde});cinterface(IInspectable))
137
+ base Windows.Foundation.TypedEventHandler
138
+ argument Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview
139
+ argument System.Object
140
+ method -
141
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
142
+ in class type=Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview name=sender
143
+ in object name=args
144
+
145
+ delegate Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs> concrete
146
+ py winrt.windows.foundation.TypedEventHandler[NotesWindowManagerPreview, NotePlacementChangedPreviewEventArgs]
147
+ guid a28af2c7-4012-5999-a322-5236b30d995f
148
+ signature pinterface({9de1c534-6ae1-11e0-84e1-18a905bcc53f};rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview;{dc2ac23e-4850-4f13-9cc7-ff487efdfcde});rc(Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs;{491d57b7-f780-4e7f-a939-9a4caf965214}))
149
+ base Windows.Foundation.TypedEventHandler
150
+ argument Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview
151
+ argument Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs
152
+ method -
153
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
154
+ in class type=Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview name=sender
155
+ in class type=Windows.ApplicationModel.Preview.Notes.NotePlacementChangedPreviewEventArgs name=args
156
+
157
+ delegate Windows.Foundation.TypedEventHandler<Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview,Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs> concrete
158
+ py winrt.windows.foundation.TypedEventHandler[NotesWindowManagerPreview, NoteVisibilityChangedPreviewEventArgs]
159
+ guid 16d825c8-5271-51c8-a00f-0cfb1b029ab6
160
+ signature pinterface({9de1c534-6ae1-11e0-84e1-18a905bcc53f};rc(Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview;{dc2ac23e-4850-4f13-9cc7-ff487efdfcde});rc(Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs;{0e34649e-3815-4ff6-83b3-a14d17120e24}))
161
+ base Windows.Foundation.TypedEventHandler
162
+ argument Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview
163
+ argument Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs
164
+ method -
165
+ method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
166
+ in class type=Windows.ApplicationModel.Preview.Notes.NotesWindowManagerPreview name=sender
167
+ in class type=Windows.ApplicationModel.Preview.Notes.NoteVisibilityChangedPreviewEventArgs name=args
168
+
169
+ class System.Object external
170
+ py winrt.system.Object
171
+
172
+ struct Windows.Foundation.EventRegistrationToken external
173
+ py winrt.windows.foundation.EventRegistrationToken
174
+
175
+ interface Windows.Foundation.IAsyncAction external
176
+ py winrt.windows.foundation._IAsyncAction
177
+ guid 5a648006-843a-4da9-865b-9d26e5dfad7b
178
+
179
+ struct Windows.Foundation.Size external
180
+ py winrt.windows.foundation.Size
181
+
182
+ delegate Windows.Foundation.TypedEventHandler external parameterized
183
+ py winrt.windows.foundation.TypedEventHandler
184
+ guid 9de1c534-6ae1-11e0-84e1-18a905bcc53f
185
+
186
+ class Windows.Graphics.Imaging.SoftwareBitmap external
187
+ py winrt.windows.graphics.imaging.SoftwareBitmap
188
+
189
+ interface Windows.Storage.Streams.IBuffer external
190
+ py winrt.windows.storage.streams._IBuffer
191
+ guid 905a0fe0-bc53-11df-8c49-001e4fc686da
@@ -1,27 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: winrt-Windows.ApplicationModel.Preview.Notes
3
- Version: 3.2.0
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.0
16
- Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==3.2.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Graphics.Imaging[all]==3.2.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Storage.Streams[all]==3.2.0; extra == "all"
20
-
21
- <!-- warning: Please don't edit this file. It was automatically generated. -->
22
-
23
- # winrt-Windows.ApplicationModel.Preview.Notes
24
-
25
- Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Preview.Notes` namespace.
26
-
27
- This package provides the `winrt.windows.applicationmodel.preview.notes` module.
@@ -1,7 +0,0 @@
1
- <!-- warning: Please don't edit this file. It was automatically generated. -->
2
-
3
- # winrt-Windows.ApplicationModel.Preview.Notes
4
-
5
- Windows Runtime (WinRT) APIs for for the `Windows.ApplicationModel.Preview.Notes` namespace.
6
-
7
- This package provides the `winrt.windows.applicationmodel.preview.notes` module.
@@ -1,5 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.0
2
-
3
- winrt-Windows.Foundation[all]==3.2.0
4
- winrt-Windows.Graphics.Imaging[all]==3.2.0
5
- winrt-Windows.Storage.Streams[all]==3.2.0