pyobjc-framework-BrowserEngineKit 12.0__cp314-cp314-macosx_10_15_universal2.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,77 @@
1
+ """
2
+ Python mapping for the BrowserEngineKit framework.
3
+
4
+ This module does not contain docstrings for the wrapped code, check Apple's
5
+ documentation for details on how to use these functions and classes.
6
+ """
7
+
8
+
9
+ def _setup():
10
+ import sys
11
+
12
+ import Foundation
13
+ import objc
14
+ from . import _BrowserEngineKit, _metadata
15
+
16
+ dir_func, getattr_func = objc.createFrameworkDirAndGetattr(
17
+ name="BrowserEngineKit",
18
+ frameworkIdentifier="com.apple.BrowserEngineKit",
19
+ frameworkPath=objc.pathForFramework(
20
+ "/System/Library/Frameworks/BrowserEngineKit.framework"
21
+ ),
22
+ globals_dict=globals(),
23
+ inline_list=None,
24
+ parents=(_BrowserEngineKit, Foundation),
25
+ metadict=_metadata.__dict__,
26
+ )
27
+
28
+ globals()["__dir__"] = dir_func
29
+ globals()["__getattr__"] = getattr_func
30
+
31
+ for cls, sel in (
32
+ ("BETextDocumentRequest", b"init"),
33
+ ("BETextDocumentRequest", b"new"),
34
+ ("BELayerHierarchyHandle", b"init"),
35
+ ("BELayerHierarchyHandle", b"new"),
36
+ ("BEAutoFillTextSuggestion", b"init"),
37
+ ("BEAutoFillTextSuggestion", b"new"),
38
+ ("BEKeyEntryContext", b"init"),
39
+ ("BEKeyEntryContext", b"new"),
40
+ (
41
+ "BEContextMenuConfiguration",
42
+ b"configurationWithIdentifier:previewProvider:actionProvider:",
43
+ ),
44
+ ("BETextAlternatives", b"init"),
45
+ ("BETextAlternatives", b"new"),
46
+ ("BEWebAppManifest", b"init"),
47
+ ("BEMediaEnvironment", b"init"),
48
+ ("BEMediaEnvironment", b"new"),
49
+ ("BERenderingProcess", b"init"),
50
+ ("BERenderingProcess", b"new"),
51
+ ("BETextSuggestion", b"init"),
52
+ ("BETextSuggestion", b"new"),
53
+ ("BELayerHierarchyHostingTransactionCoordinator", b"init"),
54
+ ("BELayerHierarchyHostingTransactionCoordinator", b"new"),
55
+ ("BELayerHierarchy", b"init"),
56
+ ("BELayerHierarchy", b"new"),
57
+ ("BENetworkingProcess", b"init"),
58
+ ("BENetworkingProcess", b"new"),
59
+ ("BEScrollViewScrollUpdate", b"init"),
60
+ ("BEScrollViewScrollUpdate", b"new"),
61
+ ("BEKeyEntry", b"init"),
62
+ ("BEKeyEntry", b"new"),
63
+ ("BEWebContentProcess", b"init"),
64
+ ("BEWebContentProcess", b"new"),
65
+ ("BETextDocumentContext", b"init"),
66
+ ("BETextDocumentContext", b"new"),
67
+ ("BEAccessibilityRemoteHostElement", b"init"),
68
+ ("BEAccessibilityRemoteHostElement", b"new"),
69
+ ("BEAccessibilityRemoteElement", b"init"),
70
+ ("BEAccessibilityRemoteElement", b"new"),
71
+ ):
72
+ objc.registerUnavailableMethod(cls, sel)
73
+
74
+ del sys.modules["BrowserEngineKit._metadata"]
75
+
76
+
77
+ globals().pop("_setup")()
@@ -0,0 +1,745 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Thu Jul 24 22:21:12 2025
4
+ #
5
+ # flake8: noqa
6
+
7
+ import objc, sys
8
+ from typing import NewType
9
+
10
+ if sys.maxsize > 2**32:
11
+
12
+ def sel32or64(a, b):
13
+ return b
14
+
15
+ else:
16
+
17
+ def sel32or64(a, b):
18
+ return a
19
+
20
+
21
+ if objc.arch == "arm64":
22
+
23
+ def selAorI(a, b):
24
+ return a
25
+
26
+ else:
27
+
28
+ def selAorI(a, b):
29
+ return b
30
+
31
+
32
+ misc = {}
33
+ constants = """$$"""
34
+ enums = """$BEAccessibilityContainerTypeAlert@1024$BEAccessibilityContainerTypeArticle@128$BEAccessibilityContainerTypeDescriptionList@2048$BEAccessibilityContainerTypeDialog@16$BEAccessibilityContainerTypeFieldset@8$BEAccessibilityContainerTypeFrame@64$BEAccessibilityContainerTypeLandmark@1$BEAccessibilityContainerTypeList@4$BEAccessibilityContainerTypeNone@0$BEAccessibilityContainerTypeScrollArea@512$BEAccessibilityContainerTypeSemanticGroup@256$BEAccessibilityContainerTypeTable@2$BEAccessibilityContainerTypeTree@32$BEAccessibilityPressedStateFalse@1$BEAccessibilityPressedStateMixed@3$BEAccessibilityPressedStateTrue@2$BEAccessibilityPressedStateUndefined@0$BEGestureTypeDoubleTap@3$BEGestureTypeDoubleTapAndHold@2$BEGestureTypeForceTouch@15$BEGestureTypeIMPhraseBoundaryDrag@14$BEGestureTypeLoupe@0$BEGestureTypeOneFingerDoubleTap@8$BEGestureTypeOneFingerTap@1$BEGestureTypeOneFingerTripleTap@9$BEGestureTypeTwoFingerRangedSelectGesture@11$BEGestureTypeTwoFingerSingleTap@10$BEPhraseBoundaryChanged@4$BESelectionFlagsNone@0$BESelectionFlipped@2$BESelectionTouchPhaseEnded@2$BESelectionTouchPhaseEndedMovingBackward@4$BESelectionTouchPhaseEndedMovingForward@3$BESelectionTouchPhaseEndedNotMoving@5$BESelectionTouchPhaseMoved@1$BESelectionTouchPhaseStarted@0$BEWordIsNearTap@1$"""
35
+ misc.update(
36
+ {
37
+ "BESelectionFlags": NewType("BESelectionFlags", int),
38
+ "BESelectionTouchPhase": NewType("BESelectionTouchPhase", int),
39
+ "BEGestureType": NewType("BEGestureType", int),
40
+ "BEAccessibilityContainerType": NewType("BEAccessibilityContainerType", int),
41
+ "BEAccessibilityPressedState": NewType("BEAccessibilityPressedState", int),
42
+ }
43
+ )
44
+ misc.update({})
45
+ misc.update({})
46
+ r = objc.registerMetaDataForSelector
47
+ objc._updatingMetadata(True)
48
+ try:
49
+ r(
50
+ b"BEDownloadMonitor",
51
+ b"beginMonitoring:",
52
+ {
53
+ "arguments": {
54
+ 2: {
55
+ "callable": {
56
+ "retval": {"type": b"v"},
57
+ "arguments": {
58
+ 0: {"type": b"^v"},
59
+ 1: {"type": b"@"},
60
+ 2: {"type": b"@"},
61
+ },
62
+ }
63
+ }
64
+ }
65
+ },
66
+ )
67
+ r(
68
+ b"BEDownloadMonitor",
69
+ b"resumeMonitoring:completionHandler:",
70
+ {
71
+ "arguments": {
72
+ 3: {
73
+ "callable": {
74
+ "retval": {"type": b"v"},
75
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
76
+ }
77
+ }
78
+ }
79
+ },
80
+ )
81
+ r(
82
+ b"BEDownloadMonitor",
83
+ b"useDownloadsFolderWithPlaceholderType:finalFileCreatedHandler:",
84
+ {
85
+ "arguments": {
86
+ 3: {
87
+ "callable": {
88
+ "retval": {"type": b"v"},
89
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
90
+ }
91
+ }
92
+ }
93
+ },
94
+ )
95
+ r(
96
+ b"BELayerHierarchy",
97
+ b"layerHierarchyWithError:",
98
+ {"arguments": {2: {"type_modifier": b"o"}}},
99
+ )
100
+ r(
101
+ b"BELayerHierarchyHandle",
102
+ b"encodeWithBlock:",
103
+ {
104
+ "arguments": {
105
+ 2: {
106
+ "callable": {
107
+ "retval": {"type": b"v"},
108
+ "arguments": {
109
+ 0: {"type": b"^v"},
110
+ 1: {"type": b"I"},
111
+ 2: {"type": b"@"},
112
+ },
113
+ }
114
+ }
115
+ }
116
+ },
117
+ )
118
+ r(
119
+ b"BELayerHierarchyHandle",
120
+ b"handleWithPort:data:error:",
121
+ {"arguments": {4: {"type_modifier": b"o"}}},
122
+ )
123
+ r(
124
+ b"BELayerHierarchyHostingTransactionCoordinator",
125
+ b"coordinatorWithError:",
126
+ {"arguments": {2: {"type_modifier": b"o"}}},
127
+ )
128
+ r(
129
+ b"BELayerHierarchyHostingTransactionCoordinator",
130
+ b"coordinatorWithPort:data:error:",
131
+ {"arguments": {4: {"type_modifier": b"o"}}},
132
+ )
133
+ r(
134
+ b"BELayerHierarchyHostingTransactionCoordinator",
135
+ b"encodeWithBlock:",
136
+ {
137
+ "arguments": {
138
+ 2: {
139
+ "callable": {
140
+ "retval": {"type": b"v"},
141
+ "arguments": {
142
+ 0: {"type": b"^v"},
143
+ 1: {"type": b"I"},
144
+ 2: {"type": b"@"},
145
+ },
146
+ }
147
+ }
148
+ }
149
+ },
150
+ )
151
+ r(
152
+ b"BEMediaEnvironment",
153
+ b"activateWithError:",
154
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type_modifier": b"o"}}},
155
+ )
156
+ r(
157
+ b"BEMediaEnvironment",
158
+ b"makeCaptureSessionWithError:",
159
+ {"arguments": {2: {"type_modifier": b"o"}}},
160
+ )
161
+ r(
162
+ b"BEMediaEnvironment",
163
+ b"suspendWithError:",
164
+ {"retval": {"type": b"Z"}, "arguments": {2: {"type_modifier": b"o"}}},
165
+ )
166
+ r(
167
+ b"BENetworkingProcess",
168
+ b"grantCapability:error:",
169
+ {"arguments": {3: {"type_modifier": b"o"}}},
170
+ )
171
+ r(
172
+ b"BENetworkingProcess",
173
+ b"grantCapability:error:invalidationHandler:",
174
+ {
175
+ "arguments": {
176
+ 3: {"type_modifier": b"o"},
177
+ 4: {
178
+ "callable": {
179
+ "retval": {"type": b"v"},
180
+ "arguments": {0: {"type": b"^v"}},
181
+ }
182
+ },
183
+ }
184
+ },
185
+ )
186
+ r(
187
+ b"BENetworkingProcess",
188
+ b"makeLibXPCConnectionError:",
189
+ {"arguments": {2: {"type_modifier": b"o"}}},
190
+ )
191
+ r(
192
+ b"BENetworkingProcess",
193
+ b"networkProcessWithBundleID:interruptionHandler:completion:",
194
+ {
195
+ "arguments": {
196
+ 3: {
197
+ "callable": {
198
+ "retval": {"type": b"v"},
199
+ "arguments": {0: {"type": b"^v"}},
200
+ }
201
+ },
202
+ 4: {
203
+ "callable": {
204
+ "retval": {"type": b"v"},
205
+ "arguments": {
206
+ 0: {"type": b"^v"},
207
+ 1: {"type": b"@"},
208
+ 2: {"type": b"@"},
209
+ },
210
+ }
211
+ },
212
+ }
213
+ },
214
+ )
215
+ r(
216
+ b"BENetworkingProcess",
217
+ b"networkProcessWithInterruptionHandler:completion:",
218
+ {
219
+ "arguments": {
220
+ 2: {
221
+ "callable": {
222
+ "retval": {"type": b"v"},
223
+ "arguments": {0: {"type": b"^v"}},
224
+ }
225
+ },
226
+ 3: {
227
+ "callable": {
228
+ "retval": {"type": b"v"},
229
+ "arguments": {
230
+ 0: {"type": b"^v"},
231
+ 1: {"type": b"@"},
232
+ 2: {"type": b"@"},
233
+ },
234
+ }
235
+ },
236
+ }
237
+ },
238
+ )
239
+ r(
240
+ b"BEProcessCapability",
241
+ b"requestWithError:",
242
+ {"arguments": {2: {"type_modifier": b"o"}}},
243
+ )
244
+ r(
245
+ b"BERenderingProcess",
246
+ b"grantCapability:error:",
247
+ {"arguments": {3: {"type_modifier": b"o"}}},
248
+ )
249
+ r(
250
+ b"BERenderingProcess",
251
+ b"grantCapability:error:invalidationHandler:",
252
+ {
253
+ "arguments": {
254
+ 3: {"type_modifier": b"o"},
255
+ 4: {
256
+ "callable": {
257
+ "retval": {"type": b"v"},
258
+ "arguments": {0: {"type": b"^v"}},
259
+ }
260
+ },
261
+ }
262
+ },
263
+ )
264
+ r(
265
+ b"BERenderingProcess",
266
+ b"makeLibXPCConnectionError:",
267
+ {"arguments": {2: {"type_modifier": b"o"}}},
268
+ )
269
+ r(
270
+ b"BERenderingProcess",
271
+ b"renderingProcessWithBundleID:interruptionHandler:completion:",
272
+ {
273
+ "arguments": {
274
+ 3: {
275
+ "callable": {
276
+ "retval": {"type": b"v"},
277
+ "arguments": {0: {"type": b"^v"}},
278
+ }
279
+ },
280
+ 4: {
281
+ "callable": {
282
+ "retval": {"type": b"v"},
283
+ "arguments": {
284
+ 0: {"type": b"^v"},
285
+ 1: {"type": b"@"},
286
+ 2: {"type": b"@"},
287
+ },
288
+ }
289
+ },
290
+ }
291
+ },
292
+ )
293
+ r(
294
+ b"BERenderingProcess",
295
+ b"renderingProcessWithInterruptionHandler:completion:",
296
+ {
297
+ "arguments": {
298
+ 2: {
299
+ "callable": {
300
+ "retval": {"type": b"v"},
301
+ "arguments": {0: {"type": b"^v"}},
302
+ }
303
+ },
304
+ 3: {
305
+ "callable": {
306
+ "retval": {"type": b"v"},
307
+ "arguments": {
308
+ 0: {"type": b"^v"},
309
+ 1: {"type": b"@"},
310
+ 2: {"type": b"@"},
311
+ },
312
+ }
313
+ },
314
+ }
315
+ },
316
+ )
317
+ r(
318
+ b"BEWebContentProcess",
319
+ b"grantCapability:error:",
320
+ {"arguments": {3: {"type_modifier": b"o"}}},
321
+ )
322
+ r(
323
+ b"BEWebContentProcess",
324
+ b"grantCapability:error:invalidationHandler:",
325
+ {
326
+ "arguments": {
327
+ 3: {"type_modifier": b"o"},
328
+ 4: {
329
+ "callable": {
330
+ "retval": {"type": b"v"},
331
+ "arguments": {0: {"type": b"^v"}},
332
+ }
333
+ },
334
+ }
335
+ },
336
+ )
337
+ r(
338
+ b"BEWebContentProcess",
339
+ b"makeLibXPCConnectionError:",
340
+ {"arguments": {2: {"type_modifier": b"o"}}},
341
+ )
342
+ r(
343
+ b"BEWebContentProcess",
344
+ b"webContentProcessWithBundleID:interruptionHandler:completion:",
345
+ {
346
+ "arguments": {
347
+ 3: {
348
+ "callable": {
349
+ "retval": {"type": b"v"},
350
+ "arguments": {0: {"type": b"^v"}},
351
+ }
352
+ },
353
+ 4: {
354
+ "callable": {
355
+ "retval": {"type": b"v"},
356
+ "arguments": {
357
+ 0: {"type": b"^v"},
358
+ 1: {"type": b"@"},
359
+ 2: {"type": b"@"},
360
+ },
361
+ }
362
+ },
363
+ }
364
+ },
365
+ )
366
+ r(
367
+ b"BEWebContentProcess",
368
+ b"webContentProcessWithInterruptionHandler:completion:",
369
+ {
370
+ "arguments": {
371
+ 2: {
372
+ "callable": {
373
+ "retval": {"type": b"v"},
374
+ "arguments": {0: {"type": b"^v"}},
375
+ }
376
+ },
377
+ 3: {
378
+ "callable": {
379
+ "retval": {"type": b"v"},
380
+ "arguments": {
381
+ 0: {"type": b"^v"},
382
+ 1: {"type": b"@"},
383
+ 2: {"type": b"@"},
384
+ },
385
+ }
386
+ },
387
+ }
388
+ },
389
+ )
390
+ r(
391
+ b"NSObject",
392
+ b"accessibilityBoundsForTextMarkerRange:",
393
+ {
394
+ "required": True,
395
+ "retval": {"type": b"{CGRect={CGPoint=dd}{CGSize=dd}}"},
396
+ "arguments": {2: {"type": b"@"}},
397
+ },
398
+ )
399
+ r(
400
+ b"NSObject",
401
+ b"accessibilityContentForTextMarkerRange:",
402
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
403
+ )
404
+ r(
405
+ b"NSObject",
406
+ b"accessibilityLineEndMarkerForMarker:",
407
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
408
+ )
409
+ r(
410
+ b"NSObject",
411
+ b"accessibilityLineEndPositionFromCurrentSelection",
412
+ {"retval": {"type": b"q"}},
413
+ )
414
+ r(
415
+ b"NSObject",
416
+ b"accessibilityLineRangeForPosition:",
417
+ {"retval": {"type": b"{_NSRange=QQ}"}, "arguments": {2: {"type": b"q"}}},
418
+ )
419
+ r(
420
+ b"NSObject",
421
+ b"accessibilityLineStartMarkerForMarker:",
422
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
423
+ )
424
+ r(
425
+ b"NSObject",
426
+ b"accessibilityLineStartPositionFromCurrentSelection",
427
+ {"retval": {"type": b"q"}},
428
+ )
429
+ r(
430
+ b"NSObject",
431
+ b"accessibilityMarkerForPoint:",
432
+ {
433
+ "required": True,
434
+ "retval": {"type": b"@"},
435
+ "arguments": {2: {"type": b"{CGPoint=dd}"}},
436
+ },
437
+ )
438
+ r(
439
+ b"NSObject",
440
+ b"accessibilityNextTextMarker:",
441
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
442
+ )
443
+ r(
444
+ b"NSObject",
445
+ b"accessibilityPreviousTextMarker:",
446
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
447
+ )
448
+ r(
449
+ b"NSObject",
450
+ b"accessibilityRangeForTextMarkerRange:",
451
+ {
452
+ "required": True,
453
+ "retval": {"type": b"{_NSRange=QQ}"},
454
+ "arguments": {2: {"type": b"@"}},
455
+ },
456
+ )
457
+ r(
458
+ b"NSObject",
459
+ b"accessibilityTextMarkerForPosition:",
460
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"q"}}},
461
+ )
462
+ r(
463
+ b"NSObject",
464
+ b"accessibilityTextMarkerRange",
465
+ {"required": True, "retval": {"type": b"@"}},
466
+ )
467
+ r(
468
+ b"NSObject",
469
+ b"accessibilityTextMarkerRangeForCurrentSelection",
470
+ {"required": True, "retval": {"type": b"@"}},
471
+ )
472
+ r(
473
+ b"NSObject",
474
+ b"accessibilityTextMarkerRangeForRange:",
475
+ {
476
+ "required": True,
477
+ "retval": {"type": b"@"},
478
+ "arguments": {2: {"type": b"{_NSRange=QQ}"}},
479
+ },
480
+ )
481
+ r(
482
+ b"NSObject",
483
+ b"browserAccessibilityAttributedValueInRange:",
484
+ {"retval": {"type": b"@"}, "arguments": {2: {"type": b"{_NSRange=QQ}"}}},
485
+ )
486
+ r(b"NSObject", b"browserAccessibilityContainerType", {"retval": {"type": b"Q"}})
487
+ r(b"NSObject", b"browserAccessibilityCurrentStatus", {"retval": {"type": b"@"}})
488
+ r(
489
+ b"NSObject",
490
+ b"browserAccessibilityDeleteTextAtCursor:",
491
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"q"}}},
492
+ )
493
+ r(b"NSObject", b"browserAccessibilityHasDOMFocus", {"retval": {"type": b"Z"}})
494
+ r(
495
+ b"NSObject",
496
+ b"browserAccessibilityInsertTextAtCursor:",
497
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
498
+ )
499
+ r(b"NSObject", b"browserAccessibilityIsRequired", {"retval": {"type": b"Z"}})
500
+ r(b"NSObject", b"browserAccessibilityPressedState", {"retval": {"type": b"q"}})
501
+ r(b"NSObject", b"browserAccessibilityRoleDescription", {"retval": {"type": b"@"}})
502
+ r(
503
+ b"NSObject",
504
+ b"browserAccessibilitySelectedTextRange",
505
+ {"retval": {"type": b"{_NSRange=QQ}"}},
506
+ )
507
+ r(
508
+ b"NSObject",
509
+ b"browserAccessibilitySetSelectedTextRange:",
510
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"{_NSRange=QQ}"}}},
511
+ )
512
+ r(b"NSObject", b"browserAccessibilitySortDirection", {"retval": {"type": b"@"}})
513
+ r(
514
+ b"NSObject",
515
+ b"browserAccessibilityValueInRange:",
516
+ {"retval": {"type": b"@"}, "arguments": {2: {"type": b"{_NSRange=QQ}"}}},
517
+ )
518
+ r(b"NSObject", b"invalidate", {"required": True, "retval": {"type": b"Z"}})
519
+ r(
520
+ b"NSObject",
521
+ b"invalidateTextEntryContextForTextInput:",
522
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
523
+ )
524
+ r(b"NSObject", b"isValid", {"required": True, "retval": {"type": b"Z"}})
525
+ r(
526
+ b"NSObject",
527
+ b"makeLibXPCConnectionError:",
528
+ {
529
+ "required": True,
530
+ "retval": {"type": b"@"},
531
+ "arguments": {2: {"type": b"^@", "type_modifier": b"o"}},
532
+ },
533
+ )
534
+ r(
535
+ b"NSObject",
536
+ b"selectionDidChangeForTextInput:",
537
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
538
+ )
539
+ r(
540
+ b"NSObject",
541
+ b"selectionWillChangeForTextInput:",
542
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
543
+ )
544
+ r(
545
+ b"NSObject",
546
+ b"setBrowserAccessibilityContainerType:",
547
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"Q"}}},
548
+ )
549
+ r(
550
+ b"NSObject",
551
+ b"setBrowserAccessibilityCurrentStatus:",
552
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
553
+ )
554
+ r(
555
+ b"NSObject",
556
+ b"setBrowserAccessibilityHasDOMFocus:",
557
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"Z"}}},
558
+ )
559
+ r(
560
+ b"NSObject",
561
+ b"setBrowserAccessibilityIsRequired:",
562
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"Z"}}},
563
+ )
564
+ r(
565
+ b"NSObject",
566
+ b"setBrowserAccessibilityPressedState:",
567
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"q"}}},
568
+ )
569
+ r(
570
+ b"NSObject",
571
+ b"setBrowserAccessibilityRoleDescription:",
572
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
573
+ )
574
+ r(
575
+ b"NSObject",
576
+ b"setBrowserAccessibilitySortDirection:",
577
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
578
+ )
579
+ r(
580
+ b"NSObject",
581
+ b"shouldDeferEventHandlingToSystemForTextInput:context:",
582
+ {
583
+ "required": True,
584
+ "retval": {"type": b"Z"},
585
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
586
+ },
587
+ )
588
+ r(
589
+ b"NSObject",
590
+ b"systemDidChangeSelectionForInteraction:",
591
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
592
+ )
593
+ r(
594
+ b"NSObject",
595
+ b"systemWillChangeSelectionForInteraction:",
596
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
597
+ )
598
+ r(
599
+ b"NSObject",
600
+ b"textInput:deferReplaceTextActionToSystem:",
601
+ {
602
+ "required": True,
603
+ "retval": {"type": b"v"},
604
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
605
+ },
606
+ )
607
+ r(
608
+ b"NSObject",
609
+ b"textInput:setCandidateSuggestions:",
610
+ {
611
+ "required": True,
612
+ "retval": {"type": b"v"},
613
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
614
+ },
615
+ )
616
+ finally:
617
+ objc._updatingMetadata(False)
618
+
619
+ objc.registerNewKeywordsFromSelector(
620
+ "BEDownloadMonitor",
621
+ b"initWithSourceURL:destinationURL:observedProgress:liveActivityAccessToken:",
622
+ )
623
+ objc.registerNewKeywordsFromSelector("BEMediaEnvironment", b"initWithWebPageURL:")
624
+ objc.registerNewKeywordsFromSelector("BETextSuggestion", b"initWithInputText:")
625
+ objc.registerNewKeywordsFromSelector(
626
+ "BEWebAppManifest", b"initWithJSONData:manifestURL:"
627
+ )
628
+ protocols = {
629
+ "BEAccessibility": objc.informal_protocol(
630
+ "BEAccessibility",
631
+ [
632
+ objc.selector(
633
+ None, b"setBrowserAccessibilityIsRequired:", b"v@:Z", isRequired=False
634
+ ),
635
+ objc.selector(
636
+ None,
637
+ b"accessibilityLineRangeForPosition:",
638
+ b"{_NSRange=QQ}@:q",
639
+ isRequired=False,
640
+ ),
641
+ objc.selector(
642
+ None, b"browserAccessibilityCurrentStatus", b"@@:", isRequired=False
643
+ ),
644
+ objc.selector(
645
+ None,
646
+ b"browserAccessibilityInsertTextAtCursor:",
647
+ b"v@:@",
648
+ isRequired=False,
649
+ ),
650
+ objc.selector(
651
+ None,
652
+ b"accessibilityLineStartPositionFromCurrentSelection",
653
+ b"q@:",
654
+ isRequired=False,
655
+ ),
656
+ objc.selector(
657
+ None,
658
+ b"setBrowserAccessibilityContainerType:",
659
+ b"v@:Q",
660
+ isRequired=False,
661
+ ),
662
+ objc.selector(
663
+ None,
664
+ b"setBrowserAccessibilityCurrentStatus:",
665
+ b"v@:@",
666
+ isRequired=False,
667
+ ),
668
+ objc.selector(
669
+ None,
670
+ b"setBrowserAccessibilitySortDirection:",
671
+ b"v@:@",
672
+ isRequired=False,
673
+ ),
674
+ objc.selector(
675
+ None, b"setBrowserAccessibilityHasDOMFocus:", b"v@:Z", isRequired=False
676
+ ),
677
+ objc.selector(
678
+ None, b"browserAccessibilityRoleDescription", b"@@:", isRequired=False
679
+ ),
680
+ objc.selector(
681
+ None,
682
+ b"accessibilityLineEndPositionFromCurrentSelection",
683
+ b"q@:",
684
+ isRequired=False,
685
+ ),
686
+ objc.selector(
687
+ None,
688
+ b"browserAccessibilitySetSelectedTextRange:",
689
+ b"v@:{_NSRange=QQ}",
690
+ isRequired=False,
691
+ ),
692
+ objc.selector(
693
+ None, b"browserAccessibilityIsRequired", b"Z@:", isRequired=False
694
+ ),
695
+ objc.selector(
696
+ None,
697
+ b"browserAccessibilitySelectedTextRange",
698
+ b"{_NSRange=QQ}@:",
699
+ isRequired=False,
700
+ ),
701
+ objc.selector(
702
+ None,
703
+ b"browserAccessibilityAttributedValueInRange:",
704
+ b"@@:{_NSRange=QQ}",
705
+ isRequired=False,
706
+ ),
707
+ objc.selector(
708
+ None, b"browserAccessibilityHasDOMFocus", b"Z@:", isRequired=False
709
+ ),
710
+ objc.selector(
711
+ None, b"browserAccessibilitySortDirection", b"@@:", isRequired=False
712
+ ),
713
+ objc.selector(
714
+ None, b"browserAccessibilityPressedState", b"q@:", isRequired=False
715
+ ),
716
+ objc.selector(
717
+ None, b"browserAccessibilityContainerType", b"Q@:", isRequired=False
718
+ ),
719
+ objc.selector(
720
+ None,
721
+ b"setBrowserAccessibilityRoleDescription:",
722
+ b"v@:@",
723
+ isRequired=False,
724
+ ),
725
+ objc.selector(
726
+ None,
727
+ b"browserAccessibilityDeleteTextAtCursor:",
728
+ b"v@:q",
729
+ isRequired=False,
730
+ ),
731
+ objc.selector(
732
+ None,
733
+ b"browserAccessibilityValueInRange:",
734
+ b"@@:{_NSRange=QQ}",
735
+ isRequired=False,
736
+ ),
737
+ objc.selector(
738
+ None, b"setBrowserAccessibilityPressedState:", b"v@:q", isRequired=False
739
+ ),
740
+ ],
741
+ )
742
+ }
743
+ expressions = {}
744
+
745
+ # END OF FILE
@@ -0,0 +1,72 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-BrowserEngineKit
3
+ Version: 12.0
4
+ Summary: Wrappers for the framework BrowserEngineKit on macOS
5
+ Home-page: https://github.com/ronaldoussoren/pyobjc
6
+ Author: Ronald Oussoren
7
+ Author-email: pyobjc-dev@lists.sourceforge.net
8
+ License: MIT
9
+ Keywords: PyObjC,BrowserEngineKit
10
+ Platform: MacOS X (>=10.7)
11
+ Classifier: Development Status :: 5 - Production/Stable
12
+ Classifier: Environment :: Console
13
+ Classifier: Environment :: MacOS X :: Cocoa
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Natural Language :: English
16
+ Classifier: Operating System :: MacOS :: MacOS X
17
+ Classifier: Programming Language :: Python
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.9
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
29
+ Classifier: Programming Language :: Objective C
30
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
+ Classifier: Topic :: Software Development :: User Interfaces
32
+ Requires-Python: >=3.9
33
+ Description-Content-Type: text/x-rst; charset=UTF-8
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-CoreMedia>=12.0
36
+ Requires-Dist: pyobjc-framework-CoreAudio>=12.0
37
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
38
+ Requires-Dist: pyobjc-framework-Quartz>=12.0
39
+ Dynamic: author
40
+ Dynamic: author-email
41
+ Dynamic: classifier
42
+ Dynamic: description
43
+ Dynamic: description-content-type
44
+ Dynamic: home-page
45
+ Dynamic: keywords
46
+ Dynamic: license
47
+ Dynamic: platform
48
+ Dynamic: requires-dist
49
+ Dynamic: requires-python
50
+ Dynamic: summary
51
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
52
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
53
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
54
+
55
+
56
+ Wrappers for the "BrowserEngineKit" framework on macOS.
57
+
58
+ These wrappers don't include documentation, please check Apple's documentation
59
+ for information on how to use this framework and PyObjC's documentation
60
+ for general tips and tricks regarding the translation between Python
61
+ and (Objective-)C frameworks
62
+
63
+
64
+ Project links
65
+ -------------
66
+
67
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
68
+
69
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
70
+
71
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
72
+
@@ -0,0 +1,8 @@
1
+ BrowserEngineKit/_BrowserEngineKit.cpython-314-darwin.so,sha256=wYQbt6ZcwurkbjQnIbmu9WE_3SbCufoPJk_8Ia6oHTc,85624
2
+ BrowserEngineKit/__init__.py,sha256=5cpGCTRM6gFp2EUqxX_JJnuivz7B-E7W-e-mu5cMrFM,2670
3
+ BrowserEngineKit/_metadata.py,sha256=WRqtgrtVtBBjUO7rJ7Ajnw06T2ooHo-fgycGSiQWGXw,23648
4
+ pyobjc_framework_browserenginekit-12.0.dist-info/METADATA,sha256=cK_DEpWoF4Mrmd2csY6V_ATxjKy7RNi7MqHiYWwvArg,2720
5
+ pyobjc_framework_browserenginekit-12.0.dist-info/WHEEL,sha256=RUJYU8Uu6pIfKnlMpi3O3hTewcAU_Pb9njGie0PB81o,115
6
+ pyobjc_framework_browserenginekit-12.0.dist-info/pyobjc-build-info.txt,sha256=DrbcGDJq0sVhQwFajghJ82j-HCBI07U1mQQig6N9ubs,85
7
+ pyobjc_framework_browserenginekit-12.0.dist-info/top_level.txt,sha256=M9rbiFwQqCiKaNR1bCgoYBlrxO4ZFr7pDjLAaa6kGtQ,17
8
+ pyobjc_framework_browserenginekit-12.0.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-macosx_10_15_universal2
5
+
@@ -0,0 +1,3 @@
1
+ macOS 26.0.1 (25A362)
2
+ Apple clang version 17.0.0 (clang-1700.3.19.1)
3
+ SDK: macOS 26.0
@@ -0,0 +1 @@
1
+ BrowserEngineKit