API Notes: WebKit framework


An introduction to PyObjC describes the general method for translating Objective-C calls into Python calls, including the handling of pass-by-reference arguments and buffers.

This document describes where the PyObjC bindings for this framework are different from the general rule, such as mentioning APIs that are not supported or where the interface is different than expected.

The full API is described in Apple’s documentation, both the C and Objective-C APIs are available (but see the API Notes below).

These bindings are accessed through the WebKit package (that is, import WebKit).

API Notes

  • Carbon integration functions are not supported.

    The relevant functions are: HIWebViewCreate, HIWebViewCreateWithClass and HIWebViewGetWebView.

  • Java plugins (informal protocol WebJavaPlugIn) are not supported.

  • The NPAPI interface of WebKit is not supported