pyobjc-framework-BrowserEngineKit 12.2__cp315-cp315-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,800 @@
1
+ # This file is generated by objective.metadata
2
+ #
3
+ # Last update: Sun May 24 11:43:01 2026
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"BEWebContentFilter",
319
+ b"allowURL:completionHandler:",
320
+ {
321
+ "arguments": {
322
+ 3: {
323
+ "callable": {
324
+ "retval": {"type": b"v"},
325
+ "arguments": {
326
+ 0: {"type": b"^v"},
327
+ 1: {"type": b"Z"},
328
+ 2: {"type": b"@"},
329
+ },
330
+ }
331
+ }
332
+ }
333
+ },
334
+ )
335
+ r(
336
+ b"BEWebContentFilter",
337
+ b"evaluateURL:completionHandler:",
338
+ {
339
+ "arguments": {
340
+ 3: {
341
+ "callable": {
342
+ "retval": {"type": b"v"},
343
+ "arguments": {
344
+ 0: {"type": b"^v"},
345
+ 1: {"type": b"Z"},
346
+ 2: {"type": b"@"},
347
+ },
348
+ }
349
+ }
350
+ }
351
+ },
352
+ )
353
+ r(b"BEWebContentFilter", b"shouldEvaluateURLs", {"retval": {"type": b"Z"}})
354
+ r(
355
+ b"BEWebContentProcess",
356
+ b"grantCapability:error:",
357
+ {"arguments": {3: {"type_modifier": b"o"}}},
358
+ )
359
+ r(
360
+ b"BEWebContentProcess",
361
+ b"grantCapability:error:invalidationHandler:",
362
+ {
363
+ "arguments": {
364
+ 3: {"type_modifier": b"o"},
365
+ 4: {
366
+ "callable": {
367
+ "retval": {"type": b"v"},
368
+ "arguments": {0: {"type": b"^v"}},
369
+ }
370
+ },
371
+ }
372
+ },
373
+ )
374
+ r(
375
+ b"BEWebContentProcess",
376
+ b"makeLibXPCConnectionError:",
377
+ {"arguments": {2: {"type_modifier": b"o"}}},
378
+ )
379
+ r(
380
+ b"BEWebContentProcess",
381
+ b"webContentProcessWithBundleID:interruptionHandler:completion:",
382
+ {
383
+ "arguments": {
384
+ 3: {
385
+ "callable": {
386
+ "retval": {"type": b"v"},
387
+ "arguments": {0: {"type": b"^v"}},
388
+ }
389
+ },
390
+ 4: {
391
+ "callable": {
392
+ "retval": {"type": b"v"},
393
+ "arguments": {
394
+ 0: {"type": b"^v"},
395
+ 1: {"type": b"@"},
396
+ 2: {"type": b"@"},
397
+ },
398
+ }
399
+ },
400
+ }
401
+ },
402
+ )
403
+ r(
404
+ b"BEWebContentProcess",
405
+ b"webContentProcessWithInterruptionHandler:completion:",
406
+ {
407
+ "arguments": {
408
+ 2: {
409
+ "callable": {
410
+ "retval": {"type": b"v"},
411
+ "arguments": {0: {"type": b"^v"}},
412
+ }
413
+ },
414
+ 3: {
415
+ "callable": {
416
+ "retval": {"type": b"v"},
417
+ "arguments": {
418
+ 0: {"type": b"^v"},
419
+ 1: {"type": b"@"},
420
+ 2: {"type": b"@"},
421
+ },
422
+ }
423
+ },
424
+ }
425
+ },
426
+ )
427
+ r(
428
+ b"NSObject",
429
+ b"accessibilityBoundsForTextMarkerRange:",
430
+ {
431
+ "required": True,
432
+ "retval": {"type": b"{CGRect={CGPoint=dd}{CGSize=dd}}"},
433
+ "arguments": {2: {"type": b"@"}},
434
+ },
435
+ )
436
+ r(
437
+ b"NSObject",
438
+ b"accessibilityContentForTextMarkerRange:",
439
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
440
+ )
441
+ r(
442
+ b"NSObject",
443
+ b"accessibilityLineEndMarkerForMarker:",
444
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
445
+ )
446
+ r(
447
+ b"NSObject",
448
+ b"accessibilityLineEndPositionFromCurrentSelection",
449
+ {"retval": {"type": b"q"}},
450
+ )
451
+ r(
452
+ b"NSObject",
453
+ b"accessibilityLineRangeForPosition:",
454
+ {"retval": {"type": b"{_NSRange=QQ}"}, "arguments": {2: {"type": b"q"}}},
455
+ )
456
+ r(
457
+ b"NSObject",
458
+ b"accessibilityLineStartMarkerForMarker:",
459
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
460
+ )
461
+ r(
462
+ b"NSObject",
463
+ b"accessibilityLineStartPositionFromCurrentSelection",
464
+ {"retval": {"type": b"q"}},
465
+ )
466
+ r(
467
+ b"NSObject",
468
+ b"accessibilityMarkerForPoint:",
469
+ {
470
+ "required": True,
471
+ "retval": {"type": b"@"},
472
+ "arguments": {2: {"type": b"{CGPoint=dd}"}},
473
+ },
474
+ )
475
+ r(
476
+ b"NSObject",
477
+ b"accessibilityNextTextMarker:",
478
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
479
+ )
480
+ r(
481
+ b"NSObject",
482
+ b"accessibilityPreviousTextMarker:",
483
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"@"}}},
484
+ )
485
+ r(
486
+ b"NSObject",
487
+ b"accessibilityRangeForTextMarkerRange:",
488
+ {
489
+ "required": True,
490
+ "retval": {"type": b"{_NSRange=QQ}"},
491
+ "arguments": {2: {"type": b"@"}},
492
+ },
493
+ )
494
+ r(
495
+ b"NSObject",
496
+ b"accessibilityTextMarkerForPosition:",
497
+ {"required": True, "retval": {"type": b"@"}, "arguments": {2: {"type": b"q"}}},
498
+ )
499
+ r(
500
+ b"NSObject",
501
+ b"accessibilityTextMarkerRange",
502
+ {"required": True, "retval": {"type": b"@"}},
503
+ )
504
+ r(
505
+ b"NSObject",
506
+ b"accessibilityTextMarkerRangeForCurrentSelection",
507
+ {"required": True, "retval": {"type": b"@"}},
508
+ )
509
+ r(
510
+ b"NSObject",
511
+ b"accessibilityTextMarkerRangeForRange:",
512
+ {
513
+ "required": True,
514
+ "retval": {"type": b"@"},
515
+ "arguments": {2: {"type": b"{_NSRange=QQ}"}},
516
+ },
517
+ )
518
+ r(
519
+ b"NSObject",
520
+ b"browserAccessibilityAttributedValueInRange:",
521
+ {"retval": {"type": b"@"}, "arguments": {2: {"type": b"{_NSRange=QQ}"}}},
522
+ )
523
+ r(b"NSObject", b"browserAccessibilityContainerType", {"retval": {"type": b"Q"}})
524
+ r(b"NSObject", b"browserAccessibilityCurrentStatus", {"retval": {"type": b"@"}})
525
+ r(
526
+ b"NSObject",
527
+ b"browserAccessibilityDeleteTextAtCursor:",
528
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"q"}}},
529
+ )
530
+ r(b"NSObject", b"browserAccessibilityHasDOMFocus", {"retval": {"type": b"Z"}})
531
+ r(
532
+ b"NSObject",
533
+ b"browserAccessibilityInsertTextAtCursor:",
534
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
535
+ )
536
+ r(b"NSObject", b"browserAccessibilityIsRequired", {"retval": {"type": b"Z"}})
537
+ r(b"NSObject", b"browserAccessibilityPressedState", {"retval": {"type": b"q"}})
538
+ r(b"NSObject", b"browserAccessibilityRoleDescription", {"retval": {"type": b"@"}})
539
+ r(
540
+ b"NSObject",
541
+ b"browserAccessibilitySelectedTextRange",
542
+ {"retval": {"type": b"{_NSRange=QQ}"}},
543
+ )
544
+ r(
545
+ b"NSObject",
546
+ b"browserAccessibilitySetSelectedTextRange:",
547
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"{_NSRange=QQ}"}}},
548
+ )
549
+ r(b"NSObject", b"browserAccessibilitySortDirection", {"retval": {"type": b"@"}})
550
+ r(
551
+ b"NSObject",
552
+ b"browserAccessibilityValueInRange:",
553
+ {"retval": {"type": b"@"}, "arguments": {2: {"type": b"{_NSRange=QQ}"}}},
554
+ )
555
+ r(b"NSObject", b"invalidate", {"required": True, "retval": {"type": b"Z"}})
556
+ r(
557
+ b"NSObject",
558
+ b"invalidateTextEntryContextForTextInput:",
559
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
560
+ )
561
+ r(b"NSObject", b"isValid", {"required": True, "retval": {"type": b"Z"}})
562
+ r(
563
+ b"NSObject",
564
+ b"makeLibXPCConnectionError:",
565
+ {
566
+ "required": True,
567
+ "retval": {"type": b"@"},
568
+ "arguments": {2: {"type": b"^@", "type_modifier": b"o"}},
569
+ },
570
+ )
571
+ r(
572
+ b"NSObject",
573
+ b"selectionDidChangeForTextInput:",
574
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
575
+ )
576
+ r(
577
+ b"NSObject",
578
+ b"selectionWillChangeForTextInput:",
579
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
580
+ )
581
+ r(
582
+ b"NSObject",
583
+ b"setBrowserAccessibilityContainerType:",
584
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"Q"}}},
585
+ )
586
+ r(
587
+ b"NSObject",
588
+ b"setBrowserAccessibilityCurrentStatus:",
589
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
590
+ )
591
+ r(
592
+ b"NSObject",
593
+ b"setBrowserAccessibilityHasDOMFocus:",
594
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"Z"}}},
595
+ )
596
+ r(
597
+ b"NSObject",
598
+ b"setBrowserAccessibilityIsRequired:",
599
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"Z"}}},
600
+ )
601
+ r(
602
+ b"NSObject",
603
+ b"setBrowserAccessibilityPressedState:",
604
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"q"}}},
605
+ )
606
+ r(
607
+ b"NSObject",
608
+ b"setBrowserAccessibilityRoleDescription:",
609
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
610
+ )
611
+ r(
612
+ b"NSObject",
613
+ b"setBrowserAccessibilitySortDirection:",
614
+ {"retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
615
+ )
616
+ r(
617
+ b"NSObject",
618
+ b"shouldDeferEventHandlingToSystemForTextInput:context:",
619
+ {
620
+ "required": True,
621
+ "retval": {"type": b"Z"},
622
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
623
+ },
624
+ )
625
+ r(
626
+ b"NSObject",
627
+ b"systemDidChangeSelectionForInteraction:",
628
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
629
+ )
630
+ r(
631
+ b"NSObject",
632
+ b"systemWillChangeSelectionForInteraction:",
633
+ {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
634
+ )
635
+ r(
636
+ b"NSObject",
637
+ b"textInput:deferReplaceTextActionToSystem:",
638
+ {
639
+ "required": True,
640
+ "retval": {"type": b"v"},
641
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
642
+ },
643
+ )
644
+ r(
645
+ b"NSObject",
646
+ b"textInput:setCandidateSuggestions:",
647
+ {
648
+ "required": True,
649
+ "retval": {"type": b"v"},
650
+ "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
651
+ },
652
+ )
653
+ finally:
654
+ objc._updatingMetadata(False)
655
+
656
+ objc.registerNewKeywordsFromSelector("BEDownloadMonitor", b"init")
657
+ objc.registerNewKeywordsFromSelector(
658
+ "BEDownloadMonitor",
659
+ b"initWithSourceURL:destinationURL:observedProgress:liveActivityAccessToken:",
660
+ )
661
+ objc.registerNewKeywordsFromSelector("BEDownloadMonitorLocation", b"init")
662
+ objc.registerNewKeywordsFromSelector("BELayerHierarchy", b"init")
663
+ objc.registerNewKeywordsFromSelector("BELayerHierarchyHandle", b"init")
664
+ objc.registerNewKeywordsFromSelector(
665
+ "BELayerHierarchyHostingTransactionCoordinator", b"init"
666
+ )
667
+ objc.registerNewKeywordsFromSelector("BEMediaEnvironment", b"init")
668
+ objc.registerNewKeywordsFromSelector("BEMediaEnvironment", b"initWithWebPageURL:")
669
+ objc.registerNewKeywordsFromSelector("BENetworkingProcess", b"init")
670
+ objc.registerNewKeywordsFromSelector("BERenderingProcess", b"init")
671
+ objc.registerNewKeywordsFromSelector("BETextAlternatives", b"init")
672
+ objc.registerNewKeywordsFromSelector("BETextSuggestion", b"init")
673
+ objc.registerNewKeywordsFromSelector("BETextSuggestion", b"initWithInputText:")
674
+ objc.registerNewKeywordsFromSelector("BEWebAppManifest", b"init")
675
+ objc.registerNewKeywordsFromSelector(
676
+ "BEWebAppManifest", b"initWithJSONData:manifestURL:"
677
+ )
678
+ objc.registerNewKeywordsFromSelector("BEWebContentProcess", b"init")
679
+
680
+ objc.registerNewKeywords(
681
+ "BEProcessCapability", ("environment",), "mediaPlaybackAndCaptureWithEnvironment_"
682
+ )
683
+ protocols = {
684
+ "BEAccessibility": objc.informal_protocol(
685
+ "BEAccessibility",
686
+ [
687
+ objc.selector(
688
+ None, b"setBrowserAccessibilityIsRequired:", b"v@:Z", isRequired=False
689
+ ),
690
+ objc.selector(
691
+ None,
692
+ b"accessibilityLineRangeForPosition:",
693
+ b"{_NSRange=QQ}@:q",
694
+ isRequired=False,
695
+ ),
696
+ objc.selector(
697
+ None, b"browserAccessibilityCurrentStatus", b"@@:", isRequired=False
698
+ ),
699
+ objc.selector(
700
+ None,
701
+ b"browserAccessibilityInsertTextAtCursor:",
702
+ b"v@:@",
703
+ isRequired=False,
704
+ ),
705
+ objc.selector(
706
+ None,
707
+ b"accessibilityLineStartPositionFromCurrentSelection",
708
+ b"q@:",
709
+ isRequired=False,
710
+ ),
711
+ objc.selector(
712
+ None,
713
+ b"setBrowserAccessibilityContainerType:",
714
+ b"v@:Q",
715
+ isRequired=False,
716
+ ),
717
+ objc.selector(
718
+ None,
719
+ b"setBrowserAccessibilityCurrentStatus:",
720
+ b"v@:@",
721
+ isRequired=False,
722
+ ),
723
+ objc.selector(
724
+ None,
725
+ b"setBrowserAccessibilitySortDirection:",
726
+ b"v@:@",
727
+ isRequired=False,
728
+ ),
729
+ objc.selector(
730
+ None, b"setBrowserAccessibilityHasDOMFocus:", b"v@:Z", isRequired=False
731
+ ),
732
+ objc.selector(
733
+ None, b"browserAccessibilityRoleDescription", b"@@:", isRequired=False
734
+ ),
735
+ objc.selector(
736
+ None,
737
+ b"accessibilityLineEndPositionFromCurrentSelection",
738
+ b"q@:",
739
+ isRequired=False,
740
+ ),
741
+ objc.selector(
742
+ None,
743
+ b"browserAccessibilitySetSelectedTextRange:",
744
+ b"v@:{_NSRange=QQ}",
745
+ isRequired=False,
746
+ ),
747
+ objc.selector(
748
+ None, b"browserAccessibilityIsRequired", b"Z@:", isRequired=False
749
+ ),
750
+ objc.selector(
751
+ None,
752
+ b"browserAccessibilitySelectedTextRange",
753
+ b"{_NSRange=QQ}@:",
754
+ isRequired=False,
755
+ ),
756
+ objc.selector(
757
+ None,
758
+ b"browserAccessibilityAttributedValueInRange:",
759
+ b"@@:{_NSRange=QQ}",
760
+ isRequired=False,
761
+ ),
762
+ objc.selector(
763
+ None, b"browserAccessibilityHasDOMFocus", b"Z@:", isRequired=False
764
+ ),
765
+ objc.selector(
766
+ None, b"browserAccessibilitySortDirection", b"@@:", isRequired=False
767
+ ),
768
+ objc.selector(
769
+ None, b"browserAccessibilityPressedState", b"q@:", isRequired=False
770
+ ),
771
+ objc.selector(
772
+ None, b"browserAccessibilityContainerType", b"Q@:", isRequired=False
773
+ ),
774
+ objc.selector(
775
+ None,
776
+ b"setBrowserAccessibilityRoleDescription:",
777
+ b"v@:@",
778
+ isRequired=False,
779
+ ),
780
+ objc.selector(
781
+ None,
782
+ b"browserAccessibilityDeleteTextAtCursor:",
783
+ b"v@:q",
784
+ isRequired=False,
785
+ ),
786
+ objc.selector(
787
+ None,
788
+ b"browserAccessibilityValueInRange:",
789
+ b"@@:{_NSRange=QQ}",
790
+ isRequired=False,
791
+ ),
792
+ objc.selector(
793
+ None, b"setBrowserAccessibilityPressedState:", b"v@:q", isRequired=False
794
+ ),
795
+ ],
796
+ )
797
+ }
798
+ expressions = {}
799
+
800
+ # END OF FILE
@@ -0,0 +1,71 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyobjc-framework-BrowserEngineKit
3
+ Version: 12.2
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.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
+ Classifier: Programming Language :: Objective C
29
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
+ Classifier: Topic :: Software Development :: User Interfaces
31
+ Requires-Python: >=3.10
32
+ Description-Content-Type: text/x-rst; charset=UTF-8
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-CoreMedia>=12.2
35
+ Requires-Dist: pyobjc-framework-CoreAudio>=12.2
36
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
37
+ Requires-Dist: pyobjc-framework-Quartz>=12.2
38
+ Dynamic: author
39
+ Dynamic: author-email
40
+ Dynamic: classifier
41
+ Dynamic: description
42
+ Dynamic: description-content-type
43
+ Dynamic: home-page
44
+ Dynamic: keywords
45
+ Dynamic: license
46
+ Dynamic: platform
47
+ Dynamic: requires-dist
48
+ Dynamic: requires-python
49
+ Dynamic: summary
50
+ Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
51
+ Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
52
+ Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
53
+
54
+
55
+ Wrappers for the "BrowserEngineKit" framework on macOS.
56
+
57
+ These wrappers don't include documentation, please check Apple's documentation
58
+ for information on how to use this framework and PyObjC's documentation
59
+ for general tips and tricks regarding the translation between Python
60
+ and (Objective-)C frameworks
61
+
62
+
63
+ Project links
64
+ -------------
65
+
66
+ * `Documentation <https://pyobjc.readthedocs.io/en/latest/>`_
67
+
68
+ * `Issue Tracker <https://github.com/ronaldoussoren/pyobjc/issues>`_
69
+
70
+ * `Repository <https://github.com/ronaldoussoren/pyobjc/>`_
71
+
@@ -0,0 +1,8 @@
1
+ BrowserEngineKit/_BrowserEngineKit.cpython-315-darwin.so,sha256=uXPs7bxoGCTCezhmfdFgZ0rXitjw8w4YJVWZv0fJsDk,85624
2
+ BrowserEngineKit/__init__.py,sha256=5cpGCTRM6gFp2EUqxX_JJnuivz7B-E7W-e-mu5cMrFM,2670
3
+ BrowserEngineKit/_metadata.py,sha256=sUdhIQqyekfp6Lw-ba8-8EC1xLMmvp1enYMV3BucwT4,25700
4
+ pyobjc_framework_browserenginekit-12.2.dist-info/METADATA,sha256=E-Aeu5hPB83ECbkhWavGJ0mL7yTEA8X7rA3OmlJ9_58,2673
5
+ pyobjc_framework_browserenginekit-12.2.dist-info/WHEEL,sha256=2M_SYDyM5rEsv_ln2yEuQGcyAVVUxLKyXAZ43VblWzk,115
6
+ pyobjc_framework_browserenginekit-12.2.dist-info/pyobjc-build-info.txt,sha256=Ri0Wl_rPog8K797Y9SwUgX2P5KgewvMu0uQOBhtk0lo,83
7
+ pyobjc_framework_browserenginekit-12.2.dist-info/top_level.txt,sha256=M9rbiFwQqCiKaNR1bCgoYBlrxO4ZFr7pDjLAaa6kGtQ,17
8
+ pyobjc_framework_browserenginekit-12.2.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp315-cp315-macosx_10_15_universal2
5
+
@@ -0,0 +1,3 @@
1
+ macOS 26.5 (25F71)
2
+ Apple clang version 21.0.0 (clang-2100.1.1.101)
3
+ SDK: macOS 26.5
@@ -0,0 +1 @@
1
+ BrowserEngineKit