winrt-Windows.UI.Xaml.Navigation 3.2.1__cp314-cp314-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_xaml_navigation.cp314-win_amd64.pyd +0 -0
- winrt/_winrt_windows_ui_xaml_navigation.pyi +120 -0
- winrt/windows/ui/xaml/navigation/__init__.py +51 -0
- winrt/windows/ui/xaml/navigation/py.typed +0 -0
- winrt_windows_ui_xaml_navigation-3.2.1.dist-info/METADATA +29 -0
- winrt_windows_ui_xaml_navigation-3.2.1.dist-info/RECORD +8 -0
- winrt_windows_ui_xaml_navigation-3.2.1.dist-info/WHEEL +5 -0
- winrt_windows_ui_xaml_navigation-3.2.1.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,120 @@
|
|
|
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.ui.xaml as windows_ui_xaml
|
|
14
|
+
import winrt.windows.ui.xaml.interop as windows_ui_xaml_interop
|
|
15
|
+
import winrt.windows.ui.xaml.media.animation as windows_ui_xaml_media_animation
|
|
16
|
+
|
|
17
|
+
from winrt.windows.ui.xaml.navigation import NavigationCacheMode, NavigationMode
|
|
18
|
+
from winrt.windows.ui.xaml.navigation import LoadCompletedEventHandler, NavigatedEventHandler, NavigatingCancelEventHandler, NavigationFailedEventHandler, NavigationStoppedEventHandler
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
class FrameNavigationOptions_Static(winrt._winrt.IInspectable_Static):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
class FrameNavigationOptions(winrt.system.Object, metaclass=FrameNavigationOptions_Static):
|
|
26
|
+
def __new__(cls: typing.Type[Self]) -> Self: ...
|
|
27
|
+
# Windows.UI.Xaml.Media.Animation.NavigationTransitionInfo Windows.UI.Xaml.Navigation.FrameNavigationOptions::get_TransitionInfoOverride()
|
|
28
|
+
@_property
|
|
29
|
+
def transition_info_override(self) -> windows_ui_xaml_media_animation.NavigationTransitionInfo: ...
|
|
30
|
+
# System.Void Windows.UI.Xaml.Navigation.FrameNavigationOptions::put_TransitionInfoOverride(Windows.UI.Xaml.Media.Animation.NavigationTransitionInfo)
|
|
31
|
+
@transition_info_override.setter
|
|
32
|
+
@typing.final
|
|
33
|
+
def transition_info_override(self, value: windows_ui_xaml_media_animation.NavigationTransitionInfo) -> None: ...
|
|
34
|
+
# System.Boolean Windows.UI.Xaml.Navigation.FrameNavigationOptions::get_IsNavigationStackEnabled()
|
|
35
|
+
@_property
|
|
36
|
+
def is_navigation_stack_enabled(self) -> bool: ...
|
|
37
|
+
# System.Void Windows.UI.Xaml.Navigation.FrameNavigationOptions::put_IsNavigationStackEnabled(System.Boolean)
|
|
38
|
+
@is_navigation_stack_enabled.setter
|
|
39
|
+
@typing.final
|
|
40
|
+
def is_navigation_stack_enabled(self, value: bool) -> None: ...
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class NavigatingCancelEventArgs(winrt.system.Object):
|
|
44
|
+
# System.Boolean Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs::get_Cancel()
|
|
45
|
+
@_property
|
|
46
|
+
def cancel(self) -> bool: ...
|
|
47
|
+
# System.Void Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs::put_Cancel(System.Boolean)
|
|
48
|
+
@cancel.setter
|
|
49
|
+
def cancel(self, value: bool) -> None: ...
|
|
50
|
+
# Windows.UI.Xaml.Navigation.NavigationMode Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs::get_NavigationMode()
|
|
51
|
+
@_property
|
|
52
|
+
def navigation_mode(self) -> NavigationMode: ...
|
|
53
|
+
# Windows.UI.Xaml.Interop.TypeName Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs::get_SourcePageType()
|
|
54
|
+
@_property
|
|
55
|
+
def source_page_type(self) -> windows_ui_xaml_interop.TypeName: ...
|
|
56
|
+
# Windows.UI.Xaml.Media.Animation.NavigationTransitionInfo Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs::get_NavigationTransitionInfo()
|
|
57
|
+
@_property
|
|
58
|
+
def navigation_transition_info(self) -> windows_ui_xaml_media_animation.NavigationTransitionInfo: ...
|
|
59
|
+
# System.Object Windows.UI.Xaml.Navigation.NavigatingCancelEventArgs::get_Parameter()
|
|
60
|
+
@_property
|
|
61
|
+
def parameter(self) -> winrt.system.Object: ...
|
|
62
|
+
|
|
63
|
+
@typing.final
|
|
64
|
+
class NavigationEventArgs(winrt.system.Object):
|
|
65
|
+
# Windows.Foundation.Uri Windows.UI.Xaml.Navigation.NavigationEventArgs::get_Uri()
|
|
66
|
+
@_property
|
|
67
|
+
def uri(self) -> windows_foundation.Uri: ...
|
|
68
|
+
# System.Void Windows.UI.Xaml.Navigation.NavigationEventArgs::put_Uri(Windows.Foundation.Uri)
|
|
69
|
+
@uri.setter
|
|
70
|
+
def uri(self, value: windows_foundation.Uri) -> None: ...
|
|
71
|
+
# System.Object Windows.UI.Xaml.Navigation.NavigationEventArgs::get_Content()
|
|
72
|
+
@_property
|
|
73
|
+
def content(self) -> winrt.system.Object: ...
|
|
74
|
+
# Windows.UI.Xaml.Navigation.NavigationMode Windows.UI.Xaml.Navigation.NavigationEventArgs::get_NavigationMode()
|
|
75
|
+
@_property
|
|
76
|
+
def navigation_mode(self) -> NavigationMode: ...
|
|
77
|
+
# System.Object Windows.UI.Xaml.Navigation.NavigationEventArgs::get_Parameter()
|
|
78
|
+
@_property
|
|
79
|
+
def parameter(self) -> winrt.system.Object: ...
|
|
80
|
+
# Windows.UI.Xaml.Interop.TypeName Windows.UI.Xaml.Navigation.NavigationEventArgs::get_SourcePageType()
|
|
81
|
+
@_property
|
|
82
|
+
def source_page_type(self) -> windows_ui_xaml_interop.TypeName: ...
|
|
83
|
+
# Windows.UI.Xaml.Media.Animation.NavigationTransitionInfo Windows.UI.Xaml.Navigation.NavigationEventArgs::get_NavigationTransitionInfo()
|
|
84
|
+
@_property
|
|
85
|
+
def navigation_transition_info(self) -> windows_ui_xaml_media_animation.NavigationTransitionInfo: ...
|
|
86
|
+
|
|
87
|
+
@typing.final
|
|
88
|
+
class NavigationFailedEventArgs(winrt.system.Object):
|
|
89
|
+
# System.Boolean Windows.UI.Xaml.Navigation.NavigationFailedEventArgs::get_Handled()
|
|
90
|
+
@_property
|
|
91
|
+
def handled(self) -> bool: ...
|
|
92
|
+
# System.Void Windows.UI.Xaml.Navigation.NavigationFailedEventArgs::put_Handled(System.Boolean)
|
|
93
|
+
@handled.setter
|
|
94
|
+
def handled(self, value: bool) -> None: ...
|
|
95
|
+
# Windows.Foundation.HResult Windows.UI.Xaml.Navigation.NavigationFailedEventArgs::get_Exception()
|
|
96
|
+
@_property
|
|
97
|
+
def exception(self) -> windows_foundation.HResult: ...
|
|
98
|
+
# Windows.UI.Xaml.Interop.TypeName Windows.UI.Xaml.Navigation.NavigationFailedEventArgs::get_SourcePageType()
|
|
99
|
+
@_property
|
|
100
|
+
def source_page_type(self) -> windows_ui_xaml_interop.TypeName: ...
|
|
101
|
+
|
|
102
|
+
@typing.final
|
|
103
|
+
class PageStackEntry_Static(windows_ui_xaml.DependencyObject_Static):
|
|
104
|
+
# Windows.UI.Xaml.DependencyProperty Windows.UI.Xaml.Navigation.PageStackEntry::get_SourcePageTypeProperty()
|
|
105
|
+
@_property
|
|
106
|
+
def source_page_type_property(cls) -> windows_ui_xaml.DependencyProperty: ...
|
|
107
|
+
|
|
108
|
+
@typing.final
|
|
109
|
+
class PageStackEntry(windows_ui_xaml.DependencyObject, metaclass=PageStackEntry_Static):
|
|
110
|
+
def __new__(cls: typing.Type[Self], source_page_type: typing.Union[windows_ui_xaml_interop.TypeName, typing.Tuple[str, windows_ui_xaml_interop.TypeKind]], parameter: winrt.system.Object, navigation_transition_info: windows_ui_xaml_media_animation.NavigationTransitionInfo) -> Self: ...
|
|
111
|
+
# Windows.UI.Xaml.Media.Animation.NavigationTransitionInfo Windows.UI.Xaml.Navigation.PageStackEntry::get_NavigationTransitionInfo()
|
|
112
|
+
@_property
|
|
113
|
+
def navigation_transition_info(self) -> windows_ui_xaml_media_animation.NavigationTransitionInfo: ...
|
|
114
|
+
# System.Object Windows.UI.Xaml.Navigation.PageStackEntry::get_Parameter()
|
|
115
|
+
@_property
|
|
116
|
+
def parameter(self) -> winrt.system.Object: ...
|
|
117
|
+
# Windows.UI.Xaml.Interop.TypeName Windows.UI.Xaml.Navigation.PageStackEntry::get_SourcePageType()
|
|
118
|
+
@_property
|
|
119
|
+
def source_page_type(self) -> windows_ui_xaml_interop.TypeName: ...
|
|
120
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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_xaml_navigation import (
|
|
9
|
+
FrameNavigationOptions,
|
|
10
|
+
NavigatingCancelEventArgs,
|
|
11
|
+
NavigationEventArgs,
|
|
12
|
+
NavigationFailedEventArgs,
|
|
13
|
+
PageStackEntry,
|
|
14
|
+
)
|
|
15
|
+
from typing import TYPE_CHECKING
|
|
16
|
+
if TYPE_CHECKING:
|
|
17
|
+
from winrt._winrt_windows_ui_xaml_navigation import (
|
|
18
|
+
FrameNavigationOptions_Static,
|
|
19
|
+
)
|
|
20
|
+
|
|
21
|
+
__all__ = [
|
|
22
|
+
"NavigationCacheMode",
|
|
23
|
+
"NavigationMode",
|
|
24
|
+
"FrameNavigationOptions",
|
|
25
|
+
"NavigatingCancelEventArgs",
|
|
26
|
+
"NavigationEventArgs",
|
|
27
|
+
"NavigationFailedEventArgs",
|
|
28
|
+
"PageStackEntry",
|
|
29
|
+
"LoadCompletedEventHandler",
|
|
30
|
+
"NavigatedEventHandler",
|
|
31
|
+
"NavigatingCancelEventHandler",
|
|
32
|
+
"NavigationFailedEventHandler",
|
|
33
|
+
"NavigationStoppedEventHandler",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
class NavigationCacheMode(enum.IntEnum):
|
|
37
|
+
DISABLED = 0
|
|
38
|
+
REQUIRED = 1
|
|
39
|
+
ENABLED = 2
|
|
40
|
+
|
|
41
|
+
class NavigationMode(enum.IntEnum):
|
|
42
|
+
NEW = 0
|
|
43
|
+
BACK = 1
|
|
44
|
+
FORWARD = 2
|
|
45
|
+
REFRESH = 3
|
|
46
|
+
|
|
47
|
+
LoadCompletedEventHandler = typing.Callable[[winrt.system.Object, NavigationEventArgs], None]
|
|
48
|
+
NavigatedEventHandler = typing.Callable[[winrt.system.Object, NavigationEventArgs], None]
|
|
49
|
+
NavigatingCancelEventHandler = typing.Callable[[winrt.system.Object, NavigatingCancelEventArgs], None]
|
|
50
|
+
NavigationFailedEventHandler = typing.Callable[[winrt.system.Object, NavigationFailedEventArgs], None]
|
|
51
|
+
NavigationStoppedEventHandler = typing.Callable[[winrt.system.Object, NavigationEventArgs], None]
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: winrt-Windows.UI.Xaml.Navigation
|
|
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
|
+
Requires-Dist: winrt-Windows.UI.Xaml~=3.2.1.0
|
|
17
|
+
Provides-Extra: all
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.UI.Xaml[all]~=3.2.1.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Interop[all]~=3.2.1.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.UI.Xaml.Media.Animation[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.Xaml.Navigation
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.UI.Xaml.Navigation` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.ui.xaml.navigation` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_ui_xaml_navigation.cp314-win_amd64.pyd,sha256=Q50quMQUDL13W8_liQ3DWMKG8ygpHeVBUv__XaWD5Xo,103936
|
|
2
|
+
winrt/_winrt_windows_ui_xaml_navigation.pyi,sha256=g8McIBe_2E_edFZ0mFOGnzJRVZ9N4s9bsvMzzWaZK4E,6570
|
|
3
|
+
winrt/windows/ui/xaml/navigation/__init__.py,sha256=NEF_GITG6Rhwd3cJsv-Rk_mKb7GOt5vCU1CzDJzoH04,1549
|
|
4
|
+
winrt/windows/ui/xaml/navigation/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_windows_ui_xaml_navigation-3.2.1.dist-info/METADATA,sha256=4C0UNXakTi69rxrXXHALa72gkyBwY3lAAqfFvtkqEZY,1336
|
|
6
|
+
winrt_windows_ui_xaml_navigation-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
|
|
7
|
+
winrt_windows_ui_xaml_navigation-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_windows_ui_xaml_navigation-3.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|