winrt-Windows.Web.UI 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,400 @@
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
+ from abc import abstractmethod
10
+
11
+ import winrt._winrt
12
+ import winrt.system
13
+ import winrt.windows.applicationmodel.datatransfer as windows_applicationmodel_datatransfer
14
+ import winrt.windows.foundation as windows_foundation
15
+ import winrt.windows.foundation.collections as windows_foundation_collections
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+ import winrt.windows.ui as windows_ui
18
+ import winrt.windows.web as windows_web
19
+ import winrt.windows.web.http as windows_web_http
20
+
21
+ from winrt.windows.web.ui import WebViewControlPermissionState, WebViewControlPermissionType
22
+
23
+ Self = typing.TypeVar('Self')
24
+
25
+ @typing.final
26
+ class WebViewControlContentLoadingEventArgs(winrt.system.Object):
27
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlContentLoadingEventArgs::get_Uri()
28
+ @_property
29
+ def uri(self) -> windows_foundation.Uri: ...
30
+
31
+ @typing.final
32
+ class WebViewControlDOMContentLoadedEventArgs(winrt.system.Object):
33
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs::get_Uri()
34
+ @_property
35
+ def uri(self) -> windows_foundation.Uri: ...
36
+
37
+ @typing.final
38
+ class WebViewControlDeferredPermissionRequest(winrt.system.Object):
39
+ # System.Void Windows.Web.UI.WebViewControlDeferredPermissionRequest::Allow()
40
+ def allow(self) -> None: ...
41
+ # System.Void Windows.Web.UI.WebViewControlDeferredPermissionRequest::Deny()
42
+ def deny(self) -> None: ...
43
+ # System.UInt32 Windows.Web.UI.WebViewControlDeferredPermissionRequest::get_Id()
44
+ @_property
45
+ def id(self) -> winrt.system.UInt32: ...
46
+ # Windows.Web.UI.WebViewControlPermissionType Windows.Web.UI.WebViewControlDeferredPermissionRequest::get_PermissionType()
47
+ @_property
48
+ def permission_type(self) -> WebViewControlPermissionType: ...
49
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlDeferredPermissionRequest::get_Uri()
50
+ @_property
51
+ def uri(self) -> windows_foundation.Uri: ...
52
+
53
+ @typing.final
54
+ class WebViewControlLongRunningScriptDetectedEventArgs(winrt.system.Object):
55
+ # System.Boolean Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs::get_StopPageScriptExecution()
56
+ @_property
57
+ def stop_page_script_execution(self) -> bool: ...
58
+ # System.Void Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs::put_StopPageScriptExecution(System.Boolean)
59
+ @stop_page_script_execution.setter
60
+ def stop_page_script_execution(self, value: bool) -> None: ...
61
+ # Windows.Foundation.TimeSpan Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs::get_ExecutionTime()
62
+ @_property
63
+ def execution_time(self) -> datetime.timedelta: ...
64
+
65
+ @typing.final
66
+ class WebViewControlNavigationCompletedEventArgs(winrt.system.Object):
67
+ # System.Boolean Windows.Web.UI.WebViewControlNavigationCompletedEventArgs::get_IsSuccess()
68
+ @_property
69
+ def is_success(self) -> bool: ...
70
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlNavigationCompletedEventArgs::get_Uri()
71
+ @_property
72
+ def uri(self) -> windows_foundation.Uri: ...
73
+ # Windows.Web.WebErrorStatus Windows.Web.UI.WebViewControlNavigationCompletedEventArgs::get_WebErrorStatus()
74
+ @_property
75
+ def web_error_status(self) -> windows_web.WebErrorStatus: ...
76
+
77
+ @typing.final
78
+ class WebViewControlNavigationStartingEventArgs(winrt.system.Object):
79
+ # System.Boolean Windows.Web.UI.WebViewControlNavigationStartingEventArgs::get_Cancel()
80
+ @_property
81
+ def cancel(self) -> bool: ...
82
+ # System.Void Windows.Web.UI.WebViewControlNavigationStartingEventArgs::put_Cancel(System.Boolean)
83
+ @cancel.setter
84
+ def cancel(self, value: bool) -> None: ...
85
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlNavigationStartingEventArgs::get_Uri()
86
+ @_property
87
+ def uri(self) -> windows_foundation.Uri: ...
88
+
89
+ @typing.final
90
+ class WebViewControlNewWindowRequestedEventArgs(winrt.system.Object):
91
+ # Windows.Foundation.Deferral Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs::GetDeferral()
92
+ def get_deferral(self) -> windows_foundation.Deferral: ...
93
+ # System.Boolean Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs::get_Handled()
94
+ @_property
95
+ def handled(self) -> bool: ...
96
+ # System.Void Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs::put_Handled(System.Boolean)
97
+ @handled.setter
98
+ def handled(self, value: bool) -> None: ...
99
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs::get_Referrer()
100
+ @_property
101
+ def referrer(self) -> windows_foundation.Uri: ...
102
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs::get_Uri()
103
+ @_property
104
+ def uri(self) -> windows_foundation.Uri: ...
105
+ # Windows.Web.UI.IWebViewControl Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs::get_NewWindow()
106
+ @_property
107
+ def new_window(self) -> IWebViewControl: ...
108
+ # System.Void Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs::put_NewWindow(Windows.Web.UI.IWebViewControl)
109
+ @new_window.setter
110
+ def new_window(self, value: IWebViewControl) -> None: ...
111
+
112
+ @typing.final
113
+ class WebViewControlPermissionRequest(winrt.system.Object):
114
+ # System.Void Windows.Web.UI.WebViewControlPermissionRequest::Allow()
115
+ def allow(self) -> None: ...
116
+ # System.Void Windows.Web.UI.WebViewControlPermissionRequest::Defer()
117
+ def defer(self) -> None: ...
118
+ # System.Void Windows.Web.UI.WebViewControlPermissionRequest::Deny()
119
+ def deny(self) -> None: ...
120
+ # System.UInt32 Windows.Web.UI.WebViewControlPermissionRequest::get_Id()
121
+ @_property
122
+ def id(self) -> winrt.system.UInt32: ...
123
+ # Windows.Web.UI.WebViewControlPermissionType Windows.Web.UI.WebViewControlPermissionRequest::get_PermissionType()
124
+ @_property
125
+ def permission_type(self) -> WebViewControlPermissionType: ...
126
+ # Windows.Web.UI.WebViewControlPermissionState Windows.Web.UI.WebViewControlPermissionRequest::get_State()
127
+ @_property
128
+ def state(self) -> WebViewControlPermissionState: ...
129
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlPermissionRequest::get_Uri()
130
+ @_property
131
+ def uri(self) -> windows_foundation.Uri: ...
132
+
133
+ @typing.final
134
+ class WebViewControlPermissionRequestedEventArgs(winrt.system.Object):
135
+ # Windows.Web.UI.WebViewControlPermissionRequest Windows.Web.UI.WebViewControlPermissionRequestedEventArgs::get_PermissionRequest()
136
+ @_property
137
+ def permission_request(self) -> WebViewControlPermissionRequest: ...
138
+
139
+ @typing.final
140
+ class WebViewControlScriptNotifyEventArgs(winrt.system.Object):
141
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlScriptNotifyEventArgs::get_Uri()
142
+ @_property
143
+ def uri(self) -> windows_foundation.Uri: ...
144
+ # System.String Windows.Web.UI.WebViewControlScriptNotifyEventArgs::get_Value()
145
+ @_property
146
+ def value(self) -> str: ...
147
+
148
+ @typing.final
149
+ class WebViewControlSettings(winrt.system.Object):
150
+ # System.Boolean Windows.Web.UI.WebViewControlSettings::get_IsScriptNotifyAllowed()
151
+ @_property
152
+ def is_script_notify_allowed(self) -> bool: ...
153
+ # System.Void Windows.Web.UI.WebViewControlSettings::put_IsScriptNotifyAllowed(System.Boolean)
154
+ @is_script_notify_allowed.setter
155
+ def is_script_notify_allowed(self, value: bool) -> None: ...
156
+ # System.Boolean Windows.Web.UI.WebViewControlSettings::get_IsJavaScriptEnabled()
157
+ @_property
158
+ def is_java_script_enabled(self) -> bool: ...
159
+ # System.Void Windows.Web.UI.WebViewControlSettings::put_IsJavaScriptEnabled(System.Boolean)
160
+ @is_java_script_enabled.setter
161
+ def is_java_script_enabled(self, value: bool) -> None: ...
162
+ # System.Boolean Windows.Web.UI.WebViewControlSettings::get_IsIndexedDBEnabled()
163
+ @_property
164
+ def is_indexed_db_enabled(self) -> bool: ...
165
+ # System.Void Windows.Web.UI.WebViewControlSettings::put_IsIndexedDBEnabled(System.Boolean)
166
+ @is_indexed_db_enabled.setter
167
+ def is_indexed_db_enabled(self, value: bool) -> None: ...
168
+
169
+ @typing.final
170
+ class WebViewControlUnsupportedUriSchemeIdentifiedEventArgs(winrt.system.Object):
171
+ # System.Boolean Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs::get_Handled()
172
+ @_property
173
+ def handled(self) -> bool: ...
174
+ # System.Void Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs::put_Handled(System.Boolean)
175
+ @handled.setter
176
+ def handled(self, value: bool) -> None: ...
177
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs::get_Uri()
178
+ @_property
179
+ def uri(self) -> windows_foundation.Uri: ...
180
+
181
+ @typing.final
182
+ class WebViewControlUnviewableContentIdentifiedEventArgs(winrt.system.Object):
183
+ # System.String Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs::get_MediaType()
184
+ @_property
185
+ def media_type(self) -> str: ...
186
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs::get_Referrer()
187
+ @_property
188
+ def referrer(self) -> windows_foundation.Uri: ...
189
+ # Windows.Foundation.Uri Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs::get_Uri()
190
+ @_property
191
+ def uri(self) -> windows_foundation.Uri: ...
192
+
193
+ @typing.final
194
+ class WebViewControlWebResourceRequestedEventArgs(winrt.system.Object):
195
+ # Windows.Foundation.Deferral Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs::GetDeferral()
196
+ def get_deferral(self) -> windows_foundation.Deferral: ...
197
+ # Windows.Web.Http.HttpResponseMessage Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs::get_Response()
198
+ @_property
199
+ def response(self) -> windows_web_http.HttpResponseMessage: ...
200
+ # System.Void Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs::put_Response(Windows.Web.Http.HttpResponseMessage)
201
+ @response.setter
202
+ def response(self, value: windows_web_http.HttpResponseMessage) -> None: ...
203
+ # Windows.Web.Http.HttpRequestMessage Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs::get_Request()
204
+ @_property
205
+ def request(self) -> windows_web_http.HttpRequestMessage: ...
206
+
207
+ @typing.final
208
+ class _IWebViewControl: ...
209
+
210
+ class IWebViewControl(winrt._winrt.IInspectable):
211
+ # Windows.Foundation.Uri Windows.Web.UI.IWebViewControl::BuildLocalStreamUri(System.String,System.String)
212
+ @abstractmethod
213
+ def build_local_stream_uri(self, content_identifier: str, relative_path: str, /) -> windows_foundation.Uri: ...
214
+ # Windows.Foundation.IAsyncAction Windows.Web.UI.IWebViewControl::CapturePreviewToStreamAsync(Windows.Storage.Streams.IRandomAccessStream)
215
+ @abstractmethod
216
+ def capture_preview_to_stream_async(self, stream: windows_storage_streams.IRandomAccessStream, /) -> windows_foundation.IAsyncAction: ...
217
+ # Windows.Foundation.IAsyncOperation`1<Windows.ApplicationModel.DataTransfer.DataPackage> Windows.Web.UI.IWebViewControl::CaptureSelectedContentToDataPackageAsync()
218
+ @abstractmethod
219
+ def capture_selected_content_to_data_package_async(self) -> windows_foundation.IAsyncOperation[windows_applicationmodel_datatransfer.DataPackage]: ...
220
+ # System.Void Windows.Web.UI.IWebViewControl::GetDeferredPermissionRequestById(System.UInt32,Windows.Web.UI.WebViewControlDeferredPermissionRequest&)
221
+ @abstractmethod
222
+ def get_deferred_permission_request_by_id(self, id: winrt.system.UInt32, /) -> WebViewControlDeferredPermissionRequest: ...
223
+ # System.Void Windows.Web.UI.IWebViewControl::GoBack()
224
+ @abstractmethod
225
+ def go_back(self) -> None: ...
226
+ # System.Void Windows.Web.UI.IWebViewControl::GoForward()
227
+ @abstractmethod
228
+ def go_forward(self) -> None: ...
229
+ # Windows.Foundation.IAsyncOperation`1<System.String> Windows.Web.UI.IWebViewControl::InvokeScriptAsync(System.String,Windows.Foundation.Collections.IIterable`1<System.String>)
230
+ @abstractmethod
231
+ def invoke_script_async(self, script_name: str, arguments: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[str]: ...
232
+ # System.Void Windows.Web.UI.IWebViewControl::Navigate(Windows.Foundation.Uri)
233
+ @abstractmethod
234
+ def navigate(self, source: windows_foundation.Uri, /) -> None: ...
235
+ # System.Void Windows.Web.UI.IWebViewControl::NavigateToLocalStreamUri(Windows.Foundation.Uri,Windows.Web.IUriToStreamResolver)
236
+ @abstractmethod
237
+ def navigate_to_local_stream_uri(self, source: windows_foundation.Uri, stream_resolver: windows_web.IUriToStreamResolver, /) -> None: ...
238
+ # System.Void Windows.Web.UI.IWebViewControl::NavigateToString(System.String)
239
+ @abstractmethod
240
+ def navigate_to_string(self, text: str, /) -> None: ...
241
+ # System.Void Windows.Web.UI.IWebViewControl::NavigateWithHttpRequestMessage(Windows.Web.Http.HttpRequestMessage)
242
+ @abstractmethod
243
+ def navigate_with_http_request_message(self, request_message: windows_web_http.HttpRequestMessage, /) -> None: ...
244
+ # System.Void Windows.Web.UI.IWebViewControl::Refresh()
245
+ @abstractmethod
246
+ def refresh(self) -> None: ...
247
+ # System.Void Windows.Web.UI.IWebViewControl::Stop()
248
+ @abstractmethod
249
+ def stop(self) -> None: ...
250
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_ContainsFullScreenElementChanged(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,System.Object>)
251
+ @abstractmethod
252
+ def add_contains_full_screen_element_changed(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
253
+ # System.Void Windows.Web.UI.IWebViewControl::remove_ContainsFullScreenElementChanged(Windows.Foundation.EventRegistrationToken)
254
+ @abstractmethod
255
+ def remove_contains_full_screen_element_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
256
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_ContentLoading(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlContentLoadingEventArgs>)
257
+ @abstractmethod
258
+ def add_content_loading(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlContentLoadingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
259
+ # System.Void Windows.Web.UI.IWebViewControl::remove_ContentLoading(Windows.Foundation.EventRegistrationToken)
260
+ @abstractmethod
261
+ def remove_content_loading(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
262
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_DOMContentLoaded(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs>)
263
+ @abstractmethod
264
+ def add_dom_content_loaded(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlDOMContentLoadedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
265
+ # System.Void Windows.Web.UI.IWebViewControl::remove_DOMContentLoaded(Windows.Foundation.EventRegistrationToken)
266
+ @abstractmethod
267
+ def remove_dom_content_loaded(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
268
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_FrameContentLoading(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlContentLoadingEventArgs>)
269
+ @abstractmethod
270
+ def add_frame_content_loading(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlContentLoadingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
271
+ # System.Void Windows.Web.UI.IWebViewControl::remove_FrameContentLoading(Windows.Foundation.EventRegistrationToken)
272
+ @abstractmethod
273
+ def remove_frame_content_loading(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
274
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_FrameDOMContentLoaded(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlDOMContentLoadedEventArgs>)
275
+ @abstractmethod
276
+ def add_frame_dom_content_loaded(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlDOMContentLoadedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
277
+ # System.Void Windows.Web.UI.IWebViewControl::remove_FrameDOMContentLoaded(Windows.Foundation.EventRegistrationToken)
278
+ @abstractmethod
279
+ def remove_frame_dom_content_loaded(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
280
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_FrameNavigationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlNavigationCompletedEventArgs>)
281
+ @abstractmethod
282
+ def add_frame_navigation_completed(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlNavigationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
283
+ # System.Void Windows.Web.UI.IWebViewControl::remove_FrameNavigationCompleted(Windows.Foundation.EventRegistrationToken)
284
+ @abstractmethod
285
+ def remove_frame_navigation_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
286
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_FrameNavigationStarting(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlNavigationStartingEventArgs>)
287
+ @abstractmethod
288
+ def add_frame_navigation_starting(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlNavigationStartingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
289
+ # System.Void Windows.Web.UI.IWebViewControl::remove_FrameNavigationStarting(Windows.Foundation.EventRegistrationToken)
290
+ @abstractmethod
291
+ def remove_frame_navigation_starting(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
292
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_LongRunningScriptDetected(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlLongRunningScriptDetectedEventArgs>)
293
+ @abstractmethod
294
+ def add_long_running_script_detected(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlLongRunningScriptDetectedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
295
+ # System.Void Windows.Web.UI.IWebViewControl::remove_LongRunningScriptDetected(Windows.Foundation.EventRegistrationToken)
296
+ @abstractmethod
297
+ def remove_long_running_script_detected(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
298
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_NavigationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlNavigationCompletedEventArgs>)
299
+ @abstractmethod
300
+ def add_navigation_completed(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlNavigationCompletedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
301
+ # System.Void Windows.Web.UI.IWebViewControl::remove_NavigationCompleted(Windows.Foundation.EventRegistrationToken)
302
+ @abstractmethod
303
+ def remove_navigation_completed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
304
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_NavigationStarting(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlNavigationStartingEventArgs>)
305
+ @abstractmethod
306
+ def add_navigation_starting(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlNavigationStartingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
307
+ # System.Void Windows.Web.UI.IWebViewControl::remove_NavigationStarting(Windows.Foundation.EventRegistrationToken)
308
+ @abstractmethod
309
+ def remove_navigation_starting(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
310
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_NewWindowRequested(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlNewWindowRequestedEventArgs>)
311
+ @abstractmethod
312
+ def add_new_window_requested(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlNewWindowRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
313
+ # System.Void Windows.Web.UI.IWebViewControl::remove_NewWindowRequested(Windows.Foundation.EventRegistrationToken)
314
+ @abstractmethod
315
+ def remove_new_window_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
316
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_PermissionRequested(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlPermissionRequestedEventArgs>)
317
+ @abstractmethod
318
+ def add_permission_requested(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlPermissionRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
319
+ # System.Void Windows.Web.UI.IWebViewControl::remove_PermissionRequested(Windows.Foundation.EventRegistrationToken)
320
+ @abstractmethod
321
+ def remove_permission_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
322
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_ScriptNotify(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlScriptNotifyEventArgs>)
323
+ @abstractmethod
324
+ def add_script_notify(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlScriptNotifyEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
325
+ # System.Void Windows.Web.UI.IWebViewControl::remove_ScriptNotify(Windows.Foundation.EventRegistrationToken)
326
+ @abstractmethod
327
+ def remove_script_notify(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
328
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_UnsafeContentWarningDisplaying(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,System.Object>)
329
+ @abstractmethod
330
+ def add_unsafe_content_warning_displaying(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
331
+ # System.Void Windows.Web.UI.IWebViewControl::remove_UnsafeContentWarningDisplaying(Windows.Foundation.EventRegistrationToken)
332
+ @abstractmethod
333
+ def remove_unsafe_content_warning_displaying(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
334
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_UnsupportedUriSchemeIdentified(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlUnsupportedUriSchemeIdentifiedEventArgs>)
335
+ @abstractmethod
336
+ def add_unsupported_uri_scheme_identified(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlUnsupportedUriSchemeIdentifiedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
337
+ # System.Void Windows.Web.UI.IWebViewControl::remove_UnsupportedUriSchemeIdentified(Windows.Foundation.EventRegistrationToken)
338
+ @abstractmethod
339
+ def remove_unsupported_uri_scheme_identified(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
340
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_UnviewableContentIdentified(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlUnviewableContentIdentifiedEventArgs>)
341
+ @abstractmethod
342
+ def add_unviewable_content_identified(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlUnviewableContentIdentifiedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
343
+ # System.Void Windows.Web.UI.IWebViewControl::remove_UnviewableContentIdentified(Windows.Foundation.EventRegistrationToken)
344
+ @abstractmethod
345
+ def remove_unviewable_content_identified(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
346
+ # Windows.Foundation.EventRegistrationToken Windows.Web.UI.IWebViewControl::add_WebResourceRequested(Windows.Foundation.TypedEventHandler`2<Windows.Web.UI.IWebViewControl,Windows.Web.UI.WebViewControlWebResourceRequestedEventArgs>)
347
+ @abstractmethod
348
+ def add_web_resource_requested(self, handler: windows_foundation.TypedEventHandler[IWebViewControl, WebViewControlWebResourceRequestedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
349
+ # System.Void Windows.Web.UI.IWebViewControl::remove_WebResourceRequested(Windows.Foundation.EventRegistrationToken)
350
+ @abstractmethod
351
+ def remove_web_resource_requested(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
352
+ # System.Boolean Windows.Web.UI.IWebViewControl::get_CanGoBack()
353
+ @_property
354
+ @abstractmethod
355
+ def can_go_back(self) -> bool: ...
356
+ # System.Boolean Windows.Web.UI.IWebViewControl::get_CanGoForward()
357
+ @_property
358
+ @abstractmethod
359
+ def can_go_forward(self) -> bool: ...
360
+ # System.Boolean Windows.Web.UI.IWebViewControl::get_ContainsFullScreenElement()
361
+ @_property
362
+ @abstractmethod
363
+ def contains_full_screen_element(self) -> bool: ...
364
+ # Windows.UI.Color Windows.Web.UI.IWebViewControl::get_DefaultBackgroundColor()
365
+ @_property
366
+ @abstractmethod
367
+ def default_background_color(self) -> windows_ui.Color: ...
368
+ # System.Void Windows.Web.UI.IWebViewControl::put_DefaultBackgroundColor(Windows.UI.Color)
369
+ @default_background_color.setter
370
+ @abstractmethod
371
+ def default_background_color(self, value: typing.Union[windows_ui.Color, typing.Tuple[winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8, winrt.system.UInt8]]) -> None: ...
372
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Web.UI.WebViewControlDeferredPermissionRequest> Windows.Web.UI.IWebViewControl::get_DeferredPermissionRequests()
373
+ @_property
374
+ @abstractmethod
375
+ def deferred_permission_requests(self) -> typing.Sequence[WebViewControlDeferredPermissionRequest]: ...
376
+ # System.String Windows.Web.UI.IWebViewControl::get_DocumentTitle()
377
+ @_property
378
+ @abstractmethod
379
+ def document_title(self) -> str: ...
380
+ # Windows.Web.UI.WebViewControlSettings Windows.Web.UI.IWebViewControl::get_Settings()
381
+ @_property
382
+ @abstractmethod
383
+ def settings(self) -> WebViewControlSettings: ...
384
+ # Windows.Foundation.Uri Windows.Web.UI.IWebViewControl::get_Source()
385
+ @_property
386
+ @abstractmethod
387
+ def source(self) -> windows_foundation.Uri: ...
388
+ # System.Void Windows.Web.UI.IWebViewControl::put_Source(Windows.Foundation.Uri)
389
+ @source.setter
390
+ @abstractmethod
391
+ def source(self, value: windows_foundation.Uri) -> None: ...
392
+
393
+ @typing.final
394
+ class _IWebViewControl2: ...
395
+
396
+ class IWebViewControl2(winrt._winrt.IInspectable):
397
+ # System.Void Windows.Web.UI.IWebViewControl2::AddInitializeScript(System.String)
398
+ @abstractmethod
399
+ def add_initialize_script(self, script: str, /) -> None: ...
400
+
@@ -0,0 +1,62 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_web_ui import (
7
+ WebViewControlContentLoadingEventArgs,
8
+ WebViewControlDOMContentLoadedEventArgs,
9
+ WebViewControlDeferredPermissionRequest,
10
+ WebViewControlLongRunningScriptDetectedEventArgs,
11
+ WebViewControlNavigationCompletedEventArgs,
12
+ WebViewControlNavigationStartingEventArgs,
13
+ WebViewControlNewWindowRequestedEventArgs,
14
+ WebViewControlPermissionRequest,
15
+ WebViewControlPermissionRequestedEventArgs,
16
+ WebViewControlScriptNotifyEventArgs,
17
+ WebViewControlSettings,
18
+ WebViewControlUnsupportedUriSchemeIdentifiedEventArgs,
19
+ WebViewControlUnviewableContentIdentifiedEventArgs,
20
+ WebViewControlWebResourceRequestedEventArgs,
21
+ _IWebViewControl,
22
+ IWebViewControl,
23
+ _IWebViewControl2,
24
+ IWebViewControl2,
25
+ )
26
+
27
+ __all__ = [
28
+ "WebViewControlPermissionState",
29
+ "WebViewControlPermissionType",
30
+ "WebViewControlContentLoadingEventArgs",
31
+ "WebViewControlDOMContentLoadedEventArgs",
32
+ "WebViewControlDeferredPermissionRequest",
33
+ "WebViewControlLongRunningScriptDetectedEventArgs",
34
+ "WebViewControlNavigationCompletedEventArgs",
35
+ "WebViewControlNavigationStartingEventArgs",
36
+ "WebViewControlNewWindowRequestedEventArgs",
37
+ "WebViewControlPermissionRequest",
38
+ "WebViewControlPermissionRequestedEventArgs",
39
+ "WebViewControlScriptNotifyEventArgs",
40
+ "WebViewControlSettings",
41
+ "WebViewControlUnsupportedUriSchemeIdentifiedEventArgs",
42
+ "WebViewControlUnviewableContentIdentifiedEventArgs",
43
+ "WebViewControlWebResourceRequestedEventArgs",
44
+ "IWebViewControl",
45
+ "IWebViewControl2",
46
+ ]
47
+
48
+ class WebViewControlPermissionState(enum.IntEnum):
49
+ UNKNOWN = 0
50
+ DEFER = 1
51
+ ALLOW = 2
52
+ DENY = 3
53
+
54
+ class WebViewControlPermissionType(enum.IntEnum):
55
+ GEOLOCATION = 0
56
+ UNLIMITED_INDEXED_DB_QUOTA = 1
57
+ MEDIA = 2
58
+ POINTER_LOCK = 3
59
+ WEB_NOTIFICATIONS = 4
60
+ SCREEN = 5
61
+ IMMERSIVE_VIEW = 6
62
+
File without changes
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Web.UI
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.ApplicationModel.DataTransfer[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.UI[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Web[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.Web.Http[all]~=3.2.1.0; extra == "all"
24
+
25
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
26
+
27
+ # winrt-Windows.Web.UI
28
+
29
+ Windows Runtime (WinRT) APIs for for the `Windows.Web.UI` namespace.
30
+
31
+ This package provides the `winrt.windows.web.ui` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_web_ui.cp314-win32.pyd,sha256=-BtPTp_4BKwnVlr5imUv5BKrZaKNaspQCHL62sQA9X8,326144
2
+ winrt/_winrt_windows_web_ui.pyi,sha256=bj875AoQ9HgJU0M4vYhHbK-d0L5UUVP2sE585OeGxys,28242
3
+ winrt/windows/web/ui/__init__.py,sha256=Zw0Nki8qcjpxAc5E7XK7WmV2zrCoq9Dzi2ikenk80og,2018
4
+ winrt/windows/web/ui/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_web_ui-3.2.1.dist-info/METADATA,sha256=KSqWgBq62kVcoRjJlY9pzmziW070QYJaJTojI2ILXtk,1458
6
+ winrt_windows_web_ui-3.2.1.dist-info/WHEEL,sha256=avp3B09fSRXVHn4cshTNKc58MtFVN-cVe0NyrqeYT2s,97
7
+ winrt_windows_web_ui-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_web_ui-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
+
@@ -0,0 +1 @@
1
+ winrt