webkit

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package webkit provides purego-based Go bindings for the macOS WebKit framework.

Apple documentation: https://developer.apple.com/documentation/webkit

Index

Constants

View Source
const (
	DOM_ANY_TYPE                     = 0
	DOM_ANY_UNORDERED_NODE_TYPE      = 8
	DOM_BOOLEAN_TYPE                 = 3
	DOM_FIRST_ORDERED_NODE_TYPE      = 9
	DOM_NUMBER_TYPE                  = 1
	DOM_ORDERED_NODE_ITERATOR_TYPE   = 5
	DOM_ORDERED_NODE_SNAPSHOT_TYPE   = 7
	DOM_STRING_TYPE                  = 2
	DOM_UNORDERED_NODE_ITERATOR_TYPE = 4
	DOM_UNORDERED_NODE_SNAPSHOT_TYPE = 6
)
View Source
const (
	DOM_CSS_CUSTOM          = 3
	DOM_CSS_INHERIT         = 0
	DOM_CSS_PRIMITIVE_VALUE = 1
	DOM_CSS_VALUE_LIST      = 2
)
View Source
const (
	DOM_CSS_ATTR       = 22
	DOM_CSS_CM         = 6
	DOM_CSS_COUNTER    = 23
	DOM_CSS_DEG        = 11
	DOM_CSS_DIMENSION  = 18
	DOM_CSS_EMS        = 3
	DOM_CSS_EXS        = 4
	DOM_CSS_GRAD       = 13
	DOM_CSS_HZ         = 16
	DOM_CSS_IDENT      = 21
	DOM_CSS_IN         = 8
	DOM_CSS_KHZ        = 17
	DOM_CSS_MM         = 7
	DOM_CSS_MS         = 14
	DOM_CSS_NUMBER     = 1
	DOM_CSS_PC         = 10
	DOM_CSS_PERCENTAGE = 2
	DOM_CSS_PT         = 9
	DOM_CSS_PX         = 5
	DOM_CSS_RAD        = 12
	DOM_CSS_RECT       = 24
	DOM_CSS_RGBCOLOR   = 25
	DOM_CSS_S          = 15
	DOM_CSS_STRING     = 19
	DOM_CSS_UNKNOWN    = 0
	DOM_CSS_URI        = 20
	DOM_CSS_VH         = 27
	DOM_CSS_VMAX       = 29
	DOM_CSS_VMIN       = 28
	DOM_CSS_VW         = 26
)
View Source
const (
	DOM_DOM_DELTA_LINE  = 1
	DOM_DOM_DELTA_PAGE  = 2
	DOM_DOM_DELTA_PIXEL = 0
)
View Source
const (
	DOM_ATTRIBUTE_NODE                            = 2
	DOM_CDATA_SECTION_NODE                        = 4
	DOM_COMMENT_NODE                              = 8
	DOM_DOCUMENT_FRAGMENT_NODE                    = 11
	DOM_DOCUMENT_NODE                             = 9
	DOM_DOCUMENT_POSITION_CONTAINED_BY            = 16
	DOM_DOCUMENT_POSITION_CONTAINS                = 8
	DOM_DOCUMENT_POSITION_DISCONNECTED            = 1
	DOM_DOCUMENT_POSITION_FOLLOWING               = 4
	DOM_DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32
	DOM_DOCUMENT_POSITION_PRECEDING               = 2
	DOM_DOCUMENT_TYPE_NODE                        = 10
	DOM_ELEMENT_NODE                              = 1
	DOM_ENTITY_NODE                               = 6
	DOM_ENTITY_REFERENCE_NODE                     = 5
	DOM_NOTATION_NODE                             = 12
	DOM_PROCESSING_INSTRUCTION_NODE               = 7
	DOM_TEXT_NODE                                 = 3
)
View Source
const (
	DOM_FILTER_ACCEPT               = 1
	DOM_FILTER_REJECT               = 2
	DOM_FILTER_SKIP                 = 3
	DOM_SHOW_ALL                    = 4294967295
	DOM_SHOW_ATTRIBUTE              = 2
	DOM_SHOW_CDATA_SECTION          = 8
	DOM_SHOW_COMMENT                = 128
	DOM_SHOW_DOCUMENT               = 256
	DOM_SHOW_DOCUMENT_FRAGMENT      = 1024
	DOM_SHOW_DOCUMENT_TYPE          = 512
	DOM_SHOW_ELEMENT                = 1
	DOM_SHOW_ENTITY                 = 32
	DOM_SHOW_ENTITY_REFERENCE       = 16
	DOM_SHOW_NOTATION               = 2048
	DOM_SHOW_PROCESSING_INSTRUCTION = 64
	DOM_SHOW_TEXT                   = 4
)
View Source
const (
	DOM_BOTH       = 2
	DOM_HORIZONTAL = 0
	DOM_VERTICAL   = 1
)
View Source
const (
	DOM_KEY_LOCATION_LEFT     = 1
	DOM_KEY_LOCATION_NUMPAD   = 3
	DOM_KEY_LOCATION_RIGHT    = 2
	DOM_KEY_LOCATION_STANDARD = 0
)
View Source
const (
	DOM_ADDITION     = 2
	DOM_MODIFICATION = 1
	DOM_REMOVAL      = 3
)
View Source
const (
	DOM_AT_TARGET       = 2
	DOM_BUBBLING_PHASE  = 3
	DOM_CAPTURING_PHASE = 1
	DOM_NONE            = 0
)
View Source
const (
	DOM_END_TO_END            = 2
	DOM_END_TO_START          = 3
	DOM_NODE_AFTER            = 1
	DOM_NODE_BEFORE           = 0
	DOM_NODE_BEFORE_AND_AFTER = 2
	DOM_NODE_INSIDE           = 3
	DOM_START_TO_END          = 1
	DOM_START_TO_START        = 0
)
View Source
const (
	DOM_CHARSET_RULE          = 2
	DOM_FONT_FACE_RULE        = 5
	DOM_IMPORT_RULE           = 3
	DOM_KEYFRAMES_RULE        = 7
	DOM_KEYFRAME_RULE         = 8
	DOM_MEDIA_RULE            = 4
	DOM_NAMESPACE_RULE        = 10
	DOM_PAGE_RULE             = 6
	DOM_STYLE_RULE            = 1
	DOM_SUPPORTS_RULE         = 12
	DOM_UNKNOWN_RULE          = 0
	DOM_WEBKIT_KEYFRAMES_RULE = 7
	DOM_WEBKIT_KEYFRAME_RULE  = 8
	DOM_WEBKIT_REGION_RULE    = 16
)
View Source
const (
	WebKitErrorBlockedPlugInVersion = 203
	WebKitErrorCannotFindPlugIn     = 200
	WebKitErrorCannotLoadPlugIn     = 201
	WebKitErrorJavaUnavailable      = 202
)
View Source
const (
	WebKitErrorCannotShowMIMEType                 = 100
	WebKitErrorCannotShowURL                      = 101
	WebKitErrorFrameLoadInterruptedByPolicyChange = 102
)
View Source
const (
	WebMenuItemPDFActualSize                 = 24
	WebMenuItemPDFAutoSize                   = 27
	WebMenuItemPDFContinuous                 = 30
	WebMenuItemPDFFacingPages                = 29
	WebMenuItemPDFNextPage                   = 31
	WebMenuItemPDFPreviousPage               = 32
	WebMenuItemPDFSinglePage                 = 28
	WebMenuItemPDFZoomIn                     = 25
	WebMenuItemPDFZoomOut                    = 26
	WebMenuItemTagCopy                       = 8
	WebMenuItemTagCopyImageToClipboard       = 6
	WebMenuItemTagCopyLinkToClipboard        = 3
	WebMenuItemTagCut                        = 13
	WebMenuItemTagDownloadImageToDisk        = 5
	WebMenuItemTagDownloadLinkToDisk         = 2
	WebMenuItemTagGoBack                     = 9
	WebMenuItemTagGoForward                  = 10
	WebMenuItemTagIgnoreSpelling             = 17
	WebMenuItemTagLearnSpelling              = 18
	WebMenuItemTagLookUpInDictionary         = 22
	WebMenuItemTagNoGuessesFound             = 16
	WebMenuItemTagOpenFrameInNewWindow       = 7
	WebMenuItemTagOpenImageInNewWindow       = 4
	WebMenuItemTagOpenLinkInNewWindow        = 1
	WebMenuItemTagOpenWithDefaultApplication = 23
	WebMenuItemTagOther                      = 19
	WebMenuItemTagPaste                      = 14
	WebMenuItemTagReload                     = 12
	WebMenuItemTagSearchInSpotlight          = 20
	WebMenuItemTagSearchWeb                  = 21
	WebMenuItemTagSpellingGuess              = 15
	WebMenuItemTagStop                       = 11
)
View Source
const (
	DOM_ALLOW_KEYBOARD_INPUT = 1
)

Variables

This section is empty.

Functions

func DOMEventException

func DOMEventException() uintptr

func DOMException

func DOMException() uintptr

func DOMRangeException

func DOMRangeException() uintptr

func DOMXPathException

func DOMXPathException() uintptr

func NSReadAccessURLDocumentOption

func NSReadAccessURLDocumentOption() uintptr

@abstract Indicates which local files WebKit can access when loading content. @discussion If NSReadAccessURLDocumentOption references a single file, only that file may be loaded by WebKit. If NSReadAccessURLDocumentOption references a directory, files inside that directory may be loaded by WebKit.

func WKErrorDomain

func WKErrorDomain() uintptr

@constant WKErrorDomain Indicates a WebKit error.

func WKWebExtensionContextDeniedPermissionMatchPatternsWereRemovedNotification

func WKWebExtensionContextDeniedPermissionMatchPatternsWereRemovedNotification() uintptr

func WKWebExtensionContextDeniedPermissionsWereRemovedNotification

func WKWebExtensionContextDeniedPermissionsWereRemovedNotification() uintptr

func WKWebExtensionContextErrorDomain

func WKWebExtensionContextErrorDomain() uintptr

func WKWebExtensionContextErrorsDidUpdateNotification

func WKWebExtensionContextErrorsDidUpdateNotification() uintptr

func WKWebExtensionContextGrantedPermissionMatchPatternsWereRemovedNotification

func WKWebExtensionContextGrantedPermissionMatchPatternsWereRemovedNotification() uintptr

func WKWebExtensionContextGrantedPermissionsWereRemovedNotification

func WKWebExtensionContextGrantedPermissionsWereRemovedNotification() uintptr

func WKWebExtensionContextNotificationUserInfoKeyMatchPatterns

func WKWebExtensionContextNotificationUserInfoKeyMatchPatterns() *foundation.NSString

func WKWebExtensionContextNotificationUserInfoKeyPermissions

func WKWebExtensionContextNotificationUserInfoKeyPermissions() *foundation.NSString

func WKWebExtensionContextPermissionMatchPatternsWereDeniedNotification

func WKWebExtensionContextPermissionMatchPatternsWereDeniedNotification() uintptr

func WKWebExtensionContextPermissionMatchPatternsWereGrantedNotification

func WKWebExtensionContextPermissionMatchPatternsWereGrantedNotification() uintptr

func WKWebExtensionContextPermissionsWereDeniedNotification

func WKWebExtensionContextPermissionsWereDeniedNotification() uintptr

func WKWebExtensionContextPermissionsWereGrantedNotification

func WKWebExtensionContextPermissionsWereGrantedNotification() uintptr

func WKWebExtensionControllerAllExtensionDataTypes

func WKWebExtensionControllerAllExtensionDataTypes() *foundation.NSSet[*foundation.NSString]

@abstract Returns a set of all available extension data types.

func WKWebExtensionDataRecordErrorDomain

func WKWebExtensionDataRecordErrorDomain() uintptr

func WKWebExtensionDataTypeLocal

func WKWebExtensionDataTypeLocal() *foundation.NSString

func WKWebExtensionDataTypeSession

func WKWebExtensionDataTypeSession() *foundation.NSString

func WKWebExtensionDataTypeSynchronized

func WKWebExtensionDataTypeSynchronized() *foundation.NSString

func WKWebExtensionErrorDomain

func WKWebExtensionErrorDomain() uintptr

func WKWebExtensionExtensionWithAppExtensionBundleCompletionHandler

func WKWebExtensionExtensionWithAppExtensionBundleCompletionHandler(appExtensionBundle *foundation.NSBundle, completionHandler func(*WKWebExtension, unsafe.Pointer))

@abstract Returns a web extension initialized with a specified app extension bundle. @param appExtensionBundle The bundle to use for the new web extension. @param completionHandler A block to be called with an initialized web extension, or \c nil if the object could not be initialized due to an error. @discussion The app extension bundle must contain a `manifest.json` file in its resources directory. If the manifest is invalid or missing, or the bundle is otherwise improperly configured, an error will be returned.

func WKWebExtensionExtensionWithResourceBaseURLCompletionHandler

func WKWebExtensionExtensionWithResourceBaseURLCompletionHandler(resourceBaseURL *foundation.NSURL, completionHandler func(*WKWebExtension, unsafe.Pointer))

@abstract Returns a web extension initialized with a specified resource base URL, which can point to either a directory or a ZIP archive. @param resourceBaseURL The file URL to use for the new web extension. @param completionHandler A block to be called with an initialized web extension, or \c nil if the object could not be initialized due to an error. @discussion The URL must be a file URL that points to either a directory with a `manifest.json` file or a ZIP archive containing a `manifest.json` file. If the manifest is invalid or missing, or the URL points to an unsupported format or invalid archive, an error will be returned.

func WKWebExtensionMatchPatternErrorDomain

func WKWebExtensionMatchPatternErrorDomain() uintptr

func WKWebExtensionMatchPatternRegisterCustomURLScheme

func WKWebExtensionMatchPatternRegisterCustomURLScheme(urlScheme *foundation.NSString)

@abstract Registers a custom URL scheme that can be used in match patterns. @discussion This method should be used to register any custom URL schemes used by the app for the extension base URLs, other than `webkit-extension`, or if extensions should have access to other supported URL schemes when using `<all_urls>`. @param urlScheme The custom URL scheme to register.

func WKWebExtensionMessagePortErrorDomain

func WKWebExtensionMessagePortErrorDomain() uintptr

func WKWebExtensionPermissionActiveTab

func WKWebExtensionPermissionActiveTab() *foundation.NSString

func WKWebExtensionPermissionAlarms

func WKWebExtensionPermissionAlarms() *foundation.NSString

func WKWebExtensionPermissionClipboardWrite

func WKWebExtensionPermissionClipboardWrite() *foundation.NSString

func WKWebExtensionPermissionContextMenus

func WKWebExtensionPermissionContextMenus() *foundation.NSString

func WKWebExtensionPermissionCookies

func WKWebExtensionPermissionCookies() *foundation.NSString

func WKWebExtensionPermissionDeclarativeNetRequest

func WKWebExtensionPermissionDeclarativeNetRequest() *foundation.NSString

func WKWebExtensionPermissionDeclarativeNetRequestFeedback

func WKWebExtensionPermissionDeclarativeNetRequestFeedback() *foundation.NSString

func WKWebExtensionPermissionDeclarativeNetRequestWithHostAccess

func WKWebExtensionPermissionDeclarativeNetRequestWithHostAccess() *foundation.NSString

func WKWebExtensionPermissionMenus

func WKWebExtensionPermissionMenus() *foundation.NSString

func WKWebExtensionPermissionNativeMessaging

func WKWebExtensionPermissionNativeMessaging() *foundation.NSString

func WKWebExtensionPermissionScripting

func WKWebExtensionPermissionScripting() *foundation.NSString

func WKWebExtensionPermissionStorage

func WKWebExtensionPermissionStorage() *foundation.NSString

func WKWebExtensionPermissionTabs

func WKWebExtensionPermissionTabs() *foundation.NSString

func WKWebExtensionPermissionUnlimitedStorage

func WKWebExtensionPermissionUnlimitedStorage() *foundation.NSString

func WKWebExtensionPermissionWebNavigation

func WKWebExtensionPermissionWebNavigation() *foundation.NSString

func WKWebExtensionPermissionWebRequest

func WKWebExtensionPermissionWebRequest() *foundation.NSString

func WKWebViewHandlesURLScheme

func WKWebViewHandlesURLScheme(urlScheme *foundation.NSString) bool

func WKWebsiteDataStoreAllWebsiteDataTypes

func WKWebsiteDataStoreAllWebsiteDataTypes() *foundation.NSSet[*foundation.NSString]

@abstract Returns a set of all available website data types.

func WKWebsiteDataStoreFetchAllDataStoreIdentifiers

func WKWebsiteDataStoreFetchAllDataStoreIdentifiers(completionHandler objc.Block)

@abstract Fetch all data stores identifiers. @param completionHandler A block to invoke with an array of identifiers when the operation completes. @discussion Default or non-persistent data store do not have an identifier.

func WKWebsiteDataStoreRemoveDataStoreForIdentifierCompletionHandler

func WKWebsiteDataStoreRemoveDataStoreForIdentifierCompletionHandler(identifier *foundation.NSUUID, completionHandler func(unsafe.Pointer))

@abstract Delete a persistent data store. @param identifier An identifier that is used to uniquely identify the data store. @param completionHandler A block to invoke with optional error when the operation completes. @discussion This should be called when the data store is not used any more. Returns error if removal fails to complete. WKWebView using the data store must be released before removal.

func WKWebsiteDataTypeCookies

func WKWebsiteDataTypeCookies() uintptr

@constant WKWebsiteDataTypeCookies Cookies.

func WKWebsiteDataTypeDiskCache

func WKWebsiteDataTypeDiskCache() uintptr

@constant WKWebsiteDataTypeDiskCache On-disk caches.

func WKWebsiteDataTypeFetchCache

func WKWebsiteDataTypeFetchCache() uintptr

@constant WKWebsiteDataTypeFetchCache On-disk Fetch caches.

func WKWebsiteDataTypeFileSystem

func WKWebsiteDataTypeFileSystem() uintptr

@constant WKWebsiteDataTypeFileSystem File system storage.

func WKWebsiteDataTypeHashSalt

func WKWebsiteDataTypeHashSalt() uintptr

@constant WKWebsiteDataTypeHashSalt Hash salt for deviceId

func WKWebsiteDataTypeIndexedDBDatabases

func WKWebsiteDataTypeIndexedDBDatabases() uintptr

@constant WKWebsiteDataTypeIndexedDBDatabases IndexedDB databases.

func WKWebsiteDataTypeLocalStorage

func WKWebsiteDataTypeLocalStorage() uintptr

@constant WKWebsiteDataTypeLocalStorage HTML local storage.

func WKWebsiteDataTypeMediaKeys

func WKWebsiteDataTypeMediaKeys() uintptr

@constant WKWebsiteDataTypeMediaKeys MediaKeys storage

func WKWebsiteDataTypeMemoryCache

func WKWebsiteDataTypeMemoryCache() uintptr

@constant WKWebsiteDataTypeMemoryCache In-memory caches.

func WKWebsiteDataTypeOfflineWebApplicationCache

func WKWebsiteDataTypeOfflineWebApplicationCache() uintptr

@constant WKWebsiteDataTypeOfflineWebApplicationCache HTML offline web application caches. Deprecated: WebApplicationCache is no longer supported

func WKWebsiteDataTypeScreenTime

func WKWebsiteDataTypeScreenTime() uintptr

@constant WKWebsiteDataTypeScreenTime Screen Time information

func WKWebsiteDataTypeSearchFieldRecentSearches

func WKWebsiteDataTypeSearchFieldRecentSearches() uintptr

@constant WKWebsiteDataTypeSearchFieldRecentSearches Search field history.

func WKWebsiteDataTypeServiceWorkerRegistrations

func WKWebsiteDataTypeServiceWorkerRegistrations() uintptr

@constant WKWebsiteDataTypeServiceWorkerRegistrations Service worker registrations.

func WKWebsiteDataTypeSessionStorage

func WKWebsiteDataTypeSessionStorage() uintptr

@constant WKWebsiteDataTypeSessionStorage HTML session storage.

func WKWebsiteDataTypeWebSQLDatabases

func WKWebsiteDataTypeWebSQLDatabases() uintptr

@constant WKWebsiteDataTypeWebSQLDatabases WebSQL databases.

func WebActionButtonKey

func WebActionButtonKey() *foundation.NSString

func WebActionElementKey

func WebActionElementKey() *foundation.NSString

func WebActionModifierFlagsKey

func WebActionModifierFlagsKey() *foundation.NSString

func WebActionNavigationTypeKey

func WebActionNavigationTypeKey() *foundation.NSString

func WebActionOriginalURLKey

func WebActionOriginalURLKey() *foundation.NSString

func WebArchivePboardType

func WebArchivePboardType() *foundation.NSString

@const WebArchivePboardType @abstract The pasteboard type constant used when adding or accessing a WebArchive on the pasteboard.

func WebElementDOMNodeKey

func WebElementDOMNodeKey() *foundation.NSString

func WebElementFrameKey

func WebElementFrameKey() *foundation.NSString

func WebElementImageAltStringKey

func WebElementImageAltStringKey() *foundation.NSString

func WebElementImageKey

func WebElementImageKey() *foundation.NSString

func WebElementImageRectKey

func WebElementImageRectKey() *foundation.NSString

func WebElementImageURLKey

func WebElementImageURLKey() *foundation.NSString

func WebElementIsSelectedKey

func WebElementIsSelectedKey() *foundation.NSString

func WebElementLinkLabelKey

func WebElementLinkLabelKey() *foundation.NSString

func WebElementLinkTargetFrameKey

func WebElementLinkTargetFrameKey() *foundation.NSString

func WebElementLinkTitleKey

func WebElementLinkTitleKey() *foundation.NSString

func WebElementLinkURLKey

func WebElementLinkURLKey() *foundation.NSString

func WebHistoryAllItemsRemovedNotification

func WebHistoryAllItemsRemovedNotification() *foundation.NSString

func WebHistoryItemChangedNotification

func WebHistoryItemChangedNotification() *foundation.NSString

func WebHistoryItemsAddedNotification

func WebHistoryItemsAddedNotification() *foundation.NSString

func WebHistoryItemsKey

func WebHistoryItemsKey() *foundation.NSString

func WebHistoryItemsRemovedNotification

func WebHistoryItemsRemovedNotification() *foundation.NSString

func WebHistoryLoadedNotification

func WebHistoryLoadedNotification() *foundation.NSString

func WebHistorySavedNotification

func WebHistorySavedNotification() *foundation.NSString

func WebHistorySetOptionalSharedHistory

func WebHistorySetOptionalSharedHistory(history *WebHistory)

@method setOptionalSharedHistory: @param history The history to use for the global WebHistory.

func WebKitErrorDomain

func WebKitErrorDomain() *foundation.NSString

func WebKitErrorMIMETypeKey

func WebKitErrorMIMETypeKey() uintptr

func WebKitErrorPlugInNameKey

func WebKitErrorPlugInNameKey() uintptr

func WebKitErrorPlugInPageURLStringKey

func WebKitErrorPlugInPageURLStringKey() uintptr

func WebPlugInAttributesKey

func WebPlugInAttributesKey() *foundation.NSString

@constant WebPlugInAttributesKey REQUIRED. The dictionary containing the names and values of all attributes of the HTML element associated with the plug-in AND the names and values of all parameters to be passed to the plug-in (e.g. PARAM elements within an APPLET element). In the case of a conflict between names, the attributes of an element take precedence over any PARAMs. All of the keys and values in this NSDictionary must be NSStrings.

func WebPlugInBaseURLKey

func WebPlugInBaseURLKey() *foundation.NSString

@constant WebPlugInBaseURLKey REQUIRED. The base URL of the document containing the plug-in's view.

func WebPlugInContainerKey

func WebPlugInContainerKey() *foundation.NSString

@constant WebPlugInContainer OPTIONAL. An object that conforms to the WebPlugInContainer informal protocol. This object is used for callbacks from the plug-in to the app. if this argument is nil, no callbacks will occur.

func WebPlugInContainingElementKey

func WebPlugInContainingElementKey() *foundation.NSString

@constant WebPlugInContainingElementKey The DOMElement that was used to specify the plug-in. May be nil.

func WebPlugInShouldLoadMainResourceKey

func WebPlugInShouldLoadMainResourceKey() *foundation.NSString

@constant WebPlugInShouldLoadMainResourceKey REQUIRED. NSNumber (BOOL) indicating whether the plug-in should load its own main resource (the "src" URL, in most cases). If YES, the plug-in should load its own main resource. If NO, the plug-in should use the data provided by WebKit. See -webPlugInMainResourceReceivedData: in WebPluginPrivate.h. For compatibility with older versions of WebKit, the plug-in should assume that the value for WebPlugInShouldLoadMainResourceKey is NO if it is absent from the arguments dictionary.

func WebPreferencesChangedNotification

func WebPreferencesChangedNotification() *foundation.NSString

func WebScriptObjectThrowException

func WebScriptObjectThrowException(exceptionMessage *foundation.NSString) bool

@method throwException: @discussion Throws an exception in the current script execution context. @result Either NO if an exception could not be raised, YES otherwise.

func WebViewCanShowMIMEType

func WebViewCanShowMIMEType(mIMEType *foundation.NSString) bool

@method canShowMIMEType: @abstract Checks if the WebKit can show content of a certain MIME type. @param MIMEType The MIME type to check. @result YES if the WebKit can show content with MIMEtype.

func WebViewCanShowMIMETypeAsHTML

func WebViewCanShowMIMETypeAsHTML(mIMEType *foundation.NSString) bool

@method canShowMIMETypeAsHTML: @abstract Checks if the MIME type is a type that the WebKit will interpret as HTML. @param MIMEType The MIME type to check. @result YES if the MIMEtype in an HTML type.

func WebViewDidBeginEditingNotification

func WebViewDidBeginEditingNotification() uintptr

func WebViewDidChangeNotification

func WebViewDidChangeNotification() uintptr

func WebViewDidChangeSelectionNotification

func WebViewDidChangeSelectionNotification() uintptr

func WebViewDidChangeTypingStyleNotification

func WebViewDidChangeTypingStyleNotification() uintptr

func WebViewDidEndEditingNotification

func WebViewDidEndEditingNotification() uintptr

func WebViewMIMETypesShownAsHTML

func WebViewMIMETypesShownAsHTML() *foundation.NSArray[objc.ID]

@method MIMETypesShownAsHTML @result Returns an array of NSStrings that describe the MIME types WebKit will attempt to render as HTML.

func WebViewProgressEstimateChangedNotification

func WebViewProgressEstimateChangedNotification() *foundation.NSString

func WebViewProgressFinishedNotification

func WebViewProgressFinishedNotification() *foundation.NSString

func WebViewProgressStartedNotification

func WebViewProgressStartedNotification() *foundation.NSString

func WebViewRegisterURLSchemeAsLocal

func WebViewRegisterURLSchemeAsLocal(scheme *foundation.NSString)

@method registerURLSchemeAsLocal: @abstract Adds the scheme to the list of schemes to be treated as local. @param scheme The scheme to register

func WebViewRegisterViewClassRepresentationClassForMIMEType

func WebViewRegisterViewClassRepresentationClassForMIMEType(viewClass objc.Class, representationClass objc.Class, mIMEType *foundation.NSString)

@method registerViewClass:representationClass:forMIMEType: @discussion Register classes that implement WebDocumentView and WebDocumentRepresentation respectively. A document class may register for a primary MIME type by excluding a subtype, i.e. "video/" will match the document class with all video types. More specific matching takes precedence over general matching. @param viewClass The WebDocumentView class to use to render data for a given MIME type. @param representationClass The WebDocumentRepresentation class to use to represent data of the given MIME type. @param MIMEType The MIME type to represent with an object of the given class.

func WebViewSetMIMETypesShownAsHTML

func WebViewSetMIMETypesShownAsHTML(mIMETypes *foundation.NSArray[objc.ID])

@method setMIMETypesShownAsHTML: @discussion Sets the array of NSString MIME types that WebKit will attempt to render as HTML. Typically you will retrieve the built-in array using MIMETypesShownAsHTML and add additional MIME types to that array.

func WebViewURLFromPasteboard

func WebViewURLFromPasteboard(pasteboard *appkit.NSPasteboard) *foundation.NSURL

@method URLFromPasteboard: @abstract Returns a URL from a pasteboard @param pasteboard The pasteboard with a URL @result A URL if the pasteboard has one. Nil if it does not. @discussion This method differs than NSURL's URLFromPasteboard method in that it tries multiple pasteboard types including NSURLPboardType to find a URL on the pasteboard.

func WebViewURLTitleFromPasteboard

func WebViewURLTitleFromPasteboard(pasteboard *appkit.NSPasteboard) *foundation.NSString

@method URLTitleFromPasteboard: @abstract Returns a URL title from a pasteboard @param pasteboard The pasteboard with a URL title @result A URL title if the pasteboard has one. Nil if it does not. @discussion This method returns a title that refers a URL on the pasteboard. An example of this is the link label which is the text inside the anchor tag.

Types

type Acl_entry_id_t

type Acl_entry_id_t int64
const (
	ACL_FIRST_ENTRY Acl_entry_id_t = 0
	ACL_NEXT_ENTRY  Acl_entry_id_t = -1
	ACL_LAST_ENTRY  Acl_entry_id_t = -2
)

func (Acl_entry_id_t) String

func (e Acl_entry_id_t) String() string

type Acl_flag_t

type Acl_flag_t int64
const (
	ACL_FLAG_DEFER_INHERIT      Acl_flag_t = 1
	ACL_FLAG_NO_INHERIT         Acl_flag_t = 131072
	ACL_ENTRY_INHERITED         Acl_flag_t = 16
	ACL_ENTRY_FILE_INHERIT      Acl_flag_t = 32
	ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64
	ACL_ENTRY_LIMIT_INHERIT     Acl_flag_t = 128
	ACL_ENTRY_ONLY_INHERIT      Acl_flag_t = 256
)

func (Acl_flag_t) String

func (e Acl_flag_t) String() string

type Acl_perm_t

type Acl_perm_t int64
const (
	ACL_READ_DATA           Acl_perm_t = 2
	ACL_LIST_DIRECTORY      Acl_perm_t = 2
	ACL_WRITE_DATA          Acl_perm_t = 4
	ACL_ADD_FILE            Acl_perm_t = 4
	ACL_EXECUTE             Acl_perm_t = 8
	ACL_SEARCH              Acl_perm_t = 8
	ACL_DELETE              Acl_perm_t = 16
	ACL_APPEND_DATA         Acl_perm_t = 32
	ACL_ADD_SUBDIRECTORY    Acl_perm_t = 32
	ACL_DELETE_CHILD        Acl_perm_t = 64
	ACL_READ_ATTRIBUTES     Acl_perm_t = 128
	ACL_WRITE_ATTRIBUTES    Acl_perm_t = 256
	ACL_READ_EXTATTRIBUTES  Acl_perm_t = 512
	ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024
	ACL_READ_SECURITY       Acl_perm_t = 2048
	ACL_WRITE_SECURITY      Acl_perm_t = 4096
	ACL_CHANGE_OWNER        Acl_perm_t = 8192
	ACL_SYNCHRONIZE         Acl_perm_t = 1048576
)

func (Acl_perm_t) String

func (e Acl_perm_t) String() string

type Acl_tag_t

type Acl_tag_t int64
const (
	ACL_UNDEFINED_TAG  Acl_tag_t = 0
	ACL_EXTENDED_ALLOW Acl_tag_t = 1
	ACL_EXTENDED_DENY  Acl_tag_t = 2
)

func (Acl_tag_t) String

func (e Acl_tag_t) String() string

type Acl_type_t

type Acl_type_t int64
const (
	ACL_TYPE_EXTENDED Acl_type_t = 256
	ACL_TYPE_ACCESS   Acl_type_t = 0
	ACL_TYPE_DEFAULT  Acl_type_t = 1
	ACL_TYPE_AFS      Acl_type_t = 2
	ACL_TYPE_CODA     Acl_type_t = 3
	ACL_TYPE_NTFS     Acl_type_t = 4
	ACL_TYPE_NWFS     Acl_type_t = 5
)

func (Acl_type_t) String

func (e Acl_type_t) String() string

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int64
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

type Clockid_t

type Clockid_t int64

func (Clockid_t) String

func (e Clockid_t) String() string

type DNSServiceAAAAPolicy

type DNSServiceAAAAPolicy int64
const (
	KDNSServiceAAAAPolicyNone     DNSServiceAAAAPolicy = 0
	KDNSServiceAAAAPolicyFallback DNSServiceAAAAPolicy = 1
)

func (DNSServiceAAAAPolicy) String

func (e DNSServiceAAAAPolicy) String() string

type DOMAbstractView

type DOMAbstractView struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domabstractview

func DOMAbstractViewFromID

func DOMAbstractViewFromID(id objc.ID) *DOMAbstractView

func (*DOMAbstractView) Document

func (o *DOMAbstractView) Document() *DOMDocument

type DOMAttr

type DOMAttr struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domattr

func DOMAttrFromID

func DOMAttrFromID(id objc.ID) *DOMAttr

func (*DOMAttr) Name

func (o *DOMAttr) Name() *foundation.NSString

func (*DOMAttr) OwnerElement

func (o *DOMAttr) OwnerElement() *DOMElement

func (*DOMAttr) SetValue

func (o *DOMAttr) SetValue(value *foundation.NSString)

func (*DOMAttr) Specified

func (o *DOMAttr) Specified() bool

func (*DOMAttr) Style

func (o *DOMAttr) Style() *DOMCSSStyleDeclaration

func (*DOMAttr) Value

func (o *DOMAttr) Value() *foundation.NSString

type DOMBlob

type DOMBlob struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domblob

func DOMBlobFromID

func DOMBlobFromID(id objc.ID) *DOMBlob

func (*DOMBlob) Size

func (o *DOMBlob) Size() uint64

type DOMCDATASection

type DOMCDATASection struct {
	DOMText
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcdatasection

func DOMCDATASectionFromID

func DOMCDATASectionFromID(id objc.ID) *DOMCDATASection

type DOMCSSCharsetRule

type DOMCSSCharsetRule struct {
	DOMCSSRule
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcsscharsetrule

func DOMCSSCharsetRuleFromID

func DOMCSSCharsetRuleFromID(id objc.ID) *DOMCSSCharsetRule

func (*DOMCSSCharsetRule) Encoding

func (o *DOMCSSCharsetRule) Encoding() *foundation.NSString

type DOMCSSFontFaceRule

type DOMCSSFontFaceRule struct {
	DOMCSSRule
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssfontfacerule

func DOMCSSFontFaceRuleFromID

func DOMCSSFontFaceRuleFromID(id objc.ID) *DOMCSSFontFaceRule

func (*DOMCSSFontFaceRule) Style

type DOMCSSImportRule

type DOMCSSImportRule struct {
	DOMCSSRule
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssimportrule

func DOMCSSImportRuleFromID

func DOMCSSImportRuleFromID(id objc.ID) *DOMCSSImportRule

func (*DOMCSSImportRule) Href

func (*DOMCSSImportRule) Media

func (o *DOMCSSImportRule) Media() *DOMMediaList

func (*DOMCSSImportRule) StyleSheet

func (o *DOMCSSImportRule) StyleSheet() *DOMCSSStyleSheet

type DOMCSSMediaRule

type DOMCSSMediaRule struct {
	DOMCSSRule
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssmediarule

func DOMCSSMediaRuleFromID

func DOMCSSMediaRuleFromID(id objc.ID) *DOMCSSMediaRule

func (*DOMCSSMediaRule) CssRules

func (o *DOMCSSMediaRule) CssRules() *DOMCSSRuleList

func (*DOMCSSMediaRule) DeleteRule

func (o *DOMCSSMediaRule) DeleteRule(index uint)

func (*DOMCSSMediaRule) InsertRule

func (o *DOMCSSMediaRule) InsertRule(rule *foundation.NSString, index uint) uint

func (*DOMCSSMediaRule) InsertRuleIndex

func (o *DOMCSSMediaRule) InsertRuleIndex(rule *foundation.NSString, index uint) uint

func (*DOMCSSMediaRule) Media

func (o *DOMCSSMediaRule) Media() *DOMMediaList

type DOMCSSPageRule

type DOMCSSPageRule struct {
	DOMCSSRule
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcsspagerule

func DOMCSSPageRuleFromID

func DOMCSSPageRuleFromID(id objc.ID) *DOMCSSPageRule

func (*DOMCSSPageRule) SelectorText

func (o *DOMCSSPageRule) SelectorText() *foundation.NSString

func (*DOMCSSPageRule) SetSelectorText

func (o *DOMCSSPageRule) SetSelectorText(selectorText *foundation.NSString)

func (*DOMCSSPageRule) Style

type DOMCSSPrimitiveValue

type DOMCSSPrimitiveValue struct {
	DOMCSSValue
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssprimitivevalue

func DOMCSSPrimitiveValueFromID

func DOMCSSPrimitiveValueFromID(id objc.ID) *DOMCSSPrimitiveValue

func (*DOMCSSPrimitiveValue) GetCounterValue

func (o *DOMCSSPrimitiveValue) GetCounterValue() *DOMCounter

func (*DOMCSSPrimitiveValue) GetFloatValue

func (o *DOMCSSPrimitiveValue) GetFloatValue(unitType uint16) float32

func (*DOMCSSPrimitiveValue) GetRGBColorValue

func (o *DOMCSSPrimitiveValue) GetRGBColorValue() *DOMRGBColor

func (*DOMCSSPrimitiveValue) GetRectValue

func (o *DOMCSSPrimitiveValue) GetRectValue() *DOMRect

func (*DOMCSSPrimitiveValue) GetStringValue

func (o *DOMCSSPrimitiveValue) GetStringValue() *foundation.NSString

func (*DOMCSSPrimitiveValue) PrimitiveType

func (o *DOMCSSPrimitiveValue) PrimitiveType() uint16

func (*DOMCSSPrimitiveValue) SetFloatValue

func (o *DOMCSSPrimitiveValue) SetFloatValue(unitType uint16, floatValue float32)

func (*DOMCSSPrimitiveValue) SetFloatValueFloatValue

func (o *DOMCSSPrimitiveValue) SetFloatValueFloatValue(unitType uint16, floatValue float32)

func (*DOMCSSPrimitiveValue) SetStringValue

func (o *DOMCSSPrimitiveValue) SetStringValue(stringType uint16, stringValue *foundation.NSString)

func (*DOMCSSPrimitiveValue) SetStringValueStringValue

func (o *DOMCSSPrimitiveValue) SetStringValueStringValue(stringType uint16, stringValue *foundation.NSString)

type DOMCSSRule

type DOMCSSRule struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssrule

func DOMCSSRuleFromID

func DOMCSSRuleFromID(id objc.ID) *DOMCSSRule

func (*DOMCSSRule) CssText

func (o *DOMCSSRule) CssText() *foundation.NSString

func (*DOMCSSRule) ParentRule

func (o *DOMCSSRule) ParentRule() *DOMCSSRule

func (*DOMCSSRule) ParentStyleSheet

func (o *DOMCSSRule) ParentStyleSheet() *DOMCSSStyleSheet

func (*DOMCSSRule) SetCssText

func (o *DOMCSSRule) SetCssText(cssText *foundation.NSString)

func (*DOMCSSRule) Type

func (o *DOMCSSRule) Type() uint16

type DOMCSSRuleList

type DOMCSSRuleList struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssrulelist

func DOMCSSRuleListFromID

func DOMCSSRuleListFromID(id objc.ID) *DOMCSSRuleList

func (*DOMCSSRuleList) Item

func (o *DOMCSSRuleList) Item(index uint) *DOMCSSRule

func (*DOMCSSRuleList) Length

func (o *DOMCSSRuleList) Length() uint

type DOMCSSStyleDeclaration

type DOMCSSStyleDeclaration struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssstyledeclaration

func DOMCSSStyleDeclarationFromID

func DOMCSSStyleDeclarationFromID(id objc.ID) *DOMCSSStyleDeclaration

func (*DOMCSSStyleDeclaration) Azimuth

func (*DOMCSSStyleDeclaration) Background

func (o *DOMCSSStyleDeclaration) Background() *foundation.NSString

func (*DOMCSSStyleDeclaration) BackgroundAttachment

func (o *DOMCSSStyleDeclaration) BackgroundAttachment() *foundation.NSString

func (*DOMCSSStyleDeclaration) BackgroundColor

func (o *DOMCSSStyleDeclaration) BackgroundColor() *foundation.NSString

func (*DOMCSSStyleDeclaration) BackgroundImage

func (o *DOMCSSStyleDeclaration) BackgroundImage() *foundation.NSString

func (*DOMCSSStyleDeclaration) BackgroundPosition

func (o *DOMCSSStyleDeclaration) BackgroundPosition() *foundation.NSString

func (*DOMCSSStyleDeclaration) BackgroundRepeat

func (o *DOMCSSStyleDeclaration) BackgroundRepeat() *foundation.NSString

func (*DOMCSSStyleDeclaration) Border

func (*DOMCSSStyleDeclaration) BorderBottom

func (o *DOMCSSStyleDeclaration) BorderBottom() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderBottomColor

func (o *DOMCSSStyleDeclaration) BorderBottomColor() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderBottomStyle

func (o *DOMCSSStyleDeclaration) BorderBottomStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderBottomWidth

func (o *DOMCSSStyleDeclaration) BorderBottomWidth() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderCollapse

func (o *DOMCSSStyleDeclaration) BorderCollapse() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderColor

func (o *DOMCSSStyleDeclaration) BorderColor() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderLeft

func (o *DOMCSSStyleDeclaration) BorderLeft() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderLeftColor

func (o *DOMCSSStyleDeclaration) BorderLeftColor() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderLeftStyle

func (o *DOMCSSStyleDeclaration) BorderLeftStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderLeftWidth

func (o *DOMCSSStyleDeclaration) BorderLeftWidth() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderRight

func (o *DOMCSSStyleDeclaration) BorderRight() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderRightColor

func (o *DOMCSSStyleDeclaration) BorderRightColor() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderRightStyle

func (o *DOMCSSStyleDeclaration) BorderRightStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderRightWidth

func (o *DOMCSSStyleDeclaration) BorderRightWidth() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderSpacing

func (o *DOMCSSStyleDeclaration) BorderSpacing() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderStyle

func (o *DOMCSSStyleDeclaration) BorderStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderTop

func (o *DOMCSSStyleDeclaration) BorderTop() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderTopColor

func (o *DOMCSSStyleDeclaration) BorderTopColor() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderTopStyle

func (o *DOMCSSStyleDeclaration) BorderTopStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderTopWidth

func (o *DOMCSSStyleDeclaration) BorderTopWidth() *foundation.NSString

func (*DOMCSSStyleDeclaration) BorderWidth

func (o *DOMCSSStyleDeclaration) BorderWidth() *foundation.NSString

func (*DOMCSSStyleDeclaration) Bottom

func (*DOMCSSStyleDeclaration) CaptionSide

func (o *DOMCSSStyleDeclaration) CaptionSide() *foundation.NSString

func (*DOMCSSStyleDeclaration) Clear

func (*DOMCSSStyleDeclaration) Clip

func (*DOMCSSStyleDeclaration) Color

func (*DOMCSSStyleDeclaration) Content

func (*DOMCSSStyleDeclaration) CounterIncrement

func (o *DOMCSSStyleDeclaration) CounterIncrement() *foundation.NSString

func (*DOMCSSStyleDeclaration) CounterReset

func (o *DOMCSSStyleDeclaration) CounterReset() *foundation.NSString

func (*DOMCSSStyleDeclaration) CssFloat

func (*DOMCSSStyleDeclaration) CssText

func (*DOMCSSStyleDeclaration) Cue

func (*DOMCSSStyleDeclaration) CueAfter

func (*DOMCSSStyleDeclaration) CueBefore

func (o *DOMCSSStyleDeclaration) CueBefore() *foundation.NSString

func (*DOMCSSStyleDeclaration) Cursor

func (*DOMCSSStyleDeclaration) Direction

func (o *DOMCSSStyleDeclaration) Direction() *foundation.NSString

func (*DOMCSSStyleDeclaration) Display

func (*DOMCSSStyleDeclaration) Elevation

func (o *DOMCSSStyleDeclaration) Elevation() *foundation.NSString

func (*DOMCSSStyleDeclaration) EmptyCells

func (o *DOMCSSStyleDeclaration) EmptyCells() *foundation.NSString

func (*DOMCSSStyleDeclaration) Font

func (*DOMCSSStyleDeclaration) FontFamily

func (o *DOMCSSStyleDeclaration) FontFamily() *foundation.NSString

func (*DOMCSSStyleDeclaration) FontSize

func (*DOMCSSStyleDeclaration) FontSizeAdjust

func (o *DOMCSSStyleDeclaration) FontSizeAdjust() *foundation.NSString

func (*DOMCSSStyleDeclaration) FontStretch

func (o *DOMCSSStyleDeclaration) FontStretch() *foundation.NSString

func (*DOMCSSStyleDeclaration) FontStyle

func (o *DOMCSSStyleDeclaration) FontStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) FontVariant

func (o *DOMCSSStyleDeclaration) FontVariant() *foundation.NSString

func (*DOMCSSStyleDeclaration) FontWeight

func (o *DOMCSSStyleDeclaration) FontWeight() *foundation.NSString

func (*DOMCSSStyleDeclaration) GetPropertyCSSValue

func (o *DOMCSSStyleDeclaration) GetPropertyCSSValue(propertyName *foundation.NSString) *DOMCSSValue

func (*DOMCSSStyleDeclaration) GetPropertyPriority

func (o *DOMCSSStyleDeclaration) GetPropertyPriority(propertyName *foundation.NSString) *foundation.NSString

func (*DOMCSSStyleDeclaration) GetPropertyShorthand

func (o *DOMCSSStyleDeclaration) GetPropertyShorthand(propertyName *foundation.NSString) *foundation.NSString

func (*DOMCSSStyleDeclaration) GetPropertyValue

func (o *DOMCSSStyleDeclaration) GetPropertyValue(propertyName *foundation.NSString) *foundation.NSString

func (*DOMCSSStyleDeclaration) Height

func (*DOMCSSStyleDeclaration) IsPropertyImplicit

func (o *DOMCSSStyleDeclaration) IsPropertyImplicit(propertyName *foundation.NSString) bool

func (*DOMCSSStyleDeclaration) Item

func (*DOMCSSStyleDeclaration) Left

func (*DOMCSSStyleDeclaration) Length

func (o *DOMCSSStyleDeclaration) Length() uint

func (*DOMCSSStyleDeclaration) LetterSpacing

func (o *DOMCSSStyleDeclaration) LetterSpacing() *foundation.NSString

func (*DOMCSSStyleDeclaration) LineHeight

func (o *DOMCSSStyleDeclaration) LineHeight() *foundation.NSString

func (*DOMCSSStyleDeclaration) ListStyle

func (o *DOMCSSStyleDeclaration) ListStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) ListStyleImage

func (o *DOMCSSStyleDeclaration) ListStyleImage() *foundation.NSString

func (*DOMCSSStyleDeclaration) ListStylePosition

func (o *DOMCSSStyleDeclaration) ListStylePosition() *foundation.NSString

func (*DOMCSSStyleDeclaration) ListStyleType

func (o *DOMCSSStyleDeclaration) ListStyleType() *foundation.NSString

func (*DOMCSSStyleDeclaration) Margin

func (*DOMCSSStyleDeclaration) MarginBottom

func (o *DOMCSSStyleDeclaration) MarginBottom() *foundation.NSString

func (*DOMCSSStyleDeclaration) MarginLeft

func (o *DOMCSSStyleDeclaration) MarginLeft() *foundation.NSString

func (*DOMCSSStyleDeclaration) MarginRight

func (o *DOMCSSStyleDeclaration) MarginRight() *foundation.NSString

func (*DOMCSSStyleDeclaration) MarginTop

func (o *DOMCSSStyleDeclaration) MarginTop() *foundation.NSString

func (*DOMCSSStyleDeclaration) MarkerOffset

func (o *DOMCSSStyleDeclaration) MarkerOffset() *foundation.NSString

func (*DOMCSSStyleDeclaration) Marks

func (*DOMCSSStyleDeclaration) MaxHeight

func (o *DOMCSSStyleDeclaration) MaxHeight() *foundation.NSString

func (*DOMCSSStyleDeclaration) MaxWidth

func (*DOMCSSStyleDeclaration) MinHeight

func (o *DOMCSSStyleDeclaration) MinHeight() *foundation.NSString

func (*DOMCSSStyleDeclaration) MinWidth

func (*DOMCSSStyleDeclaration) Orphans

func (*DOMCSSStyleDeclaration) Outline

func (*DOMCSSStyleDeclaration) OutlineColor

func (o *DOMCSSStyleDeclaration) OutlineColor() *foundation.NSString

func (*DOMCSSStyleDeclaration) OutlineStyle

func (o *DOMCSSStyleDeclaration) OutlineStyle() *foundation.NSString

func (*DOMCSSStyleDeclaration) OutlineWidth

func (o *DOMCSSStyleDeclaration) OutlineWidth() *foundation.NSString

func (*DOMCSSStyleDeclaration) Overflow

func (*DOMCSSStyleDeclaration) Padding

func (*DOMCSSStyleDeclaration) PaddingBottom

func (o *DOMCSSStyleDeclaration) PaddingBottom() *foundation.NSString

func (*DOMCSSStyleDeclaration) PaddingLeft

func (o *DOMCSSStyleDeclaration) PaddingLeft() *foundation.NSString

func (*DOMCSSStyleDeclaration) PaddingRight

func (o *DOMCSSStyleDeclaration) PaddingRight() *foundation.NSString

func (*DOMCSSStyleDeclaration) PaddingTop

func (o *DOMCSSStyleDeclaration) PaddingTop() *foundation.NSString

func (*DOMCSSStyleDeclaration) Page

func (*DOMCSSStyleDeclaration) PageBreakAfter

func (o *DOMCSSStyleDeclaration) PageBreakAfter() *foundation.NSString

func (*DOMCSSStyleDeclaration) PageBreakBefore

func (o *DOMCSSStyleDeclaration) PageBreakBefore() *foundation.NSString

func (*DOMCSSStyleDeclaration) PageBreakInside

func (o *DOMCSSStyleDeclaration) PageBreakInside() *foundation.NSString

func (*DOMCSSStyleDeclaration) ParentRule

func (o *DOMCSSStyleDeclaration) ParentRule() *DOMCSSRule

func (*DOMCSSStyleDeclaration) Pause

func (*DOMCSSStyleDeclaration) PauseAfter

func (o *DOMCSSStyleDeclaration) PauseAfter() *foundation.NSString

func (*DOMCSSStyleDeclaration) PauseBefore

func (o *DOMCSSStyleDeclaration) PauseBefore() *foundation.NSString

func (*DOMCSSStyleDeclaration) Pitch

func (*DOMCSSStyleDeclaration) PitchRange

func (o *DOMCSSStyleDeclaration) PitchRange() *foundation.NSString

func (*DOMCSSStyleDeclaration) PlayDuring

func (o *DOMCSSStyleDeclaration) PlayDuring() *foundation.NSString

func (*DOMCSSStyleDeclaration) Position

func (*DOMCSSStyleDeclaration) Quotes

func (*DOMCSSStyleDeclaration) RemoveProperty

func (o *DOMCSSStyleDeclaration) RemoveProperty(propertyName *foundation.NSString) *foundation.NSString

func (*DOMCSSStyleDeclaration) Richness

func (*DOMCSSStyleDeclaration) Right

func (*DOMCSSStyleDeclaration) SetAzimuth

func (o *DOMCSSStyleDeclaration) SetAzimuth(azimuth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBackground

func (o *DOMCSSStyleDeclaration) SetBackground(background *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBackgroundAttachment

func (o *DOMCSSStyleDeclaration) SetBackgroundAttachment(backgroundAttachment *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBackgroundColor

func (o *DOMCSSStyleDeclaration) SetBackgroundColor(backgroundColor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBackgroundImage

func (o *DOMCSSStyleDeclaration) SetBackgroundImage(backgroundImage *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBackgroundPosition

func (o *DOMCSSStyleDeclaration) SetBackgroundPosition(backgroundPosition *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBackgroundRepeat

func (o *DOMCSSStyleDeclaration) SetBackgroundRepeat(backgroundRepeat *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorder

func (o *DOMCSSStyleDeclaration) SetBorder(border *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderBottom

func (o *DOMCSSStyleDeclaration) SetBorderBottom(borderBottom *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderBottomColor

func (o *DOMCSSStyleDeclaration) SetBorderBottomColor(borderBottomColor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderBottomStyle

func (o *DOMCSSStyleDeclaration) SetBorderBottomStyle(borderBottomStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderBottomWidth

func (o *DOMCSSStyleDeclaration) SetBorderBottomWidth(borderBottomWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderCollapse

func (o *DOMCSSStyleDeclaration) SetBorderCollapse(borderCollapse *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderColor

func (o *DOMCSSStyleDeclaration) SetBorderColor(borderColor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderLeft

func (o *DOMCSSStyleDeclaration) SetBorderLeft(borderLeft *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderLeftColor

func (o *DOMCSSStyleDeclaration) SetBorderLeftColor(borderLeftColor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderLeftStyle

func (o *DOMCSSStyleDeclaration) SetBorderLeftStyle(borderLeftStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderLeftWidth

func (o *DOMCSSStyleDeclaration) SetBorderLeftWidth(borderLeftWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderRight

func (o *DOMCSSStyleDeclaration) SetBorderRight(borderRight *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderRightColor

func (o *DOMCSSStyleDeclaration) SetBorderRightColor(borderRightColor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderRightStyle

func (o *DOMCSSStyleDeclaration) SetBorderRightStyle(borderRightStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderRightWidth

func (o *DOMCSSStyleDeclaration) SetBorderRightWidth(borderRightWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderSpacing

func (o *DOMCSSStyleDeclaration) SetBorderSpacing(borderSpacing *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderStyle

func (o *DOMCSSStyleDeclaration) SetBorderStyle(borderStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderTop

func (o *DOMCSSStyleDeclaration) SetBorderTop(borderTop *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderTopColor

func (o *DOMCSSStyleDeclaration) SetBorderTopColor(borderTopColor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderTopStyle

func (o *DOMCSSStyleDeclaration) SetBorderTopStyle(borderTopStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderTopWidth

func (o *DOMCSSStyleDeclaration) SetBorderTopWidth(borderTopWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBorderWidth

func (o *DOMCSSStyleDeclaration) SetBorderWidth(borderWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetBottom

func (o *DOMCSSStyleDeclaration) SetBottom(bottom *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCaptionSide

func (o *DOMCSSStyleDeclaration) SetCaptionSide(captionSide *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetClear

func (o *DOMCSSStyleDeclaration) SetClear(clear *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetClip

func (o *DOMCSSStyleDeclaration) SetClip(clip *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetColor

func (o *DOMCSSStyleDeclaration) SetColor(color *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetContent

func (o *DOMCSSStyleDeclaration) SetContent(content *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCounterIncrement

func (o *DOMCSSStyleDeclaration) SetCounterIncrement(counterIncrement *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCounterReset

func (o *DOMCSSStyleDeclaration) SetCounterReset(counterReset *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCssFloat

func (o *DOMCSSStyleDeclaration) SetCssFloat(cssFloat *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCssText

func (o *DOMCSSStyleDeclaration) SetCssText(cssText *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCue

func (o *DOMCSSStyleDeclaration) SetCue(cue *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCueAfter

func (o *DOMCSSStyleDeclaration) SetCueAfter(cueAfter *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCueBefore

func (o *DOMCSSStyleDeclaration) SetCueBefore(cueBefore *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetCursor

func (o *DOMCSSStyleDeclaration) SetCursor(cursor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetDirection

func (o *DOMCSSStyleDeclaration) SetDirection(direction *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetDisplay

func (o *DOMCSSStyleDeclaration) SetDisplay(display *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetElevation

func (o *DOMCSSStyleDeclaration) SetElevation(elevation *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetEmptyCells

func (o *DOMCSSStyleDeclaration) SetEmptyCells(emptyCells *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFont

func (o *DOMCSSStyleDeclaration) SetFont(font *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFontFamily

func (o *DOMCSSStyleDeclaration) SetFontFamily(fontFamily *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFontSize

func (o *DOMCSSStyleDeclaration) SetFontSize(fontSize *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFontSizeAdjust

func (o *DOMCSSStyleDeclaration) SetFontSizeAdjust(fontSizeAdjust *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFontStretch

func (o *DOMCSSStyleDeclaration) SetFontStretch(fontStretch *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFontStyle

func (o *DOMCSSStyleDeclaration) SetFontStyle(fontStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFontVariant

func (o *DOMCSSStyleDeclaration) SetFontVariant(fontVariant *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetFontWeight

func (o *DOMCSSStyleDeclaration) SetFontWeight(fontWeight *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetHeight

func (o *DOMCSSStyleDeclaration) SetHeight(height *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetLeft

func (o *DOMCSSStyleDeclaration) SetLeft(left *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetLetterSpacing

func (o *DOMCSSStyleDeclaration) SetLetterSpacing(letterSpacing *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetLineHeight

func (o *DOMCSSStyleDeclaration) SetLineHeight(lineHeight *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetListStyle

func (o *DOMCSSStyleDeclaration) SetListStyle(listStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetListStyleImage

func (o *DOMCSSStyleDeclaration) SetListStyleImage(listStyleImage *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetListStylePosition

func (o *DOMCSSStyleDeclaration) SetListStylePosition(listStylePosition *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetListStyleType

func (o *DOMCSSStyleDeclaration) SetListStyleType(listStyleType *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMargin

func (o *DOMCSSStyleDeclaration) SetMargin(margin *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMarginBottom

func (o *DOMCSSStyleDeclaration) SetMarginBottom(marginBottom *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMarginLeft

func (o *DOMCSSStyleDeclaration) SetMarginLeft(marginLeft *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMarginRight

func (o *DOMCSSStyleDeclaration) SetMarginRight(marginRight *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMarginTop

func (o *DOMCSSStyleDeclaration) SetMarginTop(marginTop *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMarkerOffset

func (o *DOMCSSStyleDeclaration) SetMarkerOffset(markerOffset *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMarks

func (o *DOMCSSStyleDeclaration) SetMarks(marks *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMaxHeight

func (o *DOMCSSStyleDeclaration) SetMaxHeight(maxHeight *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMaxWidth

func (o *DOMCSSStyleDeclaration) SetMaxWidth(maxWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMinHeight

func (o *DOMCSSStyleDeclaration) SetMinHeight(minHeight *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetMinWidth

func (o *DOMCSSStyleDeclaration) SetMinWidth(minWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetOrphans

func (o *DOMCSSStyleDeclaration) SetOrphans(orphans *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetOutline

func (o *DOMCSSStyleDeclaration) SetOutline(outline *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetOutlineColor

func (o *DOMCSSStyleDeclaration) SetOutlineColor(outlineColor *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetOutlineStyle

func (o *DOMCSSStyleDeclaration) SetOutlineStyle(outlineStyle *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetOutlineWidth

func (o *DOMCSSStyleDeclaration) SetOutlineWidth(outlineWidth *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetOverflow

func (o *DOMCSSStyleDeclaration) SetOverflow(overflow *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPadding

func (o *DOMCSSStyleDeclaration) SetPadding(padding *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPaddingBottom

func (o *DOMCSSStyleDeclaration) SetPaddingBottom(paddingBottom *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPaddingLeft

func (o *DOMCSSStyleDeclaration) SetPaddingLeft(paddingLeft *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPaddingRight

func (o *DOMCSSStyleDeclaration) SetPaddingRight(paddingRight *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPaddingTop

func (o *DOMCSSStyleDeclaration) SetPaddingTop(paddingTop *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPage

func (o *DOMCSSStyleDeclaration) SetPage(page *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPageBreakAfter

func (o *DOMCSSStyleDeclaration) SetPageBreakAfter(pageBreakAfter *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPageBreakBefore

func (o *DOMCSSStyleDeclaration) SetPageBreakBefore(pageBreakBefore *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPageBreakInside

func (o *DOMCSSStyleDeclaration) SetPageBreakInside(pageBreakInside *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPause

func (o *DOMCSSStyleDeclaration) SetPause(pause *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPauseAfter

func (o *DOMCSSStyleDeclaration) SetPauseAfter(pauseAfter *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPauseBefore

func (o *DOMCSSStyleDeclaration) SetPauseBefore(pauseBefore *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPitch

func (o *DOMCSSStyleDeclaration) SetPitch(pitch *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPitchRange

func (o *DOMCSSStyleDeclaration) SetPitchRange(pitchRange *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPlayDuring

func (o *DOMCSSStyleDeclaration) SetPlayDuring(playDuring *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPosition

func (o *DOMCSSStyleDeclaration) SetPosition(position *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetProperty

func (o *DOMCSSStyleDeclaration) SetProperty(propertyName *foundation.NSString, value *foundation.NSString, priority *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetPropertyValuePriority

func (o *DOMCSSStyleDeclaration) SetPropertyValuePriority(propertyName *foundation.NSString, value *foundation.NSString, priority *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetQuotes

func (o *DOMCSSStyleDeclaration) SetQuotes(quotes *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetRichness

func (o *DOMCSSStyleDeclaration) SetRichness(richness *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetRight

func (o *DOMCSSStyleDeclaration) SetRight(right *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetSize

func (o *DOMCSSStyleDeclaration) SetSize(size *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetSpeak

func (o *DOMCSSStyleDeclaration) SetSpeak(speak *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetSpeakHeader

func (o *DOMCSSStyleDeclaration) SetSpeakHeader(speakHeader *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetSpeakNumeral

func (o *DOMCSSStyleDeclaration) SetSpeakNumeral(speakNumeral *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetSpeakPunctuation

func (o *DOMCSSStyleDeclaration) SetSpeakPunctuation(speakPunctuation *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetSpeechRate

func (o *DOMCSSStyleDeclaration) SetSpeechRate(speechRate *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetStress

func (o *DOMCSSStyleDeclaration) SetStress(stress *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetTableLayout

func (o *DOMCSSStyleDeclaration) SetTableLayout(tableLayout *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetTextAlign

func (o *DOMCSSStyleDeclaration) SetTextAlign(textAlign *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetTextDecoration

func (o *DOMCSSStyleDeclaration) SetTextDecoration(textDecoration *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetTextIndent

func (o *DOMCSSStyleDeclaration) SetTextIndent(textIndent *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetTextShadow

func (o *DOMCSSStyleDeclaration) SetTextShadow(textShadow *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetTextTransform

func (o *DOMCSSStyleDeclaration) SetTextTransform(textTransform *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetTop

func (o *DOMCSSStyleDeclaration) SetTop(top *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetUnicodeBidi

func (o *DOMCSSStyleDeclaration) SetUnicodeBidi(unicodeBidi *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetVerticalAlign

func (o *DOMCSSStyleDeclaration) SetVerticalAlign(verticalAlign *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetVisibility

func (o *DOMCSSStyleDeclaration) SetVisibility(visibility *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetVoiceFamily

func (o *DOMCSSStyleDeclaration) SetVoiceFamily(voiceFamily *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetVolume

func (o *DOMCSSStyleDeclaration) SetVolume(volume *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetWhiteSpace

func (o *DOMCSSStyleDeclaration) SetWhiteSpace(whiteSpace *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetWidows

func (o *DOMCSSStyleDeclaration) SetWidows(widows *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetWidth

func (o *DOMCSSStyleDeclaration) SetWidth(width *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetWordSpacing

func (o *DOMCSSStyleDeclaration) SetWordSpacing(wordSpacing *foundation.NSString)

func (*DOMCSSStyleDeclaration) SetZIndex

func (o *DOMCSSStyleDeclaration) SetZIndex(zIndex *foundation.NSString)

func (*DOMCSSStyleDeclaration) Size

func (*DOMCSSStyleDeclaration) Speak

func (*DOMCSSStyleDeclaration) SpeakHeader

func (o *DOMCSSStyleDeclaration) SpeakHeader() *foundation.NSString

func (*DOMCSSStyleDeclaration) SpeakNumeral

func (o *DOMCSSStyleDeclaration) SpeakNumeral() *foundation.NSString

func (*DOMCSSStyleDeclaration) SpeakPunctuation

func (o *DOMCSSStyleDeclaration) SpeakPunctuation() *foundation.NSString

func (*DOMCSSStyleDeclaration) SpeechRate

func (o *DOMCSSStyleDeclaration) SpeechRate() *foundation.NSString

func (*DOMCSSStyleDeclaration) Stress

func (*DOMCSSStyleDeclaration) TableLayout

func (o *DOMCSSStyleDeclaration) TableLayout() *foundation.NSString

func (*DOMCSSStyleDeclaration) TextAlign

func (o *DOMCSSStyleDeclaration) TextAlign() *foundation.NSString

func (*DOMCSSStyleDeclaration) TextDecoration

func (o *DOMCSSStyleDeclaration) TextDecoration() *foundation.NSString

func (*DOMCSSStyleDeclaration) TextIndent

func (o *DOMCSSStyleDeclaration) TextIndent() *foundation.NSString

func (*DOMCSSStyleDeclaration) TextShadow

func (o *DOMCSSStyleDeclaration) TextShadow() *foundation.NSString

func (*DOMCSSStyleDeclaration) TextTransform

func (o *DOMCSSStyleDeclaration) TextTransform() *foundation.NSString

func (*DOMCSSStyleDeclaration) Top

func (*DOMCSSStyleDeclaration) UnicodeBidi

func (o *DOMCSSStyleDeclaration) UnicodeBidi() *foundation.NSString

func (*DOMCSSStyleDeclaration) VerticalAlign

func (o *DOMCSSStyleDeclaration) VerticalAlign() *foundation.NSString

func (*DOMCSSStyleDeclaration) Visibility

func (o *DOMCSSStyleDeclaration) Visibility() *foundation.NSString

func (*DOMCSSStyleDeclaration) VoiceFamily

func (o *DOMCSSStyleDeclaration) VoiceFamily() *foundation.NSString

func (*DOMCSSStyleDeclaration) Volume

func (*DOMCSSStyleDeclaration) WhiteSpace

func (o *DOMCSSStyleDeclaration) WhiteSpace() *foundation.NSString

func (*DOMCSSStyleDeclaration) Widows

func (*DOMCSSStyleDeclaration) Width

func (*DOMCSSStyleDeclaration) WordSpacing

func (o *DOMCSSStyleDeclaration) WordSpacing() *foundation.NSString

func (*DOMCSSStyleDeclaration) ZIndex

type DOMCSSStyleRule

type DOMCSSStyleRule struct {
	DOMCSSRule
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssstylerule

func DOMCSSStyleRuleFromID

func DOMCSSStyleRuleFromID(id objc.ID) *DOMCSSStyleRule

func (*DOMCSSStyleRule) SelectorText

func (o *DOMCSSStyleRule) SelectorText() *foundation.NSString

func (*DOMCSSStyleRule) SetSelectorText

func (o *DOMCSSStyleRule) SetSelectorText(selectorText *foundation.NSString)

func (*DOMCSSStyleRule) Style

type DOMCSSStyleSheet

type DOMCSSStyleSheet struct {
	DOMStyleSheet
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssstylesheet

func DOMCSSStyleSheetFromID

func DOMCSSStyleSheetFromID(id objc.ID) *DOMCSSStyleSheet

func (*DOMCSSStyleSheet) AddRuleStyleIndex

func (o *DOMCSSStyleSheet) AddRuleStyleIndex(selector *foundation.NSString, style *foundation.NSString, index uint) int

func (*DOMCSSStyleSheet) CssRules

func (o *DOMCSSStyleSheet) CssRules() *DOMCSSRuleList

func (*DOMCSSStyleSheet) DeleteRule

func (o *DOMCSSStyleSheet) DeleteRule(index uint)

func (*DOMCSSStyleSheet) InsertRule

func (o *DOMCSSStyleSheet) InsertRule(rule *foundation.NSString, index uint) uint

func (*DOMCSSStyleSheet) InsertRuleIndex

func (o *DOMCSSStyleSheet) InsertRuleIndex(rule *foundation.NSString, index uint) uint

func (*DOMCSSStyleSheet) OwnerRule

func (o *DOMCSSStyleSheet) OwnerRule() *DOMCSSRule

func (*DOMCSSStyleSheet) RemoveRule

func (o *DOMCSSStyleSheet) RemoveRule(index uint)

func (*DOMCSSStyleSheet) Rules

func (o *DOMCSSStyleSheet) Rules() *DOMCSSRuleList

type DOMCSSUnknownRule

type DOMCSSUnknownRule struct {
	DOMCSSRule
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssunknownrule

func DOMCSSUnknownRuleFromID

func DOMCSSUnknownRuleFromID(id objc.ID) *DOMCSSUnknownRule

type DOMCSSValue

type DOMCSSValue struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssvalue

func DOMCSSValueFromID

func DOMCSSValueFromID(id objc.ID) *DOMCSSValue

func (*DOMCSSValue) CssText

func (o *DOMCSSValue) CssText() *foundation.NSString

func (*DOMCSSValue) CssValueType

func (o *DOMCSSValue) CssValueType() uint16

func (*DOMCSSValue) SetCssText

func (o *DOMCSSValue) SetCssText(cssText *foundation.NSString)

type DOMCSSValueList

type DOMCSSValueList struct {
	DOMCSSValue
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcssvaluelist

func DOMCSSValueListFromID

func DOMCSSValueListFromID(id objc.ID) *DOMCSSValueList

func (*DOMCSSValueList) Item

func (o *DOMCSSValueList) Item(index uint) *DOMCSSValue

func (*DOMCSSValueList) Length

func (o *DOMCSSValueList) Length() uint

type DOMCharacterData

type DOMCharacterData struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcharacterdata

func DOMCharacterDataFromID

func DOMCharacterDataFromID(id objc.ID) *DOMCharacterData

func (*DOMCharacterData) AppendData

func (o *DOMCharacterData) AppendData(data *foundation.NSString)

func (*DOMCharacterData) Data

func (*DOMCharacterData) DeleteData

func (o *DOMCharacterData) DeleteData(offset uint, length uint)

func (*DOMCharacterData) DeleteDataLength

func (o *DOMCharacterData) DeleteDataLength(offset uint, length uint)

func (*DOMCharacterData) InsertData

func (o *DOMCharacterData) InsertData(offset uint, data *foundation.NSString)

func (*DOMCharacterData) InsertDataData

func (o *DOMCharacterData) InsertDataData(offset uint, data *foundation.NSString)

func (*DOMCharacterData) Length

func (o *DOMCharacterData) Length() uint

func (*DOMCharacterData) ReplaceData

func (o *DOMCharacterData) ReplaceData(offset uint, length uint, data *foundation.NSString)

func (*DOMCharacterData) ReplaceDataLengthData

func (o *DOMCharacterData) ReplaceDataLengthData(offset uint, length uint, data *foundation.NSString)

func (*DOMCharacterData) SetData

func (o *DOMCharacterData) SetData(data *foundation.NSString)

func (*DOMCharacterData) SubstringData

func (o *DOMCharacterData) SubstringData(offset uint, length uint) *foundation.NSString

func (*DOMCharacterData) SubstringDataLength

func (o *DOMCharacterData) SubstringDataLength(offset uint, length uint) *foundation.NSString

type DOMComment

type DOMComment struct {
	DOMCharacterData
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcomment

func DOMCommentFromID

func DOMCommentFromID(id objc.ID) *DOMComment

type DOMCounter

type DOMCounter struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domcounter

func DOMCounterFromID

func DOMCounterFromID(id objc.ID) *DOMCounter

func (*DOMCounter) Identifier

func (o *DOMCounter) Identifier() *foundation.NSString

func (*DOMCounter) ListStyle

func (o *DOMCounter) ListStyle() *foundation.NSString

func (*DOMCounter) Separator

func (o *DOMCounter) Separator() *foundation.NSString

type DOMDocument

type DOMDocument struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domdocument

func DOMDocumentFromID

func DOMDocumentFromID(id objc.ID) *DOMDocument

func (*DOMDocument) ActiveElement

func (o *DOMDocument) ActiveElement() *DOMElement

func (*DOMDocument) AdoptNode

func (o *DOMDocument) AdoptNode(source *DOMNode) *DOMNode

func (*DOMDocument) Anchors

func (o *DOMDocument) Anchors() *DOMHTMLCollection

func (*DOMDocument) Applets

func (o *DOMDocument) Applets() *DOMHTMLCollection

func (*DOMDocument) Body

func (o *DOMDocument) Body() *DOMHTMLElement

func (*DOMDocument) CharacterSet

func (o *DOMDocument) CharacterSet() *foundation.NSString

func (*DOMDocument) Charset

func (o *DOMDocument) Charset() *foundation.NSString

func (*DOMDocument) Cookie

func (o *DOMDocument) Cookie() *foundation.NSString

func (*DOMDocument) CreateAttribute

func (o *DOMDocument) CreateAttribute(name *foundation.NSString) *DOMAttr

func (*DOMDocument) CreateAttributeNS

func (o *DOMDocument) CreateAttributeNS(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString) *DOMAttr

func (*DOMDocument) CreateAttributeNSQualifiedName

func (o *DOMDocument) CreateAttributeNSQualifiedName(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString) *DOMAttr

func (*DOMDocument) CreateCDATASection

func (o *DOMDocument) CreateCDATASection(data *foundation.NSString) *DOMCDATASection

func (*DOMDocument) CreateCSSStyleDeclaration

func (o *DOMDocument) CreateCSSStyleDeclaration() *DOMCSSStyleDeclaration

func (*DOMDocument) CreateComment

func (o *DOMDocument) CreateComment(data *foundation.NSString) *DOMComment

func (*DOMDocument) CreateDocumentFragment

func (o *DOMDocument) CreateDocumentFragment() *DOMDocumentFragment

func (*DOMDocument) CreateElement

func (o *DOMDocument) CreateElement(tagName *foundation.NSString) *DOMElement

func (*DOMDocument) CreateElementNS

func (o *DOMDocument) CreateElementNS(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString) *DOMElement

func (*DOMDocument) CreateElementNSQualifiedName

func (o *DOMDocument) CreateElementNSQualifiedName(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString) *DOMElement

func (*DOMDocument) CreateEntityReference

func (o *DOMDocument) CreateEntityReference(name *foundation.NSString) *DOMEntityReference

func (*DOMDocument) CreateEvent

func (o *DOMDocument) CreateEvent(eventType *foundation.NSString) *DOMEvent

func (*DOMDocument) CreateExpression

func (o *DOMDocument) CreateExpression(expression *foundation.NSString, resolver DOMXPathNSResolver) *DOMXPathExpression

func (*DOMDocument) CreateExpressionResolver

func (o *DOMDocument) CreateExpressionResolver(expression *foundation.NSString, resolver DOMXPathNSResolver) *DOMXPathExpression

func (*DOMDocument) CreateNSResolver

func (o *DOMDocument) CreateNSResolver(nodeResolver *DOMNode) DOMXPathNSResolver

func (*DOMDocument) CreateNodeIterator

func (o *DOMDocument) CreateNodeIterator(root *DOMNode, whatToShow uint, filter DOMNodeFilter, expandEntityReferences bool) *DOMNodeIterator

func (*DOMDocument) CreateNodeIteratorWhatToShowFilterExpandEntityReferences

func (o *DOMDocument) CreateNodeIteratorWhatToShowFilterExpandEntityReferences(root *DOMNode, whatToShow uint, filter DOMNodeFilter, expandEntityReferences bool) *DOMNodeIterator

func (*DOMDocument) CreateProcessingInstruction

func (o *DOMDocument) CreateProcessingInstruction(target *foundation.NSString, data *foundation.NSString) *DOMProcessingInstruction

func (*DOMDocument) CreateProcessingInstructionData

func (o *DOMDocument) CreateProcessingInstructionData(target *foundation.NSString, data *foundation.NSString) *DOMProcessingInstruction

func (*DOMDocument) CreateRange

func (o *DOMDocument) CreateRange() *DOMRange

func (*DOMDocument) CreateTextNode

func (o *DOMDocument) CreateTextNode(data *foundation.NSString) *DOMText

func (*DOMDocument) CreateTreeWalker

func (o *DOMDocument) CreateTreeWalker(root *DOMNode, whatToShow uint, filter DOMNodeFilter, expandEntityReferences bool) *DOMTreeWalker

func (*DOMDocument) CreateTreeWalkerWhatToShowFilterExpandEntityReferences

func (o *DOMDocument) CreateTreeWalkerWhatToShowFilterExpandEntityReferences(root *DOMNode, whatToShow uint, filter DOMNodeFilter, expandEntityReferences bool) *DOMTreeWalker

func (*DOMDocument) DefaultCharset

func (o *DOMDocument) DefaultCharset() *foundation.NSString

func (*DOMDocument) DefaultView

func (o *DOMDocument) DefaultView() *DOMAbstractView

func (*DOMDocument) Doctype

func (o *DOMDocument) Doctype() *DOMDocumentType

func (*DOMDocument) DocumentElement

func (o *DOMDocument) DocumentElement() *DOMElement

func (*DOMDocument) DocumentURI

func (o *DOMDocument) DocumentURI() *foundation.NSString

func (*DOMDocument) Domain

func (o *DOMDocument) Domain() *foundation.NSString

func (*DOMDocument) ElementFromPointY

func (o *DOMDocument) ElementFromPointY(x int, y int) *DOMElement

func (*DOMDocument) Evaluate

func (o *DOMDocument) Evaluate(expression *foundation.NSString, contextNode *DOMNode, resolver DOMXPathNSResolver, type_ uint16, inResult *DOMXPathResult) *DOMXPathResult

func (*DOMDocument) EvaluateContextNodeResolverTypeInResult

func (o *DOMDocument) EvaluateContextNodeResolverTypeInResult(expression *foundation.NSString, contextNode *DOMNode, resolver DOMXPathNSResolver, type_ uint16, inResult *DOMXPathResult) *DOMXPathResult

func (*DOMDocument) ExecCommand

func (o *DOMDocument) ExecCommand(command *foundation.NSString) bool

func (*DOMDocument) ExecCommandUserInterface

func (o *DOMDocument) ExecCommandUserInterface(command *foundation.NSString, userInterface bool) bool

func (*DOMDocument) ExecCommandUserInterfaceValue

func (o *DOMDocument) ExecCommandUserInterfaceValue(command *foundation.NSString, userInterface bool, value *foundation.NSString) bool

func (*DOMDocument) Forms

func (o *DOMDocument) Forms() *DOMHTMLCollection

func (*DOMDocument) GetComputedStyle

func (o *DOMDocument) GetComputedStyle(element *DOMElement, pseudoElement *foundation.NSString) *DOMCSSStyleDeclaration

func (*DOMDocument) GetComputedStylePseudoElement

func (o *DOMDocument) GetComputedStylePseudoElement(element *DOMElement, pseudoElement *foundation.NSString) *DOMCSSStyleDeclaration

func (*DOMDocument) GetElementById

func (o *DOMDocument) GetElementById(elementId *foundation.NSString) *DOMElement

func (*DOMDocument) GetElementsByClassName

func (o *DOMDocument) GetElementsByClassName(classNames *foundation.NSString) *DOMNodeList

func (*DOMDocument) GetElementsByName

func (o *DOMDocument) GetElementsByName(elementName *foundation.NSString) *DOMNodeList

func (*DOMDocument) GetElementsByTagName

func (o *DOMDocument) GetElementsByTagName(tagname *foundation.NSString) *DOMNodeList

func (*DOMDocument) GetElementsByTagNameNS

func (o *DOMDocument) GetElementsByTagNameNS(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNodeList

func (*DOMDocument) GetElementsByTagNameNSLocalName

func (o *DOMDocument) GetElementsByTagNameNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNodeList

func (*DOMDocument) GetMatchedCSSRulesPseudoElement

func (o *DOMDocument) GetMatchedCSSRulesPseudoElement(element *DOMElement, pseudoElement *foundation.NSString) *DOMCSSRuleList

func (*DOMDocument) GetMatchedCSSRulesPseudoElementAuthorOnly

func (o *DOMDocument) GetMatchedCSSRulesPseudoElementAuthorOnly(element *DOMElement, pseudoElement *foundation.NSString, authorOnly bool) *DOMCSSRuleList

func (*DOMDocument) GetOverrideStyle

func (o *DOMDocument) GetOverrideStyle(element *DOMElement, pseudoElement *foundation.NSString) *DOMCSSStyleDeclaration

func (*DOMDocument) GetOverrideStylePseudoElement

func (o *DOMDocument) GetOverrideStylePseudoElement(element *DOMElement, pseudoElement *foundation.NSString) *DOMCSSStyleDeclaration

func (*DOMDocument) HasFocus

func (o *DOMDocument) HasFocus() bool

func (*DOMDocument) Images

func (o *DOMDocument) Images() *DOMHTMLCollection

func (*DOMDocument) Implementation

func (o *DOMDocument) Implementation() *DOMImplementation

func (*DOMDocument) ImportNode

func (o *DOMDocument) ImportNode(importedNode *DOMNode, deep bool) *DOMNode

func (*DOMDocument) ImportNodeDeep

func (o *DOMDocument) ImportNodeDeep(importedNode *DOMNode, deep bool) *DOMNode

func (*DOMDocument) InputEncoding

func (o *DOMDocument) InputEncoding() *foundation.NSString

func (*DOMDocument) LastModified

func (o *DOMDocument) LastModified() *foundation.NSString
func (o *DOMDocument) Links() *DOMHTMLCollection

func (*DOMDocument) PreferredStylesheetSet

func (o *DOMDocument) PreferredStylesheetSet() *foundation.NSString

func (*DOMDocument) QueryCommandEnabled

func (o *DOMDocument) QueryCommandEnabled(command *foundation.NSString) bool

func (*DOMDocument) QueryCommandIndeterm

func (o *DOMDocument) QueryCommandIndeterm(command *foundation.NSString) bool

func (*DOMDocument) QueryCommandState

func (o *DOMDocument) QueryCommandState(command *foundation.NSString) bool

func (*DOMDocument) QueryCommandSupported

func (o *DOMDocument) QueryCommandSupported(command *foundation.NSString) bool

func (*DOMDocument) QueryCommandValue

func (o *DOMDocument) QueryCommandValue(command *foundation.NSString) *foundation.NSString

func (*DOMDocument) QuerySelector

func (o *DOMDocument) QuerySelector(selectors *foundation.NSString) *DOMElement

func (*DOMDocument) QuerySelectorAll

func (o *DOMDocument) QuerySelectorAll(selectors *foundation.NSString) *DOMNodeList

func (*DOMDocument) ReadyState

func (o *DOMDocument) ReadyState() *foundation.NSString

func (*DOMDocument) Referrer

func (o *DOMDocument) Referrer() *foundation.NSString

func (*DOMDocument) SelectedStylesheetSet

func (o *DOMDocument) SelectedStylesheetSet() *foundation.NSString

func (*DOMDocument) SetBody

func (o *DOMDocument) SetBody(body *DOMHTMLElement)

func (*DOMDocument) SetCharset

func (o *DOMDocument) SetCharset(charset *foundation.NSString)

func (*DOMDocument) SetCookie

func (o *DOMDocument) SetCookie(cookie *foundation.NSString)

func (*DOMDocument) SetDocumentURI

func (o *DOMDocument) SetDocumentURI(documentURI *foundation.NSString)

func (*DOMDocument) SetSelectedStylesheetSet

func (o *DOMDocument) SetSelectedStylesheetSet(selectedStylesheetSet *foundation.NSString)

func (*DOMDocument) SetTitle

func (o *DOMDocument) SetTitle(title *foundation.NSString)

func (*DOMDocument) SetXmlStandalone

func (o *DOMDocument) SetXmlStandalone(xmlStandalone bool)

func (*DOMDocument) SetXmlVersion

func (o *DOMDocument) SetXmlVersion(xmlVersion *foundation.NSString)

func (*DOMDocument) StyleSheets

func (o *DOMDocument) StyleSheets() *DOMStyleSheetList

func (*DOMDocument) Title

func (o *DOMDocument) Title() *foundation.NSString

func (*DOMDocument) URL

func (o *DOMDocument) URL() *foundation.NSString

func (*DOMDocument) URLWithAttributeString

func (o *DOMDocument) URLWithAttributeString(string_ *foundation.NSString) *foundation.NSURL

@method URLWithAttributeString: @abstract Constructs a URL given an attribute string. @discussion This method constructs a URL given an attribute string just as WebKit does. An attribute string is the value of an attribute of an element such as the href attribute on the DOMHTMLAnchorElement class. This method is only applicable to attributes that refer to URLs.

func (*DOMDocument) WebFrame

func (o *DOMDocument) WebFrame() *WebFrame

@property webFrame @abstract The frame of the DOM document.

func (*DOMDocument) WebkitCancelFullScreen

func (o *DOMDocument) WebkitCancelFullScreen()

func (*DOMDocument) XmlEncoding

func (o *DOMDocument) XmlEncoding() *foundation.NSString

func (*DOMDocument) XmlStandalone

func (o *DOMDocument) XmlStandalone() bool

func (*DOMDocument) XmlVersion

func (o *DOMDocument) XmlVersion() *foundation.NSString

type DOMDocumentFragment

type DOMDocumentFragment struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domdocumentfragment

func DOMDocumentFragmentFromID

func DOMDocumentFragmentFromID(id objc.ID) *DOMDocumentFragment

type DOMDocumentType

type DOMDocumentType struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domdocumenttype

func DOMDocumentTypeFromID

func DOMDocumentTypeFromID(id objc.ID) *DOMDocumentType

func (*DOMDocumentType) Entities

func (o *DOMDocumentType) Entities() *DOMNamedNodeMap

func (*DOMDocumentType) InternalSubset

func (o *DOMDocumentType) InternalSubset() *foundation.NSString

func (*DOMDocumentType) Name

func (o *DOMDocumentType) Name() *foundation.NSString

func (*DOMDocumentType) Notations

func (o *DOMDocumentType) Notations() *DOMNamedNodeMap

func (*DOMDocumentType) PublicId

func (o *DOMDocumentType) PublicId() *foundation.NSString

func (*DOMDocumentType) SystemId

func (o *DOMDocumentType) SystemId() *foundation.NSString

type DOMElement

type DOMElement struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domelement

func DOMElementFromID

func DOMElementFromID(id objc.ID) *DOMElement

func (*DOMElement) Blur

func (o *DOMElement) Blur()

func (*DOMElement) ChildElementCount

func (o *DOMElement) ChildElementCount() uint

func (*DOMElement) ClientHeight

func (o *DOMElement) ClientHeight() int

func (*DOMElement) ClientLeft

func (o *DOMElement) ClientLeft() int

func (*DOMElement) ClientTop

func (o *DOMElement) ClientTop() int

func (*DOMElement) ClientWidth

func (o *DOMElement) ClientWidth() int

func (*DOMElement) FirstElementChild

func (o *DOMElement) FirstElementChild() *DOMElement

func (*DOMElement) Focus

func (o *DOMElement) Focus()

func (*DOMElement) GetAttribute

func (o *DOMElement) GetAttribute(name *foundation.NSString) *foundation.NSString

func (*DOMElement) GetAttributeNS

func (o *DOMElement) GetAttributeNS(namespaceURI *foundation.NSString, localName *foundation.NSString) *foundation.NSString

func (*DOMElement) GetAttributeNSLocalName

func (o *DOMElement) GetAttributeNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString) *foundation.NSString

func (*DOMElement) GetAttributeNode

func (o *DOMElement) GetAttributeNode(name *foundation.NSString) *DOMAttr

func (*DOMElement) GetAttributeNodeNS

func (o *DOMElement) GetAttributeNodeNS(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMAttr

func (*DOMElement) GetAttributeNodeNSLocalName

func (o *DOMElement) GetAttributeNodeNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMAttr

func (*DOMElement) GetElementsByClassName

func (o *DOMElement) GetElementsByClassName(name *foundation.NSString) *DOMNodeList

func (*DOMElement) GetElementsByTagName

func (o *DOMElement) GetElementsByTagName(name *foundation.NSString) *DOMNodeList

func (*DOMElement) GetElementsByTagNameNS

func (o *DOMElement) GetElementsByTagNameNS(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNodeList

func (*DOMElement) GetElementsByTagNameNSLocalName

func (o *DOMElement) GetElementsByTagNameNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNodeList

func (*DOMElement) HasAttribute

func (o *DOMElement) HasAttribute(name *foundation.NSString) bool

func (*DOMElement) HasAttributeNS

func (o *DOMElement) HasAttributeNS(namespaceURI *foundation.NSString, localName *foundation.NSString) bool

func (*DOMElement) HasAttributeNSLocalName

func (o *DOMElement) HasAttributeNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString) bool

func (*DOMElement) Image

func (o *DOMElement) Image() *appkit.NSImage

func (*DOMElement) InnerHTML

func (o *DOMElement) InnerHTML() *foundation.NSString

func (*DOMElement) InnerText

func (o *DOMElement) InnerText() *foundation.NSString

func (*DOMElement) LastElementChild

func (o *DOMElement) LastElementChild() *DOMElement

func (*DOMElement) NextElementSibling

func (o *DOMElement) NextElementSibling() *DOMElement

func (*DOMElement) OffsetHeight

func (o *DOMElement) OffsetHeight() int

func (*DOMElement) OffsetLeft

func (o *DOMElement) OffsetLeft() int

func (*DOMElement) OffsetParent

func (o *DOMElement) OffsetParent() *DOMElement

func (*DOMElement) OffsetTop

func (o *DOMElement) OffsetTop() int

func (*DOMElement) OffsetWidth

func (o *DOMElement) OffsetWidth() int

func (*DOMElement) OuterHTML

func (o *DOMElement) OuterHTML() *foundation.NSString

func (*DOMElement) PreviousElementSibling

func (o *DOMElement) PreviousElementSibling() *DOMElement

func (*DOMElement) QuerySelector

func (o *DOMElement) QuerySelector(selectors *foundation.NSString) *DOMElement

func (*DOMElement) QuerySelectorAll

func (o *DOMElement) QuerySelectorAll(selectors *foundation.NSString) *DOMNodeList

func (*DOMElement) RemoveAttribute

func (o *DOMElement) RemoveAttribute(name *foundation.NSString)

func (*DOMElement) RemoveAttributeNS

func (o *DOMElement) RemoveAttributeNS(namespaceURI *foundation.NSString, localName *foundation.NSString)

func (*DOMElement) RemoveAttributeNSLocalName

func (o *DOMElement) RemoveAttributeNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString)

func (*DOMElement) RemoveAttributeNode

func (o *DOMElement) RemoveAttributeNode(oldAttr *DOMAttr) *DOMAttr

func (*DOMElement) ScrollByLines

func (o *DOMElement) ScrollByLines(lines int)

func (*DOMElement) ScrollByPages

func (o *DOMElement) ScrollByPages(pages int)

func (*DOMElement) ScrollHeight

func (o *DOMElement) ScrollHeight() int

func (*DOMElement) ScrollIntoView

func (o *DOMElement) ScrollIntoView(alignWithTop bool)

func (*DOMElement) ScrollIntoViewIfNeeded

func (o *DOMElement) ScrollIntoViewIfNeeded(centerIfNeeded bool)

func (*DOMElement) ScrollLeft

func (o *DOMElement) ScrollLeft() int

func (*DOMElement) ScrollTop

func (o *DOMElement) ScrollTop() int

func (*DOMElement) ScrollWidth

func (o *DOMElement) ScrollWidth() int

func (*DOMElement) SetAttribute

func (o *DOMElement) SetAttribute(name *foundation.NSString, value *foundation.NSString)

func (*DOMElement) SetAttributeNS

func (o *DOMElement) SetAttributeNS(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString, value *foundation.NSString)

func (*DOMElement) SetAttributeNSQualifiedNameValue

func (o *DOMElement) SetAttributeNSQualifiedNameValue(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString, value *foundation.NSString)

func (*DOMElement) SetAttributeNode

func (o *DOMElement) SetAttributeNode(newAttr *DOMAttr) *DOMAttr

func (*DOMElement) SetAttributeNodeNS

func (o *DOMElement) SetAttributeNodeNS(newAttr *DOMAttr) *DOMAttr

func (*DOMElement) SetAttributeValue

func (o *DOMElement) SetAttributeValue(name *foundation.NSString, value *foundation.NSString)

func (*DOMElement) SetClassName

func (o *DOMElement) SetClassName(className *foundation.NSString)

func (*DOMElement) SetInnerHTML

func (o *DOMElement) SetInnerHTML(innerHTML *foundation.NSString)

func (*DOMElement) SetOuterHTML

func (o *DOMElement) SetOuterHTML(outerHTML *foundation.NSString)

func (*DOMElement) SetScrollLeft

func (o *DOMElement) SetScrollLeft(scrollLeft int)

func (*DOMElement) SetScrollTop

func (o *DOMElement) SetScrollTop(scrollTop int)

func (*DOMElement) Style

func (o *DOMElement) Style() *DOMCSSStyleDeclaration

func (*DOMElement) TagName

func (o *DOMElement) TagName() *foundation.NSString

func (*DOMElement) WebkitRequestFullScreen

func (o *DOMElement) WebkitRequestFullScreen(flags uint16)

type DOMEntity

type DOMEntity struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domentity

func DOMEntityFromID

func DOMEntityFromID(id objc.ID) *DOMEntity

func (*DOMEntity) NotationName

func (o *DOMEntity) NotationName() *foundation.NSString

func (*DOMEntity) PublicId

func (o *DOMEntity) PublicId() *foundation.NSString

func (*DOMEntity) SystemId

func (o *DOMEntity) SystemId() *foundation.NSString

type DOMEntityReference

type DOMEntityReference struct {
	DOMNode
}

Apple documentation: https://developer.apple.com/documentation/webkit/domentityreference

func DOMEntityReferenceFromID

func DOMEntityReferenceFromID(id objc.ID) *DOMEntityReference

type DOMEvent

type DOMEvent struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domevent

func DOMEventFromID

func DOMEventFromID(id objc.ID) *DOMEvent

func (*DOMEvent) Bubbles

func (o *DOMEvent) Bubbles() bool

func (*DOMEvent) CancelBubble

func (o *DOMEvent) CancelBubble() bool

func (*DOMEvent) Cancelable

func (o *DOMEvent) Cancelable() bool

func (*DOMEvent) CurrentTarget

func (o *DOMEvent) CurrentTarget() DOMEventTarget

func (*DOMEvent) EventPhase

func (o *DOMEvent) EventPhase() uint16

func (*DOMEvent) InitEvent

func (o *DOMEvent) InitEvent(eventTypeArg *foundation.NSString, canBubbleArg bool, cancelableArg bool)

func (*DOMEvent) InitEventCanBubbleArgCancelableArg

func (o *DOMEvent) InitEventCanBubbleArgCancelableArg(eventTypeArg *foundation.NSString, canBubbleArg bool, cancelableArg bool)

func (*DOMEvent) PreventDefault

func (o *DOMEvent) PreventDefault()

func (*DOMEvent) ReturnValue

func (o *DOMEvent) ReturnValue() bool

func (*DOMEvent) SetCancelBubble

func (o *DOMEvent) SetCancelBubble(cancelBubble bool)

func (*DOMEvent) SetReturnValue

func (o *DOMEvent) SetReturnValue(returnValue bool)

func (*DOMEvent) SrcElement

func (o *DOMEvent) SrcElement() DOMEventTarget

func (*DOMEvent) StopPropagation

func (o *DOMEvent) StopPropagation()

func (*DOMEvent) Target

func (o *DOMEvent) Target() DOMEventTarget

func (*DOMEvent) TimeStamp

func (o *DOMEvent) TimeStamp() uint64

func (*DOMEvent) Type

func (o *DOMEvent) Type() *foundation.NSString

type DOMEventExceptionCode

type DOMEventExceptionCode int64
const (
	DOM_UNSPECIFIED_EVENT_TYPE_ERR DOMEventExceptionCode = 0
)

func (DOMEventExceptionCode) String

func (e DOMEventExceptionCode) String() string

type DOMEventListener

type DOMEventListener interface {
	HandleEvent(event *DOMEvent)
}

DOMEventListener wraps the ObjC protocol DOMEventListener.

type DOMEventTarget

type DOMEventTarget interface {
	foundation.NSCopying
}

DOMEventTarget wraps the ObjC protocol DOMEventTarget.

type DOMExceptionCode

type DOMExceptionCode int64
const (
	DOM_INDEX_SIZE_ERR              DOMExceptionCode = 1
	DOM_DOMSTRING_SIZE_ERR          DOMExceptionCode = 2
	DOM_HIERARCHY_REQUEST_ERR       DOMExceptionCode = 3
	DOM_WRONG_DOCUMENT_ERR          DOMExceptionCode = 4
	DOM_INVALID_CHARACTER_ERR       DOMExceptionCode = 5
	DOM_NO_DATA_ALLOWED_ERR         DOMExceptionCode = 6
	DOM_NO_MODIFICATION_ALLOWED_ERR DOMExceptionCode = 7
	DOM_NOT_FOUND_ERR               DOMExceptionCode = 8
	DOM_NOT_SUPPORTED_ERR           DOMExceptionCode = 9
	DOM_INUSE_ATTRIBUTE_ERR         DOMExceptionCode = 10
	DOM_INVALID_STATE_ERR           DOMExceptionCode = 11
	DOM_SYNTAX_ERR                  DOMExceptionCode = 12
	DOM_INVALID_MODIFICATION_ERR    DOMExceptionCode = 13
	DOM_NAMESPACE_ERR               DOMExceptionCode = 14
	DOM_INVALID_ACCESS_ERR          DOMExceptionCode = 15
)

func (DOMExceptionCode) String

func (e DOMExceptionCode) String() string

type DOMFile

type DOMFile struct {
	DOMBlob
}

Apple documentation: https://developer.apple.com/documentation/webkit/domfile

func DOMFileFromID

func DOMFileFromID(id objc.ID) *DOMFile

func (*DOMFile) Name

func (o *DOMFile) Name() *foundation.NSString

type DOMFileList

type DOMFileList struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domfilelist

func DOMFileListFromID

func DOMFileListFromID(id objc.ID) *DOMFileList

func (*DOMFileList) Item

func (o *DOMFileList) Item(index uint) *DOMFile

func (*DOMFileList) Length

func (o *DOMFileList) Length() uint

type DOMHTMLAnchorElement

type DOMHTMLAnchorElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlanchorelement

func DOMHTMLAnchorElementFromID

func DOMHTMLAnchorElementFromID(id objc.ID) *DOMHTMLAnchorElement

func (*DOMHTMLAnchorElement) AbsoluteLinkURL

func (o *DOMHTMLAnchorElement) AbsoluteLinkURL() *foundation.NSURL

func (*DOMHTMLAnchorElement) Charset

func (*DOMHTMLAnchorElement) Coords

func (*DOMHTMLAnchorElement) HashName

func (o *DOMHTMLAnchorElement) HashName() *foundation.NSString

func (*DOMHTMLAnchorElement) Host

func (*DOMHTMLAnchorElement) Hostname

func (o *DOMHTMLAnchorElement) Hostname() *foundation.NSString

func (*DOMHTMLAnchorElement) Href

func (*DOMHTMLAnchorElement) Hreflang

func (o *DOMHTMLAnchorElement) Hreflang() *foundation.NSString

func (*DOMHTMLAnchorElement) Name

func (*DOMHTMLAnchorElement) Pathname

func (o *DOMHTMLAnchorElement) Pathname() *foundation.NSString

func (*DOMHTMLAnchorElement) Port

func (*DOMHTMLAnchorElement) Protocol

func (o *DOMHTMLAnchorElement) Protocol() *foundation.NSString

func (*DOMHTMLAnchorElement) Rel

func (*DOMHTMLAnchorElement) Rev

func (*DOMHTMLAnchorElement) Search

func (*DOMHTMLAnchorElement) SetCharset

func (o *DOMHTMLAnchorElement) SetCharset(charset *foundation.NSString)

func (*DOMHTMLAnchorElement) SetCoords

func (o *DOMHTMLAnchorElement) SetCoords(coords *foundation.NSString)

func (*DOMHTMLAnchorElement) SetHref

func (o *DOMHTMLAnchorElement) SetHref(href *foundation.NSString)

func (*DOMHTMLAnchorElement) SetHreflang

func (o *DOMHTMLAnchorElement) SetHreflang(hreflang *foundation.NSString)

func (*DOMHTMLAnchorElement) SetName

func (o *DOMHTMLAnchorElement) SetName(name *foundation.NSString)

func (*DOMHTMLAnchorElement) SetRel

func (o *DOMHTMLAnchorElement) SetRel(rel *foundation.NSString)

func (*DOMHTMLAnchorElement) SetRev

func (o *DOMHTMLAnchorElement) SetRev(rev *foundation.NSString)

func (*DOMHTMLAnchorElement) SetShape

func (o *DOMHTMLAnchorElement) SetShape(shape *foundation.NSString)

func (*DOMHTMLAnchorElement) SetTarget

func (o *DOMHTMLAnchorElement) SetTarget(target *foundation.NSString)

func (*DOMHTMLAnchorElement) SetType

func (o *DOMHTMLAnchorElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLAnchorElement) Shape

func (*DOMHTMLAnchorElement) Target

func (*DOMHTMLAnchorElement) Text

func (*DOMHTMLAnchorElement) Type

type DOMHTMLAppletElement

type DOMHTMLAppletElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlappletelement

func DOMHTMLAppletElementFromID

func DOMHTMLAppletElementFromID(id objc.ID) *DOMHTMLAppletElement

func (*DOMHTMLAppletElement) Align

func (*DOMHTMLAppletElement) Alt

func (*DOMHTMLAppletElement) Archive

func (*DOMHTMLAppletElement) Code

func (*DOMHTMLAppletElement) CodeBase

func (o *DOMHTMLAppletElement) CodeBase() *foundation.NSString

func (*DOMHTMLAppletElement) Height

func (*DOMHTMLAppletElement) Hspace

func (o *DOMHTMLAppletElement) Hspace() int

func (*DOMHTMLAppletElement) Name

func (*DOMHTMLAppletElement) Object

func (*DOMHTMLAppletElement) SetAlign

func (o *DOMHTMLAppletElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLAppletElement) SetAlt

func (o *DOMHTMLAppletElement) SetAlt(alt *foundation.NSString)

func (*DOMHTMLAppletElement) SetArchive

func (o *DOMHTMLAppletElement) SetArchive(archive *foundation.NSString)

func (*DOMHTMLAppletElement) SetCode

func (o *DOMHTMLAppletElement) SetCode(code *foundation.NSString)

func (*DOMHTMLAppletElement) SetCodeBase

func (o *DOMHTMLAppletElement) SetCodeBase(codeBase *foundation.NSString)

func (*DOMHTMLAppletElement) SetHeight

func (o *DOMHTMLAppletElement) SetHeight(height *foundation.NSString)

func (*DOMHTMLAppletElement) SetHspace

func (o *DOMHTMLAppletElement) SetHspace(hspace int)

func (*DOMHTMLAppletElement) SetName

func (o *DOMHTMLAppletElement) SetName(name *foundation.NSString)

func (*DOMHTMLAppletElement) SetObject

func (o *DOMHTMLAppletElement) SetObject(object *foundation.NSString)

func (*DOMHTMLAppletElement) SetVspace

func (o *DOMHTMLAppletElement) SetVspace(vspace int)

func (*DOMHTMLAppletElement) SetWidth

func (o *DOMHTMLAppletElement) SetWidth(width *foundation.NSString)

func (*DOMHTMLAppletElement) Vspace

func (o *DOMHTMLAppletElement) Vspace() int

func (*DOMHTMLAppletElement) Width

type DOMHTMLAreaElement

type DOMHTMLAreaElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlareaelement

func DOMHTMLAreaElementFromID

func DOMHTMLAreaElementFromID(id objc.ID) *DOMHTMLAreaElement

func (*DOMHTMLAreaElement) AbsoluteLinkURL

func (o *DOMHTMLAreaElement) AbsoluteLinkURL() *foundation.NSURL

func (*DOMHTMLAreaElement) Alt

func (*DOMHTMLAreaElement) Coords

func (o *DOMHTMLAreaElement) Coords() *foundation.NSString

func (*DOMHTMLAreaElement) HashName

func (o *DOMHTMLAreaElement) HashName() *foundation.NSString

func (*DOMHTMLAreaElement) Host

func (*DOMHTMLAreaElement) Hostname

func (o *DOMHTMLAreaElement) Hostname() *foundation.NSString

func (*DOMHTMLAreaElement) Href

func (*DOMHTMLAreaElement) NoHref

func (o *DOMHTMLAreaElement) NoHref() bool

func (*DOMHTMLAreaElement) Pathname

func (o *DOMHTMLAreaElement) Pathname() *foundation.NSString

func (*DOMHTMLAreaElement) Port

func (*DOMHTMLAreaElement) Protocol

func (o *DOMHTMLAreaElement) Protocol() *foundation.NSString

func (*DOMHTMLAreaElement) Search

func (o *DOMHTMLAreaElement) Search() *foundation.NSString

func (*DOMHTMLAreaElement) SetAlt

func (o *DOMHTMLAreaElement) SetAlt(alt *foundation.NSString)

func (*DOMHTMLAreaElement) SetCoords

func (o *DOMHTMLAreaElement) SetCoords(coords *foundation.NSString)

func (*DOMHTMLAreaElement) SetHref

func (o *DOMHTMLAreaElement) SetHref(href *foundation.NSString)

func (*DOMHTMLAreaElement) SetNoHref

func (o *DOMHTMLAreaElement) SetNoHref(noHref bool)

func (*DOMHTMLAreaElement) SetShape

func (o *DOMHTMLAreaElement) SetShape(shape *foundation.NSString)

func (*DOMHTMLAreaElement) SetTarget

func (o *DOMHTMLAreaElement) SetTarget(target *foundation.NSString)

func (*DOMHTMLAreaElement) Shape

func (*DOMHTMLAreaElement) Target

func (o *DOMHTMLAreaElement) Target() *foundation.NSString

type DOMHTMLBRElement

type DOMHTMLBRElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlbrelement

func DOMHTMLBRElementFromID

func DOMHTMLBRElementFromID(id objc.ID) *DOMHTMLBRElement

func (*DOMHTMLBRElement) Clear

func (o *DOMHTMLBRElement) Clear() *foundation.NSString

func (*DOMHTMLBRElement) SetClear

func (o *DOMHTMLBRElement) SetClear(clear *foundation.NSString)

type DOMHTMLBaseElement

type DOMHTMLBaseElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlbaseelement

func DOMHTMLBaseElementFromID

func DOMHTMLBaseElementFromID(id objc.ID) *DOMHTMLBaseElement

func (*DOMHTMLBaseElement) Href

func (*DOMHTMLBaseElement) SetHref

func (o *DOMHTMLBaseElement) SetHref(href *foundation.NSString)

func (*DOMHTMLBaseElement) SetTarget

func (o *DOMHTMLBaseElement) SetTarget(target *foundation.NSString)

func (*DOMHTMLBaseElement) Target

func (o *DOMHTMLBaseElement) Target() *foundation.NSString

type DOMHTMLBaseFontElement

type DOMHTMLBaseFontElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlbasefontelement

func DOMHTMLBaseFontElementFromID

func DOMHTMLBaseFontElementFromID(id objc.ID) *DOMHTMLBaseFontElement

func (*DOMHTMLBaseFontElement) Color

func (*DOMHTMLBaseFontElement) Face

func (*DOMHTMLBaseFontElement) SetColor

func (o *DOMHTMLBaseFontElement) SetColor(color *foundation.NSString)

func (*DOMHTMLBaseFontElement) SetFace

func (o *DOMHTMLBaseFontElement) SetFace(face *foundation.NSString)

func (*DOMHTMLBaseFontElement) SetSize

func (o *DOMHTMLBaseFontElement) SetSize(size *foundation.NSString)

func (*DOMHTMLBaseFontElement) Size

type DOMHTMLBodyElement

type DOMHTMLBodyElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlbodyelement

func DOMHTMLBodyElementFromID

func DOMHTMLBodyElementFromID(id objc.ID) *DOMHTMLBodyElement

func (*DOMHTMLBodyElement) Background

func (o *DOMHTMLBodyElement) Background() *foundation.NSString

func (*DOMHTMLBodyElement) BgColor

func (o *DOMHTMLBodyElement) BgColor() *foundation.NSString
func (o *DOMHTMLBodyElement) SetALink(aLink *foundation.NSString)

func (*DOMHTMLBodyElement) SetBackground

func (o *DOMHTMLBodyElement) SetBackground(background *foundation.NSString)

func (*DOMHTMLBodyElement) SetBgColor

func (o *DOMHTMLBodyElement) SetBgColor(bgColor *foundation.NSString)
func (o *DOMHTMLBodyElement) SetLink(link *foundation.NSString)

func (*DOMHTMLBodyElement) SetText

func (o *DOMHTMLBodyElement) SetText(text *foundation.NSString)
func (o *DOMHTMLBodyElement) SetVLink(vLink *foundation.NSString)

func (*DOMHTMLBodyElement) Text

type DOMHTMLButtonElement

type DOMHTMLButtonElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlbuttonelement

func DOMHTMLButtonElementFromID

func DOMHTMLButtonElementFromID(id objc.ID) *DOMHTMLButtonElement

func (*DOMHTMLButtonElement) Autofocus

func (o *DOMHTMLButtonElement) Autofocus() bool

func (*DOMHTMLButtonElement) Disabled

func (o *DOMHTMLButtonElement) Disabled() bool

func (*DOMHTMLButtonElement) Form

func (*DOMHTMLButtonElement) Name

func (*DOMHTMLButtonElement) SetAutofocus

func (o *DOMHTMLButtonElement) SetAutofocus(autofocus bool)

func (*DOMHTMLButtonElement) SetDisabled

func (o *DOMHTMLButtonElement) SetDisabled(disabled bool)

func (*DOMHTMLButtonElement) SetName

func (o *DOMHTMLButtonElement) SetName(name *foundation.NSString)

func (*DOMHTMLButtonElement) SetType

func (o *DOMHTMLButtonElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLButtonElement) SetValue

func (o *DOMHTMLButtonElement) SetValue(value *foundation.NSString)

func (*DOMHTMLButtonElement) Type

func (*DOMHTMLButtonElement) Value

func (*DOMHTMLButtonElement) WillValidate

func (o *DOMHTMLButtonElement) WillValidate() bool

type DOMHTMLCollection

type DOMHTMLCollection struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlcollection

func DOMHTMLCollectionFromID

func DOMHTMLCollectionFromID(id objc.ID) *DOMHTMLCollection

func (*DOMHTMLCollection) Item

func (o *DOMHTMLCollection) Item(index uint) *DOMNode

func (*DOMHTMLCollection) Length

func (o *DOMHTMLCollection) Length() uint

func (*DOMHTMLCollection) NamedItem

func (o *DOMHTMLCollection) NamedItem(name *foundation.NSString) *DOMNode

func (*DOMHTMLCollection) Tags

type DOMHTMLDListElement

type DOMHTMLDListElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmldlistelement

func DOMHTMLDListElementFromID

func DOMHTMLDListElementFromID(id objc.ID) *DOMHTMLDListElement

func (*DOMHTMLDListElement) Compact

func (o *DOMHTMLDListElement) Compact() bool

func (*DOMHTMLDListElement) SetCompact

func (o *DOMHTMLDListElement) SetCompact(compact bool)

type DOMHTMLDirectoryElement

type DOMHTMLDirectoryElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmldirectoryelement

func DOMHTMLDirectoryElementFromID

func DOMHTMLDirectoryElementFromID(id objc.ID) *DOMHTMLDirectoryElement

func (*DOMHTMLDirectoryElement) Compact

func (o *DOMHTMLDirectoryElement) Compact() bool

func (*DOMHTMLDirectoryElement) SetCompact

func (o *DOMHTMLDirectoryElement) SetCompact(compact bool)

type DOMHTMLDivElement

type DOMHTMLDivElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmldivelement

func DOMHTMLDivElementFromID

func DOMHTMLDivElementFromID(id objc.ID) *DOMHTMLDivElement

func (*DOMHTMLDivElement) Align

func (*DOMHTMLDivElement) SetAlign

func (o *DOMHTMLDivElement) SetAlign(align *foundation.NSString)

type DOMHTMLDocument

type DOMHTMLDocument struct {
	DOMDocument
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmldocument

func DOMHTMLDocumentFromID

func DOMHTMLDocumentFromID(id objc.ID) *DOMHTMLDocument

func (*DOMHTMLDocument) AlinkColor

func (o *DOMHTMLDocument) AlinkColor() *foundation.NSString

func (*DOMHTMLDocument) BgColor

func (o *DOMHTMLDocument) BgColor() *foundation.NSString

func (*DOMHTMLDocument) CaptureEvents

func (o *DOMHTMLDocument) CaptureEvents()

func (*DOMHTMLDocument) Clear

func (o *DOMHTMLDocument) Clear()

func (*DOMHTMLDocument) Close

func (o *DOMHTMLDocument) Close()

func (*DOMHTMLDocument) CompatMode

func (o *DOMHTMLDocument) CompatMode() *foundation.NSString

func (*DOMHTMLDocument) CreateDocumentFragmentWithMarkupStringBaseURL

func (o *DOMHTMLDocument) CreateDocumentFragmentWithMarkupStringBaseURL(markupString *foundation.NSString, baseURL *foundation.NSURL) *DOMDocumentFragment

func (*DOMHTMLDocument) CreateDocumentFragmentWithText

func (o *DOMHTMLDocument) CreateDocumentFragmentWithText(text *foundation.NSString) *DOMDocumentFragment

func (*DOMHTMLDocument) DesignMode

func (o *DOMHTMLDocument) DesignMode() *foundation.NSString

func (*DOMHTMLDocument) Dir

func (*DOMHTMLDocument) Embeds

func (o *DOMHTMLDocument) Embeds() *DOMHTMLCollection

func (*DOMHTMLDocument) FgColor

func (o *DOMHTMLDocument) FgColor() *foundation.NSString

func (*DOMHTMLDocument) Height

func (o *DOMHTMLDocument) Height() int

func (*DOMHTMLDocument) LinkColor

func (o *DOMHTMLDocument) LinkColor() *foundation.NSString

func (*DOMHTMLDocument) Open

func (o *DOMHTMLDocument) Open()

func (*DOMHTMLDocument) Plugins

func (o *DOMHTMLDocument) Plugins() *DOMHTMLCollection

func (*DOMHTMLDocument) ReleaseEvents

func (o *DOMHTMLDocument) ReleaseEvents()

func (*DOMHTMLDocument) Scripts

func (o *DOMHTMLDocument) Scripts() *DOMHTMLCollection

func (*DOMHTMLDocument) SetAlinkColor

func (o *DOMHTMLDocument) SetAlinkColor(alinkColor *foundation.NSString)

func (*DOMHTMLDocument) SetBgColor

func (o *DOMHTMLDocument) SetBgColor(bgColor *foundation.NSString)

func (*DOMHTMLDocument) SetDesignMode

func (o *DOMHTMLDocument) SetDesignMode(designMode *foundation.NSString)

func (*DOMHTMLDocument) SetDir

func (o *DOMHTMLDocument) SetDir(dir *foundation.NSString)

func (*DOMHTMLDocument) SetFgColor

func (o *DOMHTMLDocument) SetFgColor(fgColor *foundation.NSString)

func (*DOMHTMLDocument) SetLinkColor

func (o *DOMHTMLDocument) SetLinkColor(linkColor *foundation.NSString)

func (*DOMHTMLDocument) SetVlinkColor

func (o *DOMHTMLDocument) SetVlinkColor(vlinkColor *foundation.NSString)

func (*DOMHTMLDocument) VlinkColor

func (o *DOMHTMLDocument) VlinkColor() *foundation.NSString

func (*DOMHTMLDocument) Width

func (o *DOMHTMLDocument) Width() int

func (*DOMHTMLDocument) Write

func (o *DOMHTMLDocument) Write(text *foundation.NSString)

func (*DOMHTMLDocument) Writeln

func (o *DOMHTMLDocument) Writeln(text *foundation.NSString)

type DOMHTMLElement

type DOMHTMLElement struct {
	DOMElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlelement

func DOMHTMLElementFromID

func DOMHTMLElementFromID(id objc.ID) *DOMHTMLElement

func (*DOMHTMLElement) AccessKey

func (o *DOMHTMLElement) AccessKey() *foundation.NSString

func (*DOMHTMLElement) Children

func (o *DOMHTMLElement) Children() *DOMHTMLCollection

func (*DOMHTMLElement) Click

func (o *DOMHTMLElement) Click()

func (*DOMHTMLElement) ContentEditable

func (o *DOMHTMLElement) ContentEditable() *foundation.NSString

func (*DOMHTMLElement) Dir

func (*DOMHTMLElement) IdName

func (o *DOMHTMLElement) IdName() *foundation.NSString

func (*DOMHTMLElement) Lang

func (o *DOMHTMLElement) Lang() *foundation.NSString

func (*DOMHTMLElement) OuterText

func (o *DOMHTMLElement) OuterText() *foundation.NSString

func (*DOMHTMLElement) SetAccessKey

func (o *DOMHTMLElement) SetAccessKey(accessKey *foundation.NSString)

func (*DOMHTMLElement) SetContentEditable

func (o *DOMHTMLElement) SetContentEditable(contentEditable *foundation.NSString)

func (*DOMHTMLElement) SetDir

func (o *DOMHTMLElement) SetDir(dir *foundation.NSString)

func (*DOMHTMLElement) SetIdName

func (o *DOMHTMLElement) SetIdName(idName *foundation.NSString)

func (*DOMHTMLElement) SetInnerText

func (o *DOMHTMLElement) SetInnerText(innerText *foundation.NSString)

func (*DOMHTMLElement) SetLang

func (o *DOMHTMLElement) SetLang(lang *foundation.NSString)

func (*DOMHTMLElement) SetOuterText

func (o *DOMHTMLElement) SetOuterText(outerText *foundation.NSString)

func (*DOMHTMLElement) SetTabIndex

func (o *DOMHTMLElement) SetTabIndex(tabIndex int)

func (*DOMHTMLElement) SetTitle

func (o *DOMHTMLElement) SetTitle(title *foundation.NSString)

func (*DOMHTMLElement) TabIndex

func (o *DOMHTMLElement) TabIndex() int

func (*DOMHTMLElement) Title

func (o *DOMHTMLElement) Title() *foundation.NSString

func (*DOMHTMLElement) TitleDisplayString

func (o *DOMHTMLElement) TitleDisplayString() *foundation.NSString

type DOMHTMLEmbedElement

type DOMHTMLEmbedElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlembedelement

func DOMHTMLEmbedElementFromID

func DOMHTMLEmbedElementFromID(id objc.ID) *DOMHTMLEmbedElement

func (*DOMHTMLEmbedElement) Align

func (*DOMHTMLEmbedElement) Height

func (o *DOMHTMLEmbedElement) Height() int

func (*DOMHTMLEmbedElement) Name

func (*DOMHTMLEmbedElement) SetAlign

func (o *DOMHTMLEmbedElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLEmbedElement) SetHeight

func (o *DOMHTMLEmbedElement) SetHeight(height int)

func (*DOMHTMLEmbedElement) SetName

func (o *DOMHTMLEmbedElement) SetName(name *foundation.NSString)

func (*DOMHTMLEmbedElement) SetSrc

func (o *DOMHTMLEmbedElement) SetSrc(src *foundation.NSString)

func (*DOMHTMLEmbedElement) SetType

func (o *DOMHTMLEmbedElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLEmbedElement) SetWidth

func (o *DOMHTMLEmbedElement) SetWidth(width int)

func (*DOMHTMLEmbedElement) Src

func (*DOMHTMLEmbedElement) Type

func (*DOMHTMLEmbedElement) Width

func (o *DOMHTMLEmbedElement) Width() int

type DOMHTMLFieldSetElement

type DOMHTMLFieldSetElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlfieldsetelement

func DOMHTMLFieldSetElementFromID

func DOMHTMLFieldSetElementFromID(id objc.ID) *DOMHTMLFieldSetElement

func (*DOMHTMLFieldSetElement) Form

type DOMHTMLFontElement

type DOMHTMLFontElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlfontelement

func DOMHTMLFontElementFromID

func DOMHTMLFontElementFromID(id objc.ID) *DOMHTMLFontElement

func (*DOMHTMLFontElement) Color

func (*DOMHTMLFontElement) Face

func (*DOMHTMLFontElement) SetColor

func (o *DOMHTMLFontElement) SetColor(color *foundation.NSString)

func (*DOMHTMLFontElement) SetFace

func (o *DOMHTMLFontElement) SetFace(face *foundation.NSString)

func (*DOMHTMLFontElement) SetSize

func (o *DOMHTMLFontElement) SetSize(size *foundation.NSString)

func (*DOMHTMLFontElement) Size

type DOMHTMLFormElement

type DOMHTMLFormElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlformelement

func DOMHTMLFormElementFromID

func DOMHTMLFormElementFromID(id objc.ID) *DOMHTMLFormElement

func (*DOMHTMLFormElement) AcceptCharset

func (o *DOMHTMLFormElement) AcceptCharset() *foundation.NSString

func (*DOMHTMLFormElement) Action

func (o *DOMHTMLFormElement) Action() *foundation.NSString

func (*DOMHTMLFormElement) Elements

func (o *DOMHTMLFormElement) Elements() *DOMHTMLCollection

func (*DOMHTMLFormElement) Encoding

func (o *DOMHTMLFormElement) Encoding() *foundation.NSString

func (*DOMHTMLFormElement) Enctype

func (o *DOMHTMLFormElement) Enctype() *foundation.NSString

func (*DOMHTMLFormElement) Length

func (o *DOMHTMLFormElement) Length() int

func (*DOMHTMLFormElement) Method

func (o *DOMHTMLFormElement) Method() *foundation.NSString

func (*DOMHTMLFormElement) Name

func (*DOMHTMLFormElement) Reset

func (o *DOMHTMLFormElement) Reset()

func (*DOMHTMLFormElement) SetAcceptCharset

func (o *DOMHTMLFormElement) SetAcceptCharset(acceptCharset *foundation.NSString)

func (*DOMHTMLFormElement) SetAction

func (o *DOMHTMLFormElement) SetAction(action *foundation.NSString)

func (*DOMHTMLFormElement) SetEncoding

func (o *DOMHTMLFormElement) SetEncoding(encoding *foundation.NSString)

func (*DOMHTMLFormElement) SetEnctype

func (o *DOMHTMLFormElement) SetEnctype(enctype *foundation.NSString)

func (*DOMHTMLFormElement) SetMethod

func (o *DOMHTMLFormElement) SetMethod(method *foundation.NSString)

func (*DOMHTMLFormElement) SetName

func (o *DOMHTMLFormElement) SetName(name *foundation.NSString)

func (*DOMHTMLFormElement) SetTarget

func (o *DOMHTMLFormElement) SetTarget(target *foundation.NSString)

func (*DOMHTMLFormElement) Submit

func (o *DOMHTMLFormElement) Submit()

func (*DOMHTMLFormElement) Target

func (o *DOMHTMLFormElement) Target() *foundation.NSString

type DOMHTMLFrameElement

type DOMHTMLFrameElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlframeelement

func DOMHTMLFrameElementFromID

func DOMHTMLFrameElementFromID(id objc.ID) *DOMHTMLFrameElement

func (*DOMHTMLFrameElement) ContentDocument

func (o *DOMHTMLFrameElement) ContentDocument() *DOMDocument

func (*DOMHTMLFrameElement) ContentFrame

func (o *DOMHTMLFrameElement) ContentFrame() *WebFrame

func (*DOMHTMLFrameElement) ContentWindow

func (o *DOMHTMLFrameElement) ContentWindow() *DOMAbstractView

func (*DOMHTMLFrameElement) FrameBorder

func (o *DOMHTMLFrameElement) FrameBorder() *foundation.NSString

func (*DOMHTMLFrameElement) Height

func (o *DOMHTMLFrameElement) Height() int

func (*DOMHTMLFrameElement) Location

func (o *DOMHTMLFrameElement) Location() *foundation.NSString

func (*DOMHTMLFrameElement) LongDesc

func (o *DOMHTMLFrameElement) LongDesc() *foundation.NSString

func (*DOMHTMLFrameElement) MarginHeight

func (o *DOMHTMLFrameElement) MarginHeight() *foundation.NSString

func (*DOMHTMLFrameElement) MarginWidth

func (o *DOMHTMLFrameElement) MarginWidth() *foundation.NSString

func (*DOMHTMLFrameElement) Name

func (*DOMHTMLFrameElement) NoResize

func (o *DOMHTMLFrameElement) NoResize() bool

func (*DOMHTMLFrameElement) Scrolling

func (o *DOMHTMLFrameElement) Scrolling() *foundation.NSString

func (*DOMHTMLFrameElement) SetFrameBorder

func (o *DOMHTMLFrameElement) SetFrameBorder(frameBorder *foundation.NSString)

func (*DOMHTMLFrameElement) SetLocation

func (o *DOMHTMLFrameElement) SetLocation(location *foundation.NSString)

func (*DOMHTMLFrameElement) SetLongDesc

func (o *DOMHTMLFrameElement) SetLongDesc(longDesc *foundation.NSString)

func (*DOMHTMLFrameElement) SetMarginHeight

func (o *DOMHTMLFrameElement) SetMarginHeight(marginHeight *foundation.NSString)

func (*DOMHTMLFrameElement) SetMarginWidth

func (o *DOMHTMLFrameElement) SetMarginWidth(marginWidth *foundation.NSString)

func (*DOMHTMLFrameElement) SetName

func (o *DOMHTMLFrameElement) SetName(name *foundation.NSString)

func (*DOMHTMLFrameElement) SetNoResize

func (o *DOMHTMLFrameElement) SetNoResize(noResize bool)

func (*DOMHTMLFrameElement) SetScrolling

func (o *DOMHTMLFrameElement) SetScrolling(scrolling *foundation.NSString)

func (*DOMHTMLFrameElement) SetSrc

func (o *DOMHTMLFrameElement) SetSrc(src *foundation.NSString)

func (*DOMHTMLFrameElement) Src

func (*DOMHTMLFrameElement) Width

func (o *DOMHTMLFrameElement) Width() int

type DOMHTMLFrameSetElement

type DOMHTMLFrameSetElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlframesetelement

func DOMHTMLFrameSetElementFromID

func DOMHTMLFrameSetElementFromID(id objc.ID) *DOMHTMLFrameSetElement

func (*DOMHTMLFrameSetElement) Cols

func (*DOMHTMLFrameSetElement) Rows

func (*DOMHTMLFrameSetElement) SetCols

func (o *DOMHTMLFrameSetElement) SetCols(cols *foundation.NSString)

func (*DOMHTMLFrameSetElement) SetRows

func (o *DOMHTMLFrameSetElement) SetRows(rows *foundation.NSString)

type DOMHTMLHRElement

type DOMHTMLHRElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlhrelement

func DOMHTMLHRElementFromID

func DOMHTMLHRElementFromID(id objc.ID) *DOMHTMLHRElement

func (*DOMHTMLHRElement) Align

func (o *DOMHTMLHRElement) Align() *foundation.NSString

func (*DOMHTMLHRElement) NoShade

func (o *DOMHTMLHRElement) NoShade() bool

func (*DOMHTMLHRElement) SetAlign

func (o *DOMHTMLHRElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLHRElement) SetNoShade

func (o *DOMHTMLHRElement) SetNoShade(noShade bool)

func (*DOMHTMLHRElement) SetSize

func (o *DOMHTMLHRElement) SetSize(size *foundation.NSString)

func (*DOMHTMLHRElement) SetWidth

func (o *DOMHTMLHRElement) SetWidth(width *foundation.NSString)

func (*DOMHTMLHRElement) Size

func (*DOMHTMLHRElement) Width

func (o *DOMHTMLHRElement) Width() *foundation.NSString

type DOMHTMLHeadElement

type DOMHTMLHeadElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlheadelement

func DOMHTMLHeadElementFromID

func DOMHTMLHeadElementFromID(id objc.ID) *DOMHTMLHeadElement

func (*DOMHTMLHeadElement) Profile

func (o *DOMHTMLHeadElement) Profile() *foundation.NSString

func (*DOMHTMLHeadElement) SetProfile

func (o *DOMHTMLHeadElement) SetProfile(profile *foundation.NSString)

type DOMHTMLHeadingElement

type DOMHTMLHeadingElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlheadingelement

func DOMHTMLHeadingElementFromID

func DOMHTMLHeadingElementFromID(id objc.ID) *DOMHTMLHeadingElement

func (*DOMHTMLHeadingElement) Align

func (*DOMHTMLHeadingElement) SetAlign

func (o *DOMHTMLHeadingElement) SetAlign(align *foundation.NSString)

type DOMHTMLHtmlElement

type DOMHTMLHtmlElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlhtmlelement

func DOMHTMLHtmlElementFromID

func DOMHTMLHtmlElementFromID(id objc.ID) *DOMHTMLHtmlElement

type DOMHTMLIFrameElement

type DOMHTMLIFrameElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmliframeelement

func DOMHTMLIFrameElementFromID

func DOMHTMLIFrameElementFromID(id objc.ID) *DOMHTMLIFrameElement

func (*DOMHTMLIFrameElement) Align

func (*DOMHTMLIFrameElement) ContentDocument

func (o *DOMHTMLIFrameElement) ContentDocument() *DOMDocument

func (*DOMHTMLIFrameElement) ContentFrame

func (o *DOMHTMLIFrameElement) ContentFrame() *WebFrame

func (*DOMHTMLIFrameElement) ContentWindow

func (o *DOMHTMLIFrameElement) ContentWindow() *DOMAbstractView

func (*DOMHTMLIFrameElement) FrameBorder

func (o *DOMHTMLIFrameElement) FrameBorder() *foundation.NSString

func (*DOMHTMLIFrameElement) Height

func (*DOMHTMLIFrameElement) LongDesc

func (o *DOMHTMLIFrameElement) LongDesc() *foundation.NSString

func (*DOMHTMLIFrameElement) MarginHeight

func (o *DOMHTMLIFrameElement) MarginHeight() *foundation.NSString

func (*DOMHTMLIFrameElement) MarginWidth

func (o *DOMHTMLIFrameElement) MarginWidth() *foundation.NSString

func (*DOMHTMLIFrameElement) Name

func (*DOMHTMLIFrameElement) Scrolling

func (o *DOMHTMLIFrameElement) Scrolling() *foundation.NSString

func (*DOMHTMLIFrameElement) SetAlign

func (o *DOMHTMLIFrameElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLIFrameElement) SetFrameBorder

func (o *DOMHTMLIFrameElement) SetFrameBorder(frameBorder *foundation.NSString)

func (*DOMHTMLIFrameElement) SetHeight

func (o *DOMHTMLIFrameElement) SetHeight(height *foundation.NSString)

func (*DOMHTMLIFrameElement) SetLongDesc

func (o *DOMHTMLIFrameElement) SetLongDesc(longDesc *foundation.NSString)

func (*DOMHTMLIFrameElement) SetMarginHeight

func (o *DOMHTMLIFrameElement) SetMarginHeight(marginHeight *foundation.NSString)

func (*DOMHTMLIFrameElement) SetMarginWidth

func (o *DOMHTMLIFrameElement) SetMarginWidth(marginWidth *foundation.NSString)

func (*DOMHTMLIFrameElement) SetName

func (o *DOMHTMLIFrameElement) SetName(name *foundation.NSString)

func (*DOMHTMLIFrameElement) SetScrolling

func (o *DOMHTMLIFrameElement) SetScrolling(scrolling *foundation.NSString)

func (*DOMHTMLIFrameElement) SetSrc

func (o *DOMHTMLIFrameElement) SetSrc(src *foundation.NSString)

func (*DOMHTMLIFrameElement) SetWidth

func (o *DOMHTMLIFrameElement) SetWidth(width *foundation.NSString)

func (*DOMHTMLIFrameElement) Src

func (*DOMHTMLIFrameElement) Width

type DOMHTMLImageElement

type DOMHTMLImageElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlimageelement

func DOMHTMLImageElementFromID

func DOMHTMLImageElementFromID(id objc.ID) *DOMHTMLImageElement

func (*DOMHTMLImageElement) AbsoluteImageURL

func (o *DOMHTMLImageElement) AbsoluteImageURL() *foundation.NSURL

func (*DOMHTMLImageElement) Align

func (*DOMHTMLImageElement) Alt

func (*DOMHTMLImageElement) AltDisplayString

func (o *DOMHTMLImageElement) AltDisplayString() *foundation.NSString

func (*DOMHTMLImageElement) Border

func (*DOMHTMLImageElement) Complete

func (o *DOMHTMLImageElement) Complete() bool

func (*DOMHTMLImageElement) Height

func (o *DOMHTMLImageElement) Height() int

func (*DOMHTMLImageElement) Hspace

func (o *DOMHTMLImageElement) Hspace() int

func (*DOMHTMLImageElement) IsMap

func (o *DOMHTMLImageElement) IsMap() bool

func (*DOMHTMLImageElement) LongDesc

func (o *DOMHTMLImageElement) LongDesc() *foundation.NSString

func (*DOMHTMLImageElement) Lowsrc

func (*DOMHTMLImageElement) Name

func (*DOMHTMLImageElement) NaturalHeight

func (o *DOMHTMLImageElement) NaturalHeight() int

func (*DOMHTMLImageElement) NaturalWidth

func (o *DOMHTMLImageElement) NaturalWidth() int

func (*DOMHTMLImageElement) SetAlign

func (o *DOMHTMLImageElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLImageElement) SetAlt

func (o *DOMHTMLImageElement) SetAlt(alt *foundation.NSString)

func (*DOMHTMLImageElement) SetBorder

func (o *DOMHTMLImageElement) SetBorder(border *foundation.NSString)

func (*DOMHTMLImageElement) SetHeight

func (o *DOMHTMLImageElement) SetHeight(height int)

func (*DOMHTMLImageElement) SetHspace

func (o *DOMHTMLImageElement) SetHspace(hspace int)

func (*DOMHTMLImageElement) SetIsMap

func (o *DOMHTMLImageElement) SetIsMap(isMap bool)

func (*DOMHTMLImageElement) SetLongDesc

func (o *DOMHTMLImageElement) SetLongDesc(longDesc *foundation.NSString)

func (*DOMHTMLImageElement) SetLowsrc

func (o *DOMHTMLImageElement) SetLowsrc(lowsrc *foundation.NSString)

func (*DOMHTMLImageElement) SetName

func (o *DOMHTMLImageElement) SetName(name *foundation.NSString)

func (*DOMHTMLImageElement) SetSrc

func (o *DOMHTMLImageElement) SetSrc(src *foundation.NSString)

func (*DOMHTMLImageElement) SetUseMap

func (o *DOMHTMLImageElement) SetUseMap(useMap *foundation.NSString)

func (*DOMHTMLImageElement) SetVspace

func (o *DOMHTMLImageElement) SetVspace(vspace int)

func (*DOMHTMLImageElement) SetWidth

func (o *DOMHTMLImageElement) SetWidth(width int)

func (*DOMHTMLImageElement) Src

func (*DOMHTMLImageElement) UseMap

func (*DOMHTMLImageElement) Vspace

func (o *DOMHTMLImageElement) Vspace() int

func (*DOMHTMLImageElement) Width

func (o *DOMHTMLImageElement) Width() int

func (*DOMHTMLImageElement) X

func (o *DOMHTMLImageElement) X() int

func (*DOMHTMLImageElement) Y

func (o *DOMHTMLImageElement) Y() int

type DOMHTMLInputElement

type DOMHTMLInputElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlinputelement

func DOMHTMLInputElementFromID

func DOMHTMLInputElementFromID(id objc.ID) *DOMHTMLInputElement

func (*DOMHTMLInputElement) AbsoluteImageURL

func (o *DOMHTMLInputElement) AbsoluteImageURL() *foundation.NSURL

func (*DOMHTMLInputElement) Accept

func (*DOMHTMLInputElement) Align

func (*DOMHTMLInputElement) Alt

func (*DOMHTMLInputElement) AltDisplayString

func (o *DOMHTMLInputElement) AltDisplayString() *foundation.NSString

func (*DOMHTMLInputElement) Autofocus

func (o *DOMHTMLInputElement) Autofocus() bool

func (*DOMHTMLInputElement) Checked

func (o *DOMHTMLInputElement) Checked() bool

func (*DOMHTMLInputElement) DefaultChecked

func (o *DOMHTMLInputElement) DefaultChecked() bool

func (*DOMHTMLInputElement) DefaultValue

func (o *DOMHTMLInputElement) DefaultValue() *foundation.NSString

func (*DOMHTMLInputElement) Disabled

func (o *DOMHTMLInputElement) Disabled() bool

func (*DOMHTMLInputElement) Files

func (o *DOMHTMLInputElement) Files() *DOMFileList

func (*DOMHTMLInputElement) Form

func (*DOMHTMLInputElement) Indeterminate

func (o *DOMHTMLInputElement) Indeterminate() bool

func (*DOMHTMLInputElement) MaxLength

func (o *DOMHTMLInputElement) MaxLength() int

func (*DOMHTMLInputElement) Multiple

func (o *DOMHTMLInputElement) Multiple() bool

func (*DOMHTMLInputElement) Name

func (*DOMHTMLInputElement) ReadOnly

func (o *DOMHTMLInputElement) ReadOnly() bool

func (*DOMHTMLInputElement) Select

func (o *DOMHTMLInputElement) Select()

func (*DOMHTMLInputElement) SelectionEnd

func (o *DOMHTMLInputElement) SelectionEnd() int

func (*DOMHTMLInputElement) SelectionStart

func (o *DOMHTMLInputElement) SelectionStart() int

func (*DOMHTMLInputElement) SetAccept

func (o *DOMHTMLInputElement) SetAccept(accept *foundation.NSString)

func (*DOMHTMLInputElement) SetAlign

func (o *DOMHTMLInputElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLInputElement) SetAlt

func (o *DOMHTMLInputElement) SetAlt(alt *foundation.NSString)

func (*DOMHTMLInputElement) SetAutofocus

func (o *DOMHTMLInputElement) SetAutofocus(autofocus bool)

func (*DOMHTMLInputElement) SetChecked

func (o *DOMHTMLInputElement) SetChecked(checked bool)

func (*DOMHTMLInputElement) SetDefaultChecked

func (o *DOMHTMLInputElement) SetDefaultChecked(defaultChecked bool)

func (*DOMHTMLInputElement) SetDefaultValue

func (o *DOMHTMLInputElement) SetDefaultValue(defaultValue *foundation.NSString)

func (*DOMHTMLInputElement) SetDisabled

func (o *DOMHTMLInputElement) SetDisabled(disabled bool)

func (*DOMHTMLInputElement) SetFiles

func (o *DOMHTMLInputElement) SetFiles(files *DOMFileList)

func (*DOMHTMLInputElement) SetIndeterminate

func (o *DOMHTMLInputElement) SetIndeterminate(indeterminate bool)

func (*DOMHTMLInputElement) SetMaxLength

func (o *DOMHTMLInputElement) SetMaxLength(maxLength int)

func (*DOMHTMLInputElement) SetMultiple

func (o *DOMHTMLInputElement) SetMultiple(multiple bool)

func (*DOMHTMLInputElement) SetName

func (o *DOMHTMLInputElement) SetName(name *foundation.NSString)

func (*DOMHTMLInputElement) SetReadOnly

func (o *DOMHTMLInputElement) SetReadOnly(readOnly bool)

func (*DOMHTMLInputElement) SetSelectionEnd

func (o *DOMHTMLInputElement) SetSelectionEnd(selectionEnd int)

func (*DOMHTMLInputElement) SetSelectionRangeEnd

func (o *DOMHTMLInputElement) SetSelectionRangeEnd(start int, end int)

func (*DOMHTMLInputElement) SetSelectionStart

func (o *DOMHTMLInputElement) SetSelectionStart(selectionStart int)

func (*DOMHTMLInputElement) SetSize

func (o *DOMHTMLInputElement) SetSize(size *foundation.NSString)

func (*DOMHTMLInputElement) SetSrc

func (o *DOMHTMLInputElement) SetSrc(src *foundation.NSString)

func (*DOMHTMLInputElement) SetType

func (o *DOMHTMLInputElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLInputElement) SetUseMap

func (o *DOMHTMLInputElement) SetUseMap(useMap *foundation.NSString)

func (*DOMHTMLInputElement) SetValue

func (o *DOMHTMLInputElement) SetValue(value *foundation.NSString)

func (*DOMHTMLInputElement) Size

func (*DOMHTMLInputElement) Src

func (*DOMHTMLInputElement) Type

func (*DOMHTMLInputElement) UseMap

func (*DOMHTMLInputElement) Value

func (*DOMHTMLInputElement) WillValidate

func (o *DOMHTMLInputElement) WillValidate() bool

type DOMHTMLLIElement

type DOMHTMLLIElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmllielement

func DOMHTMLLIElementFromID

func DOMHTMLLIElementFromID(id objc.ID) *DOMHTMLLIElement

func (*DOMHTMLLIElement) SetType

func (o *DOMHTMLLIElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLLIElement) SetValue

func (o *DOMHTMLLIElement) SetValue(value int)

func (*DOMHTMLLIElement) Type

func (*DOMHTMLLIElement) Value

func (o *DOMHTMLLIElement) Value() int

type DOMHTMLLabelElement

type DOMHTMLLabelElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmllabelelement

func DOMHTMLLabelElementFromID

func DOMHTMLLabelElementFromID(id objc.ID) *DOMHTMLLabelElement

func (*DOMHTMLLabelElement) Form

func (*DOMHTMLLabelElement) HtmlFor

func (o *DOMHTMLLabelElement) HtmlFor() *foundation.NSString

func (*DOMHTMLLabelElement) SetHtmlFor

func (o *DOMHTMLLabelElement) SetHtmlFor(htmlFor *foundation.NSString)

type DOMHTMLLegendElement

type DOMHTMLLegendElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmllegendelement

func DOMHTMLLegendElementFromID

func DOMHTMLLegendElementFromID(id objc.ID) *DOMHTMLLegendElement

func (*DOMHTMLLegendElement) Align

func (*DOMHTMLLegendElement) Form

func (*DOMHTMLLegendElement) SetAlign

func (o *DOMHTMLLegendElement) SetAlign(align *foundation.NSString)

type DOMHTMLLinkElement

type DOMHTMLLinkElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmllinkelement

func DOMHTMLLinkElementFromID

func DOMHTMLLinkElementFromID(id objc.ID) *DOMHTMLLinkElement

func (*DOMHTMLLinkElement) AbsoluteLinkURL

func (o *DOMHTMLLinkElement) AbsoluteLinkURL() *foundation.NSURL

func (*DOMHTMLLinkElement) Charset

func (o *DOMHTMLLinkElement) Charset() *foundation.NSString

func (*DOMHTMLLinkElement) Disabled

func (o *DOMHTMLLinkElement) Disabled() bool

func (*DOMHTMLLinkElement) Href

func (*DOMHTMLLinkElement) Hreflang

func (o *DOMHTMLLinkElement) Hreflang() *foundation.NSString

func (*DOMHTMLLinkElement) Media

func (*DOMHTMLLinkElement) Rel

func (*DOMHTMLLinkElement) Rev

func (*DOMHTMLLinkElement) SetCharset

func (o *DOMHTMLLinkElement) SetCharset(charset *foundation.NSString)

func (*DOMHTMLLinkElement) SetDisabled

func (o *DOMHTMLLinkElement) SetDisabled(disabled bool)

func (*DOMHTMLLinkElement) SetHref

func (o *DOMHTMLLinkElement) SetHref(href *foundation.NSString)

func (*DOMHTMLLinkElement) SetHreflang

func (o *DOMHTMLLinkElement) SetHreflang(hreflang *foundation.NSString)

func (*DOMHTMLLinkElement) SetMedia

func (o *DOMHTMLLinkElement) SetMedia(media *foundation.NSString)

func (*DOMHTMLLinkElement) SetRel

func (o *DOMHTMLLinkElement) SetRel(rel *foundation.NSString)

func (*DOMHTMLLinkElement) SetRev

func (o *DOMHTMLLinkElement) SetRev(rev *foundation.NSString)

func (*DOMHTMLLinkElement) SetTarget

func (o *DOMHTMLLinkElement) SetTarget(target *foundation.NSString)

func (*DOMHTMLLinkElement) SetType

func (o *DOMHTMLLinkElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLLinkElement) Target

func (o *DOMHTMLLinkElement) Target() *foundation.NSString

func (*DOMHTMLLinkElement) Type

type DOMHTMLMapElement

type DOMHTMLMapElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlmapelement

func DOMHTMLMapElementFromID

func DOMHTMLMapElementFromID(id objc.ID) *DOMHTMLMapElement

func (*DOMHTMLMapElement) Areas

func (*DOMHTMLMapElement) Name

func (*DOMHTMLMapElement) SetName

func (o *DOMHTMLMapElement) SetName(name *foundation.NSString)

type DOMHTMLMarqueeElement

type DOMHTMLMarqueeElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlmarqueeelement

func DOMHTMLMarqueeElementFromID

func DOMHTMLMarqueeElementFromID(id objc.ID) *DOMHTMLMarqueeElement

func (*DOMHTMLMarqueeElement) Start

func (o *DOMHTMLMarqueeElement) Start()

func (*DOMHTMLMarqueeElement) Stop

func (o *DOMHTMLMarqueeElement) Stop()

type DOMHTMLMenuElement

type DOMHTMLMenuElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlmenuelement

func DOMHTMLMenuElementFromID

func DOMHTMLMenuElementFromID(id objc.ID) *DOMHTMLMenuElement

func (*DOMHTMLMenuElement) Compact

func (o *DOMHTMLMenuElement) Compact() bool

func (*DOMHTMLMenuElement) SetCompact

func (o *DOMHTMLMenuElement) SetCompact(compact bool)

type DOMHTMLMetaElement

type DOMHTMLMetaElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlmetaelement

func DOMHTMLMetaElementFromID

func DOMHTMLMetaElementFromID(id objc.ID) *DOMHTMLMetaElement

func (*DOMHTMLMetaElement) Content

func (o *DOMHTMLMetaElement) Content() *foundation.NSString

func (*DOMHTMLMetaElement) HttpEquiv

func (o *DOMHTMLMetaElement) HttpEquiv() *foundation.NSString

func (*DOMHTMLMetaElement) Name

func (*DOMHTMLMetaElement) Scheme

func (o *DOMHTMLMetaElement) Scheme() *foundation.NSString

func (*DOMHTMLMetaElement) SetContent

func (o *DOMHTMLMetaElement) SetContent(content *foundation.NSString)

func (*DOMHTMLMetaElement) SetHttpEquiv

func (o *DOMHTMLMetaElement) SetHttpEquiv(httpEquiv *foundation.NSString)

func (*DOMHTMLMetaElement) SetName

func (o *DOMHTMLMetaElement) SetName(name *foundation.NSString)

func (*DOMHTMLMetaElement) SetScheme

func (o *DOMHTMLMetaElement) SetScheme(scheme *foundation.NSString)

type DOMHTMLModElement

type DOMHTMLModElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlmodelement

func DOMHTMLModElementFromID

func DOMHTMLModElementFromID(id objc.ID) *DOMHTMLModElement

func (*DOMHTMLModElement) Cite

func (*DOMHTMLModElement) DateTime

func (o *DOMHTMLModElement) DateTime() *foundation.NSString

func (*DOMHTMLModElement) SetCite

func (o *DOMHTMLModElement) SetCite(cite *foundation.NSString)

func (*DOMHTMLModElement) SetDateTime

func (o *DOMHTMLModElement) SetDateTime(dateTime *foundation.NSString)

type DOMHTMLOListElement

type DOMHTMLOListElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlolistelement

func DOMHTMLOListElementFromID

func DOMHTMLOListElementFromID(id objc.ID) *DOMHTMLOListElement

func (*DOMHTMLOListElement) Compact

func (o *DOMHTMLOListElement) Compact() bool

func (*DOMHTMLOListElement) SetCompact

func (o *DOMHTMLOListElement) SetCompact(compact bool)

func (*DOMHTMLOListElement) SetStart

func (o *DOMHTMLOListElement) SetStart(start int)

func (*DOMHTMLOListElement) SetType

func (o *DOMHTMLOListElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLOListElement) Start

func (o *DOMHTMLOListElement) Start() int

func (*DOMHTMLOListElement) Type

type DOMHTMLObjectElement

type DOMHTMLObjectElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlobjectelement

func DOMHTMLObjectElementFromID

func DOMHTMLObjectElementFromID(id objc.ID) *DOMHTMLObjectElement

func (*DOMHTMLObjectElement) AbsoluteImageURL

func (o *DOMHTMLObjectElement) AbsoluteImageURL() *foundation.NSURL

func (*DOMHTMLObjectElement) Align

func (*DOMHTMLObjectElement) Archive

func (*DOMHTMLObjectElement) Border

func (*DOMHTMLObjectElement) Code

func (*DOMHTMLObjectElement) CodeBase

func (o *DOMHTMLObjectElement) CodeBase() *foundation.NSString

func (*DOMHTMLObjectElement) CodeType

func (o *DOMHTMLObjectElement) CodeType() *foundation.NSString

func (*DOMHTMLObjectElement) ContentDocument

func (o *DOMHTMLObjectElement) ContentDocument() *DOMDocument

func (*DOMHTMLObjectElement) ContentFrame

func (o *DOMHTMLObjectElement) ContentFrame() *WebFrame

func (*DOMHTMLObjectElement) Data

func (*DOMHTMLObjectElement) Declare

func (o *DOMHTMLObjectElement) Declare() bool

func (*DOMHTMLObjectElement) Form

func (*DOMHTMLObjectElement) Height

func (*DOMHTMLObjectElement) Hspace

func (o *DOMHTMLObjectElement) Hspace() int

func (*DOMHTMLObjectElement) Name

func (*DOMHTMLObjectElement) SetAlign

func (o *DOMHTMLObjectElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLObjectElement) SetArchive

func (o *DOMHTMLObjectElement) SetArchive(archive *foundation.NSString)

func (*DOMHTMLObjectElement) SetBorder

func (o *DOMHTMLObjectElement) SetBorder(border *foundation.NSString)

func (*DOMHTMLObjectElement) SetCode

func (o *DOMHTMLObjectElement) SetCode(code *foundation.NSString)

func (*DOMHTMLObjectElement) SetCodeBase

func (o *DOMHTMLObjectElement) SetCodeBase(codeBase *foundation.NSString)

func (*DOMHTMLObjectElement) SetCodeType

func (o *DOMHTMLObjectElement) SetCodeType(codeType *foundation.NSString)

func (*DOMHTMLObjectElement) SetData

func (o *DOMHTMLObjectElement) SetData(data *foundation.NSString)

func (*DOMHTMLObjectElement) SetDeclare

func (o *DOMHTMLObjectElement) SetDeclare(declare bool)

func (*DOMHTMLObjectElement) SetHeight

func (o *DOMHTMLObjectElement) SetHeight(height *foundation.NSString)

func (*DOMHTMLObjectElement) SetHspace

func (o *DOMHTMLObjectElement) SetHspace(hspace int)

func (*DOMHTMLObjectElement) SetName

func (o *DOMHTMLObjectElement) SetName(name *foundation.NSString)

func (*DOMHTMLObjectElement) SetStandby

func (o *DOMHTMLObjectElement) SetStandby(standby *foundation.NSString)

func (*DOMHTMLObjectElement) SetType

func (o *DOMHTMLObjectElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLObjectElement) SetUseMap

func (o *DOMHTMLObjectElement) SetUseMap(useMap *foundation.NSString)

func (*DOMHTMLObjectElement) SetVspace

func (o *DOMHTMLObjectElement) SetVspace(vspace int)

func (*DOMHTMLObjectElement) SetWidth

func (o *DOMHTMLObjectElement) SetWidth(width *foundation.NSString)

func (*DOMHTMLObjectElement) Standby

func (*DOMHTMLObjectElement) Type

func (*DOMHTMLObjectElement) UseMap

func (*DOMHTMLObjectElement) Vspace

func (o *DOMHTMLObjectElement) Vspace() int

func (*DOMHTMLObjectElement) Width

type DOMHTMLOptGroupElement

type DOMHTMLOptGroupElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmloptgroupelement

func DOMHTMLOptGroupElementFromID

func DOMHTMLOptGroupElementFromID(id objc.ID) *DOMHTMLOptGroupElement

func (*DOMHTMLOptGroupElement) Disabled

func (o *DOMHTMLOptGroupElement) Disabled() bool

func (*DOMHTMLOptGroupElement) Label

func (*DOMHTMLOptGroupElement) SetDisabled

func (o *DOMHTMLOptGroupElement) SetDisabled(disabled bool)

func (*DOMHTMLOptGroupElement) SetLabel

func (o *DOMHTMLOptGroupElement) SetLabel(label *foundation.NSString)

type DOMHTMLOptionElement

type DOMHTMLOptionElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmloptionelement

func DOMHTMLOptionElementFromID

func DOMHTMLOptionElementFromID(id objc.ID) *DOMHTMLOptionElement

func (*DOMHTMLOptionElement) DefaultSelected

func (o *DOMHTMLOptionElement) DefaultSelected() bool

func (*DOMHTMLOptionElement) Disabled

func (o *DOMHTMLOptionElement) Disabled() bool

func (*DOMHTMLOptionElement) Form

func (*DOMHTMLOptionElement) Index

func (o *DOMHTMLOptionElement) Index() int

func (*DOMHTMLOptionElement) Label

func (*DOMHTMLOptionElement) Selected

func (o *DOMHTMLOptionElement) Selected() bool

func (*DOMHTMLOptionElement) SetDefaultSelected

func (o *DOMHTMLOptionElement) SetDefaultSelected(defaultSelected bool)

func (*DOMHTMLOptionElement) SetDisabled

func (o *DOMHTMLOptionElement) SetDisabled(disabled bool)

func (*DOMHTMLOptionElement) SetLabel

func (o *DOMHTMLOptionElement) SetLabel(label *foundation.NSString)

func (*DOMHTMLOptionElement) SetSelected

func (o *DOMHTMLOptionElement) SetSelected(selected bool)

func (*DOMHTMLOptionElement) SetValue

func (o *DOMHTMLOptionElement) SetValue(value *foundation.NSString)

func (*DOMHTMLOptionElement) Text

func (*DOMHTMLOptionElement) Value

type DOMHTMLOptionsCollection

type DOMHTMLOptionsCollection struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmloptionscollection

func DOMHTMLOptionsCollectionFromID

func DOMHTMLOptionsCollectionFromID(id objc.ID) *DOMHTMLOptionsCollection

func (*DOMHTMLOptionsCollection) AddIndex

func (o *DOMHTMLOptionsCollection) AddIndex(option *DOMHTMLOptionElement, index uint)

func (*DOMHTMLOptionsCollection) Item

func (o *DOMHTMLOptionsCollection) Item(index uint) *DOMNode

func (*DOMHTMLOptionsCollection) Length

func (o *DOMHTMLOptionsCollection) Length() uint

func (*DOMHTMLOptionsCollection) NamedItem

func (o *DOMHTMLOptionsCollection) NamedItem(name *foundation.NSString) *DOMNode

func (*DOMHTMLOptionsCollection) Remove

func (o *DOMHTMLOptionsCollection) Remove(index uint)

func (*DOMHTMLOptionsCollection) SelectedIndex

func (o *DOMHTMLOptionsCollection) SelectedIndex() int

func (*DOMHTMLOptionsCollection) SetLength

func (o *DOMHTMLOptionsCollection) SetLength(length uint)

func (*DOMHTMLOptionsCollection) SetSelectedIndex

func (o *DOMHTMLOptionsCollection) SetSelectedIndex(selectedIndex int)

type DOMHTMLParagraphElement

type DOMHTMLParagraphElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlparagraphelement

func DOMHTMLParagraphElementFromID

func DOMHTMLParagraphElementFromID(id objc.ID) *DOMHTMLParagraphElement

func (*DOMHTMLParagraphElement) Align

func (*DOMHTMLParagraphElement) SetAlign

func (o *DOMHTMLParagraphElement) SetAlign(align *foundation.NSString)

type DOMHTMLParamElement

type DOMHTMLParamElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlparamelement

func DOMHTMLParamElementFromID

func DOMHTMLParamElementFromID(id objc.ID) *DOMHTMLParamElement

func (*DOMHTMLParamElement) Name

func (*DOMHTMLParamElement) SetName

func (o *DOMHTMLParamElement) SetName(name *foundation.NSString)

func (*DOMHTMLParamElement) SetType

func (o *DOMHTMLParamElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLParamElement) SetValue

func (o *DOMHTMLParamElement) SetValue(value *foundation.NSString)

func (*DOMHTMLParamElement) SetValueType

func (o *DOMHTMLParamElement) SetValueType(valueType *foundation.NSString)

func (*DOMHTMLParamElement) Type

func (*DOMHTMLParamElement) Value

func (*DOMHTMLParamElement) ValueType

func (o *DOMHTMLParamElement) ValueType() *foundation.NSString

type DOMHTMLPreElement

type DOMHTMLPreElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlpreelement

func DOMHTMLPreElementFromID

func DOMHTMLPreElementFromID(id objc.ID) *DOMHTMLPreElement

func (*DOMHTMLPreElement) SetWidth

func (o *DOMHTMLPreElement) SetWidth(width int)

func (*DOMHTMLPreElement) SetWrap

func (o *DOMHTMLPreElement) SetWrap(wrap bool)

func (*DOMHTMLPreElement) Width

func (o *DOMHTMLPreElement) Width() int

func (*DOMHTMLPreElement) Wrap

func (o *DOMHTMLPreElement) Wrap() bool

type DOMHTMLQuoteElement

type DOMHTMLQuoteElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlquoteelement

func DOMHTMLQuoteElementFromID

func DOMHTMLQuoteElementFromID(id objc.ID) *DOMHTMLQuoteElement

func (*DOMHTMLQuoteElement) Cite

func (*DOMHTMLQuoteElement) SetCite

func (o *DOMHTMLQuoteElement) SetCite(cite *foundation.NSString)

type DOMHTMLScriptElement

type DOMHTMLScriptElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlscriptelement

func DOMHTMLScriptElementFromID

func DOMHTMLScriptElementFromID(id objc.ID) *DOMHTMLScriptElement

func (*DOMHTMLScriptElement) Charset

func (*DOMHTMLScriptElement) Defer

func (o *DOMHTMLScriptElement) Defer() bool

func (*DOMHTMLScriptElement) Event

func (*DOMHTMLScriptElement) HtmlFor

func (*DOMHTMLScriptElement) SetCharset

func (o *DOMHTMLScriptElement) SetCharset(charset *foundation.NSString)

func (*DOMHTMLScriptElement) SetDefer

func (o *DOMHTMLScriptElement) SetDefer(defer_ bool)

func (*DOMHTMLScriptElement) SetEvent

func (o *DOMHTMLScriptElement) SetEvent(event *foundation.NSString)

func (*DOMHTMLScriptElement) SetHtmlFor

func (o *DOMHTMLScriptElement) SetHtmlFor(htmlFor *foundation.NSString)

func (*DOMHTMLScriptElement) SetSrc

func (o *DOMHTMLScriptElement) SetSrc(src *foundation.NSString)

func (*DOMHTMLScriptElement) SetText

func (o *DOMHTMLScriptElement) SetText(text *foundation.NSString)

func (*DOMHTMLScriptElement) SetType

func (o *DOMHTMLScriptElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLScriptElement) Src

func (*DOMHTMLScriptElement) Text

func (*DOMHTMLScriptElement) Type

type DOMHTMLSelectElement

type DOMHTMLSelectElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlselectelement

func DOMHTMLSelectElementFromID

func DOMHTMLSelectElementFromID(id objc.ID) *DOMHTMLSelectElement

func (*DOMHTMLSelectElement) Add

func (o *DOMHTMLSelectElement) Add(element *DOMHTMLElement, before *DOMHTMLElement)

func (*DOMHTMLSelectElement) AddBefore

func (o *DOMHTMLSelectElement) AddBefore(element *DOMHTMLElement, before *DOMHTMLElement)

func (*DOMHTMLSelectElement) Autofocus

func (o *DOMHTMLSelectElement) Autofocus() bool

func (*DOMHTMLSelectElement) Disabled

func (o *DOMHTMLSelectElement) Disabled() bool

func (*DOMHTMLSelectElement) Form

func (*DOMHTMLSelectElement) Item

func (o *DOMHTMLSelectElement) Item(index uint) *DOMNode

func (*DOMHTMLSelectElement) Length

func (o *DOMHTMLSelectElement) Length() int

func (*DOMHTMLSelectElement) Multiple

func (o *DOMHTMLSelectElement) Multiple() bool

func (*DOMHTMLSelectElement) Name

func (*DOMHTMLSelectElement) NamedItem

func (o *DOMHTMLSelectElement) NamedItem(name *foundation.NSString) *DOMNode

func (*DOMHTMLSelectElement) Options

func (*DOMHTMLSelectElement) Remove

func (o *DOMHTMLSelectElement) Remove(index int)

func (*DOMHTMLSelectElement) SelectedIndex

func (o *DOMHTMLSelectElement) SelectedIndex() int

func (*DOMHTMLSelectElement) SetAutofocus

func (o *DOMHTMLSelectElement) SetAutofocus(autofocus bool)

func (*DOMHTMLSelectElement) SetDisabled

func (o *DOMHTMLSelectElement) SetDisabled(disabled bool)

func (*DOMHTMLSelectElement) SetMultiple

func (o *DOMHTMLSelectElement) SetMultiple(multiple bool)

func (*DOMHTMLSelectElement) SetName

func (o *DOMHTMLSelectElement) SetName(name *foundation.NSString)

func (*DOMHTMLSelectElement) SetSelectedIndex

func (o *DOMHTMLSelectElement) SetSelectedIndex(selectedIndex int)

func (*DOMHTMLSelectElement) SetSize

func (o *DOMHTMLSelectElement) SetSize(size int)

func (*DOMHTMLSelectElement) SetValue

func (o *DOMHTMLSelectElement) SetValue(value *foundation.NSString)

func (*DOMHTMLSelectElement) Size

func (o *DOMHTMLSelectElement) Size() int

func (*DOMHTMLSelectElement) Type

func (*DOMHTMLSelectElement) Value

func (*DOMHTMLSelectElement) WillValidate

func (o *DOMHTMLSelectElement) WillValidate() bool

type DOMHTMLStyleElement

type DOMHTMLStyleElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlstyleelement

func DOMHTMLStyleElementFromID

func DOMHTMLStyleElementFromID(id objc.ID) *DOMHTMLStyleElement

func (*DOMHTMLStyleElement) Disabled

func (o *DOMHTMLStyleElement) Disabled() bool

func (*DOMHTMLStyleElement) Media

func (*DOMHTMLStyleElement) SetDisabled

func (o *DOMHTMLStyleElement) SetDisabled(disabled bool)

func (*DOMHTMLStyleElement) SetMedia

func (o *DOMHTMLStyleElement) SetMedia(media *foundation.NSString)

func (*DOMHTMLStyleElement) SetType

func (o *DOMHTMLStyleElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLStyleElement) Type

type DOMHTMLTableCaptionElement

type DOMHTMLTableCaptionElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltablecaptionelement

func DOMHTMLTableCaptionElementFromID

func DOMHTMLTableCaptionElementFromID(id objc.ID) *DOMHTMLTableCaptionElement

func (*DOMHTMLTableCaptionElement) Align

func (*DOMHTMLTableCaptionElement) SetAlign

func (o *DOMHTMLTableCaptionElement) SetAlign(align *foundation.NSString)

type DOMHTMLTableCellElement

type DOMHTMLTableCellElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltablecellelement

func DOMHTMLTableCellElementFromID

func DOMHTMLTableCellElementFromID(id objc.ID) *DOMHTMLTableCellElement

func (*DOMHTMLTableCellElement) Abbr

func (*DOMHTMLTableCellElement) Align

func (*DOMHTMLTableCellElement) Axis

func (*DOMHTMLTableCellElement) BgColor

func (*DOMHTMLTableCellElement) CellIndex

func (o *DOMHTMLTableCellElement) CellIndex() int

func (*DOMHTMLTableCellElement) Ch

func (*DOMHTMLTableCellElement) ChOff

func (*DOMHTMLTableCellElement) ColSpan

func (o *DOMHTMLTableCellElement) ColSpan() int

func (*DOMHTMLTableCellElement) Headers

func (*DOMHTMLTableCellElement) Height

func (*DOMHTMLTableCellElement) NoWrap

func (o *DOMHTMLTableCellElement) NoWrap() bool

func (*DOMHTMLTableCellElement) RowSpan

func (o *DOMHTMLTableCellElement) RowSpan() int

func (*DOMHTMLTableCellElement) Scope

func (*DOMHTMLTableCellElement) SetAbbr

func (o *DOMHTMLTableCellElement) SetAbbr(abbr *foundation.NSString)

func (*DOMHTMLTableCellElement) SetAlign

func (o *DOMHTMLTableCellElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLTableCellElement) SetAxis

func (o *DOMHTMLTableCellElement) SetAxis(axis *foundation.NSString)

func (*DOMHTMLTableCellElement) SetBgColor

func (o *DOMHTMLTableCellElement) SetBgColor(bgColor *foundation.NSString)

func (*DOMHTMLTableCellElement) SetCh

func (*DOMHTMLTableCellElement) SetChOff

func (o *DOMHTMLTableCellElement) SetChOff(chOff *foundation.NSString)

func (*DOMHTMLTableCellElement) SetColSpan

func (o *DOMHTMLTableCellElement) SetColSpan(colSpan int)

func (*DOMHTMLTableCellElement) SetHeaders

func (o *DOMHTMLTableCellElement) SetHeaders(headers *foundation.NSString)

func (*DOMHTMLTableCellElement) SetHeight

func (o *DOMHTMLTableCellElement) SetHeight(height *foundation.NSString)

func (*DOMHTMLTableCellElement) SetNoWrap

func (o *DOMHTMLTableCellElement) SetNoWrap(noWrap bool)

func (*DOMHTMLTableCellElement) SetRowSpan

func (o *DOMHTMLTableCellElement) SetRowSpan(rowSpan int)

func (*DOMHTMLTableCellElement) SetScope

func (o *DOMHTMLTableCellElement) SetScope(scope *foundation.NSString)

func (*DOMHTMLTableCellElement) SetVAlign

func (o *DOMHTMLTableCellElement) SetVAlign(vAlign *foundation.NSString)

func (*DOMHTMLTableCellElement) SetWidth

func (o *DOMHTMLTableCellElement) SetWidth(width *foundation.NSString)

func (*DOMHTMLTableCellElement) VAlign

func (*DOMHTMLTableCellElement) Width

type DOMHTMLTableColElement

type DOMHTMLTableColElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltablecolelement

func DOMHTMLTableColElementFromID

func DOMHTMLTableColElementFromID(id objc.ID) *DOMHTMLTableColElement

func (*DOMHTMLTableColElement) Align

func (*DOMHTMLTableColElement) Ch

func (*DOMHTMLTableColElement) ChOff

func (*DOMHTMLTableColElement) SetAlign

func (o *DOMHTMLTableColElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLTableColElement) SetCh

func (*DOMHTMLTableColElement) SetChOff

func (o *DOMHTMLTableColElement) SetChOff(chOff *foundation.NSString)

func (*DOMHTMLTableColElement) SetSpan

func (o *DOMHTMLTableColElement) SetSpan(span int)

func (*DOMHTMLTableColElement) SetVAlign

func (o *DOMHTMLTableColElement) SetVAlign(vAlign *foundation.NSString)

func (*DOMHTMLTableColElement) SetWidth

func (o *DOMHTMLTableColElement) SetWidth(width *foundation.NSString)

func (*DOMHTMLTableColElement) Span

func (o *DOMHTMLTableColElement) Span() int

func (*DOMHTMLTableColElement) VAlign

func (*DOMHTMLTableColElement) Width

type DOMHTMLTableElement

type DOMHTMLTableElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltableelement

func DOMHTMLTableElementFromID

func DOMHTMLTableElementFromID(id objc.ID) *DOMHTMLTableElement

func (*DOMHTMLTableElement) Align

func (*DOMHTMLTableElement) BgColor

func (o *DOMHTMLTableElement) BgColor() *foundation.NSString

func (*DOMHTMLTableElement) Border

func (*DOMHTMLTableElement) Caption

func (*DOMHTMLTableElement) CellPadding

func (o *DOMHTMLTableElement) CellPadding() *foundation.NSString

func (*DOMHTMLTableElement) CellSpacing

func (o *DOMHTMLTableElement) CellSpacing() *foundation.NSString

func (*DOMHTMLTableElement) CreateCaption

func (o *DOMHTMLTableElement) CreateCaption() *DOMHTMLElement

func (*DOMHTMLTableElement) CreateTFoot

func (o *DOMHTMLTableElement) CreateTFoot() *DOMHTMLElement

func (*DOMHTMLTableElement) CreateTHead

func (o *DOMHTMLTableElement) CreateTHead() *DOMHTMLElement

func (*DOMHTMLTableElement) DeleteCaption

func (o *DOMHTMLTableElement) DeleteCaption()

func (*DOMHTMLTableElement) DeleteRow

func (o *DOMHTMLTableElement) DeleteRow(index int)

func (*DOMHTMLTableElement) DeleteTFoot

func (o *DOMHTMLTableElement) DeleteTFoot()

func (*DOMHTMLTableElement) DeleteTHead

func (o *DOMHTMLTableElement) DeleteTHead()

func (*DOMHTMLTableElement) FrameBorders

func (o *DOMHTMLTableElement) FrameBorders() *foundation.NSString

func (*DOMHTMLTableElement) InsertRow

func (o *DOMHTMLTableElement) InsertRow(index int) *DOMHTMLElement

func (*DOMHTMLTableElement) Rows

func (*DOMHTMLTableElement) Rules

func (*DOMHTMLTableElement) SetAlign

func (o *DOMHTMLTableElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLTableElement) SetBgColor

func (o *DOMHTMLTableElement) SetBgColor(bgColor *foundation.NSString)

func (*DOMHTMLTableElement) SetBorder

func (o *DOMHTMLTableElement) SetBorder(border *foundation.NSString)

func (*DOMHTMLTableElement) SetCaption

func (o *DOMHTMLTableElement) SetCaption(caption *DOMHTMLTableCaptionElement)

func (*DOMHTMLTableElement) SetCellPadding

func (o *DOMHTMLTableElement) SetCellPadding(cellPadding *foundation.NSString)

func (*DOMHTMLTableElement) SetCellSpacing

func (o *DOMHTMLTableElement) SetCellSpacing(cellSpacing *foundation.NSString)

func (*DOMHTMLTableElement) SetFrameBorders

func (o *DOMHTMLTableElement) SetFrameBorders(frameBorders *foundation.NSString)

func (*DOMHTMLTableElement) SetRules

func (o *DOMHTMLTableElement) SetRules(rules *foundation.NSString)

func (*DOMHTMLTableElement) SetSummary

func (o *DOMHTMLTableElement) SetSummary(summary *foundation.NSString)

func (*DOMHTMLTableElement) SetTFoot

func (o *DOMHTMLTableElement) SetTFoot(tFoot *DOMHTMLTableSectionElement)

func (*DOMHTMLTableElement) SetTHead

func (o *DOMHTMLTableElement) SetTHead(tHead *DOMHTMLTableSectionElement)

func (*DOMHTMLTableElement) SetWidth

func (o *DOMHTMLTableElement) SetWidth(width *foundation.NSString)

func (*DOMHTMLTableElement) Summary

func (o *DOMHTMLTableElement) Summary() *foundation.NSString

func (*DOMHTMLTableElement) TBodies

func (o *DOMHTMLTableElement) TBodies() *DOMHTMLCollection

func (*DOMHTMLTableElement) TFoot

func (*DOMHTMLTableElement) THead

func (*DOMHTMLTableElement) Width

type DOMHTMLTableRowElement

type DOMHTMLTableRowElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltablerowelement

func DOMHTMLTableRowElementFromID

func DOMHTMLTableRowElementFromID(id objc.ID) *DOMHTMLTableRowElement

func (*DOMHTMLTableRowElement) Align

func (*DOMHTMLTableRowElement) BgColor

func (*DOMHTMLTableRowElement) Cells

func (*DOMHTMLTableRowElement) Ch

func (*DOMHTMLTableRowElement) ChOff

func (*DOMHTMLTableRowElement) DeleteCell

func (o *DOMHTMLTableRowElement) DeleteCell(index int)

func (*DOMHTMLTableRowElement) InsertCell

func (o *DOMHTMLTableRowElement) InsertCell(index int) *DOMHTMLElement

func (*DOMHTMLTableRowElement) RowIndex

func (o *DOMHTMLTableRowElement) RowIndex() int

func (*DOMHTMLTableRowElement) SectionRowIndex

func (o *DOMHTMLTableRowElement) SectionRowIndex() int

func (*DOMHTMLTableRowElement) SetAlign

func (o *DOMHTMLTableRowElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLTableRowElement) SetBgColor

func (o *DOMHTMLTableRowElement) SetBgColor(bgColor *foundation.NSString)

func (*DOMHTMLTableRowElement) SetCh

func (*DOMHTMLTableRowElement) SetChOff

func (o *DOMHTMLTableRowElement) SetChOff(chOff *foundation.NSString)

func (*DOMHTMLTableRowElement) SetVAlign

func (o *DOMHTMLTableRowElement) SetVAlign(vAlign *foundation.NSString)

func (*DOMHTMLTableRowElement) VAlign

type DOMHTMLTableSectionElement

type DOMHTMLTableSectionElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltablesectionelement

func DOMHTMLTableSectionElementFromID

func DOMHTMLTableSectionElementFromID(id objc.ID) *DOMHTMLTableSectionElement

func (*DOMHTMLTableSectionElement) Align

func (*DOMHTMLTableSectionElement) Ch

func (*DOMHTMLTableSectionElement) ChOff

func (*DOMHTMLTableSectionElement) DeleteRow

func (o *DOMHTMLTableSectionElement) DeleteRow(index int)

func (*DOMHTMLTableSectionElement) InsertRow

func (o *DOMHTMLTableSectionElement) InsertRow(index int) *DOMHTMLElement

func (*DOMHTMLTableSectionElement) Rows

func (*DOMHTMLTableSectionElement) SetAlign

func (o *DOMHTMLTableSectionElement) SetAlign(align *foundation.NSString)

func (*DOMHTMLTableSectionElement) SetCh

func (*DOMHTMLTableSectionElement) SetChOff

func (o *DOMHTMLTableSectionElement) SetChOff(chOff *foundation.NSString)

func (*DOMHTMLTableSectionElement) SetVAlign

func (o *DOMHTMLTableSectionElement) SetVAlign(vAlign *foundation.NSString)

func (*DOMHTMLTableSectionElement) VAlign

type DOMHTMLTextAreaElement

type DOMHTMLTextAreaElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltextareaelement

func DOMHTMLTextAreaElementFromID

func DOMHTMLTextAreaElementFromID(id objc.ID) *DOMHTMLTextAreaElement

func (*DOMHTMLTextAreaElement) Autofocus

func (o *DOMHTMLTextAreaElement) Autofocus() bool

func (*DOMHTMLTextAreaElement) Cols

func (o *DOMHTMLTextAreaElement) Cols() int

func (*DOMHTMLTextAreaElement) DefaultValue

func (o *DOMHTMLTextAreaElement) DefaultValue() *foundation.NSString

func (*DOMHTMLTextAreaElement) Disabled

func (o *DOMHTMLTextAreaElement) Disabled() bool

func (*DOMHTMLTextAreaElement) Form

func (*DOMHTMLTextAreaElement) Name

func (*DOMHTMLTextAreaElement) ReadOnly

func (o *DOMHTMLTextAreaElement) ReadOnly() bool

func (*DOMHTMLTextAreaElement) Rows

func (o *DOMHTMLTextAreaElement) Rows() int

func (*DOMHTMLTextAreaElement) Select

func (o *DOMHTMLTextAreaElement) Select()

func (*DOMHTMLTextAreaElement) SelectionEnd

func (o *DOMHTMLTextAreaElement) SelectionEnd() int

func (*DOMHTMLTextAreaElement) SelectionStart

func (o *DOMHTMLTextAreaElement) SelectionStart() int

func (*DOMHTMLTextAreaElement) SetAutofocus

func (o *DOMHTMLTextAreaElement) SetAutofocus(autofocus bool)

func (*DOMHTMLTextAreaElement) SetCols

func (o *DOMHTMLTextAreaElement) SetCols(cols int)

func (*DOMHTMLTextAreaElement) SetDefaultValue

func (o *DOMHTMLTextAreaElement) SetDefaultValue(defaultValue *foundation.NSString)

func (*DOMHTMLTextAreaElement) SetDisabled

func (o *DOMHTMLTextAreaElement) SetDisabled(disabled bool)

func (*DOMHTMLTextAreaElement) SetName

func (o *DOMHTMLTextAreaElement) SetName(name *foundation.NSString)

func (*DOMHTMLTextAreaElement) SetReadOnly

func (o *DOMHTMLTextAreaElement) SetReadOnly(readOnly bool)

func (*DOMHTMLTextAreaElement) SetRows

func (o *DOMHTMLTextAreaElement) SetRows(rows int)

func (*DOMHTMLTextAreaElement) SetSelectionEnd

func (o *DOMHTMLTextAreaElement) SetSelectionEnd(selectionEnd int)

func (*DOMHTMLTextAreaElement) SetSelectionRangeEnd

func (o *DOMHTMLTextAreaElement) SetSelectionRangeEnd(start int, end int)

func (*DOMHTMLTextAreaElement) SetSelectionStart

func (o *DOMHTMLTextAreaElement) SetSelectionStart(selectionStart int)

func (*DOMHTMLTextAreaElement) SetValue

func (o *DOMHTMLTextAreaElement) SetValue(value *foundation.NSString)

func (*DOMHTMLTextAreaElement) Type

func (*DOMHTMLTextAreaElement) Value

func (*DOMHTMLTextAreaElement) WillValidate

func (o *DOMHTMLTextAreaElement) WillValidate() bool

type DOMHTMLTitleElement

type DOMHTMLTitleElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmltitleelement

func DOMHTMLTitleElementFromID

func DOMHTMLTitleElementFromID(id objc.ID) *DOMHTMLTitleElement

func (*DOMHTMLTitleElement) SetText

func (o *DOMHTMLTitleElement) SetText(text *foundation.NSString)

func (*DOMHTMLTitleElement) Text

type DOMHTMLUListElement

type DOMHTMLUListElement struct {
	DOMHTMLElement
}

Apple documentation: https://developer.apple.com/documentation/webkit/domhtmlulistelement

func DOMHTMLUListElementFromID

func DOMHTMLUListElementFromID(id objc.ID) *DOMHTMLUListElement

func (*DOMHTMLUListElement) Compact

func (o *DOMHTMLUListElement) Compact() bool

func (*DOMHTMLUListElement) SetCompact

func (o *DOMHTMLUListElement) SetCompact(compact bool)

func (*DOMHTMLUListElement) SetType

func (o *DOMHTMLUListElement) SetType(type_ *foundation.NSString)

func (*DOMHTMLUListElement) Type

type DOMImplementation

type DOMImplementation struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domimplementation

func DOMImplementationFromID

func DOMImplementationFromID(id objc.ID) *DOMImplementation

func (*DOMImplementation) CreateCSSStyleSheet

func (o *DOMImplementation) CreateCSSStyleSheet(title *foundation.NSString, media *foundation.NSString) *DOMCSSStyleSheet

func (*DOMImplementation) CreateCSSStyleSheetMedia

func (o *DOMImplementation) CreateCSSStyleSheetMedia(title *foundation.NSString, media *foundation.NSString) *DOMCSSStyleSheet

func (*DOMImplementation) CreateDocument

func (o *DOMImplementation) CreateDocument(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString, doctype *DOMDocumentType) *DOMDocument

func (*DOMImplementation) CreateDocumentQualifiedNameDoctype

func (o *DOMImplementation) CreateDocumentQualifiedNameDoctype(namespaceURI *foundation.NSString, qualifiedName *foundation.NSString, doctype *DOMDocumentType) *DOMDocument

func (*DOMImplementation) CreateDocumentType

func (o *DOMImplementation) CreateDocumentType(qualifiedName *foundation.NSString, publicId *foundation.NSString, systemId *foundation.NSString) *DOMDocumentType

func (*DOMImplementation) CreateDocumentTypePublicIdSystemId

func (o *DOMImplementation) CreateDocumentTypePublicIdSystemId(qualifiedName *foundation.NSString, publicId *foundation.NSString, systemId *foundation.NSString) *DOMDocumentType

func (*DOMImplementation) CreateHTMLDocument

func (o *DOMImplementation) CreateHTMLDocument(title *foundation.NSString) *DOMHTMLDocument

func (*DOMImplementation) HasFeature

func (o *DOMImplementation) HasFeature(feature *foundation.NSString, version *foundation.NSString) bool

func (*DOMImplementation) HasFeatureVersion

func (o *DOMImplementation) HasFeatureVersion(feature *foundation.NSString, version *foundation.NSString) bool

type DOMKeyboardEvent

type DOMKeyboardEvent struct {
	DOMUIEvent
}

Apple documentation: https://developer.apple.com/documentation/webkit/domkeyboardevent

func DOMKeyboardEventFromID

func DOMKeyboardEventFromID(id objc.ID) *DOMKeyboardEvent

func (*DOMKeyboardEvent) AltGraphKey

func (o *DOMKeyboardEvent) AltGraphKey() bool

func (*DOMKeyboardEvent) AltKey

func (o *DOMKeyboardEvent) AltKey() bool

func (*DOMKeyboardEvent) CtrlKey

func (o *DOMKeyboardEvent) CtrlKey() bool

func (*DOMKeyboardEvent) GetModifierState

func (o *DOMKeyboardEvent) GetModifierState(keyIdentifierArg *foundation.NSString) bool

func (*DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKey

func (o *DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKey(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier *foundation.NSString, keyLocation uint, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool)

func (*DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey

func (o *DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierKeyLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier *foundation.NSString, keyLocation uint, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool, altGraphKey bool)

func (*DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKey

func (o *DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKey(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier *foundation.NSString, location uint, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool)

func (*DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey

func (o *DOMKeyboardEvent) InitKeyboardEventCanBubbleCancelableViewKeyIdentifierLocationCtrlKeyAltKeyShiftKeyMetaKeyAltGraphKey(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, keyIdentifier *foundation.NSString, location uint, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool, altGraphKey bool)

func (*DOMKeyboardEvent) KeyIdentifier

func (o *DOMKeyboardEvent) KeyIdentifier() *foundation.NSString

func (*DOMKeyboardEvent) KeyLocation

func (o *DOMKeyboardEvent) KeyLocation() uint

func (*DOMKeyboardEvent) Location

func (o *DOMKeyboardEvent) Location() uint

func (*DOMKeyboardEvent) MetaKey

func (o *DOMKeyboardEvent) MetaKey() bool

func (*DOMKeyboardEvent) ShiftKey

func (o *DOMKeyboardEvent) ShiftKey() bool

type DOMMediaList

type DOMMediaList struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/dommedialist

func DOMMediaListFromID

func DOMMediaListFromID(id objc.ID) *DOMMediaList

func (*DOMMediaList) AppendMedium

func (o *DOMMediaList) AppendMedium(newMedium *foundation.NSString)

func (*DOMMediaList) DeleteMedium

func (o *DOMMediaList) DeleteMedium(oldMedium *foundation.NSString)

func (*DOMMediaList) Item

func (o *DOMMediaList) Item(index uint) *foundation.NSString

func (*DOMMediaList) Length

func (o *DOMMediaList) Length() uint

func (*DOMMediaList) MediaText

func (o *DOMMediaList) MediaText() *foundation.NSString

func (*DOMMediaList) SetMediaText

func (o *DOMMediaList) SetMediaText(mediaText *foundation.NSString)

type DOMMouseEvent

type DOMMouseEvent struct {
	DOMUIEvent
}

Apple documentation: https://developer.apple.com/documentation/webkit/dommouseevent

func DOMMouseEventFromID

func DOMMouseEventFromID(id objc.ID) *DOMMouseEvent

func (*DOMMouseEvent) AltKey

func (o *DOMMouseEvent) AltKey() bool

func (*DOMMouseEvent) Button

func (o *DOMMouseEvent) Button() int16

func (*DOMMouseEvent) ClientX

func (o *DOMMouseEvent) ClientX() int

func (*DOMMouseEvent) ClientY

func (o *DOMMouseEvent) ClientY() int

func (*DOMMouseEvent) CtrlKey

func (o *DOMMouseEvent) CtrlKey() bool

func (*DOMMouseEvent) FromElement

func (o *DOMMouseEvent) FromElement() *DOMNode

func (*DOMMouseEvent) InitMouseEvent

func (o *DOMMouseEvent) InitMouseEvent(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, detail int, screenX int, screenY int, clientX int, clientY int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool, button uint16, relatedTarget DOMEventTarget)

func (*DOMMouseEvent) InitMouseEventCanBubbleCancelableViewDetailScreenXScreenYClientXClientYCtrlKeyAltKeyShiftKeyMetaKeyButtonRelatedTarget

func (o *DOMMouseEvent) InitMouseEventCanBubbleCancelableViewDetailScreenXScreenYClientXClientYCtrlKeyAltKeyShiftKeyMetaKeyButtonRelatedTarget(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, detail int, screenX int, screenY int, clientX int, clientY int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool, button uint16, relatedTarget DOMEventTarget)

func (*DOMMouseEvent) MetaKey

func (o *DOMMouseEvent) MetaKey() bool

func (*DOMMouseEvent) OffsetX

func (o *DOMMouseEvent) OffsetX() int

func (*DOMMouseEvent) OffsetY

func (o *DOMMouseEvent) OffsetY() int

func (*DOMMouseEvent) RelatedTarget

func (o *DOMMouseEvent) RelatedTarget() DOMEventTarget

func (*DOMMouseEvent) ScreenX

func (o *DOMMouseEvent) ScreenX() int

func (*DOMMouseEvent) ScreenY

func (o *DOMMouseEvent) ScreenY() int

func (*DOMMouseEvent) ShiftKey

func (o *DOMMouseEvent) ShiftKey() bool

func (*DOMMouseEvent) ToElement

func (o *DOMMouseEvent) ToElement() *DOMNode

func (*DOMMouseEvent) X

func (o *DOMMouseEvent) X() int

func (*DOMMouseEvent) Y

func (o *DOMMouseEvent) Y() int

type DOMMutationEvent

type DOMMutationEvent struct {
	DOMEvent
}

Apple documentation: https://developer.apple.com/documentation/webkit/dommutationevent

func DOMMutationEventFromID

func DOMMutationEventFromID(id objc.ID) *DOMMutationEvent

func (*DOMMutationEvent) AttrChange

func (o *DOMMutationEvent) AttrChange() uint16

func (*DOMMutationEvent) AttrName

func (o *DOMMutationEvent) AttrName() *foundation.NSString

func (*DOMMutationEvent) InitMutationEvent

func (o *DOMMutationEvent) InitMutationEvent(type_ *foundation.NSString, canBubble bool, cancelable bool, relatedNode *DOMNode, prevValue *foundation.NSString, newValue *foundation.NSString, attrName *foundation.NSString, attrChange uint16)

func (*DOMMutationEvent) InitMutationEventCanBubbleCancelableRelatedNodePrevValueNewValueAttrNameAttrChange

func (o *DOMMutationEvent) InitMutationEventCanBubbleCancelableRelatedNodePrevValueNewValueAttrNameAttrChange(type_ *foundation.NSString, canBubble bool, cancelable bool, relatedNode *DOMNode, prevValue *foundation.NSString, newValue *foundation.NSString, attrName *foundation.NSString, attrChange uint16)

func (*DOMMutationEvent) NewValue

func (o *DOMMutationEvent) NewValue() *foundation.NSString

func (*DOMMutationEvent) PrevValue

func (o *DOMMutationEvent) PrevValue() *foundation.NSString

func (*DOMMutationEvent) RelatedNode

func (o *DOMMutationEvent) RelatedNode() *DOMNode

type DOMNamedNodeMap

type DOMNamedNodeMap struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domnamednodemap

func DOMNamedNodeMapFromID

func DOMNamedNodeMapFromID(id objc.ID) *DOMNamedNodeMap

func (*DOMNamedNodeMap) GetNamedItem

func (o *DOMNamedNodeMap) GetNamedItem(name *foundation.NSString) *DOMNode

func (*DOMNamedNodeMap) GetNamedItemNS

func (o *DOMNamedNodeMap) GetNamedItemNS(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNode

func (*DOMNamedNodeMap) GetNamedItemNSLocalName

func (o *DOMNamedNodeMap) GetNamedItemNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNode

func (*DOMNamedNodeMap) Item

func (o *DOMNamedNodeMap) Item(index uint) *DOMNode

func (*DOMNamedNodeMap) Length

func (o *DOMNamedNodeMap) Length() uint

func (*DOMNamedNodeMap) RemoveNamedItem

func (o *DOMNamedNodeMap) RemoveNamedItem(name *foundation.NSString) *DOMNode

func (*DOMNamedNodeMap) RemoveNamedItemNS

func (o *DOMNamedNodeMap) RemoveNamedItemNS(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNode

func (*DOMNamedNodeMap) RemoveNamedItemNSLocalName

func (o *DOMNamedNodeMap) RemoveNamedItemNSLocalName(namespaceURI *foundation.NSString, localName *foundation.NSString) *DOMNode

func (*DOMNamedNodeMap) SetNamedItem

func (o *DOMNamedNodeMap) SetNamedItem(node *DOMNode) *DOMNode

func (*DOMNamedNodeMap) SetNamedItemNS

func (o *DOMNamedNodeMap) SetNamedItemNS(node *DOMNode) *DOMNode

type DOMNode

type DOMNode struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domnode

func DOMNodeFromID

func DOMNodeFromID(id objc.ID) *DOMNode

func (*DOMNode) AppendChild

func (o *DOMNode) AppendChild(newChild *DOMNode) *DOMNode

func (*DOMNode) Attributes

func (o *DOMNode) Attributes() *DOMNamedNodeMap

func (*DOMNode) BaseURI

func (o *DOMNode) BaseURI() *foundation.NSString

func (*DOMNode) BoundingBox

func (o *DOMNode) BoundingBox() corefoundation.CGRect

func (*DOMNode) ChildNodes

func (o *DOMNode) ChildNodes() *DOMNodeList

func (*DOMNode) CloneNode

func (o *DOMNode) CloneNode(deep bool) *DOMNode

func (*DOMNode) CompareDocumentPosition

func (o *DOMNode) CompareDocumentPosition(other *DOMNode) uint16

func (*DOMNode) Contains

func (o *DOMNode) Contains(other *DOMNode) bool

func (*DOMNode) FirstChild

func (o *DOMNode) FirstChild() *DOMNode

func (*DOMNode) HasAttributes

func (o *DOMNode) HasAttributes() bool

func (*DOMNode) HasChildNodes

func (o *DOMNode) HasChildNodes() bool

func (*DOMNode) InsertBefore

func (o *DOMNode) InsertBefore(newChild *DOMNode, refChild *DOMNode) *DOMNode

func (*DOMNode) InsertBeforeRefChild

func (o *DOMNode) InsertBeforeRefChild(newChild *DOMNode, refChild *DOMNode) *DOMNode

func (*DOMNode) IsContentEditable

func (o *DOMNode) IsContentEditable() bool

func (*DOMNode) IsDefaultNamespace

func (o *DOMNode) IsDefaultNamespace(namespaceURI *foundation.NSString) bool

func (*DOMNode) IsEqualNode

func (o *DOMNode) IsEqualNode(other *DOMNode) bool

func (*DOMNode) IsSameNode

func (o *DOMNode) IsSameNode(other *DOMNode) bool

func (*DOMNode) IsSupported

func (o *DOMNode) IsSupported(feature *foundation.NSString, version *foundation.NSString) bool

func (*DOMNode) IsSupportedVersion

func (o *DOMNode) IsSupportedVersion(feature *foundation.NSString, version *foundation.NSString) bool

func (*DOMNode) LastChild

func (o *DOMNode) LastChild() *DOMNode

func (*DOMNode) LineBoxRects

func (o *DOMNode) LineBoxRects() *foundation.NSArray[objc.ID]

func (*DOMNode) LocalName

func (o *DOMNode) LocalName() *foundation.NSString

func (*DOMNode) LookupNamespaceURI

func (o *DOMNode) LookupNamespaceURI(prefix *foundation.NSString) *foundation.NSString

func (*DOMNode) LookupPrefix

func (o *DOMNode) LookupPrefix(namespaceURI *foundation.NSString) *foundation.NSString

func (*DOMNode) NamespaceURI

func (o *DOMNode) NamespaceURI() *foundation.NSString

func (*DOMNode) NextSibling

func (o *DOMNode) NextSibling() *DOMNode

func (*DOMNode) NodeName

func (o *DOMNode) NodeName() *foundation.NSString

func (*DOMNode) NodeType

func (o *DOMNode) NodeType() uint16

func (*DOMNode) NodeValue

func (o *DOMNode) NodeValue() *foundation.NSString

func (*DOMNode) Normalize

func (o *DOMNode) Normalize()

func (*DOMNode) OwnerDocument

func (o *DOMNode) OwnerDocument() *DOMDocument

func (*DOMNode) ParentElement

func (o *DOMNode) ParentElement() *DOMElement

func (*DOMNode) ParentNode

func (o *DOMNode) ParentNode() *DOMNode

func (*DOMNode) Prefix

func (o *DOMNode) Prefix() *foundation.NSString

func (*DOMNode) PreviousSibling

func (o *DOMNode) PreviousSibling() *DOMNode

func (*DOMNode) RemoveChild

func (o *DOMNode) RemoveChild(oldChild *DOMNode) *DOMNode

func (*DOMNode) ReplaceChild

func (o *DOMNode) ReplaceChild(newChild *DOMNode, oldChild *DOMNode) *DOMNode

func (*DOMNode) ReplaceChildOldChild

func (o *DOMNode) ReplaceChildOldChild(newChild *DOMNode, oldChild *DOMNode) *DOMNode

func (*DOMNode) SetNodeValue

func (o *DOMNode) SetNodeValue(nodeValue *foundation.NSString)

func (*DOMNode) SetPrefix

func (o *DOMNode) SetPrefix(prefix *foundation.NSString)

func (*DOMNode) SetTextContent

func (o *DOMNode) SetTextContent(textContent *foundation.NSString)

func (*DOMNode) TextContent

func (o *DOMNode) TextContent() *foundation.NSString

func (*DOMNode) WebArchive

func (o *DOMNode) WebArchive() *WebArchive

type DOMNodeFilter

type DOMNodeFilter interface {
}

DOMNodeFilter wraps the ObjC protocol DOMNodeFilter.

type DOMNodeIterator

type DOMNodeIterator struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domnodeiterator

func DOMNodeIteratorFromID

func DOMNodeIteratorFromID(id objc.ID) *DOMNodeIterator

func (*DOMNodeIterator) Detach

func (o *DOMNodeIterator) Detach()

func (*DOMNodeIterator) ExpandEntityReferences

func (o *DOMNodeIterator) ExpandEntityReferences() bool

func (*DOMNodeIterator) Filter

func (o *DOMNodeIterator) Filter() DOMNodeFilter

func (*DOMNodeIterator) NextNode

func (o *DOMNodeIterator) NextNode() *DOMNode

func (*DOMNodeIterator) PointerBeforeReferenceNode

func (o *DOMNodeIterator) PointerBeforeReferenceNode() bool

func (*DOMNodeIterator) PreviousNode

func (o *DOMNodeIterator) PreviousNode() *DOMNode

func (*DOMNodeIterator) ReferenceNode

func (o *DOMNodeIterator) ReferenceNode() *DOMNode

func (*DOMNodeIterator) Root

func (o *DOMNodeIterator) Root() *DOMNode

func (*DOMNodeIterator) WhatToShow

func (o *DOMNodeIterator) WhatToShow() uint

type DOMNodeList

type DOMNodeList struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domnodelist

func DOMNodeListFromID

func DOMNodeListFromID(id objc.ID) *DOMNodeList

func (*DOMNodeList) Item

func (o *DOMNodeList) Item(index uint) *DOMNode

func (*DOMNodeList) Length

func (o *DOMNodeList) Length() uint

type DOMObject

type DOMObject struct {
	WebScriptObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domobject

func DOMObjectFromID

func DOMObjectFromID(id objc.ID) *DOMObject

func (*DOMObject) Sheet

func (o *DOMObject) Sheet() *DOMStyleSheet

type DOMObjectInternal

type DOMObjectInternal struct{}

DOMObjectInternal is an opaque type.

type DOMOverflowEvent

type DOMOverflowEvent struct {
	DOMEvent
}

Apple documentation: https://developer.apple.com/documentation/webkit/domoverflowevent

func DOMOverflowEventFromID

func DOMOverflowEventFromID(id objc.ID) *DOMOverflowEvent

func (*DOMOverflowEvent) HorizontalOverflow

func (o *DOMOverflowEvent) HorizontalOverflow() bool

func (*DOMOverflowEvent) InitOverflowEventHorizontalOverflowVerticalOverflow

func (o *DOMOverflowEvent) InitOverflowEventHorizontalOverflowVerticalOverflow(orient uint16, horizontalOverflow bool, verticalOverflow bool)

func (*DOMOverflowEvent) Orient

func (o *DOMOverflowEvent) Orient() uint16

func (*DOMOverflowEvent) VerticalOverflow

func (o *DOMOverflowEvent) VerticalOverflow() bool

type DOMProcessingInstruction

type DOMProcessingInstruction struct {
	DOMCharacterData
}

Apple documentation: https://developer.apple.com/documentation/webkit/domprocessinginstruction

func DOMProcessingInstructionFromID

func DOMProcessingInstructionFromID(id objc.ID) *DOMProcessingInstruction

func (*DOMProcessingInstruction) Target

type DOMProgressEvent

type DOMProgressEvent struct {
	DOMEvent
}

Apple documentation: https://developer.apple.com/documentation/webkit/domprogressevent

func DOMProgressEventFromID

func DOMProgressEventFromID(id objc.ID) *DOMProgressEvent

func (*DOMProgressEvent) LengthComputable

func (o *DOMProgressEvent) LengthComputable() bool

func (*DOMProgressEvent) Loaded

func (o *DOMProgressEvent) Loaded() uint64

func (*DOMProgressEvent) Total

func (o *DOMProgressEvent) Total() uint64

type DOMRGBColor

type DOMRGBColor struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domrgbcolor

func DOMRGBColorFromID

func DOMRGBColorFromID(id objc.ID) *DOMRGBColor

func (*DOMRGBColor) Alpha

func (o *DOMRGBColor) Alpha() *DOMCSSPrimitiveValue

func (*DOMRGBColor) Blue

func (o *DOMRGBColor) Blue() *DOMCSSPrimitiveValue

func (*DOMRGBColor) Color

func (o *DOMRGBColor) Color() *appkit.NSColor

func (*DOMRGBColor) Green

func (o *DOMRGBColor) Green() *DOMCSSPrimitiveValue

func (*DOMRGBColor) Red

type DOMRange

type DOMRange struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domrange

func DOMRangeFromID

func DOMRangeFromID(id objc.ID) *DOMRange

func (*DOMRange) CloneContents

func (o *DOMRange) CloneContents() *DOMDocumentFragment

func (*DOMRange) CloneRange

func (o *DOMRange) CloneRange() *DOMRange

func (*DOMRange) Collapse

func (o *DOMRange) Collapse(toStart bool)

func (*DOMRange) Collapsed

func (o *DOMRange) Collapsed() bool

func (*DOMRange) CommonAncestorContainer

func (o *DOMRange) CommonAncestorContainer() *DOMNode

func (*DOMRange) CompareBoundaryPoints

func (o *DOMRange) CompareBoundaryPoints(how uint16, sourceRange *DOMRange) int16

func (*DOMRange) CompareBoundaryPointsSourceRange

func (o *DOMRange) CompareBoundaryPointsSourceRange(how uint16, sourceRange *DOMRange) int16

func (*DOMRange) CompareNode

func (o *DOMRange) CompareNode(refNode *DOMNode) int16

func (*DOMRange) ComparePointOffset

func (o *DOMRange) ComparePointOffset(refNode *DOMNode, offset int) int16

func (*DOMRange) CreateContextualFragment

func (o *DOMRange) CreateContextualFragment(html *foundation.NSString) *DOMDocumentFragment

func (*DOMRange) DeleteContents

func (o *DOMRange) DeleteContents()

func (*DOMRange) Detach

func (o *DOMRange) Detach()

func (*DOMRange) EndContainer

func (o *DOMRange) EndContainer() *DOMNode

func (*DOMRange) EndOffset

func (o *DOMRange) EndOffset() int

func (*DOMRange) ExtractContents

func (o *DOMRange) ExtractContents() *DOMDocumentFragment

func (*DOMRange) InsertNode

func (o *DOMRange) InsertNode(newNode *DOMNode)

func (*DOMRange) IntersectsNode

func (o *DOMRange) IntersectsNode(refNode *DOMNode) bool

func (*DOMRange) IsPointInRangeOffset

func (o *DOMRange) IsPointInRangeOffset(refNode *DOMNode, offset int) bool

func (*DOMRange) MarkupString

func (o *DOMRange) MarkupString() *foundation.NSString

@property markupString @abstract A markup string representing the range.

func (*DOMRange) SelectNode

func (o *DOMRange) SelectNode(refNode *DOMNode)

func (*DOMRange) SelectNodeContents

func (o *DOMRange) SelectNodeContents(refNode *DOMNode)

func (*DOMRange) SetEnd

func (o *DOMRange) SetEnd(refNode *DOMNode, offset int)

func (*DOMRange) SetEndAfter

func (o *DOMRange) SetEndAfter(refNode *DOMNode)

func (*DOMRange) SetEndBefore

func (o *DOMRange) SetEndBefore(refNode *DOMNode)

func (*DOMRange) SetEndOffset

func (o *DOMRange) SetEndOffset(refNode *DOMNode, offset int)

func (*DOMRange) SetStart

func (o *DOMRange) SetStart(refNode *DOMNode, offset int)

func (*DOMRange) SetStartAfter

func (o *DOMRange) SetStartAfter(refNode *DOMNode)

func (*DOMRange) SetStartBefore

func (o *DOMRange) SetStartBefore(refNode *DOMNode)

func (*DOMRange) SetStartOffset

func (o *DOMRange) SetStartOffset(refNode *DOMNode, offset int)

func (*DOMRange) StartContainer

func (o *DOMRange) StartContainer() *DOMNode

func (*DOMRange) StartOffset

func (o *DOMRange) StartOffset() int

func (*DOMRange) SurroundContents

func (o *DOMRange) SurroundContents(newParent *DOMNode)

func (*DOMRange) Text

func (o *DOMRange) Text() *foundation.NSString

func (*DOMRange) ToString

func (o *DOMRange) ToString() *foundation.NSString

func (*DOMRange) WebArchive

func (o *DOMRange) WebArchive() *WebArchive

@property webArchive @abstract A WebArchive representing the range.

type DOMRangeExceptionCode

type DOMRangeExceptionCode int64
const (
	DOM_BAD_BOUNDARYPOINTS_ERR DOMRangeExceptionCode = 1
	DOM_INVALID_NODE_TYPE_ERR  DOMRangeExceptionCode = 2
)

func (DOMRangeExceptionCode) String

func (e DOMRangeExceptionCode) String() string

type DOMRect

type DOMRect struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domrect

func DOMRectFromID

func DOMRectFromID(id objc.ID) *DOMRect

func (*DOMRect) Bottom

func (o *DOMRect) Bottom() *DOMCSSPrimitiveValue

func (*DOMRect) Left

func (o *DOMRect) Left() *DOMCSSPrimitiveValue

func (*DOMRect) Right

func (o *DOMRect) Right() *DOMCSSPrimitiveValue

func (*DOMRect) Top

func (o *DOMRect) Top() *DOMCSSPrimitiveValue

type DOMStyleSheet

type DOMStyleSheet struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domstylesheet

func DOMStyleSheetFromID

func DOMStyleSheetFromID(id objc.ID) *DOMStyleSheet

func (*DOMStyleSheet) Disabled

func (o *DOMStyleSheet) Disabled() bool

func (*DOMStyleSheet) Href

func (o *DOMStyleSheet) Href() *foundation.NSString

func (*DOMStyleSheet) Media

func (o *DOMStyleSheet) Media() *DOMMediaList

func (*DOMStyleSheet) OwnerNode

func (o *DOMStyleSheet) OwnerNode() *DOMNode

func (*DOMStyleSheet) ParentStyleSheet

func (o *DOMStyleSheet) ParentStyleSheet() *DOMStyleSheet

func (*DOMStyleSheet) SetDisabled

func (o *DOMStyleSheet) SetDisabled(disabled bool)

func (*DOMStyleSheet) Title

func (o *DOMStyleSheet) Title() *foundation.NSString

func (*DOMStyleSheet) Type

func (o *DOMStyleSheet) Type() *foundation.NSString

type DOMStyleSheetList

type DOMStyleSheetList struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domstylesheetlist

func DOMStyleSheetListFromID

func DOMStyleSheetListFromID(id objc.ID) *DOMStyleSheetList

func (*DOMStyleSheetList) Item

func (o *DOMStyleSheetList) Item(index uint) *DOMStyleSheet

func (*DOMStyleSheetList) Length

func (o *DOMStyleSheetList) Length() uint

type DOMText

type DOMText struct {
	DOMCharacterData
}

Apple documentation: https://developer.apple.com/documentation/webkit/domtext

func DOMTextFromID

func DOMTextFromID(id objc.ID) *DOMText

func (*DOMText) ReplaceWholeText

func (o *DOMText) ReplaceWholeText(content *foundation.NSString) *DOMText

func (*DOMText) SplitText

func (o *DOMText) SplitText(offset uint) *DOMText

func (*DOMText) WholeText

func (o *DOMText) WholeText() *foundation.NSString

type DOMTreeWalker

type DOMTreeWalker struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domtreewalker

func DOMTreeWalkerFromID

func DOMTreeWalkerFromID(id objc.ID) *DOMTreeWalker

func (*DOMTreeWalker) CurrentNode

func (o *DOMTreeWalker) CurrentNode() *DOMNode

func (*DOMTreeWalker) ExpandEntityReferences

func (o *DOMTreeWalker) ExpandEntityReferences() bool

func (*DOMTreeWalker) Filter

func (o *DOMTreeWalker) Filter() DOMNodeFilter

func (*DOMTreeWalker) FirstChild

func (o *DOMTreeWalker) FirstChild() *DOMNode

func (*DOMTreeWalker) LastChild

func (o *DOMTreeWalker) LastChild() *DOMNode

func (*DOMTreeWalker) NextNode

func (o *DOMTreeWalker) NextNode() *DOMNode

func (*DOMTreeWalker) NextSibling

func (o *DOMTreeWalker) NextSibling() *DOMNode

func (*DOMTreeWalker) ParentNode

func (o *DOMTreeWalker) ParentNode() *DOMNode

func (*DOMTreeWalker) PreviousNode

func (o *DOMTreeWalker) PreviousNode() *DOMNode

func (*DOMTreeWalker) PreviousSibling

func (o *DOMTreeWalker) PreviousSibling() *DOMNode

func (*DOMTreeWalker) Root

func (o *DOMTreeWalker) Root() *DOMNode

func (*DOMTreeWalker) SetCurrentNode

func (o *DOMTreeWalker) SetCurrentNode(currentNode *DOMNode)

func (*DOMTreeWalker) WhatToShow

func (o *DOMTreeWalker) WhatToShow() uint

type DOMUIEvent

type DOMUIEvent struct {
	DOMEvent
}

Apple documentation: https://developer.apple.com/documentation/webkit/domuievent

func DOMUIEventFromID

func DOMUIEventFromID(id objc.ID) *DOMUIEvent

func (*DOMUIEvent) CharCode

func (o *DOMUIEvent) CharCode() int

func (*DOMUIEvent) Detail

func (o *DOMUIEvent) Detail() int

func (*DOMUIEvent) InitUIEvent

func (o *DOMUIEvent) InitUIEvent(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, detail int)

func (*DOMUIEvent) InitUIEventCanBubbleCancelableViewDetail

func (o *DOMUIEvent) InitUIEventCanBubbleCancelableViewDetail(type_ *foundation.NSString, canBubble bool, cancelable bool, view *DOMAbstractView, detail int)

func (*DOMUIEvent) KeyCode

func (o *DOMUIEvent) KeyCode() int

func (*DOMUIEvent) LayerX

func (o *DOMUIEvent) LayerX() int

func (*DOMUIEvent) LayerY

func (o *DOMUIEvent) LayerY() int

func (*DOMUIEvent) PageX

func (o *DOMUIEvent) PageX() int

func (*DOMUIEvent) PageY

func (o *DOMUIEvent) PageY() int

func (*DOMUIEvent) View

func (o *DOMUIEvent) View() *DOMAbstractView

func (*DOMUIEvent) Which

func (o *DOMUIEvent) Which() int

type DOMWheelEvent

type DOMWheelEvent struct {
	DOMMouseEvent
}

Apple documentation: https://developer.apple.com/documentation/webkit/domwheelevent

func DOMWheelEventFromID

func DOMWheelEventFromID(id objc.ID) *DOMWheelEvent

func (*DOMWheelEvent) InitWheelEventWheelDeltaYViewScreenXScreenYClientXClientYCtrlKeyAltKeyShiftKeyMetaKey

func (o *DOMWheelEvent) InitWheelEventWheelDeltaYViewScreenXScreenYClientXClientYCtrlKeyAltKeyShiftKeyMetaKey(wheelDeltaX int, wheelDeltaY int, view *DOMAbstractView, screenX int, screenY int, clientX int, clientY int, ctrlKey bool, altKey bool, shiftKey bool, metaKey bool)

func (*DOMWheelEvent) IsHorizontal

func (o *DOMWheelEvent) IsHorizontal() bool

func (*DOMWheelEvent) WheelDelta

func (o *DOMWheelEvent) WheelDelta() int

func (*DOMWheelEvent) WheelDeltaX

func (o *DOMWheelEvent) WheelDeltaX() int

func (*DOMWheelEvent) WheelDeltaY

func (o *DOMWheelEvent) WheelDeltaY() int

type DOMXPathExceptionCode

type DOMXPathExceptionCode int64
const (
	DOM_INVALID_EXPRESSION_ERR DOMXPathExceptionCode = 51
	DOM_TYPE_ERR               DOMXPathExceptionCode = 52
)

func (DOMXPathExceptionCode) String

func (e DOMXPathExceptionCode) String() string

type DOMXPathExpression

type DOMXPathExpression struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domxpathexpression

func DOMXPathExpressionFromID

func DOMXPathExpressionFromID(id objc.ID) *DOMXPathExpression

func (*DOMXPathExpression) Evaluate

func (o *DOMXPathExpression) Evaluate(contextNode *DOMNode, type_ uint16, inResult *DOMXPathResult) *DOMXPathResult

func (*DOMXPathExpression) EvaluateTypeInResult

func (o *DOMXPathExpression) EvaluateTypeInResult(contextNode *DOMNode, type_ uint16, inResult *DOMXPathResult) *DOMXPathResult

type DOMXPathNSResolver

type DOMXPathNSResolver interface {
	LookupNamespaceURI(prefix *foundation.NSString) *foundation.NSString
}

DOMXPathNSResolver wraps the ObjC protocol DOMXPathNSResolver.

type DOMXPathResult

type DOMXPathResult struct {
	DOMObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/domxpathresult

func DOMXPathResultFromID

func DOMXPathResultFromID(id objc.ID) *DOMXPathResult

func (*DOMXPathResult) BooleanValue

func (o *DOMXPathResult) BooleanValue() bool

func (*DOMXPathResult) InvalidIteratorState

func (o *DOMXPathResult) InvalidIteratorState() bool

func (*DOMXPathResult) IterateNext

func (o *DOMXPathResult) IterateNext() *DOMNode

func (*DOMXPathResult) NumberValue

func (o *DOMXPathResult) NumberValue() float64

func (*DOMXPathResult) ResultType

func (o *DOMXPathResult) ResultType() uint16

func (*DOMXPathResult) SingleNodeValue

func (o *DOMXPathResult) SingleNodeValue() *DOMNode

func (*DOMXPathResult) SnapshotItem

func (o *DOMXPathResult) SnapshotItem(index uint) *DOMNode

func (*DOMXPathResult) SnapshotLength

func (o *DOMXPathResult) SnapshotLength() uint

func (*DOMXPathResult) StringValue

func (o *DOMXPathResult) StringValue() *foundation.NSString

type Dispatch_autorelease_frequency_t

type Dispatch_autorelease_frequency_t uint64
const (
	DISPATCH_AUTORELEASE_FREQUENCY_INHERIT   Dispatch_autorelease_frequency_t = 0
	DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1
	DISPATCH_AUTORELEASE_FREQUENCY_NEVER     Dispatch_autorelease_frequency_t = 2
)

func (Dispatch_autorelease_frequency_t) String

type Dispatch_block_flags_t

type Dispatch_block_flags_t uint64
const (
	DISPATCH_BLOCK_BARRIER           Dispatch_block_flags_t = 1
	DISPATCH_BLOCK_DETACHED          Dispatch_block_flags_t = 2
	DISPATCH_BLOCK_ASSIGN_CURRENT    Dispatch_block_flags_t = 4
	DISPATCH_BLOCK_NO_QOS_CLASS      Dispatch_block_flags_t = 8
	DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16
	DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32
)

func (Dispatch_block_flags_t) String

func (e Dispatch_block_flags_t) String() string

type EvCmd

type EvCmd int64
const (
	EVNOP   EvCmd = 0
	EVHIDE  EvCmd = 1
	EVSHOW  EvCmd = 2
	EVMOVE  EvCmd = 3
	EVLEVEL EvCmd = 4
)

func (EvCmd) String

func (e EvCmd) String() string

type Filesec_property_t

type Filesec_property_t int64
const (
	FILESEC_OWNER         Filesec_property_t = 1
	FILESEC_GROUP         Filesec_property_t = 2
	FILESEC_UUID          Filesec_property_t = 3
	FILESEC_MODE          Filesec_property_t = 4
	FILESEC_ACL           Filesec_property_t = 5
	FILESEC_GRPUUID       Filesec_property_t = 6
	FILESEC_ACL_RAW       Filesec_property_t = 100
	FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101
)

func (Filesec_property_t) String

func (e Filesec_property_t) String() string

type Idtype_t

type Idtype_t int64
const (
	P_ALL  Idtype_t = 0
	P_PID  Idtype_t = 1
	P_PGID Idtype_t = 2
)

func (Idtype_t) String

func (e Idtype_t) String() string

type Ipc_info_object_type_t

type Ipc_info_object_type_t int64
const (
	IPC_OTYPE_NONE                 Ipc_info_object_type_t = 0
	IPC_OTYPE_THREAD_CONTROL       Ipc_info_object_type_t = 1
	IPC_OTYPE_TASK_CONTROL         Ipc_info_object_type_t = 2
	IPC_OTYPE_HOST                 Ipc_info_object_type_t = 3
	IPC_OTYPE_HOST_PRIV            Ipc_info_object_type_t = 4
	IPC_OTYPE_PROCESSOR            Ipc_info_object_type_t = 5
	IPC_OTYPE_PROCESSOR_SET        Ipc_info_object_type_t = 6
	IPC_OTYPE_PROCESSOR_SET_NAME   Ipc_info_object_type_t = 7
	IPC_OTYPE_TIMER                Ipc_info_object_type_t = 8
	IPC_OTYPE_PORT_SUBST_ONCE      Ipc_info_object_type_t = 9
	IPC_OTYPE_MIG                  Ipc_info_object_type_t = 10
	IPC_OTYPE_MEMORY_OBJECT        Ipc_info_object_type_t = 11
	IPC_OTYPE_XMM_PAGER            Ipc_info_object_type_t = 12
	IPC_OTYPE_XMM_KERNEL           Ipc_info_object_type_t = 13
	IPC_OTYPE_XMM_REPLY            Ipc_info_object_type_t = 14
	IPC_OTYPE_UND_REPLY            Ipc_info_object_type_t = 15
	IPC_OTYPE_HOST_NOTIFY          Ipc_info_object_type_t = 16
	IPC_OTYPE_HOST_SECURITY        Ipc_info_object_type_t = 17
	IPC_OTYPE_LEDGER               Ipc_info_object_type_t = 18
	IPC_OTYPE_MAIN_DEVICE          Ipc_info_object_type_t = 19
	IPC_OTYPE_TASK_NAME            Ipc_info_object_type_t = 20
	IPC_OTYPE_SUBSYSTEM            Ipc_info_object_type_t = 21
	IPC_OTYPE_IO_DONE_QUEUE        Ipc_info_object_type_t = 22
	IPC_OTYPE_SEMAPHORE            Ipc_info_object_type_t = 23
	IPC_OTYPE_LOCK_SET             Ipc_info_object_type_t = 24
	IPC_OTYPE_CLOCK                Ipc_info_object_type_t = 25
	IPC_OTYPE_CLOCK_CTRL           Ipc_info_object_type_t = 26
	IPC_OTYPE_IOKIT_IDENT          Ipc_info_object_type_t = 27
	IPC_OTYPE_NAMED_ENTRY          Ipc_info_object_type_t = 28
	IPC_OTYPE_IOKIT_CONNECT        Ipc_info_object_type_t = 29
	IPC_OTYPE_IOKIT_OBJECT         Ipc_info_object_type_t = 30
	IPC_OTYPE_UPL                  Ipc_info_object_type_t = 31
	IPC_OTYPE_MEM_OBJ_CONTROL      Ipc_info_object_type_t = 32
	IPC_OTYPE_AU_SESSIONPORT       Ipc_info_object_type_t = 33
	IPC_OTYPE_FILEPORT             Ipc_info_object_type_t = 34
	IPC_OTYPE_LABELH               Ipc_info_object_type_t = 35
	IPC_OTYPE_TASK_RESUME          Ipc_info_object_type_t = 36
	IPC_OTYPE_VOUCHER              Ipc_info_object_type_t = 37
	IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38
	IPC_OTYPE_WORK_INTERVAL        Ipc_info_object_type_t = 39
	IPC_OTYPE_UX_HANDLER           Ipc_info_object_type_t = 40
	IPC_OTYPE_UEXT_OBJECT          Ipc_info_object_type_t = 41
	IPC_OTYPE_ARCADE_REG           Ipc_info_object_type_t = 42
	IPC_OTYPE_EVENTLINK            Ipc_info_object_type_t = 43
	IPC_OTYPE_TASK_INSPECT         Ipc_info_object_type_t = 44
	IPC_OTYPE_TASK_READ            Ipc_info_object_type_t = 45
	IPC_OTYPE_THREAD_INSPECT       Ipc_info_object_type_t = 46
	IPC_OTYPE_THREAD_READ          Ipc_info_object_type_t = 47
	IPC_OTYPE_SUID_CRED            Ipc_info_object_type_t = 48
	IPC_OTYPE_HYPERVISOR           Ipc_info_object_type_t = 49
	IPC_OTYPE_TASK_ID_TOKEN        Ipc_info_object_type_t = 50
	IPC_OTYPE_TASK_FATAL           Ipc_info_object_type_t = 51
	IPC_OTYPE_KCDATA               Ipc_info_object_type_t = 52
	IPC_OTYPE_EXCLAVES_RESOURCE    Ipc_info_object_type_t = 53
	IPC_OTYPE_THREAD_RESUME        Ipc_info_object_type_t = 54
	IPC_OTYPE_UNKNOWN              Ipc_info_object_type_t = 4294967295
)

func (Ipc_info_object_type_t) String

func (e Ipc_info_object_type_t) String() string

type Launch_data_type_t

type Launch_data_type_t int64
const (
	LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1
	LAUNCH_DATA_ARRAY      Launch_data_type_t = 2
	LAUNCH_DATA_FD         Launch_data_type_t = 3
	LAUNCH_DATA_INTEGER    Launch_data_type_t = 4
	LAUNCH_DATA_REAL       Launch_data_type_t = 5
	LAUNCH_DATA_BOOL       Launch_data_type_t = 6
	LAUNCH_DATA_STRING     Launch_data_type_t = 7
	LAUNCH_DATA_OPAQUE     Launch_data_type_t = 8
	LAUNCH_DATA_ERRNO      Launch_data_type_t = 9
	LAUNCH_DATA_MACHPORT   Launch_data_type_t = 10
)

func (Launch_data_type_t) String

func (e Launch_data_type_t) String() string

type MDLabelDomain

type MDLabelDomain int64

@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().

const (
	KMDLabelUserDomain  MDLabelDomain = 0
	KMDLabelLocalDomain MDLabelDomain = 1
)

func (MDLabelDomain) String

func (e MDLabelDomain) String() string

type MDQueryOptionFlags

type MDQueryOptionFlags int64
const (
	KMDQuerySynchronous        MDQueryOptionFlags = 1
	KMDQueryWantsUpdates       MDQueryOptionFlags = 4
	KMDQueryAllowFSTranslation MDQueryOptionFlags = 8
)

func (MDQueryOptionFlags) String

func (e MDQueryOptionFlags) String() string

type MDQuerySortOptionFlags

type MDQuerySortOptionFlags int64

@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.

const (
	KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)

func (MDQuerySortOptionFlags) String

func (e MDQuerySortOptionFlags) String() string

type Mach_vm_range_flags_t

type Mach_vm_range_flags_t int64
const (
	MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)

func (Mach_vm_range_flags_t) String

func (e Mach_vm_range_flags_t) String() string

type Mach_vm_range_flavor_t

type Mach_vm_range_flavor_t int64
const (
	MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0
	MACH_VM_RANGE_FLAVOR_V1      Mach_vm_range_flavor_t = 1
)

func (Mach_vm_range_flavor_t) String

func (e Mach_vm_range_flavor_t) String() string

type Mach_vm_range_tag_t

type Mach_vm_range_tag_t int64
const (
	MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0
	MACH_VM_RANGE_DATA    Mach_vm_range_tag_t = 1
	MACH_VM_RANGE_FIXED   Mach_vm_range_tag_t = 2
)

func (Mach_vm_range_tag_t) String

func (e Mach_vm_range_tag_t) String() string

type Mpo_flags_t

type Mpo_flags_t int64
const (
	MPO_PORT                            Mpo_flags_t = 0
	MPO_SERVICE_PORT                    Mpo_flags_t = 1024
	MPO_CONNECTION_PORT                 Mpo_flags_t = 2048
	MPO_REPLY_PORT                      Mpo_flags_t = 4096
	MPO_WEAK_REPLY_PORT                 Mpo_flags_t = 16384
	MPO_NOTIFICATION_PORT               Mpo_flags_t = 17408
	MPO_EXCEPTION_PORT                  Mpo_flags_t = 32768
	MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536
)

func (Mpo_flags_t) String

func (e Mpo_flags_t) String() string

type NSObjectProtocol

type NSObjectProtocol interface {
}

NSObjectProtocol wraps the ObjC protocol NSObject.

type NSProgressReporting

type NSProgressReporting interface {
}

NSProgressReporting wraps the ObjC protocol NSProgressReporting.

type NXMouseButton

type NXMouseButton int64
const (
	NX_OneButton   NXMouseButton = 0
	NX_LeftButton  NXMouseButton = 1
	NX_RightButton NXMouseButton = 2
)

func (NXMouseButton) String

func (e NXMouseButton) String() string

type Nw_browser_state_t

type Nw_browser_state_t int64

@typedef nw_browser_state_t @abstract Browser states sent by nw_browser_set_state_changed_handler.

const (
	// @const nw_browser_state_invalid The state of the browser is not valid. This state will never be delivered in the browser's state update handler and can be treated as an unexpected value.
	Nw_browser_state_invalid Nw_browser_state_t = 0
	// @const nw_browser_state_ready The browser is ready and able to receive endpoint updates. All callbacks from the browse_results_changed_handler occur when the browser is in this state.
	Nw_browser_state_ready Nw_browser_state_t = 1
	// @const nw_browser_state_failed The browser has irrecoverably failed. You should not try to call nw_browser_start() on the browser to restart it. Instead, cancel the browser and create a new browser object.
	Nw_browser_state_failed Nw_browser_state_t = 2
	// @const nw_browser_state_cancelled The browser has been cancelled by the caller. You should not try to call nw_browser_start() on the browser to restart it. Instead, create a new browser object.
	Nw_browser_state_cancelled Nw_browser_state_t = 3
	// @const nw_browser_state_waiting The browser is waiting for connectivity. Results will not be delivered until the browser moves into the ready state. A browser can move from the ready state into the waiting state. The associated error indicates why the browser is unable to browse.
	Nw_browser_state_waiting Nw_browser_state_t = 4
)

func (Nw_browser_state_t) String

func (e Nw_browser_state_t) String() string

type Nw_connection_group_state_t

type Nw_connection_group_state_t int64

@typedef nw_connection_group_state_t @abstract Connection Group states sent by nw_connection_group_set_state_changed_handler. States progress forward and do not move backwards.

const (
	// @const nw_connection_group_state_invalid The state of the connection group is not valid. This state will never be delivered in the connection group's state update handler and can be treated as an unexpected value.
	Nw_connection_group_state_invalid Nw_connection_group_state_t = 0
	// @const nw_connection_group_state_waiting The connection group is waiting for a usable network before being able to receive and process incoming messages.
	Nw_connection_group_state_waiting Nw_connection_group_state_t = 1
	// @const nw_connection_group_state_ready The connection group is ready and able to receive and process incoming messages.
	Nw_connection_group_state_ready Nw_connection_group_state_t = 2
	// @const nw_connection_group_state_failed The connection group has irrecoverably failed. You should cancel the connection group and create a new connection group object if you wish to continue processing incoming messages.
	Nw_connection_group_state_failed Nw_connection_group_state_t = 3
	// @const nw_connection_group_state_cancelled The connection group has been cancelled by the user. You should create a new connection group object if you wish to continue processing incoming messages.
	Nw_connection_group_state_cancelled Nw_connection_group_state_t = 4
)

func (Nw_connection_group_state_t) String

type Nw_connection_state_t

type Nw_connection_state_t int64

@typedef nw_connection_state_t @abstract Connection states sent by nw_connection_set_state_changed_handler. States generally progress forward and do not move backwards, with the exception of preparing and waiting, which may alternate before the connection becomes ready or failed.

const (
	// @const nw_connection_state_invalid The state of the connection is not valid. This state will never be delivered in the connection's state update handler, and can be treated as an unexpected value.
	Nw_connection_state_invalid Nw_connection_state_t = 0
	// @const nw_connection_state_waiting The connection is waiting for a usable network before re-attempting
	Nw_connection_state_waiting Nw_connection_state_t = 1
	// @const nw_connection_state_preparing The connection is in the process of establishing
	Nw_connection_state_preparing Nw_connection_state_t = 2
	// @const nw_connection_state_ready The connection is established and ready to send and receive data upon
	Nw_connection_state_ready Nw_connection_state_t = 3
	// @const nw_connection_state_failed The connection has irrecoverably closed or failed
	Nw_connection_state_failed Nw_connection_state_t = 4
	// @const nw_connection_state_cancelled The connection has been cancelled by the caller
	Nw_connection_state_cancelled Nw_connection_state_t = 5
)

func (Nw_connection_state_t) String

func (e Nw_connection_state_t) String() string

type Nw_data_transfer_report_state_t

type Nw_data_transfer_report_state_t int64

@typedef nw_data_transfer_report_state_t @abstract The state of a Data Transfer Report indicates whether or not the contents have been collected, and are ready to be accessed.

const (
	// @const nw_data_transfer_report_state_collecting The report is outstanding; values cannot be accessed.
	Nw_data_transfer_report_state_collecting Nw_data_transfer_report_state_t = 1
	// @const nw_data_transfer_report_state_collected The report is complete; values can now be accessed.
	Nw_data_transfer_report_state_collected Nw_data_transfer_report_state_t = 2
)

func (Nw_data_transfer_report_state_t) String

type Nw_endpoint_type_t

type Nw_endpoint_type_t int64

@typedef nw_endpoint_type_t @abstract Endpoint types represent a well-known form of endpoint. Values may be added to this enumeration, and some custom endpoint types may use values not defined in this enumeration.

const (
	// @const nw_endpoint_type_invalid An invalid endpoint
	Nw_endpoint_type_invalid Nw_endpoint_type_t = 0
	// @const nw_endpoint_type_address An IP Address + Port
	Nw_endpoint_type_address Nw_endpoint_type_t = 1
	// @const nw_endpoint_type_host A Hostname + Port
	Nw_endpoint_type_host Nw_endpoint_type_t = 2
	// @const nw_endpoint_type_bonjour_service A Bonjour Service Name + Type + Domain
	Nw_endpoint_type_bonjour_service Nw_endpoint_type_t = 3
	// @const nw_endpoint_type_url A URL endpoint
	Nw_endpoint_type_url Nw_endpoint_type_t = 4
)

func (Nw_endpoint_type_t) String

func (e Nw_endpoint_type_t) String() string

type Nw_error_domain_t

type Nw_error_domain_t int64

@typedef nw_error_domain_t @abstract The enumeration of network error domains.

const (
	// @const nw_error_domain_invalid
	Nw_error_domain_invalid Nw_error_domain_t = 0
	// @const nw_error_domain_posix The error code will be a POSIX error as defined in <sys/errno.h>
	Nw_error_domain_posix Nw_error_domain_t = 1
	// @const nw_error_domain_dns The error code will be a DNSServiceErrorType error as defined in <dns_sd.h>
	Nw_error_domain_dns Nw_error_domain_t = 2
	// @const nw_error_domain_tls The error code will be a TLS error as defined in <Security/SecBase.h>
	Nw_error_domain_tls Nw_error_domain_t = 3
	// @const nw_error_domain_wifi_aware The error code will be a Wi-Fi Aware error as defined in <WifiAware/errors.swift>
	Nw_error_domain_wifi_aware Nw_error_domain_t = 4
)

func (Nw_error_domain_t) String

func (e Nw_error_domain_t) String() string

type Nw_ethernet_channel_state_t

type Nw_ethernet_channel_state_t int64
const (
	// @const nw_ethernet_channel_state_invalid The state of the channel is not valid. This state will never be delivered in the channel's state update handler, and can be treated as an unexpected value.
	Nw_ethernet_channel_state_invalid Nw_ethernet_channel_state_t = 0
	// @const nw_ethernet_channel_state_waiting The channel is waiting for a usable network before re-attempting
	Nw_ethernet_channel_state_waiting Nw_ethernet_channel_state_t = 1
	// @const nw_ethernet_channel_state_preparing The channel is in the process of establishing
	Nw_ethernet_channel_state_preparing Nw_ethernet_channel_state_t = 2
	// @const nw_ethernet_channel_state_ready The channel is established and ready to send and receive data
	Nw_ethernet_channel_state_ready Nw_ethernet_channel_state_t = 3
	// @const nw_ethernet_channel_state_failed The channel has irrecoverably closed or failed
	Nw_ethernet_channel_state_failed Nw_ethernet_channel_state_t = 4
	// @const nw_ethernet_channel_state_cancelled The channel has been cancelled by the caller
	Nw_ethernet_channel_state_cancelled Nw_ethernet_channel_state_t = 5
)

func (Nw_ethernet_channel_state_t) String

type Nw_framer_start_result_t

type Nw_framer_start_result_t int64
const (
	Nw_framer_start_result_ready           Nw_framer_start_result_t = 1
	Nw_framer_start_result_will_mark_ready Nw_framer_start_result_t = 2
)

func (Nw_framer_start_result_t) String

func (e Nw_framer_start_result_t) String() string

type Nw_interface_radio_type_t

type Nw_interface_radio_type_t int64

@typedef nw_interface_radio_type_t @abstract Interface radio types represent the radio technology for a network link.

const (
	Nw_interface_radio_type_unknown         Nw_interface_radio_type_t = 0
	Nw_interface_radio_type_wifi_b          Nw_interface_radio_type_t = 1
	Nw_interface_radio_type_wifi_a          Nw_interface_radio_type_t = 2
	Nw_interface_radio_type_wifi_g          Nw_interface_radio_type_t = 3
	Nw_interface_radio_type_wifi_n          Nw_interface_radio_type_t = 4
	Nw_interface_radio_type_wifi_ac         Nw_interface_radio_type_t = 5
	Nw_interface_radio_type_wifi_ax         Nw_interface_radio_type_t = 6
	Nw_interface_radio_type_cell_lte        Nw_interface_radio_type_t = 128
	Nw_interface_radio_type_cell_endc_sub6  Nw_interface_radio_type_t = 129
	Nw_interface_radio_type_cell_endc_mmw   Nw_interface_radio_type_t = 130
	Nw_interface_radio_type_cell_nr_sa_sub6 Nw_interface_radio_type_t = 131
	Nw_interface_radio_type_cell_nr_sa_mmw  Nw_interface_radio_type_t = 132
	Nw_interface_radio_type_cell_wcdma      Nw_interface_radio_type_t = 133
	Nw_interface_radio_type_cell_gsm        Nw_interface_radio_type_t = 134
	Nw_interface_radio_type_cell_cdma       Nw_interface_radio_type_t = 135
	Nw_interface_radio_type_cell_evdo       Nw_interface_radio_type_t = 136
)

func (Nw_interface_radio_type_t) String

func (e Nw_interface_radio_type_t) String() string

type Nw_interface_type_t

type Nw_interface_type_t int64

@typedef nw_interface_type_t @abstract Interface types represent the underlying media for a network link, such as Wi-Fi or Cellular.

const (
	// @const nw_interface_type_other A virtual or otherwise unknown interface type
	Nw_interface_type_other Nw_interface_type_t = 0
	// @const nw_interface_type_wifi A Wi-Fi link
	Nw_interface_type_wifi Nw_interface_type_t = 1
	// @const nw_interface_type_wifi A Cellular link
	Nw_interface_type_cellular Nw_interface_type_t = 2
	// @const nw_interface_type_wired A Wired Ethernet link
	Nw_interface_type_wired Nw_interface_type_t = 3
	// @const nw_interface_type_loopback The loopback interface
	Nw_interface_type_loopback Nw_interface_type_t = 4
)

func (Nw_interface_type_t) String

func (e Nw_interface_type_t) String() string

type Nw_ip_ecn_flag_t

type Nw_ip_ecn_flag_t int64

@typedef nw_ip_ecn_flag_t @abstract ECN flags marked in IP headers to indicate congestion.

const (
	// @const nw_ip_ecn_flag_non_ect Non ECN-Capable Transport, value 0b00
	Nw_ip_ecn_flag_non_ect Nw_ip_ecn_flag_t = 0
	// @const nw_ip_ecn_flag_ect_0 ECN Capable Transport (0), value 0b10
	Nw_ip_ecn_flag_ect_0 Nw_ip_ecn_flag_t = 2
	// @const nw_ip_ecn_flag_ect_1 ECN Capable Transport (1), value 0b01
	Nw_ip_ecn_flag_ect_1 Nw_ip_ecn_flag_t = 1
	// @const nw_ip_ecn_flag_ce Congestion Experienced, value 0b11
	Nw_ip_ecn_flag_ce Nw_ip_ecn_flag_t = 3
)

func (Nw_ip_ecn_flag_t) String

func (e Nw_ip_ecn_flag_t) String() string

type Nw_ip_local_address_preference_t

type Nw_ip_local_address_preference_t int64

@typedef nw_ip_local_address_preference_t @abstract Preference for local addresses selection.

const (
	// @const nw_ip_local_address_preference_default Use system default for address selection
	Nw_ip_local_address_preference_default Nw_ip_local_address_preference_t = 0
	// @const nw_ip_local_address_preference_temporary Prefer temporary (privacy) addresses
	Nw_ip_local_address_preference_temporary Nw_ip_local_address_preference_t = 1
	// @const nw_ip_local_address_preference_stable Prefer stable addresses
	Nw_ip_local_address_preference_stable Nw_ip_local_address_preference_t = 2
)

func (Nw_ip_local_address_preference_t) String

type Nw_ip_version_t

type Nw_ip_version_t int64

@typedef nw_ip_version_t @abstract A specific version of the Internet Protocol.

const (
	// @const nw_ip_version_any Allow any IP version
	Nw_ip_version_any Nw_ip_version_t = 0
	// @const nw_ip_version_4 Use IP version 4 (IPv4)
	Nw_ip_version_4 Nw_ip_version_t = 4
	// @const nw_ip_version_6 Use IP version 6 (IPv6)
	Nw_ip_version_6 Nw_ip_version_t = 6
)

func (Nw_ip_version_t) String

func (e Nw_ip_version_t) String() string
type Nw_link_quality_t int64

@typedef nw_link_quality_t @abstract Link quality measurement is a representation of the expected capabilities of the link layer network attachment. Use this value to tune initial values for algorithms that can scale with the capabilities of the network. Do not use this value to gate connection attempts or to override adjustments that would be made based on actual network performance.

const (
	// @const nw_link_quality_unknown No link quality measurement is available
	Nw_link_quality_unknown Nw_link_quality_t = 0
	// @const nw_link_quality_minimal Link quality is minimal
	Nw_link_quality_minimal Nw_link_quality_t = 10
	// @const nw_link_quality_moderate Link quality is moderate
	Nw_link_quality_moderate Nw_link_quality_t = 20
	// @const nw_link_quality_good Link quality is good
	Nw_link_quality_good Nw_link_quality_t = 30
)
func (e Nw_link_quality_t) String() string

type Nw_listener_state_t

type Nw_listener_state_t int64

@typedef nw_listener_state_t @abstract Listener states sent by nw_listener_set_state_changed_handler. States progress forward and do not move backwards.

const (
	// @const nw_listener_state_invalid The state of the listener is not valid. This state will never be delivered in the listener's state update handler, and can be treated as an unexpected value.
	Nw_listener_state_invalid Nw_listener_state_t = 0
	// @const nw_listener_state_waiting The listener is waiting for a usable network before being able to receive connections
	Nw_listener_state_waiting Nw_listener_state_t = 1
	// @const nw_listener_state_ready The listener is ready and able to accept incoming connections
	Nw_listener_state_ready Nw_listener_state_t = 2
	// @const nw_listener_state_failed The listener has irrecoverably closed or failed
	Nw_listener_state_failed Nw_listener_state_t = 3
	// @const nw_listener_state_cancelled The listener has been cancelled by the caller
	Nw_listener_state_cancelled Nw_listener_state_t = 4
)

func (Nw_listener_state_t) String

func (e Nw_listener_state_t) String() string

type Nw_multipath_service_t

type Nw_multipath_service_t int64

@typedef nw_multipath_service_t @abstract Multipath services represent the modes of multipath usage that are allowed for connections.

const (
	// @const nw_multipath_service_disabled No multipath transport will be attempted
	Nw_multipath_service_disabled Nw_multipath_service_t = 0
	// @const nw_multipath_service_handover Only use the expensive interface when the when the primary one is not available
	Nw_multipath_service_handover Nw_multipath_service_t = 1
	// @const nw_multipath_service_interactive Use the expensive interface more aggressively to reduce latency
	Nw_multipath_service_interactive Nw_multipath_service_t = 2
	// @const nw_multipath_service_aggregate Use all available interfaces to provide the highest throughput and lowest latency
	Nw_multipath_service_aggregate Nw_multipath_service_t = 3
)

func (Nw_multipath_service_t) String

func (e Nw_multipath_service_t) String() string

type Nw_multipath_version_t

type Nw_multipath_version_t int64

@typedef nw_multipath_version_t @abstract Multipath versions represent the MPTCP standard versions

const (
	// @const nw_multipath_version_unspecified MPTCP unspecified version
	Nw_multipath_version_unspecified Nw_multipath_version_t = -1
	// @const nw_multipath_version_0 MPTCP version 0
	Nw_multipath_version_0 Nw_multipath_version_t = 0
	// @const nw_multipath_version_1 MPTCP version 1
	Nw_multipath_version_1 Nw_multipath_version_t = 1
)

func (Nw_multipath_version_t) String

func (e Nw_multipath_version_t) String() string

type Nw_parameters_expired_dns_behavior_t

type Nw_parameters_expired_dns_behavior_t int64

@typedef nw_parameters_expired_dns_behavior_t @abstract Expired DNS behavior defines whether or not a connection will allow the use of expired DNS answers during connection establishment.

const (
	// @const nw_parameters_expired_dns_behavior_default Let the system determine whether or not to allow expired DNS answers
	Nw_parameters_expired_dns_behavior_default Nw_parameters_expired_dns_behavior_t = 0
	// @const nw_parameters_expired_dns_behavior_allow Explicitly allow the use of expired DNS answers
	Nw_parameters_expired_dns_behavior_allow Nw_parameters_expired_dns_behavior_t = 1
	// @const nw_parameters_expired_dns_behavior_allow Explicitly prohibit the use of expired DNS answers
	Nw_parameters_expired_dns_behavior_prohibit Nw_parameters_expired_dns_behavior_t = 2
	// @const nw_parameters_expired_dns_behavior_persistent Allow the use of expired DNS answers, and store answers in a persistent per-process cache. This should only be set for hostnames whose resolutions are not expected to change across networks.
	Nw_parameters_expired_dns_behavior_persistent Nw_parameters_expired_dns_behavior_t = 3
)

func (Nw_parameters_expired_dns_behavior_t) String

type Nw_path_status_t

type Nw_path_status_t int64

@typedef nw_path_status_t @abstract A network path status indicates if there is a usable route available upon which to send and receive data.

const (
	// @const nw_path_status_invalid The path is not valid
	Nw_path_status_invalid Nw_path_status_t = 0
	// @const nw_path_status_satisfied The path has a usable route upon which to send and receive data
	Nw_path_status_satisfied Nw_path_status_t = 1
	// @const nw_path_status_unsatisfied The path does not have a usable route. This may be due to a network interface being down, or due to system policy.
	Nw_path_status_unsatisfied Nw_path_status_t = 2
	// @const nw_path_status_satisfiable The path does not currently have a usable route, but a connection attempt will trigger network attachment
	Nw_path_status_satisfiable Nw_path_status_t = 3
)

func (Nw_path_status_t) String

func (e Nw_path_status_t) String() string

type Nw_path_unsatisfied_reason_t

type Nw_path_unsatisfied_reason_t int64

@typedef nw_path_unsatisfied_reason_t @abstract A network path unsatisfied reason may indicate the reason the path is currently unsatisfied for some conditions.

const (
	// @const nw_path_unsatisfied_reason_not_available No reason is given
	Nw_path_unsatisfied_reason_not_available Nw_path_unsatisfied_reason_t = 0
	// @const nw_path_unsatisfied_reason_cellular_denied The user has disabled cellular
	Nw_path_unsatisfied_reason_cellular_denied Nw_path_unsatisfied_reason_t = 1
	// @const nw_path_unsatisfied_reason_wifi_denied The user has disabled Wi-Fi
	Nw_path_unsatisfied_reason_wifi_denied Nw_path_unsatisfied_reason_t = 2
	// @const nw_path_unsatisfied_reason_local_network_denied The user has disabled local network access
	Nw_path_unsatisfied_reason_local_network_denied Nw_path_unsatisfied_reason_t = 3
	// @const nw_path_unsatisfied_reason_vpn_inactive A required VPN is not active
	Nw_path_unsatisfied_reason_vpn_inactive Nw_path_unsatisfied_reason_t = 4
)

func (Nw_path_unsatisfied_reason_t) String

type Nw_quic_stream_type_t

type Nw_quic_stream_type_t int64

@typedef nw_quic_stream_type_t @abstract Represents the type of a QUIC stream.

const (
	// @const nw_quic_stream_type_unknown 		A QUIC stream whose direction can not be determined.
	Nw_quic_stream_type_unknown Nw_quic_stream_type_t = 0
	// @const nw_quic_stream_type_bidirectional	A bidirectional QUIC stream.
	Nw_quic_stream_type_bidirectional Nw_quic_stream_type_t = 1
	// @const nw_quic_stream_type_unidirectional 	An unidirectional QUIC stream.
	Nw_quic_stream_type_unidirectional Nw_quic_stream_type_t = 2
	// @const nw_quic_stream_type_datagram 		A QUIC datagram stream.
	Nw_quic_stream_type_datagram Nw_quic_stream_type_t = 3
)

func (Nw_quic_stream_type_t) String

func (e Nw_quic_stream_type_t) String() string

type Nw_report_resolution_protocol_t

type Nw_report_resolution_protocol_t int64

@typedef nw_report_resolution_protocol_t @abstract The protocol used for endpoint resolution.

const (
	// @const nw_report_resolution_protocol_unknown The protocol used is not known, or not applicable
	Nw_report_resolution_protocol_unknown Nw_report_resolution_protocol_t = 0
	// @const nw_report_resolution_protocol_udp Resolution used DNS over UDP
	Nw_report_resolution_protocol_udp Nw_report_resolution_protocol_t = 1
	// @const nw_report_resolution_protocol_tcp Resolution used DNS over TCP
	Nw_report_resolution_protocol_tcp Nw_report_resolution_protocol_t = 2
	// @const nw_report_resolution_protocol_tls Resolution used DNS over TLS
	Nw_report_resolution_protocol_tls Nw_report_resolution_protocol_t = 3
	// @const nw_report_resolution_protocol_https Resolution used DNS over HTTPS
	Nw_report_resolution_protocol_https Nw_report_resolution_protocol_t = 4
)

func (Nw_report_resolution_protocol_t) String

type Nw_report_resolution_source_t

type Nw_report_resolution_source_t int64

@typedef nw_report_resolution_source_t @abstract The source of a resolution indicates if the set of endpoints was resolved locally using a cache, or sent a query over the network.

const (
	// @const nw_report_resolution_source_query A query was sent over the network
	Nw_report_resolution_source_query Nw_report_resolution_source_t = 1
	// @const nw_report_resolution_source_cache The local cache was used
	Nw_report_resolution_source_cache Nw_report_resolution_source_t = 2
	// @const nw_report_resolution_source_expired_cache An expired entry in the local cache was used
	Nw_report_resolution_source_expired_cache Nw_report_resolution_source_t = 3
)

func (Nw_report_resolution_source_t) String

type Nw_service_class_t

type Nw_service_class_t int64

@typedef nw_service_class_t @abstract The network service class represents the network queuing priority to use for traffic generated by a connection.

const (
	// @const nw_service_class_best_effort Default priority traffic
	Nw_service_class_best_effort Nw_service_class_t = 0
	// @const nw_service_class_background Bulk traffic, or traffic that can be de-prioritized behind foreground traffic
	Nw_service_class_background Nw_service_class_t = 1
	// @const nw_service_class_interactive_video Interactive video traffic
	Nw_service_class_interactive_video Nw_service_class_t = 2
	// @const nw_service_class_interactive_voice Interactive voice traffic
	Nw_service_class_interactive_voice Nw_service_class_t = 3
	// @const nw_service_class_responsive_data Interactive user data
	Nw_service_class_responsive_data Nw_service_class_t = 4
	// @const nw_service_class_signaling Bursty but short. Intolerant of delay and loss. For example, SIP.
	Nw_service_class_signaling Nw_service_class_t = 5
)

func (Nw_service_class_t) String

func (e Nw_service_class_t) String() string

type Nw_txt_record_find_key_t

type Nw_txt_record_find_key_t int64

@typedef nw_txt_record_find_key_t @abstract An enumeration of possible find results when trying to find a key-value pair in the TXT record object.

const (
	// @const nw_txt_record_find_key_invalid The key is invalid. According to RFC 1464, a key is invalid if it is an empty string, contains non-ASCII characters, or has length greater than UINT8_MAX.
	Nw_txt_record_find_key_invalid Nw_txt_record_find_key_t = 0
	// @const nw_txt_record_find_key_not_present The key-value pair does not exist in the TXT record.
	Nw_txt_record_find_key_not_present Nw_txt_record_find_key_t = 1
	// @const nw_txt_record_find_key_no_value The key exists in the TXT record, but has no assigned value.
	Nw_txt_record_find_key_no_value Nw_txt_record_find_key_t = 2
	// @const nw_txt_record_find_key_empty_value The key exists in the TXT record with an empty value.
	Nw_txt_record_find_key_empty_value Nw_txt_record_find_key_t = 3
	// @const nw_txt_record_find_key_non_empty_value The key exists in the TXT record with a non-empty value.
	Nw_txt_record_find_key_non_empty_value Nw_txt_record_find_key_t = 4
)

func (Nw_txt_record_find_key_t) String

func (e Nw_txt_record_find_key_t) String() string

type Nw_ws_close_code_t

type Nw_ws_close_code_t int64

@typedef nw_ws_close_code_t @abstract WebSocket close codes that describe the reason for closing a WebSocket connection. Endpoints MAY use the following pre-defined status codes when sending a Close frame.

const (
	// @const nw_ws_close_code_normal_closure Indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
	Nw_ws_close_code_normal_closure Nw_ws_close_code_t = 1000
	// @const nw_ws_close_code_normal_going_away Indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
	Nw_ws_close_code_going_away Nw_ws_close_code_t = 1001
	// @const nw_ws_close_code_protocol_error Indicates that an endpoint is terminating the connection due to a protocol error.
	Nw_ws_close_code_protocol_error Nw_ws_close_code_t = 1002
	// @const nw_ws_close_code_normal_closure Indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
	Nw_ws_close_code_unsupported_data Nw_ws_close_code_t = 1003
	// @const nw_ws_close_code_no_status_received A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that no status code was actually present.
	Nw_ws_close_code_no_status_received Nw_ws_close_code_t = 1005
	// @const nw_ws_close_code_abnormal_closure A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed abnormally, e.g., without sending or receiving a Close control frame.
	Nw_ws_close_code_abnormal_closure Nw_ws_close_code_t = 1006
	// @const nw_ws_close_code_invalid_frame_payload_data Indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).
	Nw_ws_close_code_invalid_frame_payload_data Nw_ws_close_code_t = 1007
	// @const nw_ws_close_code_policy_violation Indicates that an endpoint is terminating the connection because it has received a message that violates its policy. This is a generic status code that can be returned when there is no other more suitable status code (e.g., 1003 or 1009) or if there is a need to hide specific details about the policy.
	Nw_ws_close_code_policy_violation Nw_ws_close_code_t = 1008
	// @const nw_ws_close_code_message_too_big Indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
	Nw_ws_close_code_message_too_big Nw_ws_close_code_t = 1009
	// @const nw_ws_close_code_mandatory_extension Indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extensions, but the server didn't return them in the response message of the WebSocket handshake. The list of extensions that are needed SHOULD appear in the /reason/ part of the Close frame. Note that this status code is not used by the server, because it can fail the WebSocket handshake instead.
	Nw_ws_close_code_mandatory_extension Nw_ws_close_code_t = 1010
	// @const nw_ws_close_code_internal_server_error Indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
	Nw_ws_close_code_internal_server_error Nw_ws_close_code_t = 1011
	// @const nw_ws_close_code_tls_handshake A reserved value and MUST NOT be set as a status code in a Close control frame by an endpoint. It is designated for use in applications expecting a status code to indicate that the connection was closed due to a failure to perform a TLS handshake (e.g., the server certificate can't be verified).
	Nw_ws_close_code_tls_handshake Nw_ws_close_code_t = 1015
)

func (Nw_ws_close_code_t) String

func (e Nw_ws_close_code_t) String() string

type Nw_ws_opcode_t

type Nw_ws_opcode_t int64

@typedef nw_ws_opcode_t @abstract WebSocket opcodes that denote the type of frame sent or received by a WebSocket endpoint. Opcodes define the interpretation of their associated payload data.

const (
	// @const nw_ws_opcode_invalid Denotes an invalid frame.
	Nw_ws_opcode_invalid Nw_ws_opcode_t = -1
	// @const nw_ws_opcode_cont Denotes a continuation frame. Protocol WebSocket handles continuation frames internally, so clients will not see or use continuation frames.
	Nw_ws_opcode_cont Nw_ws_opcode_t = 0
	// @const nw_ws_opcode_text Denotes a text frame.
	Nw_ws_opcode_text Nw_ws_opcode_t = 1
	// @const nw_ws_opcode_text Denotes a binary frame.
	Nw_ws_opcode_binary Nw_ws_opcode_t = 2
	// @const nw_ws_opcode_text Denotes a close frame.
	Nw_ws_opcode_close Nw_ws_opcode_t = 8
	// @const nw_ws_opcode_text Denotes a ping frame.
	Nw_ws_opcode_ping Nw_ws_opcode_t = 9
	// @const nw_ws_opcode_text Denotes a pong frame.
	Nw_ws_opcode_pong Nw_ws_opcode_t = 10
)

func (Nw_ws_opcode_t) String

func (e Nw_ws_opcode_t) String() string

type Nw_ws_response_status_t

type Nw_ws_response_status_t int64

@typedef nw_ws_response_status_t @abstract The status of a WebSocket server's response to a client's request to connect.

const (
	// @const nw_ws_response_status_invalid The response is invalid. This should be treated as an unexpected value.
	Nw_ws_response_status_invalid Nw_ws_response_status_t = 0
	// @const nw_ws_response_status_accept Accept the request to connect. The WebSocket connection will begin framing data.
	Nw_ws_response_status_accept Nw_ws_response_status_t = 1
	// @const nw_ws_response_status_accept Reject the request to connect. The WebSocket connection will be closed.
	Nw_ws_response_status_reject Nw_ws_response_status_t = 2
)

func (Nw_ws_response_status_t) String

func (e Nw_ws_response_status_t) String() string

type Nw_ws_version_t

type Nw_ws_version_t int64

@typedef nw_ws_version_t @abstract The WebSocket Protocol version.

const (
	// @const nw_ws_version_invalid An invalid WebSocket version
	Nw_ws_version_invalid Nw_ws_version_t = 0
	// @const nw_ws_version_13 WebSocket v13 as defined in RFC 6455
	Nw_ws_version_13 Nw_ws_version_t = 1
)

func (Nw_ws_version_t) String

func (e Nw_ws_version_t) String() string

type Os_clockid_t

type Os_clockid_t int64
const (
	OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)

func (Os_clockid_t) String

func (e Os_clockid_t) String() string

type Os_unfair_lock_flags_t

type Os_unfair_lock_flags_t int64
const (
	OS_UNFAIR_LOCK_FLAG_NONE          Os_unfair_lock_flags_t = 0
	OS_UNFAIR_LOCK_FLAG_ADAPTIVE_SPIN Os_unfair_lock_flags_t = 262144
)

func (Os_unfair_lock_flags_t) String

func (e Os_unfair_lock_flags_t) String() string

type PMPageToPaperMappingType

type PMPageToPaperMappingType int64
const (
	KPMPageToPaperMappingNone       PMPageToPaperMappingType = 1
	KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2
)

func (PMPageToPaperMappingType) String

func (e PMPageToPaperMappingType) String() string

type Ptrauth_key

type Ptrauth_key int64
const (
	Ptrauth_key_none                     Ptrauth_key = -1
	Ptrauth_key_asia                     Ptrauth_key = 0
	Ptrauth_key_asib                     Ptrauth_key = 1
	Ptrauth_key_asda                     Ptrauth_key = 2
	Ptrauth_key_asdb                     Ptrauth_key = 3
	Ptrauth_key_process_independent_code Ptrauth_key = 0
	Ptrauth_key_process_dependent_code   Ptrauth_key = 1
	Ptrauth_key_process_independent_data Ptrauth_key = 2
	Ptrauth_key_process_dependent_data   Ptrauth_key = 3
	Ptrauth_key_return_address           Ptrauth_key = 1
	Ptrauth_key_frame_pointer            Ptrauth_key = 3
	Ptrauth_key_function_pointer         Ptrauth_key = 0
	Ptrauth_key_block_function           Ptrauth_key = 0
	Ptrauth_key_cxx_vtable_pointer       Ptrauth_key = 2
	Ptrauth_key_method_list_pointer      Ptrauth_key = 2
	Ptrauth_key_objc_isa_pointer         Ptrauth_key = 2
	Ptrauth_key_objc_super_pointer       Ptrauth_key = 2
	Ptrauth_key_objc_sel_pointer         Ptrauth_key = 3
	Ptrauth_key_objc_class_ro_pointer    Ptrauth_key = 2
	Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2
	Ptrauth_key_init_fini_pointer        Ptrauth_key = 0
)

func (Ptrauth_key) String

func (e Ptrauth_key) String() string

type Qos_class_t

type Qos_class_t uint32
const (
	QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33
	QOS_CLASS_USER_INITIATED   Qos_class_t = 25
	QOS_CLASS_DEFAULT          Qos_class_t = 21
	QOS_CLASS_UTILITY          Qos_class_t = 17
	QOS_CLASS_BACKGROUND       Qos_class_t = 9
	QOS_CLASS_UNSPECIFIED      Qos_class_t = 0
)

func (Qos_class_t) String

func (e Qos_class_t) String() string

type Virtual_memory_guard_exception_code_t

type Virtual_memory_guard_exception_code_t int64
const (
	KGUARD_EXC_DEALLOC_GAP                   Virtual_memory_guard_exception_code_t = 1
	KGUARD_EXC_RECLAIM_COPYIO_FAILURE        Virtual_memory_guard_exception_code_t = 2
	KGUARD_EXC_RECLAIM_INDEX_FAILURE         Virtual_memory_guard_exception_code_t = 4
	KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE    Virtual_memory_guard_exception_code_t = 8
	KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE    Virtual_memory_guard_exception_code_t = 9
	KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE         Virtual_memory_guard_exception_code_t = 10
	KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE         Virtual_memory_guard_exception_code_t = 11
	KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION  Virtual_memory_guard_exception_code_t = 12
	KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY    Virtual_memory_guard_exception_code_t = 13
	KGUARD_EXC_SEC_ACCESS_FAULT              Virtual_memory_guard_exception_code_t = 98
	KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT        Virtual_memory_guard_exception_code_t = 99
	KGUARD_EXC_SEC_COPY_DENIED               Virtual_memory_guard_exception_code_t = 100
	KGUARD_EXC_SEC_SHARING_DENIED            Virtual_memory_guard_exception_code_t = 101
	KGUARD_EXC_MTE_SYNC_FAULT                Virtual_memory_guard_exception_code_t = 200
	KGUARD_EXC_MTE_ASYNC_USER_FAULT          Virtual_memory_guard_exception_code_t = 201
	KGUARD_EXC_MTE_ASYNC_KERN_FAULT          Virtual_memory_guard_exception_code_t = 202
	KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203
	KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204
)

func (Virtual_memory_guard_exception_code_t) String

type WKAudiovisualMediaTypes

type WKAudiovisualMediaTypes uint64
const (
	WKAudiovisualMediaTypeNone  WKAudiovisualMediaTypes = 0
	WKAudiovisualMediaTypeAudio WKAudiovisualMediaTypes = 1
	WKAudiovisualMediaTypeVideo WKAudiovisualMediaTypes = 2
	WKAudiovisualMediaTypeAll   WKAudiovisualMediaTypes = 18446744073709551615
)

func (WKAudiovisualMediaTypes) String

func (e WKAudiovisualMediaTypes) String() string

type WKBackForwardList

type WKBackForwardList struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkbackforwardlist

func WKBackForwardListFromID

func WKBackForwardListFromID(id objc.ID) *WKBackForwardList

func (*WKBackForwardList) BackItem

@abstract The item immediately preceding the current item, or nil if there isn't one.

func (*WKBackForwardList) BackList

@abstract The portion of the list preceding the current item. @discussion The items are in the order in which they were originally visited.

func (*WKBackForwardList) CurrentItem

func (o *WKBackForwardList) CurrentItem() *WKBackForwardListItem

@abstract The current item.

func (*WKBackForwardList) ForwardItem

func (o *WKBackForwardList) ForwardItem() *WKBackForwardListItem

@abstract The item immediately following the current item, or nil if there isn't one.

func (*WKBackForwardList) ForwardList

@abstract The portion of the list following the current item. @discussion The items are in the order in which they were originally visited.

func (*WKBackForwardList) ItemAtIndex

func (o *WKBackForwardList) ItemAtIndex(index int) *WKBackForwardListItem

@abstract Returns the item at a specified distance from the current item. @param index Index of the desired list item relative to the current item: 0 for the current item, -1 for the immediately preceding item, 1 for the immediately following item, and so on. @result The item at the specified distance from the current item, or nil if the index parameter exceeds the limits of the list.

type WKBackForwardListItem

type WKBackForwardListItem struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkbackforwardlistitem

func WKBackForwardListItemFromID

func WKBackForwardListItemFromID(id objc.ID) *WKBackForwardListItem

func (*WKBackForwardListItem) InitialURL

func (o *WKBackForwardListItem) InitialURL() *foundation.NSURL

@abstract The URL of the initial request that created this item.

func (*WKBackForwardListItem) Title

@abstract The title of the webpage represented by this item.

func (*WKBackForwardListItem) URL

@abstract The URL of the webpage represented by this item.

type WKContentMode

type WKContentMode int64
const (
	WKContentModeRecommended WKContentMode = 0
	WKContentModeMobile      WKContentMode = 1
	WKContentModeDesktop     WKContentMode = 2
)

func (WKContentMode) String

func (e WKContentMode) String() string

type WKContentRuleList

type WKContentRuleList struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkcontentrulelist

func WKContentRuleListFromID

func WKContentRuleListFromID(id objc.ID) *WKContentRuleList

func (*WKContentRuleList) Identifier

func (o *WKContentRuleList) Identifier() *foundation.NSString

type WKContentRuleListStore

type WKContentRuleListStore struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkcontentruleliststore

func WKContentRuleListStoreDefaultStore

func WKContentRuleListStoreDefaultStore() *WKContentRuleListStore

func WKContentRuleListStoreFromID

func WKContentRuleListStoreFromID(id objc.ID) *WKContentRuleListStore

func WKContentRuleListStoreStoreWithURL

func WKContentRuleListStoreStoreWithURL(url *foundation.NSURL) *WKContentRuleListStore

func (*WKContentRuleListStore) CompileContentRuleListForIdentifierEncodedContentRuleListCompletionHandler

func (o *WKContentRuleListStore) CompileContentRuleListForIdentifierEncodedContentRuleListCompletionHandler(identifier *foundation.NSString, encodedContentRuleList *foundation.NSString, completionHandler func(*WKContentRuleList, unsafe.Pointer))

func (*WKContentRuleListStore) GetAvailableContentRuleListIdentifiers

func (o *WKContentRuleListStore) GetAvailableContentRuleListIdentifiers(completionHandler objc.Block)

func (*WKContentRuleListStore) LookUpContentRuleListForIdentifierCompletionHandler

func (o *WKContentRuleListStore) LookUpContentRuleListForIdentifierCompletionHandler(identifier *foundation.NSString, completionHandler func(*WKContentRuleList, unsafe.Pointer))

func (*WKContentRuleListStore) RemoveContentRuleListForIdentifierCompletionHandler

func (o *WKContentRuleListStore) RemoveContentRuleListForIdentifierCompletionHandler(identifier *foundation.NSString, completionHandler func(unsafe.Pointer))

type WKContentWorld

type WKContentWorld struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkcontentworld

func WKContentWorldDefaultClientWorld

func WKContentWorldDefaultClientWorld() *WKContentWorld

@abstract Retrieve the default world for API client use. @discussion When using a content world different from the page content world you can still manipulate the DOM and built-in DOM APIs but without conflicting with other aspects of the page content (e.g. JavaScript from the web page content itself) Repeated calls will retrieve the same WKContentWorld instance.

func WKContentWorldFromID

func WKContentWorldFromID(id objc.ID) *WKContentWorld

func WKContentWorldPageWorld

func WKContentWorldPageWorld() *WKContentWorld

@abstract Retrieve the main world that page content itself uses. @discussion When interacting with page content in a WKWebView using the page content world you can disrupt the operation of page content (e.g. by conflicting with variable names in JavaScript set by the web page content itself).

func WKContentWorldWorldWithName

func WKContentWorldWorldWithName(name *foundation.NSString) *WKContentWorld

@abstract Retrieves a named content world for API client use. @param name The name of the WKContentWorld to retrieve. @discussion When using a content world different from the page content world you can still manipulate the DOM and built-in DOM APIs but without conflicting with other aspects of the page content (e.g. JavaScript from the web page content itself) As long as a particular named WKContentWorld instance has not been deallocated, repeated calls with the same name will retrieve that same WKContentWorld instance. Each named content world is distinct from all other named content worlds, the defaultClientWorld, and the pageWorld. The name can be used to keep distinct worlds identifiable anywhere a world might be surfaced in a user interface. For example, the different worlds used in your application will be surfaced by name in the WebKit Web Inspector.

func (*WKContentWorld) Name

func (o *WKContentWorld) Name() *foundation.NSString

@abstract The name of the WKContentWorld @discussion The pageWorld and defaultClientWorld instances will have a nil name. All other instances will have the non-nil name they were accessed by.

type WKCookiePolicy

type WKCookiePolicy int64
const (
	WKCookiePolicyAllow    WKCookiePolicy = 0
	WKCookiePolicyDisallow WKCookiePolicy = 1
)

func (WKCookiePolicy) String

func (e WKCookiePolicy) String() string

type WKDialogResult

type WKDialogResult int64
const (
	WKDialogResultShowDefault WKDialogResult = 1
	WKDialogResultAskAgain    WKDialogResult = 2
	WKDialogResultHandled     WKDialogResult = 3
)

func (WKDialogResult) String

func (e WKDialogResult) String() string

type WKDownload

type WKDownload struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkdownload

func WKDownloadFromID

func WKDownloadFromID(id objc.ID) *WKDownload

func (*WKDownload) Cancel

func (o *WKDownload) Cancel(completionHandler func(*foundation.NSData))

func (*WKDownload) Delegate

func (o *WKDownload) Delegate() WKDownloadDelegate

func (*WKDownload) IsUserInitiated

func (o *WKDownload) IsUserInitiated() bool

func (*WKDownload) OriginalRequest

func (o *WKDownload) OriginalRequest() *foundation.NSURLRequest

func (*WKDownload) OriginatingFrame

func (o *WKDownload) OriginatingFrame() *WKFrameInfo

func (*WKDownload) SetDelegate

func (o *WKDownload) SetDelegate(delegate WKDownloadDelegate)

func (*WKDownload) WebView

func (o *WKDownload) WebView() *WKWebView

type WKDownloadDelegate

type WKDownloadDelegate interface {
	DownloadDecideDestinationUsingResponseSuggestedFilenameCompletionHandler(download *WKDownload, response *foundation.NSURLResponse, suggestedFilename *foundation.NSString, completionHandler func(*foundation.NSURL))
}

WKDownloadDelegate wraps the ObjC protocol WKDownloadDelegate.

type WKDownloadPlaceholderPolicy

type WKDownloadPlaceholderPolicy int64
const (
	WKDownloadPlaceholderPolicyDisable WKDownloadPlaceholderPolicy = 0
	WKDownloadPlaceholderPolicyEnable  WKDownloadPlaceholderPolicy = 1
)

func (WKDownloadPlaceholderPolicy) String

type WKDownloadRedirectPolicy

type WKDownloadRedirectPolicy int64
const (
	WKDownloadRedirectPolicyCancel WKDownloadRedirectPolicy = 0
	WKDownloadRedirectPolicyAllow  WKDownloadRedirectPolicy = 1
)

func (WKDownloadRedirectPolicy) String

func (e WKDownloadRedirectPolicy) String() string

type WKErrorCode

type WKErrorCode int64
const (
	WKErrorUnknown                             WKErrorCode = 1
	WKErrorWebContentProcessTerminated         WKErrorCode = 2
	WKErrorWebViewInvalidated                  WKErrorCode = 3
	WKErrorJavaScriptExceptionOccurred         WKErrorCode = 4
	WKErrorJavaScriptResultTypeIsUnsupported   WKErrorCode = 5
	WKErrorContentRuleListStoreCompileFailed   WKErrorCode = 6
	WKErrorContentRuleListStoreLookUpFailed    WKErrorCode = 7
	WKErrorContentRuleListStoreRemoveFailed    WKErrorCode = 8
	WKErrorContentRuleListStoreVersionMismatch WKErrorCode = 9
	WKErrorAttributedStringContentFailedToLoad WKErrorCode = 10
	WKErrorAttributedStringContentLoadTimedOut WKErrorCode = 11
	WKErrorJavaScriptInvalidFrameTarget        WKErrorCode = 12
	WKErrorNavigationAppBoundDomain            WKErrorCode = 13
	WKErrorJavaScriptAppBoundDomain            WKErrorCode = 14
	WKErrorDuplicateCredential                 WKErrorCode = 15
	WKErrorMalformedCredential                 WKErrorCode = 16
	WKErrorCredentialNotFound                  WKErrorCode = 17
)

func (WKErrorCode) String

func (e WKErrorCode) String() string

type WKFindConfiguration

type WKFindConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkfindconfiguration

func WKFindConfigurationFromID

func WKFindConfigurationFromID(id objc.ID) *WKFindConfiguration

func (*WKFindConfiguration) Backwards

func (o *WKFindConfiguration) Backwards() bool

func (*WKFindConfiguration) CaseSensitive

func (o *WKFindConfiguration) CaseSensitive() bool

func (*WKFindConfiguration) SetBackwards

func (o *WKFindConfiguration) SetBackwards(backwards bool)

func (*WKFindConfiguration) SetCaseSensitive

func (o *WKFindConfiguration) SetCaseSensitive(caseSensitive bool)

func (*WKFindConfiguration) SetWraps

func (o *WKFindConfiguration) SetWraps(wraps bool)

func (*WKFindConfiguration) Wraps

func (o *WKFindConfiguration) Wraps() bool

type WKFindResult

type WKFindResult struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkfindresult

func WKFindResultFromID

func WKFindResultFromID(id objc.ID) *WKFindResult

func (*WKFindResult) MatchFound

func (o *WKFindResult) MatchFound() bool

type WKFrameInfo

type WKFrameInfo struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkframeinfo

func WKFrameInfoFromID

func WKFrameInfoFromID(id objc.ID) *WKFrameInfo

func (*WKFrameInfo) IsMainFrame

func (o *WKFrameInfo) IsMainFrame() bool

@abstract A Boolean value indicating whether the frame is the main frame or a subframe.

func (*WKFrameInfo) Request

func (o *WKFrameInfo) Request() *foundation.NSURLRequest

@abstract The frame's current request.

func (*WKFrameInfo) SecurityOrigin

func (o *WKFrameInfo) SecurityOrigin() *WKSecurityOrigin

@abstract The frame's current security origin.

func (*WKFrameInfo) WebView

func (o *WKFrameInfo) WebView() *WKWebView

@abstract The web view of the webpage that contains this frame.

type WKFullscreenState

type WKFullscreenState int64
const (
	WKFullscreenStateNotInFullscreen    WKFullscreenState = 0
	WKFullscreenStateEnteringFullscreen WKFullscreenState = 1
	WKFullscreenStateInFullscreen       WKFullscreenState = 2
	WKFullscreenStateExitingFullscreen  WKFullscreenState = 3
)

func (WKFullscreenState) String

func (e WKFullscreenState) String() string

type WKHTTPCookieStore

type WKHTTPCookieStore struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkhttpcookiestore

func WKHTTPCookieStoreFromID

func WKHTTPCookieStoreFromID(id objc.ID) *WKHTTPCookieStore

func (*WKHTTPCookieStore) AddObserver

func (o *WKHTTPCookieStore) AddObserver(observer WKHTTPCookieStoreObserver)

@abstract Adds a WKHTTPCookieStoreObserver object with the cookie store. @param observer The observer object to add. @discussion The observer is not retained by the receiver. It is your responsibility to unregister the observer before it becomes invalid.

func (*WKHTTPCookieStore) DeleteCookieCompletionHandler

func (o *WKHTTPCookieStore) DeleteCookieCompletionHandler(cookie *foundation.NSHTTPCookie, completionHandler func())

@abstract Delete the specified cookie. @param completionHandler A block to invoke once the cookie has been deleted.

func (*WKHTTPCookieStore) GetAllCookies

func (o *WKHTTPCookieStore) GetAllCookies(completionHandler objc.Block)

@abstract Fetches all stored cookies. @param completionHandler A block to invoke with the fetched cookies.

func (*WKHTTPCookieStore) GetCookiePolicy

func (o *WKHTTPCookieStore) GetCookiePolicy(completionHandler func(WKCookiePolicy))

@abstract Get whether cookies are allowed. @param completionHandler A block to invoke with the value of whether cookies are allowed.

func (*WKHTTPCookieStore) RemoveObserver

func (o *WKHTTPCookieStore) RemoveObserver(observer WKHTTPCookieStoreObserver)

@abstract Removes a WKHTTPCookieStoreObserver object from the cookie store. @param observer The observer to remove.

func (*WKHTTPCookieStore) SetCookieCompletionHandler

func (o *WKHTTPCookieStore) SetCookieCompletionHandler(cookie *foundation.NSHTTPCookie, completionHandler func())

@abstract Set a cookie. @param cookie The cookie to set. @param completionHandler A block to invoke once the cookie has been stored.

func (*WKHTTPCookieStore) SetCookiePolicyCompletionHandler

func (o *WKHTTPCookieStore) SetCookiePolicyCompletionHandler(policy WKCookiePolicy, completionHandler func())

@abstract Set whether cookies are allowed. @param policy A value indicating whether cookies are allowed. The default value is WKCookiePolicyAllow. @param completionHandler A block to invoke once the cookie policy has been set.

func (*WKHTTPCookieStore) SetCookiesCompletionHandler

func (o *WKHTTPCookieStore) SetCookiesCompletionHandler(cookies *foundation.NSArray[*foundation.NSHTTPCookie], completionHandler func())

@abstract Set multiple cookies. @param cookies An array of cookies to set. @param completionHandler A block to invoke once the cookies have been stored.

type WKHTTPCookieStoreObserver

type WKHTTPCookieStoreObserver interface {
}

WKHTTPCookieStoreObserver wraps the ObjC protocol WKHTTPCookieStoreObserver.

type WKInactiveSchedulingPolicy

type WKInactiveSchedulingPolicy int64
const (
	WKInactiveSchedulingPolicySuspend  WKInactiveSchedulingPolicy = 0
	WKInactiveSchedulingPolicyThrottle WKInactiveSchedulingPolicy = 1
	WKInactiveSchedulingPolicyNone     WKInactiveSchedulingPolicy = 2
)

func (WKInactiveSchedulingPolicy) String

type WKMediaCaptureState

type WKMediaCaptureState int64
const (
	WKMediaCaptureStateNone   WKMediaCaptureState = 0
	WKMediaCaptureStateActive WKMediaCaptureState = 1
	WKMediaCaptureStateMuted  WKMediaCaptureState = 2
)

func (WKMediaCaptureState) String

func (e WKMediaCaptureState) String() string

type WKMediaCaptureType

type WKMediaCaptureType int64
const (
	WKMediaCaptureTypeCamera              WKMediaCaptureType = 0
	WKMediaCaptureTypeMicrophone          WKMediaCaptureType = 1
	WKMediaCaptureTypeCameraAndMicrophone WKMediaCaptureType = 2
)

func (WKMediaCaptureType) String

func (e WKMediaCaptureType) String() string

type WKMediaPlaybackState

type WKMediaPlaybackState int64
const (
	WKMediaPlaybackStateNone      WKMediaPlaybackState = 0
	WKMediaPlaybackStatePlaying   WKMediaPlaybackState = 1
	WKMediaPlaybackStatePaused    WKMediaPlaybackState = 2
	WKMediaPlaybackStateSuspended WKMediaPlaybackState = 3
)

func (WKMediaPlaybackState) String

func (e WKMediaPlaybackState) String() string

type WKNavigation

type WKNavigation struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wknavigation

func WKNavigationFromID

func WKNavigationFromID(id objc.ID) *WKNavigation

func (*WKNavigation) EffectiveContentMode

func (o *WKNavigation) EffectiveContentMode() WKContentMode

type WKNavigationAction

type WKNavigationAction struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wknavigationaction

func WKNavigationActionFromID

func WKNavigationActionFromID(id objc.ID) *WKNavigationAction

func (*WKNavigationAction) ButtonNumber

func (o *WKNavigationAction) ButtonNumber() int

@abstract The number of the mouse button causing the navigation to be requested.

func (*WKNavigationAction) IsContentRuleListRedirect

func (o *WKNavigationAction) IsContentRuleListRedirect() bool

@abstract Whether or not the navigation is a redirect from a content rule list.

func (*WKNavigationAction) ModifierFlags

func (o *WKNavigationAction) ModifierFlags() appkit.NSEventModifierFlags

@abstract The modifier keys that were in effect when the navigation was requested.

func (*WKNavigationAction) NavigationType

func (o *WKNavigationAction) NavigationType() WKNavigationType

@abstract The type of action that triggered the navigation. @discussion The value is one of the constants of the enumerated type WKNavigationType.

func (*WKNavigationAction) Request

@abstract The navigation's request.

func (*WKNavigationAction) ShouldPerformDownload

func (o *WKNavigationAction) ShouldPerformDownload() bool

@abstract A value indicating whether the web content used a download attribute to indicate that this should be downloaded.

func (*WKNavigationAction) SourceFrame

func (o *WKNavigationAction) SourceFrame() *WKFrameInfo

@abstract The frame requesting the navigation.

func (*WKNavigationAction) TargetFrame

func (o *WKNavigationAction) TargetFrame() *WKFrameInfo

@abstract The target frame, or nil if this is a new window navigation.

type WKNavigationActionPolicy

type WKNavigationActionPolicy int64
const (
	WKNavigationActionPolicyCancel   WKNavigationActionPolicy = 0
	WKNavigationActionPolicyAllow    WKNavigationActionPolicy = 1
	WKNavigationActionPolicyDownload WKNavigationActionPolicy = 2
)

func (WKNavigationActionPolicy) String

func (e WKNavigationActionPolicy) String() string

type WKNavigationDelegate

type WKNavigationDelegate interface {
}

WKNavigationDelegate wraps the ObjC protocol WKNavigationDelegate.

type WKNavigationResponse

type WKNavigationResponse struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wknavigationresponse

func WKNavigationResponseFromID

func WKNavigationResponseFromID(id objc.ID) *WKNavigationResponse

func (*WKNavigationResponse) CanShowMIMEType

func (o *WKNavigationResponse) CanShowMIMEType() bool

@abstract A Boolean value indicating whether WebKit can display the response's MIME type natively. @discussion Allowing a navigation response with a MIME type that can't be shown will cause the navigation to fail.

func (*WKNavigationResponse) IsForMainFrame

func (o *WKNavigationResponse) IsForMainFrame() bool

@abstract A Boolean value indicating whether the frame being navigated is the main frame.

func (*WKNavigationResponse) Response

@abstract The frame's response.

type WKNavigationResponsePolicy

type WKNavigationResponsePolicy int64
const (
	WKNavigationResponsePolicyCancel   WKNavigationResponsePolicy = 0
	WKNavigationResponsePolicyAllow    WKNavigationResponsePolicy = 1
	WKNavigationResponsePolicyDownload WKNavigationResponsePolicy = 2
)

func (WKNavigationResponsePolicy) String

type WKNavigationType

type WKNavigationType int64
const (
	WKNavigationTypeLinkActivated   WKNavigationType = 0
	WKNavigationTypeFormSubmitted   WKNavigationType = 1
	WKNavigationTypeBackForward     WKNavigationType = 2
	WKNavigationTypeReload          WKNavigationType = 3
	WKNavigationTypeFormResubmitted WKNavigationType = 4
	WKNavigationTypeOther           WKNavigationType = -1
)

func (WKNavigationType) String

func (e WKNavigationType) String() string

type WKOpenPanelParameters

type WKOpenPanelParameters struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkopenpanelparameters

func WKOpenPanelParametersFromID

func WKOpenPanelParametersFromID(id objc.ID) *WKOpenPanelParameters

func (*WKOpenPanelParameters) AllowsDirectories

func (o *WKOpenPanelParameters) AllowsDirectories() bool

@abstract Whether the file upload control supports selecting directories.

func (*WKOpenPanelParameters) AllowsMultipleSelection

func (o *WKOpenPanelParameters) AllowsMultipleSelection() bool

@abstract Whether the file upload control supports multiple files.

type WKPDFConfiguration

type WKPDFConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkpdfconfiguration

func WKPDFConfigurationFromID

func WKPDFConfigurationFromID(id objc.ID) *WKPDFConfiguration

func (*WKPDFConfiguration) AllowTransparentBackground

func (o *WKPDFConfiguration) AllowTransparentBackground() bool

@abstract A Boolean value indicating whether the PDF should allow transparent backgrounds. @discussion The default value is `NO`.

func (*WKPDFConfiguration) Rect

@abstract The rect to capture in web page coordinates @discussion If the rect is set to the null rect, the bounds of the currently displayed web page will be used. The initial value is the null rect.

func (*WKPDFConfiguration) SetAllowTransparentBackground

func (o *WKPDFConfiguration) SetAllowTransparentBackground(allowTransparentBackground bool)

func (*WKPDFConfiguration) SetRect

func (o *WKPDFConfiguration) SetRect(rect corefoundation.CGRect)

type WKPermissionDecision

type WKPermissionDecision int64
const (
	WKPermissionDecisionPrompt WKPermissionDecision = 0
	WKPermissionDecisionGrant  WKPermissionDecision = 1
	WKPermissionDecisionDeny   WKPermissionDecision = 2
)

func (WKPermissionDecision) String

func (e WKPermissionDecision) String() string

type WKPreferences

type WKPreferences struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkpreferences

func WKPreferencesFromID

func WKPreferencesFromID(id objc.ID) *WKPreferences

func (*WKPreferences) InactiveSchedulingPolicy

func (o *WKPreferences) InactiveSchedulingPolicy() WKInactiveSchedulingPolicy

@abstract Specify the scheduling policy for the web view when it is inactive and detached from the view hierarchy. Web views are not considered idle when playing media or loading web pages. A suspended web view will pause JavaScript execution and page layout.

func (*WKPreferences) IsElementFullscreenEnabled

func (o *WKPreferences) IsElementFullscreenEnabled() bool

@abstract A Boolean value indicating whether Fullscreen API is enabled. @discussion The default value is NO. We can set it to YES to enable support for the fullscreen API.

func (*WKPreferences) IsFraudulentWebsiteWarningEnabled

func (o *WKPreferences) IsFraudulentWebsiteWarningEnabled() bool

@abstract A Boolean value indicating whether warnings should be shown for suspected fraudulent content such as phishing or malware. @discussion The default value is YES.

func (*WKPreferences) IsSiteSpecificQuirksModeEnabled

func (o *WKPreferences) IsSiteSpecificQuirksModeEnabled() bool

@abstract A Boolean value indicating whether WebKit will apply built-in workarounds (quirks) to improve compatibility with certain known websites. You can disable site-specific quirks to help test your website without these workarounds. Enabled by default.

func (*WKPreferences) IsTextInteractionEnabled

func (o *WKPreferences) IsTextInteractionEnabled() bool

@abstract A Boolean value indicating whether text interaction is disabled.

func (*WKPreferences) JavaEnabled deprecated

func (o *WKPreferences) JavaEnabled() bool

Deprecated: Java is no longer supported

func (*WKPreferences) JavaScriptCanOpenWindowsAutomatically

func (o *WKPreferences) JavaScriptCanOpenWindowsAutomatically() bool

@abstract A Boolean value indicating whether JavaScript can open windows without user interaction. @discussion The default value is NO in iOS and YES in OS X.

func (*WKPreferences) JavaScriptEnabled deprecated

func (o *WKPreferences) JavaScriptEnabled() bool

Deprecated: Use WKWebpagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis

func (*WKPreferences) MinimumFontSize

func (o *WKPreferences) MinimumFontSize() float64

@abstract The minimum font size in points. @discussion The default value is 0.

func (*WKPreferences) PlugInsEnabled deprecated

func (o *WKPreferences) PlugInsEnabled() bool

Deprecated: Plug-ins are no longer supported

func (*WKPreferences) SetElementFullscreenEnabled

func (o *WKPreferences) SetElementFullscreenEnabled(elementFullscreenEnabled bool)

func (*WKPreferences) SetFraudulentWebsiteWarningEnabled

func (o *WKPreferences) SetFraudulentWebsiteWarningEnabled(fraudulentWebsiteWarningEnabled bool)

func (*WKPreferences) SetInactiveSchedulingPolicy

func (o *WKPreferences) SetInactiveSchedulingPolicy(inactiveSchedulingPolicy WKInactiveSchedulingPolicy)

func (*WKPreferences) SetJavaEnabled deprecated

func (o *WKPreferences) SetJavaEnabled(javaEnabled bool)

Deprecated: Java is no longer supported

func (*WKPreferences) SetJavaScriptCanOpenWindowsAutomatically

func (o *WKPreferences) SetJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsAutomatically bool)

func (*WKPreferences) SetJavaScriptEnabled deprecated

func (o *WKPreferences) SetJavaScriptEnabled(javaScriptEnabled bool)

Deprecated: Use WKWebpagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis

func (*WKPreferences) SetMinimumFontSize

func (o *WKPreferences) SetMinimumFontSize(minimumFontSize float64)

func (*WKPreferences) SetPlugInsEnabled deprecated

func (o *WKPreferences) SetPlugInsEnabled(plugInsEnabled bool)

Deprecated: Plug-ins are no longer supported

func (*WKPreferences) SetShouldPrintBackgrounds

func (o *WKPreferences) SetShouldPrintBackgrounds(shouldPrintBackgrounds bool)

func (*WKPreferences) SetSiteSpecificQuirksModeEnabled

func (o *WKPreferences) SetSiteSpecificQuirksModeEnabled(siteSpecificQuirksModeEnabled bool)
func (o *WKPreferences) SetTabFocusesLinks(tabFocusesLinks bool)

func (*WKPreferences) SetTextInteractionEnabled

func (o *WKPreferences) SetTextInteractionEnabled(textInteractionEnabled bool)

func (*WKPreferences) ShouldPrintBackgrounds

func (o *WKPreferences) ShouldPrintBackgrounds() bool

@abstract A Boolean value indicating whether the web view should include backgrounds when printing. @discussion The default value is `NO`.

func (o *WKPreferences) TabFocusesLinks() bool

@property tabFocusesLinks @abstract If tabFocusesLinks is YES, the tab key will focus links and form controls. The Option key temporarily reverses this preference.

type WKProcessPool

type WKProcessPool struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkprocesspool Deprecated: Creating and using multiple instances of WKProcessPool no longer has any effect.

func WKProcessPoolFromID

func WKProcessPoolFromID(id objc.ID) *WKProcessPool

type WKScriptMessage

type WKScriptMessage struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkscriptmessage

func WKScriptMessageFromID

func WKScriptMessageFromID(id objc.ID) *WKScriptMessage

func (*WKScriptMessage) Body

func (o *WKScriptMessage) Body() objc.ID

@abstract The body of the message. @discussion Allowed types are NSNumber, NSString, NSDate, NSArray, NSDictionary, and NSNull.

func (*WKScriptMessage) FrameInfo

func (o *WKScriptMessage) FrameInfo() *WKFrameInfo

@abstract The frame sending the message.

func (*WKScriptMessage) Name

func (o *WKScriptMessage) Name() *foundation.NSString

@abstract The name of the message handler to which the message is sent.

func (*WKScriptMessage) WebView

func (o *WKScriptMessage) WebView() *WKWebView

@abstract The web view sending the message.

func (*WKScriptMessage) World

func (o *WKScriptMessage) World() *WKContentWorld

@abstract The content world from which the message was sent.

type WKScriptMessageHandler

type WKScriptMessageHandler interface {
}

WKScriptMessageHandler wraps the ObjC protocol WKScriptMessageHandler.

type WKScriptMessageHandlerWithReply

type WKScriptMessageHandlerWithReply interface {
}

WKScriptMessageHandlerWithReply wraps the ObjC protocol WKScriptMessageHandlerWithReply.

type WKSecurityOrigin

type WKSecurityOrigin struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wksecurityorigin

func WKSecurityOriginFromID

func WKSecurityOriginFromID(id objc.ID) *WKSecurityOrigin

func (*WKSecurityOrigin) Host

@abstract The security origin's host.

func (*WKSecurityOrigin) Port

func (o *WKSecurityOrigin) Port() int

@abstract The security origin's port.

func (*WKSecurityOrigin) Protocol

func (o *WKSecurityOrigin) Protocol() *foundation.NSString

@abstract The security origin's protocol.

type WKSecurityRestrictionMode

type WKSecurityRestrictionMode int64
const (
	WKSecurityRestrictionModeNone                  WKSecurityRestrictionMode = 0
	WKSecurityRestrictionModeMaximizeCompatibility WKSecurityRestrictionMode = 1
	WKSecurityRestrictionModeLockdown              WKSecurityRestrictionMode = 2
)

func (WKSecurityRestrictionMode) String

func (e WKSecurityRestrictionMode) String() string

type WKSnapshotConfiguration

type WKSnapshotConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wksnapshotconfiguration

func WKSnapshotConfigurationFromID

func WKSnapshotConfigurationFromID(id objc.ID) *WKSnapshotConfiguration

func (*WKSnapshotConfiguration) AfterScreenUpdates

func (o *WKSnapshotConfiguration) AfterScreenUpdates() bool

@abstract A Boolean value that specifies whether the snapshot should be taken after recent changes have been incorporated. The value NO will capture the screen in its current state, which might not include recent changes. @discussion The default value is YES.

func (*WKSnapshotConfiguration) Rect

@abstract The rect to snapshot in view coordinates. @discussion This rect should be contained within WKWebView's bounds. If the rect is set to the null rect, the view's bounds will be used. The initial value is the null rect.

func (*WKSnapshotConfiguration) SetAfterScreenUpdates

func (o *WKSnapshotConfiguration) SetAfterScreenUpdates(afterScreenUpdates bool)

func (*WKSnapshotConfiguration) SetRect

func (*WKSnapshotConfiguration) SetSnapshotWidth

func (o *WKSnapshotConfiguration) SetSnapshotWidth(snapshotWidth *foundation.NSNumber)

func (*WKSnapshotConfiguration) SnapshotWidth

func (o *WKSnapshotConfiguration) SnapshotWidth() *foundation.NSNumber

@abstract Specify a custom width to control the size of image you get back. The height will be computed to maintain the aspect ratio established by rect. @discussion snapshotWidth represents the width in points. If the snapshotWidth is nil, rect's width will be used.

type WKUIDelegate

type WKUIDelegate interface {
}

WKUIDelegate wraps the ObjC protocol WKUIDelegate.

type WKURLSchemeHandler

type WKURLSchemeHandler interface {
}

WKURLSchemeHandler wraps the ObjC protocol WKURLSchemeHandler.

type WKURLSchemeTask

type WKURLSchemeTask interface {
	DidReceiveResponse(response *foundation.NSURLResponse)
	DidReceiveData(data *foundation.NSData)
	DidFinish()
	DidFailWithError(error_ unsafe.Pointer)
	Request() *foundation.NSURLRequest
}

WKURLSchemeTask wraps the ObjC protocol WKURLSchemeTask.

type WKUserContentController

type WKUserContentController struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkusercontentcontroller

func WKUserContentControllerFromID

func WKUserContentControllerFromID(id objc.ID) *WKUserContentController

func (*WKUserContentController) AddContentRuleList

func (o *WKUserContentController) AddContentRuleList(contentRuleList *WKContentRuleList)

@abstract Adds a content rule list. @param contentRuleList The content rule list to add.

func (*WKUserContentController) AddScriptMessageHandlerContentWorldName

func (o *WKUserContentController) AddScriptMessageHandlerContentWorldName(scriptMessageHandler WKScriptMessageHandler, world *WKContentWorld, name *foundation.NSString)

@abstract Adds a script message handler. @param scriptMessageHandler The script message handler to add. @param contentWorld The WKContentWorld in which to add the script message handler. @param name The name of the message handler. @discussion Adding a script message handler adds a function window.webkit.messageHandlers.<name>.postMessage(<messageBody>) to all frames, available in the given WKContentWorld. The name argument must be a non-empty string. Each WKContentWorld can have any number of script message handlers, but only one per unique name. Once any script message handler has been added to a WKContentWorld for a given name, it is an error to add another script message handler to that WKContentWorld for that same name without first removing the previous script message handler. The above restriction applies to any type of script message handler - WKScriptMessageHandler and WKScriptMessageHandlerWithReply objects will conflict with each other if you try to add them to the same WKContentWorld with the same name.

func (*WKUserContentController) AddScriptMessageHandlerName

func (o *WKUserContentController) AddScriptMessageHandlerName(scriptMessageHandler WKScriptMessageHandler, name *foundation.NSString)

@abstract Adds a script message handler to the main world used by page content itself. @param scriptMessageHandler The script message handler to add. @param name The name of the message handler. @discussion Calling this method is equivalent to calling addScriptMessageHandler:contentWorld:name: with [WKContentWorld pageWorld] as the contentWorld argument.

func (*WKUserContentController) AddScriptMessageHandlerWithReplyContentWorldName

func (o *WKUserContentController) AddScriptMessageHandlerWithReplyContentWorldName(scriptMessageHandlerWithReply WKScriptMessageHandlerWithReply, contentWorld *WKContentWorld, name *foundation.NSString)

@abstract Adds a script message handler. @param scriptMessageHandlerWithReply The script message handler to add. @param contentWorld The WKContentWorld in which to add the script message handler. @param name The name of the message handler. @discussion Adding a script message handler adds a function window.webkit.messageHandlers.<name>.postMessage(<messageBody>) to all frames, available in the given WKContentWorld. The name argument must be a non-empty string. Each WKContentWorld can have any number of script message handlers, but only one per unique name. Once any script message handler has been added to a WKContentWorld for a given name, it is an error to add another script message handler to that WKContentWorld for that same name without first removing the previous script message handler. The above restriction applies to any type of script message handler - WKScriptMessageHandlerWithReply and WKScriptMessageHandler objects will conflict with each other if you try to add them to the same WKContentWorld with the same name. Refer to the WKScriptMessageHandlerWithReply documentation for examples of how it is more flexible than WKScriptMessageHandler.

func (*WKUserContentController) AddUserScript

func (o *WKUserContentController) AddUserScript(userScript *WKUserScript)

@abstract Adds a user script. @param userScript The user script to add.

func (*WKUserContentController) RemoveAllContentRuleLists

func (o *WKUserContentController) RemoveAllContentRuleLists()

@abstract Removes all associated content rule lists.

func (*WKUserContentController) RemoveAllScriptMessageHandlers

func (o *WKUserContentController) RemoveAllScriptMessageHandlers()

@abstract Removes all associated script message handlers.

func (*WKUserContentController) RemoveAllScriptMessageHandlersFromContentWorld

func (o *WKUserContentController) RemoveAllScriptMessageHandlersFromContentWorld(contentWorld *WKContentWorld)

@abstract Removes all script message handlers from a given WKContentWorld. @param contentWorld The WKContentWorld from which to remove all script message handlers.

func (*WKUserContentController) RemoveAllUserScripts

func (o *WKUserContentController) RemoveAllUserScripts()

@abstract Removes all associated user scripts.

func (*WKUserContentController) RemoveContentRuleList

func (o *WKUserContentController) RemoveContentRuleList(contentRuleList *WKContentRuleList)

@abstract Removes a content rule list. @param contentRuleList The content rule list to remove.

func (*WKUserContentController) RemoveScriptMessageHandlerForName

func (o *WKUserContentController) RemoveScriptMessageHandlerForName(name *foundation.NSString)

@abstract Removes a script message handler. @param name The name of the message handler to remove. @discussion Calling this method is equivalent to calling removeScriptMessageHandlerForName:contentWorld: with [WKContentWorld pageWorld] as the contentWorld argument.

func (*WKUserContentController) RemoveScriptMessageHandlerForNameContentWorld

func (o *WKUserContentController) RemoveScriptMessageHandlerForNameContentWorld(name *foundation.NSString, contentWorld *WKContentWorld)

@abstract Removes a script message handler. @param name The name of the message handler to remove. @param contentWorld The WKContentWorld from which to remove the script message handler.

func (*WKUserContentController) UserScripts

@abstract The user scripts associated with this user content controller.

type WKUserInterfaceDirectionPolicy

type WKUserInterfaceDirectionPolicy int64
const (
	WKUserInterfaceDirectionPolicyContent WKUserInterfaceDirectionPolicy = 0
	WKUserInterfaceDirectionPolicySystem  WKUserInterfaceDirectionPolicy = 1
)

func (WKUserInterfaceDirectionPolicy) String

type WKUserScript

type WKUserScript struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkuserscript

func WKUserScriptFromID

func WKUserScriptFromID(id objc.ID) *WKUserScript

func (*WKUserScript) InitWithSourceInjectionTimeForMainFrameOnly

func (o *WKUserScript) InitWithSourceInjectionTimeForMainFrameOnly(source *foundation.NSString, injectionTime WKUserScriptInjectionTime, forMainFrameOnly bool) *WKUserScript

@abstract Returns an initialized user script that can be added to a @link WKUserContentController @/link. @param source The script source. @param injectionTime When the script should be injected. @param forMainFrameOnly Whether the script should be injected into all frames or just the main frame. @discussion Calling this method is the same as calling `initWithSource:injectionTime:forMainFrameOnly:inContentWorld:` with a `contentWorld` value of `WKContentWorld.pageWorld`

func (*WKUserScript) InitWithSourceInjectionTimeForMainFrameOnlyInContentWorld

func (o *WKUserScript) InitWithSourceInjectionTimeForMainFrameOnlyInContentWorld(source *foundation.NSString, injectionTime WKUserScriptInjectionTime, forMainFrameOnly bool, contentWorld *WKContentWorld) *WKUserScript

@abstract Returns an initialized user script that can be added to a @link WKUserContentController @/link. @param source The script source. @param injectionTime When the script should be injected. @param forMainFrameOnly Whether the script should be injected into all frames or just the main frame. @param contentWorld The WKContentWorld in which to inject the script.

func (*WKUserScript) InjectionTime

func (o *WKUserScript) InjectionTime() WKUserScriptInjectionTime

func (*WKUserScript) IsForMainFrameOnly

func (o *WKUserScript) IsForMainFrameOnly() bool

func (*WKUserScript) Source

func (o *WKUserScript) Source() *foundation.NSString

type WKUserScriptInjectionTime

type WKUserScriptInjectionTime int64
const (
	WKUserScriptInjectionTimeAtDocumentStart WKUserScriptInjectionTime = 0
	WKUserScriptInjectionTimeAtDocumentEnd   WKUserScriptInjectionTime = 1
)

func (WKUserScriptInjectionTime) String

func (e WKUserScriptInjectionTime) String() string

type WKWebExtension

type WKWebExtension struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextension

func WKWebExtensionFromID

func WKWebExtensionFromID(id objc.ID) *WKWebExtension

func (*WKWebExtension) ActionIconForSize

func (o *WKWebExtension) ActionIconForSize(size corefoundation.CGSize) *appkit.NSImage

func (*WKWebExtension) AllRequestedMatchPatterns

func (o *WKWebExtension) AllRequestedMatchPatterns() *foundation.NSSet[*WKWebExtensionMatchPattern]

@abstract The set of websites that the extension requires access to for injected content and for receiving messages from websites.

func (*WKWebExtension) DefaultLocale

func (o *WKWebExtension) DefaultLocale() *foundation.NSLocale

@abstract The default locale for the extension. Returns `nil` if there was no default locale specified.

func (*WKWebExtension) DisplayActionLabel

func (o *WKWebExtension) DisplayActionLabel() *foundation.NSString

@abstract The default localized extension action label. Returns `nil` if there was no default action label specified. @discussion This label serves as a default and should be used to represent the extension in contexts like action sheets or toolbars prior to the extension being loaded into an extension context. Once the extension is loaded, use the “actionForTab:“ API to get the tab-specific label.

func (*WKWebExtension) DisplayDescription

func (o *WKWebExtension) DisplayDescription() *foundation.NSString

@abstract The localized extension description. Returns `nil` if there was no description specified.

func (*WKWebExtension) DisplayName

func (o *WKWebExtension) DisplayName() *foundation.NSString

@abstract The localized extension name. Returns `nil` if there was no name specified.

func (*WKWebExtension) DisplayShortName

func (o *WKWebExtension) DisplayShortName() *foundation.NSString

@abstract The localized extension short name. Returns `nil` if there was no short name specified.

func (*WKWebExtension) DisplayVersion

func (o *WKWebExtension) DisplayVersion() *foundation.NSString

@abstract The localized extension display version. Returns `nil` if there was no display version specified.

func (*WKWebExtension) Errors

func (o *WKWebExtension) Errors() *foundation.NSArray[objc.ID]

@abstract An array of all errors that occurred during the processing of the extension. @discussion Provides an array of all parse-time errors for the extension, with repeat errors consolidated into a single entry for the original occurrence only. If no errors occurred, an empty array is returned. @note Once the extension is loaded, use the “errors“ property on an extension context to monitor any runtime errors, as they can occur after the extension is loaded.

func (*WKWebExtension) HasBackgroundContent

func (o *WKWebExtension) HasBackgroundContent() bool

@abstract A Boolean value indicating whether the extension has background content that can run when needed. @discussion If this property is `YES`, the extension can run in the background even when no webpages are open.

func (*WKWebExtension) HasCommands

func (o *WKWebExtension) HasCommands() bool

@abstract A Boolean value indicating whether the extension includes commands that users can invoke. @discussion If this property is `YES`, the extension contains one or more commands that can be performed by the user. These commands should be accessible via keyboard shortcuts, menu items, or other user interface elements provided by the app. The list of commands can be accessed via “commands“ on an extension context, and invoked via “performCommand:“.

func (*WKWebExtension) HasContentModificationRules

func (o *WKWebExtension) HasContentModificationRules() bool

@abstract A boolean value indicating whether the extension includes rules used for content modification or blocking.

func (*WKWebExtension) HasInjectedContent

func (o *WKWebExtension) HasInjectedContent() bool

@abstract A Boolean value indicating whether the extension has script or stylesheet content that can be injected into webpages. @discussion If this property is `YES`, the extension has content that can be injected by matching against the extension's requested match patterns. @note Once the extension is loaded, use the “hasInjectedContent“ property on an extension context, as the injectable content can change after the extension is loaded.

func (*WKWebExtension) HasOptionsPage

func (o *WKWebExtension) HasOptionsPage() bool

@abstract A Boolean value indicating whether the extension has an options page. @discussion If this property is `YES`, the extension includes a dedicated options page where users can customize settings. The app should provide access to this page through a user interface element, which can be accessed via “optionsPageURL“ on an extension context.

func (*WKWebExtension) HasOverrideNewTabPage

func (o *WKWebExtension) HasOverrideNewTabPage() bool

@abstract A Boolean value indicating whether the extension provides an alternative to the default new tab page. @discussion If this property is `YES`, the extension can specify a custom page that can be displayed when a new tab is opened in the app, instead of the default new tab page. The app should prompt the user for permission to use the extension's new tab page as the default, which can be accessed via “overrideNewTabPageURL“ on an extension context.

func (*WKWebExtension) HasPersistentBackgroundContent

func (o *WKWebExtension) HasPersistentBackgroundContent() bool

@abstract A Boolean value indicating whether the extension has background content that stays in memory as long as the extension is loaded. @note Note that extensions are only allowed to have persistent background content on macOS. An “WKWebExtensionErrorInvalidBackgroundPersistence“ error will be reported on iOS, iPadOS, and visionOS if an attempt is made to load a persistent extension.

func (*WKWebExtension) IconForSize

func (o *WKWebExtension) IconForSize(size corefoundation.CGSize) *appkit.NSImage

func (*WKWebExtension) Manifest

@abstract The parsed manifest as a dictionary.

func (*WKWebExtension) ManifestVersion

func (o *WKWebExtension) ManifestVersion() float64

@abstract The parsed manifest version, or `0` if there is no version specified in the manifest. @note An “WKWebExtensionErrorUnsupportedManifestVersion“ error will be reported if the manifest version isn't specified.

func (*WKWebExtension) OptionalPermissionMatchPatterns

func (o *WKWebExtension) OptionalPermissionMatchPatterns() *foundation.NSSet[*WKWebExtensionMatchPattern]

@abstract The set of websites that the extension may need access to for optional functionality. These match patterns can be requested by the extension at a later time.

func (*WKWebExtension) OptionalPermissions

func (o *WKWebExtension) OptionalPermissions() *foundation.NSSet[*foundation.NSString]

@abstract The set of permissions that the extension may need for optional functionality. These permissions can be requested by the extension at a later time.

func (*WKWebExtension) RequestedPermissionMatchPatterns

func (o *WKWebExtension) RequestedPermissionMatchPatterns() *foundation.NSSet[*WKWebExtensionMatchPattern]

@abstract The set of websites that the extension requires access to for its base functionality.

func (*WKWebExtension) RequestedPermissions

func (o *WKWebExtension) RequestedPermissions() *foundation.NSSet[*foundation.NSString]

@abstract The set of permissions that the extension requires for its base functionality.

func (*WKWebExtension) SupportsManifestVersion

func (o *WKWebExtension) SupportsManifestVersion(manifestVersion float64) bool

@abstract Checks if a manifest version is supported by the extension. @param manifestVersion The version number to check. @result Returns `YES` if the extension specified a manifest version that is greater than or equal to `manifestVersion`.

type WKWebExtensionAction

type WKWebExtensionAction struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensionaction

func WKWebExtensionActionFromID

func WKWebExtensionActionFromID(id objc.ID) *WKWebExtensionAction

func (*WKWebExtensionAction) AssociatedTab

func (o *WKWebExtensionAction) AssociatedTab() WKWebExtensionTab

@abstract The tab that this action is associated with, or `nil` if it is the default action. @discussion When this property is `nil`, it indicates that the action is the default action and not associated with a specific tab.

func (*WKWebExtensionAction) BadgeText

func (o *WKWebExtensionAction) BadgeText() *foundation.NSString

@abstract The badge text for the action. @discussion Provides the text that appears on the badge for the action. An empty string signifies that no badge should be shown.

func (*WKWebExtensionAction) ClosePopup

func (o *WKWebExtensionAction) ClosePopup()

@abstract Triggers the dismissal process of the popup. @discussion Invoke this method to manage the popup's lifecycle, ensuring the web view is unloaded and resources are released once the popup closes. This method is automatically called upon the dismissal of the action's “UIViewController“ or “NSPopover“. For custom scenarios where the popup's lifecycle is manually managed, it must be explicitly invoked to ensure proper closure.

func (*WKWebExtensionAction) HasUnreadBadgeText

func (o *WKWebExtensionAction) HasUnreadBadgeText() bool

@abstract A Boolean value indicating whether the badge text is unread. @discussion This property is automatically set to `YES` when “badgeText“ changes and is not empty. If “badgeText“ becomes empty or the popup associated with the action is presented, this property is automatically set to `NO`. Additionally, it should be set to `NO` by the app when the badge has been presented to the user. This property is useful for higher-level notification badges when extensions might be hidden behind an action sheet.

func (*WKWebExtensionAction) IconForSize

func (*WKWebExtensionAction) InspectionName

func (o *WKWebExtensionAction) InspectionName() *foundation.NSString

@abstract The name shown when inspecting the popup web view. @discussion This is the text that will appear when inspecting the popup web view.

func (*WKWebExtensionAction) IsEnabled

func (o *WKWebExtensionAction) IsEnabled() bool

@abstract A Boolean value indicating whether the action is enabled.

func (*WKWebExtensionAction) Label

@abstract The localized display label for the action.

func (*WKWebExtensionAction) MenuItems

func (*WKWebExtensionAction) PopupPopover

func (o *WKWebExtensionAction) PopupPopover() *appkit.NSPopover

@abstract A popover that presents a web view loaded with the popup page for this action, or `nil` if no popup is specified. @discussion This popover contains a view controller with a web view preloaded with the popup page. It automatically adjusts its size to fit the web view's content size. The “presentsPopup“ property should be checked to determine the availability of a popup before using this property. Dismissing the popover will close the popup and unload the web view. @seealso presentsPopup

func (*WKWebExtensionAction) PopupWebView

func (o *WKWebExtensionAction) PopupWebView() *WKWebView

@abstract A web view loaded with the popup page for this action, or `nil` if no popup is specified. @discussion The web view will be preloaded with the popup page upon first access or after it has been unloaded. Use the “presentsPopup“ property to determine whether a popup should be displayed before using this property. @seealso presentsPopup

func (*WKWebExtensionAction) PresentsPopup

func (o *WKWebExtensionAction) PresentsPopup() bool

@abstract A Boolean value indicating whether the action has a popup. @discussion Use this property to check if the action has a popup before attempting to show any popup views.

func (*WKWebExtensionAction) SetHasUnreadBadgeText

func (o *WKWebExtensionAction) SetHasUnreadBadgeText(hasUnreadBadgeText bool)

func (*WKWebExtensionAction) SetInspectionName

func (o *WKWebExtensionAction) SetInspectionName(inspectionName *foundation.NSString)

func (*WKWebExtensionAction) WebExtensionContext

func (o *WKWebExtensionAction) WebExtensionContext() *WKWebExtensionContext

@abstract The extension context to which this action is related.

type WKWebExtensionCommand

type WKWebExtensionCommand struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensioncommand

func WKWebExtensionCommandFromID

func WKWebExtensionCommandFromID(id objc.ID) *WKWebExtensionCommand

func (*WKWebExtensionCommand) ActivationKey

func (o *WKWebExtensionCommand) ActivationKey() *foundation.NSString

@abstract The primary key used to trigger the command, distinct from any modifier flags. @discussion This property can be customized within the app to avoid conflicts with existing shortcuts or to enable user personalization. It should accurately represent the activation key as used by the app, which the extension can use to display the complete shortcut in its interface. If no shortcut is desired for the command, the property should be set to `nil`. This value should be saved and restored as needed by the app.

func (*WKWebExtensionCommand) Identifier

func (o *WKWebExtensionCommand) Identifier() *foundation.NSString

@abstract A unique identifier for the command.

func (*WKWebExtensionCommand) MenuItem

func (o *WKWebExtensionCommand) MenuItem() *appkit.NSMenuItem

func (*WKWebExtensionCommand) ModifierFlags

func (*WKWebExtensionCommand) SetActivationKey

func (o *WKWebExtensionCommand) SetActivationKey(activationKey *foundation.NSString)

func (*WKWebExtensionCommand) SetModifierFlags

func (o *WKWebExtensionCommand) SetModifierFlags(modifierFlags appkit.NSEventModifierFlags)

func (*WKWebExtensionCommand) Title

@abstract Descriptive title for the command aiding discoverability. @discussion This title can be displayed in user interface elements such as keyboard shortcuts lists or menu items to help users understand its purpose.

func (*WKWebExtensionCommand) WebExtensionContext

func (o *WKWebExtensionCommand) WebExtensionContext() *WKWebExtensionContext

@abstract The web extension context associated with the command.

type WKWebExtensionContext

type WKWebExtensionContext struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensioncontext

func WKWebExtensionContextContextForExtension

func WKWebExtensionContextContextForExtension(extension *WKWebExtension) *WKWebExtensionContext

@abstract Returns a web extension context initialized with the specified extension. @param extension The extension to use for the new web extension context. @result An initialized web extension context.

func WKWebExtensionContextFromID

func WKWebExtensionContextFromID(id objc.ID) *WKWebExtensionContext

func (*WKWebExtensionContext) ActionForTab

@abstract Retrieves the extension action for a given tab, or the default action if `nil` is passed. @param tab The tab for which to retrieve the extension action, or `nil` to get the default action. @discussion The returned object represents the action specific to the tab when provided; otherwise, it returns the default action. The default action is useful when the context is unrelated to a specific tab. When possible, specify the tab to get the most context-relevant action. @seealso performActionForTab:

func (*WKWebExtensionContext) BaseURL

func (o *WKWebExtensionContext) BaseURL() *foundation.NSURL

@abstract The base URL the context uses for loading extension resources or injecting content into webpages. @discussion The default value is a unique URL using the `webkit-extension` scheme. The base URL can be set to any URL, but only the scheme and host will be used. The scheme cannot be a scheme that is already supported by “WKWebView“ (e.g. http, https, etc.) Setting is only allowed when the context is not loaded.

func (*WKWebExtensionContext) ClearUserGestureInTab

func (o *WKWebExtensionContext) ClearUserGestureInTab(tab WKWebExtensionTab)

@abstract Should be called by the app to clear a user gesture in a specific tab. @param tab The tab from which the user gesture should be cleared. @discussion When a user gesture is no longer relevant in a tab, this method should be called to update the extension context. This will revoke the extension's access to features that require active user interaction, such as `activeTab`. User gestures are automatically cleared during navigation in certain scenarios; this method is needed if the app intends to clear the gesture more aggressively. @seealso userGesturePerformedInTab:

func (*WKWebExtensionContext) CommandForEvent

func (o *WKWebExtensionContext) CommandForEvent(event *appkit.NSEvent) *WKWebExtensionCommand

@abstract Retrieves the command associated with the given event without performing it. @discussion Returns the command that corresponds to the provided event, if such a command exists. This provides a way to programmatically determine what action would occur for a given event, without triggering the command. @param event The event for which to retrieve the corresponding command. @result The command associated with the event, or `nil` if there is no such command.

func (*WKWebExtensionContext) Commands

@abstract The commands associated with the extension. @discussion Provides all commands registered within the extension. Each command represents an action or behavior available for the web extension. @seealso performCommand:

func (*WKWebExtensionContext) CurrentPermissionMatchPatterns

func (o *WKWebExtensionContext) CurrentPermissionMatchPatterns() *foundation.NSSet[*WKWebExtensionMatchPattern]

@abstract The currently granted permission match patterns that have not expired. @seealso grantedPermissionMatchPatterns

func (*WKWebExtensionContext) CurrentPermissions

func (o *WKWebExtensionContext) CurrentPermissions() *foundation.NSSet[*foundation.NSString]

@abstract The currently granted permissions that have not expired. @seealso grantedPermissions

func (*WKWebExtensionContext) DeniedPermissionMatchPatterns

@abstract The currently denied permission match patterns and their expiration dates. @discussion Match patterns that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Match patterns in this dictionary should be explicitly denied by the user before being added. Any match pattern in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app. @seealso setPermissionStatus:forMatchPattern: @seealso setPermissionStatus:forMatchPattern:expirationDate:

func (*WKWebExtensionContext) DeniedPermissions

@abstract The currently denied permissions and their expiration dates. @discussion Permissions that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Permissions in this dictionary should be explicitly denied by the user before being added. Any match pattern in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app. @seealso setPermissionStatus:forPermission: @seealso setPermissionStatus:forPermission:expirationDate:

func (*WKWebExtensionContext) DidActivateTabPreviousActiveTab

func (o *WKWebExtensionContext) DidActivateTabPreviousActiveTab(activatedTab WKWebExtensionTab, previousTab WKWebExtensionTab)

@abstract Should be called by the app when a tab is activated to notify only this specific extension. @param activatedTab The tab that has become active. @param previousTab The tab that was active before. This parameter can be \c nil if there was no previously active tab. @discussion This method informs only the specific extension of the tab activation. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

func (*WKWebExtensionContext) DidChangeTabPropertiesForTab

func (o *WKWebExtensionContext) DidChangeTabPropertiesForTab(properties WKWebExtensionTabChangedProperties, changedTab WKWebExtensionTab)

@abstract Should be called by the app when the properties of a tab are changed to fire appropriate events with only this extension. @param properties The properties of the tab that were changed. @param changedTab The tab whose properties were changed. @discussion This method informs only the specific extension of the changes to a tab's properties. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

func (*WKWebExtensionContext) DidCloseTabWindowIsClosing

func (o *WKWebExtensionContext) DidCloseTabWindowIsClosing(closedTab WKWebExtensionTab, windowIsClosing bool)

@abstract Should be called by the app when a tab is closed to fire appropriate events with only this extension. @param closedTab The tab that was closed. @param windowIsClosing A boolean value indicating whether the window containing the tab is also closing. @discussion This method informs only the specific extension of the closure of a tab. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead. @seealso didOpenTab: @seealso openTabs

func (*WKWebExtensionContext) DidCloseWindow

func (o *WKWebExtensionContext) DidCloseWindow(closedWindow WKWebExtensionWindow)

@abstract Should be called by the app when a window is closed to fire appropriate events with only this extension. @param newWindow The window that was closed. @discussion This method informs only the specific extension of the closure of a window. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead. @seealso didOpenWindow: @seealso openWindows

func (*WKWebExtensionContext) DidDeselectTabs

func (o *WKWebExtensionContext) DidDeselectTabs(deselectedTabs *foundation.NSArray[WKWebExtensionTab])

@abstract Should be called by the app when tabs are deselected to fire appropriate events with only this extension. @param deselectedTabs The set of tabs that were deselected. @discussion This method informs only the specific extension that tabs have been deselected. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

func (*WKWebExtensionContext) DidFocusWindow

func (o *WKWebExtensionContext) DidFocusWindow(focusedWindow WKWebExtensionWindow)

@abstract Should be called by the app when a window gains focus to fire appropriate events with only this extension. @param focusedWindow The window that gained focus, or \c nil if no window has focus or a window has focus that is not visible to this extension. @discussion This method informs only the specific extension that a window has gained focus. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

func (*WKWebExtensionContext) DidMoveTabFromIndexInWindow

func (o *WKWebExtensionContext) DidMoveTabFromIndexInWindow(movedTab WKWebExtensionTab, index uint, oldWindow WKWebExtensionWindow)

@abstract Should be called by the app when a tab is moved to fire appropriate events with only this extension. @param movedTab The tab that was moved. @param index The old index of the tab within the window. @param oldWindow The window that the tab was moved from, or \c nil if the tab is moving from no open window. @discussion If the window is staying the same, the current window should be specified. This method informs only the specific extension that a tab has been moved. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

func (*WKWebExtensionContext) DidOpenTab

func (o *WKWebExtensionContext) DidOpenTab(newTab WKWebExtensionTab)

@abstract Should be called by the app when a new tab is opened to fire appropriate events with only this extension. @param newTab The newly opened tab. @discussion This method informs only the specific extension of the opening of a new tab. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead. @seealso didCloseTab: @seealso openTabs

func (*WKWebExtensionContext) DidOpenWindow

func (o *WKWebExtensionContext) DidOpenWindow(newWindow WKWebExtensionWindow)

@abstract Should be called by the app when a new window is opened to fire appropriate events with only this extension. @param newWindow The newly opened window. @discussion This method informs only the specific extension of the opening of a new window. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead. @seealso didCloseWindow: @seealso openWindows

func (*WKWebExtensionContext) DidReplaceTabWithTab

func (o *WKWebExtensionContext) DidReplaceTabWithTab(oldTab WKWebExtensionTab, newTab WKWebExtensionTab)

@abstract Should be called by the app when a tab is replaced by another tab to fire appropriate events with only this extension. @param oldTab The tab that was replaced. @param newTab The tab that replaced the old tab. @discussion This method informs only the specific extension that a tab has been replaced. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

func (*WKWebExtensionContext) DidSelectTabs

func (o *WKWebExtensionContext) DidSelectTabs(selectedTabs *foundation.NSArray[WKWebExtensionTab])

@abstract Should be called by the app when tabs are selected to fire appropriate events with only this extension. @param selectedTabs The set of tabs that were selected. @discussion This method informs only the specific extension that tabs have been selected. If the intention is to inform all loaded extensions consistently, you should use the respective method on the extension controller instead.

func (*WKWebExtensionContext) Errors

@abstract All errors that occurred in the extension context. @discussion Provides an array of all parse-time and runtime errors for the extension and extension context, with repeat errors consolidated into a single entry for the original occurrence. If no errors occurred, an empty array is returned.

func (*WKWebExtensionContext) FocusedWindow

func (o *WKWebExtensionContext) FocusedWindow() WKWebExtensionWindow

@abstract The window that currently has focus for this extension. @discussion Provides the window that currently has focus, as set by the “didFocusWindow:“ method. It will be `nil` if no window has focus or if a window has focus that is not visible to the extension. Initially populated by the window returned by the extension controller delegate method “webExtensionController:focusedWindowForExtensionContext:“. @seealso didFocusWindow:

func (*WKWebExtensionContext) GrantedPermissionMatchPatterns

@abstract The currently granted permission match patterns and their expiration dates. @discussion Match patterns that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Match patterns in this dictionary should be explicitly granted by the user before being added. Any match pattern in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app. @seealso setPermissionStatus:forMatchPattern: @seealso setPermissionStatus:forMatchPattern:expirationDate:

func (*WKWebExtensionContext) GrantedPermissions

@abstract The currently granted permissions and their expiration dates. @discussion Permissions that don't expire will have a distant future date. This will never include expired entries at time of access. Setting this property will replace all existing entries. Use this property for saving and restoring permission status in bulk. Permissions in this dictionary should be explicitly granted by the user before being added. Any permissions in this collection will not be presented for approval again until they expire. This value should be saved and restored as needed by the app. @seealso setPermissionStatus:forPermission: @seealso setPermissionStatus:forPermission:expirationDate:

func (*WKWebExtensionContext) HasAccessToAllHosts

func (o *WKWebExtensionContext) HasAccessToAllHosts() bool

@abstract A Boolean value indicating if the currently granted permission match patterns set contains the `<all_urls>` pattern or any `*` host patterns. @seealso currentPermissionMatchPatterns @seealso hasAccessToAllURLs

func (*WKWebExtensionContext) HasAccessToAllURLs

func (o *WKWebExtensionContext) HasAccessToAllURLs() bool

@abstract A Boolean value indicating if the currently granted permission match patterns set contains the `<all_urls>` pattern. @discussion This does not check for any `*` host patterns. In most cases you should use the broader “hasAccessToAllHosts“. @seealso currentPermissionMatchPatterns @seealso hasAccessToAllHosts

func (*WKWebExtensionContext) HasAccessToPrivateData

func (o *WKWebExtensionContext) HasAccessToPrivateData() bool

@abstract A Boolean value indicating if the extension has access to private data. @discussion If this property is `YES`, the extension is granted permission to interact with private windows, tabs, and cookies. Access to private data should be explicitly allowed by the user before setting this property. This value should be saved and restored as needed by the app. @note To ensure proper isolation between private and non-private data, web views associated with private data must use a different “WKUserContentController“. Likewise, to be identified as a private web view and to ensure that cookies and other website data is not shared, private web views must be configured to use a non-persistent “WKWebsiteDataStore“.

func (*WKWebExtensionContext) HasAccessToURL

func (o *WKWebExtensionContext) HasAccessToURL(url *foundation.NSURL) bool

@abstract Checks the specified URL against the currently granted permission match patterns. @param url The URL for which to return the status. @seealso currentPermissionMatchPatterns @seealso hasAccessToURL:inTab: @seealso permissionStatusForURL: @seealso permissionStatusForURL:inTab: @seealso permissionStatusForMatchPattern: @seealso permissionStatusForMatchPattern:inTab:

func (*WKWebExtensionContext) HasAccessToURLInTab

func (o *WKWebExtensionContext) HasAccessToURLInTab(url *foundation.NSURL, tab WKWebExtensionTab) bool

@abstract Checks the specified URL against the currently granted permission match patterns in a specific tab. @param url The URL for which to return the status. @param tab The tab in which to return the permission status, or \c nil if the tab is not known or the global status is desired. @discussion Some match patterns can be granted on a per-tab basis. When the tab is known, access checks should always use this method. @seealso currentPermissionMatchPatterns @seealso hasAccessToURL: @seealso permissionStatusForURL: @seealso permissionStatusForURL:inTab: @seealso permissionStatusForMatchPattern: @seealso permissionStatusForMatchPattern:inTab:

func (*WKWebExtensionContext) HasActiveUserGestureInTab

func (o *WKWebExtensionContext) HasActiveUserGestureInTab(tab WKWebExtensionTab) bool

@abstract Indicates if a user gesture is currently active in the specified tab. @param tab The tab for which to check for an active user gesture. @discussion An active user gesture may influence the availability of certain permissions, such as `activeTab`. User gestures can be triggered by various user interactions with the web extension, including clicking on extension menu items, executing extension commands, or interacting with extension actions. A tab as having an active user gesture enables the extension to access features that require user interaction. @seealso userGesturePerformedInTab:

func (*WKWebExtensionContext) HasContentModificationRules

func (o *WKWebExtensionContext) HasContentModificationRules() bool

@abstract A boolean value indicating whether the extension includes rules used for content modification or blocking. @discussion This includes both static rules available in the extension's manifest and dynamic rules applied during a browsing session.

func (*WKWebExtensionContext) HasInjectedContent

func (o *WKWebExtensionContext) HasInjectedContent() bool

@abstract A Boolean value indicating whether the extension has script or stylesheet content that can be injected into webpages. @discussion If this property is `YES`, the extension has content that can be injected by matching against the extension's requested match patterns. @seealso hasInjectedContentForURL:

func (*WKWebExtensionContext) HasInjectedContentForURL

func (o *WKWebExtensionContext) HasInjectedContentForURL(url *foundation.NSURL) bool

@abstract Checks if the extension has script or stylesheet content that can be injected into the specified URL. @param url The webpage URL to check. @result Returns `YES` if the extension has content that can be injected by matching the URL against the extension's requested match patterns. @discussion The extension context will still need to be loaded and have granted website permissions for its content to actually be injected.

func (*WKWebExtensionContext) HasPermission

func (o *WKWebExtensionContext) HasPermission(permission *foundation.NSString) bool

@abstract Checks the specified permission against the currently granted permissions. @param permission The permission for which to return the status. @seealso currentPermissions @seealso hasPermission:inTab: @seealso permissionStatusForPermission: @seealso permissionStatusForPermission:inTab:

func (*WKWebExtensionContext) HasPermissionInTab

func (o *WKWebExtensionContext) HasPermissionInTab(permission *foundation.NSString, tab WKWebExtensionTab) bool

@abstract Checks the specified permission against the currently granted permissions in a specific tab. @param permission The permission for which to return the status. @param tab The tab in which to return the permission status, or \c nil if the tab is not known or the global status is desired. @discussion Permissions can be granted on a per-tab basis. When the tab is known, permission checks should always use this method. @seealso currentPermissions @seealso hasPermission: @seealso permissionStatusForPermission: @seealso permissionStatusForPermission:inTab:

func (*WKWebExtensionContext) HasRequestedOptionalAccessToAllHosts

func (o *WKWebExtensionContext) HasRequestedOptionalAccessToAllHosts() bool

@abstract A Boolean value indicating if the extension has requested optional access to all hosts. @discussion If this property is `YES`, the extension has asked for access to all hosts in a call to `browser.runtime.permissions.request()`, and future permission checks will present discrete hosts for approval as being implicitly requested. This value should be saved and restored as needed by the app.

func (*WKWebExtensionContext) InitForExtension

func (o *WKWebExtensionContext) InitForExtension(extension *WKWebExtension) *WKWebExtensionContext

@abstract Returns a web extension context initialized with a specified extension. @param extension The extension to use for the new web extension context. @result An initialized web extension context. @discussion This is a designated initializer.

func (*WKWebExtensionContext) InspectionName

func (o *WKWebExtensionContext) InspectionName() *foundation.NSString

@abstract The name shown when inspecting the background web view. @discussion This is the text that will appear when inspecting the background web view.

func (*WKWebExtensionContext) IsInspectable

func (o *WKWebExtensionContext) IsInspectable() bool

@abstract Determines whether Web Inspector can inspect the “WKWebView“ instances for this context. @discussion A context can control multiple “WKWebView“ instances, from the background content, to the popover. You should set this to `YES` when needed for debugging purposes. The default value is `NO`.

func (*WKWebExtensionContext) IsLoaded

func (o *WKWebExtensionContext) IsLoaded() bool

@abstract A Boolean value indicating if this context is loaded in an extension controller.

func (*WKWebExtensionContext) LoadBackgroundContentWithCompletionHandler

func (o *WKWebExtensionContext) LoadBackgroundContentWithCompletionHandler(completionHandler func(unsafe.Pointer))

@abstract Loads the background content if needed for the extension. @param completionHandler A block to be called upon completion of the loading process, with an optional error. @discussion This method forces the loading of the background content for the extension that will otherwise be loaded on-demand during specific events. It is useful when the app requires the background content to be loaded for other reasons. If the background content is already loaded, the completion handler will be called immediately. An error will occur if the extension does not have any background content to load or loading fails.

func (*WKWebExtensionContext) MenuItemsForTab

func (*WKWebExtensionContext) OpenTabs

@abstract A set of open tabs in all open windows that are exposed to this extension. @discussion Provides a set of tabs in all open windows that are visible to the extension, as updated by the “didOpenTab:“ and “didCloseTab:“ methods. Initially populated by the tabs in the windows returned by the extension controller delegate method “webExtensionController:openWindowsForExtensionContext:“. @seealso didOpenTab: @seealso didCloseTab:

func (*WKWebExtensionContext) OpenWindows

@abstract The open windows that are exposed to this extension. @discussion Provides the windows that are open and visible to the extension, as updated by the “didOpenWindow:“ and “didCloseWindow:“ methods. Initially populated by the windows returned by the extension controller delegate method “webExtensionController:openWindowsForExtensionContext:“. @seealso didOpenWindow: @seealso didCloseWindow:

func (*WKWebExtensionContext) OptionsPageURL

func (o *WKWebExtensionContext) OptionsPageURL() *foundation.NSURL

@abstract The URL of the extension's options page, if the extension has one. @discussion Provides the URL for the dedicated options page, if provided by the extension; otherwise `nil` if no page is defined. The app should provide access to this page through a user interface element. @note Navigation to the options page is only possible after this extension has been loaded. @seealso webViewConfiguration

func (*WKWebExtensionContext) OverrideNewTabPageURL

func (o *WKWebExtensionContext) OverrideNewTabPageURL() *foundation.NSURL

@abstract The URL to use as an alternative to the default new tab page, if the extension has one. @discussion Provides the URL for a new tab page, if provided by the extension; otherwise `nil` if no page is defined. The app should prompt the user for permission to use the extension's new tab page as the default. @note Navigation to the override new tab page is only possible after this extension has been loaded. @seealso webViewConfiguration

func (*WKWebExtensionContext) PerformActionForTab

func (o *WKWebExtensionContext) PerformActionForTab(tab WKWebExtensionTab)

@abstract Performs the extension action associated with the specified tab or performs the default action if `nil` is passed. @param tab The tab for which to perform the extension action, or `nil` to perform the default action. @discussion Performing the action will mark the tab, if specified, as having an active user gesture. When the “tab“ parameter is `nil`, the default action is performed. The action can either trigger an event or display a popup, depending on how the extension is configured. If the action is configured to display a popup, implementing the appropriate web extension controller delegate method is required; otherwise, no action is performed for popup actions.

func (*WKWebExtensionContext) PerformCommand

func (o *WKWebExtensionContext) PerformCommand(command *WKWebExtensionCommand)

@abstract Performs the specified command, triggering events specific to this extension. @param command The command to be performed. @discussion This method performs the given command as if it was triggered by a user gesture within the context of the focused window and active tab.

func (*WKWebExtensionContext) PerformCommandForEvent

func (o *WKWebExtensionContext) PerformCommandForEvent(event *appkit.NSEvent) bool

@abstract Performs the command associated with the given event. @discussion This method checks for a command corresponding to the provided event and performs it, if available. The app should use this method to perform any extension commands at an appropriate time in the app's event handling, like in “sendEvent:“ of “NSApplication“ or “NSWindow“ subclasses. @param event The event representing the user input. @result Returns `YES` if a command corresponding to the event was found and performed, `NO` otherwise.

func (*WKWebExtensionContext) PermissionStatusForMatchPattern

func (o *WKWebExtensionContext) PermissionStatusForMatchPattern(pattern *WKWebExtensionMatchPattern) WKWebExtensionContextPermissionStatus

@abstract Checks the specified match pattern against the currently denied, granted, and requested permission match patterns. @param pattern The pattern for which to return the status. @discussion Match patterns can be granted on a per-tab basis. When the tab is known, access checks should always use the method that checks in a tab. @seealso permissionStatusForMatchPattern:inTab: @seealso hasAccessToURL:inTab:

func (*WKWebExtensionContext) PermissionStatusForMatchPatternInTab

@abstract Checks the specified match pattern against the currently denied, granted, and requested permission match patterns. @param pattern The pattern for which to return the status. @param tab The tab in which to return the permission status, or \c nil if the tab is not known or the global status is desired. @discussion Match patterns can be granted on a per-tab basis. When the tab is known, access checks should always use this method. @seealso permissionStatusForMatchPattern: @seealso hasAccessToURL:inTab:

func (*WKWebExtensionContext) PermissionStatusForPermission

func (o *WKWebExtensionContext) PermissionStatusForPermission(permission *foundation.NSString) WKWebExtensionContextPermissionStatus

@abstract Checks the specified permission against the currently denied, granted, and requested permissions. @param permission The permission for which to return the status. @discussion Permissions can be granted on a per-tab basis. When the tab is known, access checks should always use the method that checks in a tab. @seealso permissionStatusForPermission:inTab: @seealso hasPermission:

func (*WKWebExtensionContext) PermissionStatusForPermissionInTab

func (o *WKWebExtensionContext) PermissionStatusForPermissionInTab(permission *foundation.NSString, tab WKWebExtensionTab) WKWebExtensionContextPermissionStatus

@abstract Checks the specified permission against the currently denied, granted, and requested permissions. @param permission The permission for which to return the status. @param tab The tab in which to return the permission status, or \c nil if the tab is not known or the global status is desired. @discussion Permissions can be granted on a per-tab basis. When the tab is known, access checks should always specify the tab. @seealso permissionStatusForPermission: @seealso hasPermission:inTab:

func (*WKWebExtensionContext) PermissionStatusForURL

@abstract Checks the specified URL against the currently denied, granted, and requested permission match patterns. @param url The URL for which to return the status. @discussion URLs and match patterns can be granted on a per-tab basis. When the tab is known, access checks should always use the method that checks in a tab. @seealso permissionStatusForURL:inTab: @seealso hasAccessToURL:

func (*WKWebExtensionContext) PermissionStatusForURLInTab

@abstract Checks the specified URL against the currently denied, granted, and requested permission match patterns. @param url The URL for which to return the status. @param tab The tab in which to return the permission status, or \c nil if the tab is not known or the global status is desired. @discussion URLs and match patterns can be granted on a per-tab basis. When the tab is known, access checks should always use this method. @seealso permissionStatusForURL: @seealso hasAccessToURL:inTab:

func (*WKWebExtensionContext) SetBaseURL

func (o *WKWebExtensionContext) SetBaseURL(baseURL *foundation.NSURL)

func (*WKWebExtensionContext) SetDeniedPermissionMatchPatterns

func (o *WKWebExtensionContext) SetDeniedPermissionMatchPatterns(deniedPermissionMatchPatterns *foundation.NSDictionary[*WKWebExtensionMatchPattern, *foundation.NSDate])

func (*WKWebExtensionContext) SetDeniedPermissions

func (o *WKWebExtensionContext) SetDeniedPermissions(deniedPermissions *foundation.NSDictionary[*foundation.NSString, *foundation.NSDate])

func (*WKWebExtensionContext) SetGrantedPermissionMatchPatterns

func (o *WKWebExtensionContext) SetGrantedPermissionMatchPatterns(grantedPermissionMatchPatterns *foundation.NSDictionary[*WKWebExtensionMatchPattern, *foundation.NSDate])

func (*WKWebExtensionContext) SetGrantedPermissions

func (o *WKWebExtensionContext) SetGrantedPermissions(grantedPermissions *foundation.NSDictionary[*foundation.NSString, *foundation.NSDate])

func (*WKWebExtensionContext) SetHasAccessToPrivateData

func (o *WKWebExtensionContext) SetHasAccessToPrivateData(hasAccessToPrivateData bool)

func (*WKWebExtensionContext) SetHasRequestedOptionalAccessToAllHosts

func (o *WKWebExtensionContext) SetHasRequestedOptionalAccessToAllHosts(hasRequestedOptionalAccessToAllHosts bool)

func (*WKWebExtensionContext) SetInspectable

func (o *WKWebExtensionContext) SetInspectable(inspectable bool)

func (*WKWebExtensionContext) SetInspectionName

func (o *WKWebExtensionContext) SetInspectionName(inspectionName *foundation.NSString)

func (*WKWebExtensionContext) SetPermissionStatusForMatchPattern

func (o *WKWebExtensionContext) SetPermissionStatusForMatchPattern(status WKWebExtensionContextPermissionStatus, pattern *WKWebExtensionMatchPattern)

@abstract Sets the status of a match pattern with a distant future expiration date. @param status The new permission status to set for the given match pattern. @param pattern The match pattern for which to set the status. @discussion This method will update “grantedPermissionMatchPatterns“ and “deniedPermissionMatchPatterns“. Use this method for changing a single match pattern's status. Only “WKWebExtensionContextPermissionStatusDeniedExplicitly“, “WKWebExtensionContextPermissionStatusUnknown“, and “WKWebExtensionContextPermissionStatusGrantedExplicitly“ states are allowed to be set using this method. @seealso setPermissionStatus:forMatchPattern:expirationDate: @seealso setPermissionStatus:forMatchPattern:inTab:

func (*WKWebExtensionContext) SetPermissionStatusForMatchPatternExpirationDate

func (o *WKWebExtensionContext) SetPermissionStatusForMatchPatternExpirationDate(status WKWebExtensionContextPermissionStatus, pattern *WKWebExtensionMatchPattern, expirationDate *foundation.NSDate)

@abstract Sets the status of a match pattern with a specific expiration date. @param status The new permission status to set for the given match pattern. @param pattern The match pattern for which to set the status. @param expirationDate The expiration date for the new permission status, or \c nil for distant future. @discussion This method will update “grantedPermissionMatchPatterns“ and “deniedPermissionMatchPatterns“. Use this method for changing a single match pattern's status. Passing a `nil` expiration date will be treated as a distant future date. Only “WKWebExtensionContextPermissionStatusDeniedExplicitly“, “WKWebExtensionContextPermissionStatusUnknown“, and “WKWebExtensionContextPermissionStatusGrantedExplicitly“ states are allowed to be set using this method. @seealso setPermissionStatus:forMatchPattern: @seealso setPermissionStatus:forMatchPattern:inTab:

func (*WKWebExtensionContext) SetPermissionStatusForPermission

func (o *WKWebExtensionContext) SetPermissionStatusForPermission(status WKWebExtensionContextPermissionStatus, permission *foundation.NSString)

@abstract Sets the status of a permission with a distant future expiration date. @param status The new permission status to set for the given permission. @param permission The permission for which to set the status. @discussion This method will update “grantedPermissions“ and “deniedPermissions“. Use this method for changing a single permission's status. Only “WKWebExtensionContextPermissionStatusDeniedExplicitly“, “WKWebExtensionContextPermissionStatusUnknown“, and “WKWebExtensionContextPermissionStatusGrantedExplicitly“ states are allowed to be set using this method. @seealso setPermissionStatus:forPermission:expirationDate: @seealso setPermissionStatus:forPermission:inTab:

func (*WKWebExtensionContext) SetPermissionStatusForPermissionExpirationDate

func (o *WKWebExtensionContext) SetPermissionStatusForPermissionExpirationDate(status WKWebExtensionContextPermissionStatus, permission *foundation.NSString, expirationDate *foundation.NSDate)

@abstract Sets the status of a permission with a specific expiration date. @param status The new permission status to set for the given permission. @param permission The permission for which to set the status. @param expirationDate The expiration date for the new permission status, or \c nil for distant future. @discussion This method will update “grantedPermissions“ and “deniedPermissions“. Use this method for changing a single permission's status. Passing a `nil` expiration date will be treated as a distant future date. Only “WKWebExtensionContextPermissionStatusDeniedExplicitly“, “WKWebExtensionContextPermissionStatusUnknown“, and “WKWebExtensionContextPermissionStatusGrantedExplicitly“ states are allowed to be set using this method. @seealso setPermissionStatus:forPermission: @seealso setPermissionStatus:forPermission:inTab:

func (*WKWebExtensionContext) SetPermissionStatusForURL

func (o *WKWebExtensionContext) SetPermissionStatusForURL(status WKWebExtensionContextPermissionStatus, url *foundation.NSURL)

@abstract Sets the permission status of a URL with a distant future expiration date. @param status The new permission status to set for the given URL. @param url The URL for which to set the status. @discussion The URL is converted into a match pattern and will update “grantedPermissionMatchPatterns“ and “deniedPermissionMatchPatterns“. Use this method for changing a single URL's status. Only “WKWebExtensionContextPermissionStatusDeniedExplicitly“, “WKWebExtensionContextPermissionStatusUnknown“, and “WKWebExtensionContextPermissionStatusGrantedExplicitly“ states are allowed to be set using this method. @seealso setPermissionStatus:forURL:expirationDate: @seealso setPermissionStatus:forURL:inTab:

func (*WKWebExtensionContext) SetPermissionStatusForURLExpirationDate

func (o *WKWebExtensionContext) SetPermissionStatusForURLExpirationDate(status WKWebExtensionContextPermissionStatus, url *foundation.NSURL, expirationDate *foundation.NSDate)

@abstract Sets the permission status of a URL with a distant future expiration date. @param status The new permission status to set for the given URL. @param url The URL for which to set the status. @param expirationDate The expiration date for the new permission status, or \c nil for distant future. @discussion The URL is converted into a match pattern and will update “grantedPermissionMatchPatterns“ and “deniedPermissionMatchPatterns“. Use this method for changing a single URL's status. Passing a `nil` expiration date will be treated as a distant future date. Only “WKWebExtensionContextPermissionStatusDeniedExplicitly“, “WKWebExtensionContextPermissionStatusUnknown“, and “WKWebExtensionContextPermissionStatusGrantedExplicitly“ states are allowed to be set using this method. @seealso setPermissionStatus:forURL: @seealso setPermissionStatus:forURL:inTab:

func (*WKWebExtensionContext) SetUniqueIdentifier

func (o *WKWebExtensionContext) SetUniqueIdentifier(uniqueIdentifier *foundation.NSString)

func (*WKWebExtensionContext) SetUnsupportedAPIs

func (o *WKWebExtensionContext) SetUnsupportedAPIs(unsupportedAPIs *foundation.NSSet[*foundation.NSString])

func (*WKWebExtensionContext) UniqueIdentifier

func (o *WKWebExtensionContext) UniqueIdentifier() *foundation.NSString

@abstract A unique identifier used to distinguish the extension from other extensions and target it for messages. @discussion The default value is a unique value that matches the host in the default base URL. The identifier can be any value that is unique. Setting is only allowed when the context is not loaded. This value is accessible by the extension via `browser.runtime.id` and is used for messaging the extension via `browser.runtime.sendMessage()`.

func (*WKWebExtensionContext) UnsupportedAPIs

func (o *WKWebExtensionContext) UnsupportedAPIs() *foundation.NSSet[*foundation.NSString]

@abstract Specifies unsupported APIs for this extension, making them `undefined` in JavaScript. @discussion This property allows the app to specify a subset of web extension APIs that it chooses not to support, effectively making these APIs `undefined` within the extension's JavaScript contexts. This enables extensions to employ feature detection techniques for unsupported APIs, allowing them to adapt their behavior based on the APIs actually supported by the app. Setting is only allowed when the context is not loaded. Only certain APIs can be specified here, particularly those within the `browser` namespace and other dynamic functions and properties, anything else will be silently ignored. @note For example, specifying `"browser.windows.create"` and `"browser.storage"` in this set will result in the `browser.windows.create()` function and `browser.storage` property being `undefined`.

func (*WKWebExtensionContext) UserGesturePerformedInTab

func (o *WKWebExtensionContext) UserGesturePerformedInTab(tab WKWebExtensionTab)

@abstract Should be called by the app when a user gesture is performed in a specific tab. @param tab The tab in which the user gesture was performed. @discussion When a user gesture is performed in a tab, this method should be called to update the extension context. This enables the extension to be aware of the user gesture, potentially granting it access to features that require user interaction, such as `activeTab`. Not required if using “performActionForTab:“. @seealso hasActiveUserGestureInTab:

func (*WKWebExtensionContext) WebExtension

func (o *WKWebExtensionContext) WebExtension() *WKWebExtension

@abstract The extension this context represents.

func (*WKWebExtensionContext) WebExtensionController

func (o *WKWebExtensionContext) WebExtensionController() *WKWebExtensionController

@abstract The extension controller this context is loaded in, otherwise `nil` if it isn't loaded.

func (*WKWebExtensionContext) WebViewConfiguration

func (o *WKWebExtensionContext) WebViewConfiguration() *WKWebViewConfiguration

@abstract The web view configuration to use for web views that load pages from this extension. @discussion Returns a customized copy of the configuration, originally set in the web extension controller configuration, for this extension. The app must use this configuration when initializing web views intended to navigate to a URL originating from this extension's base URL. The app must also swap web views in tabs when navigating to and from web extension URLs. This property returns `nil` if the context isn't associated with a web extension controller. The returned configuration copy can be customized prior to web view initialization. @note Navigations will fail if a web view using this configuration attempts to navigate to a URL that doesn't originate from this extension's base URL. Similarly, navigations will be canceled if a web view not configured with this configuration attempts to navigate to a URL that does originate from this extension's base URL.

type WKWebExtensionContextError

type WKWebExtensionContextError int64
const (
	WKWebExtensionContextErrorUnknown                       WKWebExtensionContextError = 1
	WKWebExtensionContextErrorAlreadyLoaded                 WKWebExtensionContextError = 2
	WKWebExtensionContextErrorNotLoaded                     WKWebExtensionContextError = 3
	WKWebExtensionContextErrorBaseURLAlreadyInUse           WKWebExtensionContextError = 4
	WKWebExtensionContextErrorNoBackgroundContent           WKWebExtensionContextError = 5
	WKWebExtensionContextErrorBackgroundContentFailedToLoad WKWebExtensionContextError = 6
)

func (WKWebExtensionContextError) String

type WKWebExtensionContextPermissionStatus

type WKWebExtensionContextPermissionStatus int64
const (
	WKWebExtensionContextPermissionStatusDeniedExplicitly    WKWebExtensionContextPermissionStatus = -3
	WKWebExtensionContextPermissionStatusDeniedImplicitly    WKWebExtensionContextPermissionStatus = -2
	WKWebExtensionContextPermissionStatusRequestedImplicitly WKWebExtensionContextPermissionStatus = -1
	WKWebExtensionContextPermissionStatusUnknown             WKWebExtensionContextPermissionStatus = 0
	WKWebExtensionContextPermissionStatusRequestedExplicitly WKWebExtensionContextPermissionStatus = 1
	WKWebExtensionContextPermissionStatusGrantedImplicitly   WKWebExtensionContextPermissionStatus = 2
	WKWebExtensionContextPermissionStatusGrantedExplicitly   WKWebExtensionContextPermissionStatus = 3
)

func (WKWebExtensionContextPermissionStatus) String

type WKWebExtensionController

type WKWebExtensionController struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensioncontroller

func WKWebExtensionControllerFromID

func WKWebExtensionControllerFromID(id objc.ID) *WKWebExtensionController

func (*WKWebExtensionController) Configuration

@abstract A copy of the configuration with which the web extension controller was initialized. @discussion Mutating the configuration has no effect on the web extension controller.

func (*WKWebExtensionController) Delegate

@abstract The extension controller delegate.

func (*WKWebExtensionController) DidActivateTabPreviousActiveTab

func (o *WKWebExtensionController) DidActivateTabPreviousActiveTab(activatedTab WKWebExtensionTab, previousTab WKWebExtensionTab)

@abstract Should be called by the app when a tab is activated to notify all loaded web extensions. @param activatedTab The tab that has become active. @param previousTab The tab that was active before. This parameter can be \c nil if there was no previously active tab. @discussion This method informs all loaded extensions of the tab activation, ensuring consistent state awareness across extensions. If the intention is to inform only a specific extension, use the respective method on that extension's context instead.

func (*WKWebExtensionController) DidChangeTabPropertiesForTab

func (o *WKWebExtensionController) DidChangeTabPropertiesForTab(properties WKWebExtensionTabChangedProperties, changedTab WKWebExtensionTab)

@abstract Should be called by the app when the properties of a tab are changed to fire appropriate events with all loaded web extensions. @param properties The properties of the tab that were changed. @param changedTab The tab whose properties were changed. @discussion This method informs all loaded extensions of changes to tab properties, ensuring a unified understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead.

func (*WKWebExtensionController) DidCloseTabWindowIsClosing

func (o *WKWebExtensionController) DidCloseTabWindowIsClosing(closedTab WKWebExtensionTab, windowIsClosing bool)

@abstract Should be called by the app when a tab is closed to fire appropriate events with all loaded web extensions. @param closedTab The tab that was closed. @param windowIsClosing A boolean value indicating whether the window containing the tab is also closing. @discussion This method informs all loaded extensions of the closing of a tab, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead. @seealso didOpenTab:

func (*WKWebExtensionController) DidCloseWindow

func (o *WKWebExtensionController) DidCloseWindow(closedWindow WKWebExtensionWindow)

@abstract Should be called by the app when a window is closed to fire appropriate events with all loaded web extensions. @param newWindow The window that was closed. @discussion This method informs all loaded extensions of the closure of a window, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead. @seealso didOpenWindow:

func (*WKWebExtensionController) DidDeselectTabs

func (o *WKWebExtensionController) DidDeselectTabs(deselectedTabs *foundation.NSArray[WKWebExtensionTab])

@abstract Should be called by the app when tabs are deselected to fire appropriate events with all loaded web extensions. @param deselectedTabs The set of tabs that were deselected. @discussion This method informs all loaded extensions that tabs have been deselected, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead.

func (*WKWebExtensionController) DidFocusWindow

func (o *WKWebExtensionController) DidFocusWindow(focusedWindow WKWebExtensionWindow)

@abstract Should be called by the app when a window gains focus to fire appropriate events with all loaded web extensions. @param focusedWindow The window that gained focus, or \c nil if no window has focus or a window has focus that is not visible to extensions. @discussion This method informs all loaded extensions of the focused window, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead.

func (*WKWebExtensionController) DidMoveTabFromIndexInWindow

func (o *WKWebExtensionController) DidMoveTabFromIndexInWindow(movedTab WKWebExtensionTab, index uint, oldWindow WKWebExtensionWindow)

@abstract Should be called by the app when a tab is moved to fire appropriate events with all loaded web extensions. @param movedTab The tab that was moved. @param index The old index of the tab within the window. @param oldWindow The window that the tab was moved from, or \c nil if the tab is moving from no open window. @discussion This method informs all loaded extensions of the movement of a tab, ensuring consistent understanding across extensions. If the window is staying the same, the current window should be specified. If the intention is to inform only a specific extension, use the respective method on that extension's context instead.

func (*WKWebExtensionController) DidOpenTab

func (o *WKWebExtensionController) DidOpenTab(newTab WKWebExtensionTab)

@abstract Should be called by the app when a new tab is opened to fire appropriate events with all loaded web extensions. @param newTab The newly opened tab. @discussion This method informs all loaded extensions of the opening of a new tab, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead. @seealso didCloseTab:

func (*WKWebExtensionController) DidOpenWindow

func (o *WKWebExtensionController) DidOpenWindow(newWindow WKWebExtensionWindow)

@abstract Should be called by the app when a new window is opened to fire appropriate events with all loaded web extensions. @param newWindow The newly opened window. @discussion This method informs all loaded extensions of the opening of a new window, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead. @seealso didCloseWindow:

func (*WKWebExtensionController) DidReplaceTabWithTab

func (o *WKWebExtensionController) DidReplaceTabWithTab(oldTab WKWebExtensionTab, newTab WKWebExtensionTab)

@abstract Should be called by the app when a tab is replaced by another tab to fire appropriate events with all loaded web extensions. @param oldTab The tab that was replaced. @param newTab The tab that replaced the old tab. @discussion This method informs all loaded extensions of the replacement of a tab, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead.

func (*WKWebExtensionController) DidSelectTabs

func (o *WKWebExtensionController) DidSelectTabs(selectedTabs *foundation.NSArray[WKWebExtensionTab])

@abstract Should be called by the app when tabs are selected to fire appropriate events with all loaded web extensions. @param selectedTabs The set of tabs that were selected. @discussion This method informs all loaded extensions that tabs have been selected, ensuring consistent understanding across extensions. If the intention is to inform only a specific extension, you should use the respective method on that extension's context instead.

func (*WKWebExtensionController) ExtensionContextForExtension

func (o *WKWebExtensionController) ExtensionContextForExtension(extension *WKWebExtension) *WKWebExtensionContext

@abstract Returns a loaded extension context for the specified extension. @param extension An extension to lookup. @result An extension context or `nil` if no match was found. @seealso extensions

func (*WKWebExtensionController) ExtensionContextForURL

func (o *WKWebExtensionController) ExtensionContextForURL(uRL *foundation.NSURL) *WKWebExtensionContext

@abstract Returns a loaded extension context matching the specified URL. @param URL The URL to lookup. @result An extension context or `nil` if no match was found. @discussion This method is useful for determining the extension context to use when about to navigate to an extension URL. For example, you could use this method to retrieve the appropriate extension context and then use its “webViewConfiguration“ property to configure a web view for loading that URL.

func (*WKWebExtensionController) ExtensionContexts

@abstract A set of all the currently loaded extension contexts. @seealso extensions

func (*WKWebExtensionController) Extensions

@abstract A set of all the currently loaded extensions. @seealso extensionContexts

func (*WKWebExtensionController) FetchDataRecordOfTypesForExtensionContextCompletionHandler

func (o *WKWebExtensionController) FetchDataRecordOfTypesForExtensionContextCompletionHandler(dataTypes *foundation.NSSet[*foundation.NSString], extensionContext *WKWebExtensionContext, completionHandler func(*WKWebExtensionDataRecord))

@abstract Fetches a data record containing the given extension data types for a specific known web extension context. @param dataTypes The extension data types to fetch records for. @param extensionContext The specific web extension context to fetch records for. @param completionHandler A block to invoke when the data record has been fetched. @note The extension does not need to be loaded to be included in the result.

func (*WKWebExtensionController) FetchDataRecordsOfTypesCompletionHandler

func (o *WKWebExtensionController) FetchDataRecordsOfTypesCompletionHandler(dataTypes *foundation.NSSet[*foundation.NSString], completionHandler func(*foundation.NSArray[*WKWebExtensionDataRecord]))

@abstract Fetches data records containing the given extension data types for all known extensions. @param dataTypes The extension data types to fetch records for. @param completionHandler A block to invoke when the data records have been fetched. @note The extension does not need to be loaded to be included in the result.

func (*WKWebExtensionController) Init

@abstract Returns a web extension controller initialized with the default configuration. @result An initialized web extension controller, or nil if the object could not be initialized. @discussion This is a designated initializer. You can use “initWithConfiguration:“ to initialize an instance with a configuration. @seealso initWithConfiguration:

func (*WKWebExtensionController) InitWithConfiguration

@abstract Returns a web extension controller initialized with the specified configuration. @param configuration The configuration for the new web extension controller. @result An initialized web extension controller, or nil if the object could not be initialized. @discussion This is a designated initializer. You can use “init:“ to initialize an instance with the default configuration. The initializer copies the specified configuration, so mutating the configuration after invoking the initializer has no effect on the web extension controller. @seealso init

func (*WKWebExtensionController) LoadExtensionContextError

func (o *WKWebExtensionController) LoadExtensionContextError(extensionContext *WKWebExtensionContext) (bool, error)

@abstract Loads the specified extension context. @discussion Causes the context to start, loading any background content, and injecting any content into relevant tabs. @param error Set to \c nil or an \c NSError instance if an error occurred. @result A Boolean value indicating if the context was successfully loaded. @seealso loadExtensionContext:

func (*WKWebExtensionController) RemoveDataOfTypesFromDataRecordsCompletionHandler

func (o *WKWebExtensionController) RemoveDataOfTypesFromDataRecordsCompletionHandler(dataTypes *foundation.NSSet[*foundation.NSString], dataRecords *foundation.NSArray[*WKWebExtensionDataRecord], completionHandler func())

@abstract Removes extension data of the given types for the given data records. @param dataTypes The extension data types that should be removed. @param dataRecords The extension data records to delete data from. @param completionHandler A block to invoke when the data has been removed.

func (*WKWebExtensionController) SetDelegate

func (*WKWebExtensionController) UnloadExtensionContextError

func (o *WKWebExtensionController) UnloadExtensionContextError(extensionContext *WKWebExtensionContext) (bool, error)

@abstract Unloads the specified extension context. @discussion Causes the context to stop running. @param error Set to \c nil or an \c NSError instance if an error occurred. @result A Boolean value indicating if the context was successfully unloaded. @seealso unloadExtensionContext:

type WKWebExtensionControllerConfiguration

type WKWebExtensionControllerConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensioncontrollerconfiguration

func WKWebExtensionControllerConfigurationConfigurationWithIdentifier

func WKWebExtensionControllerConfigurationConfigurationWithIdentifier(identifier *foundation.NSUUID) *WKWebExtensionControllerConfiguration

@abstract Returns a new configuration that is persistent and unique for the specified identifier. @discussion If a “WKWebExtensionController“ is associated with a unique persistent configuration, data will be written to the file system in a unique location based on the specified identifier. @seealso defaultConfiguration

func WKWebExtensionControllerConfigurationDefaultConfiguration

func WKWebExtensionControllerConfigurationDefaultConfiguration() *WKWebExtensionControllerConfiguration

@abstract Returns a new default configuration that is persistent and not unique. @discussion If a “WKWebExtensionController“ is associated with a persistent configuration, data will be written to the file system in a common location. When using multiple extension controllers, each controller should use a unique configuration to avoid conflicts. @seealso configurationWithIdentifier:

func WKWebExtensionControllerConfigurationFromID

func WKWebExtensionControllerConfigurationFromID(id objc.ID) *WKWebExtensionControllerConfiguration

func WKWebExtensionControllerConfigurationNonPersistentConfiguration

func WKWebExtensionControllerConfigurationNonPersistentConfiguration() *WKWebExtensionControllerConfiguration

@abstract Returns a new non-persistent configuration. @discussion If a “WKWebExtensionController“ is associated with a non-persistent configuration, no data will be written to the file system. This is useful for extensions in "private browsing" situations.

func (*WKWebExtensionControllerConfiguration) DefaultWebsiteDataStore

func (o *WKWebExtensionControllerConfiguration) DefaultWebsiteDataStore() *WKWebsiteDataStore

@abstract The default data store for website data and cookie access in extension contexts. @discussion This property sets the primary data store for managing website data, including cookies, which extensions can access, subject to the granted permissions within the extension contexts. Defaults to “WKWebsiteDataStore.defaultDataStore“. @note In addition to this data store, extensions can also access other data stores, such as non-persistent ones, for any open tabs.

func (*WKWebExtensionControllerConfiguration) Identifier

@abstract The unique identifier used for persistent configuration storage, or `nil` when it is the default or not persistent.

func (*WKWebExtensionControllerConfiguration) IsPersistent

func (o *WKWebExtensionControllerConfiguration) IsPersistent() bool

@abstract A Boolean value indicating if this context will write data to the the file system.

func (*WKWebExtensionControllerConfiguration) SetDefaultWebsiteDataStore

func (o *WKWebExtensionControllerConfiguration) SetDefaultWebsiteDataStore(defaultWebsiteDataStore *WKWebsiteDataStore)

func (*WKWebExtensionControllerConfiguration) SetWebViewConfiguration

func (o *WKWebExtensionControllerConfiguration) SetWebViewConfiguration(webViewConfiguration *WKWebViewConfiguration)

func (*WKWebExtensionControllerConfiguration) WebViewConfiguration

@abstract The web view configuration to be used as a basis for configuring web views in extension contexts.

type WKWebExtensionControllerDelegate

type WKWebExtensionControllerDelegate interface {
}

WKWebExtensionControllerDelegate wraps the ObjC protocol WKWebExtensionControllerDelegate.

type WKWebExtensionDataRecord

type WKWebExtensionDataRecord struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensiondatarecord

func WKWebExtensionDataRecordFromID

func WKWebExtensionDataRecordFromID(id objc.ID) *WKWebExtensionDataRecord

func (*WKWebExtensionDataRecord) ContainedDataTypes

func (o *WKWebExtensionDataRecord) ContainedDataTypes() *foundation.NSSet[*foundation.NSString]

@abstract The set of data types contained in this data record.

func (*WKWebExtensionDataRecord) DisplayName

func (o *WKWebExtensionDataRecord) DisplayName() *foundation.NSString

@abstract The display name for the web extension to which this data record belongs.

func (*WKWebExtensionDataRecord) Errors

@abstract An array of errors that may have occurred when either calculating or deleting storage.

func (*WKWebExtensionDataRecord) SizeInBytesOfTypes

func (o *WKWebExtensionDataRecord) SizeInBytesOfTypes(dataTypes *foundation.NSSet[*foundation.NSString]) uint

@abstract Retrieves the size in bytes of the specific data types in this data record. @param dataTypes The set of data types to measure the size for. @return The total size of the specified data types. @seealso totalSizeInBytes

func (*WKWebExtensionDataRecord) TotalSizeInBytes

func (o *WKWebExtensionDataRecord) TotalSizeInBytes() uint

@abstract The total size in bytes of all data types contained in this data record. @seealso sizeInBytesOfTypes:

func (*WKWebExtensionDataRecord) UniqueIdentifier

func (o *WKWebExtensionDataRecord) UniqueIdentifier() *foundation.NSString

@abstract Unique identifier for the web extension context to which this data record belongs.

type WKWebExtensionDataRecordError

type WKWebExtensionDataRecordError int64
const (
	WKWebExtensionDataRecordErrorUnknown                   WKWebExtensionDataRecordError = 1
	WKWebExtensionDataRecordErrorLocalStorageFailed        WKWebExtensionDataRecordError = 2
	WKWebExtensionDataRecordErrorSessionStorageFailed      WKWebExtensionDataRecordError = 3
	WKWebExtensionDataRecordErrorSynchronizedStorageFailed WKWebExtensionDataRecordError = 4
)

func (WKWebExtensionDataRecordError) String

type WKWebExtensionError

type WKWebExtensionError int64
const (
	WKWebExtensionErrorUnknown                           WKWebExtensionError = 1
	WKWebExtensionErrorResourceNotFound                  WKWebExtensionError = 2
	WKWebExtensionErrorInvalidResourceCodeSignature      WKWebExtensionError = 3
	WKWebExtensionErrorInvalidManifest                   WKWebExtensionError = 4
	WKWebExtensionErrorUnsupportedManifestVersion        WKWebExtensionError = 5
	WKWebExtensionErrorInvalidManifestEntry              WKWebExtensionError = 6
	WKWebExtensionErrorInvalidDeclarativeNetRequestEntry WKWebExtensionError = 7
	WKWebExtensionErrorInvalidBackgroundPersistence      WKWebExtensionError = 8
	WKWebExtensionErrorInvalidArchive                    WKWebExtensionError = 9
)

func (WKWebExtensionError) String

func (e WKWebExtensionError) String() string

type WKWebExtensionMatchPattern

type WKWebExtensionMatchPattern struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensionmatchpattern

func WKWebExtensionMatchPatternAllHostsAndSchemesMatchPattern

func WKWebExtensionMatchPatternAllHostsAndSchemesMatchPattern() *WKWebExtensionMatchPattern

@abstract Returns a pattern object that has `*` for scheme, host, and path.

func WKWebExtensionMatchPatternAllURLsMatchPattern

func WKWebExtensionMatchPatternAllURLsMatchPattern() *WKWebExtensionMatchPattern

@abstract Returns a pattern object for `<all_urls>`.

func WKWebExtensionMatchPatternFromID

func WKWebExtensionMatchPatternFromID(id objc.ID) *WKWebExtensionMatchPattern

func WKWebExtensionMatchPatternMatchPatternWithSchemeHostPath

func WKWebExtensionMatchPatternMatchPatternWithSchemeHostPath(scheme *foundation.NSString, host *foundation.NSString, path *foundation.NSString) *WKWebExtensionMatchPattern

@abstract Returns a pattern object for the specified scheme, host, and path strings. @result A pattern object, or `nil` if any of the strings are invalid. @seealso initWithScheme:host:path:error:

func WKWebExtensionMatchPatternMatchPatternWithString

func WKWebExtensionMatchPatternMatchPatternWithString(string_ *foundation.NSString) *WKWebExtensionMatchPattern

@abstract Returns a pattern object for the specified pattern string. @result Returns `nil` if the pattern string is invalid. @seealso initWithString:error:

func (*WKWebExtensionMatchPattern) Host

@abstract The host part of the pattern string, unless “matchesAllURLs“ is `YES`.

func (*WKWebExtensionMatchPattern) InitWithSchemeHostPathError

func (o *WKWebExtensionMatchPattern) InitWithSchemeHostPathError(scheme *foundation.NSString, host *foundation.NSString, path *foundation.NSString) (*WKWebExtensionMatchPattern, error)

@abstract Returns a pattern object for the specified scheme, host, and path strings. @param error Set to \c nil or an error instance if an error occurred. @result A pattern object, or `nil` if any of the strings are invalid and an error will be set. @seealso initWithScheme:host:path:

func (*WKWebExtensionMatchPattern) InitWithStringError

func (o *WKWebExtensionMatchPattern) InitWithStringError(string_ *foundation.NSString) (*WKWebExtensionMatchPattern, error)

@abstract Returns a pattern object for the specified pattern string. @param error Set to \c nil or an error instance if an error occurred. @result A pattern object, or `nil` if the pattern string is invalid and an error will be set. @seealso initWithString:

func (*WKWebExtensionMatchPattern) MatchesAllHosts

func (o *WKWebExtensionMatchPattern) MatchesAllHosts() bool

@abstract If the pattern is `<all_urls>` or has `*` as the host.

func (*WKWebExtensionMatchPattern) MatchesAllURLs

func (o *WKWebExtensionMatchPattern) MatchesAllURLs() bool

@abstract If the pattern is `<all_urls>`.

func (*WKWebExtensionMatchPattern) MatchesPattern

func (o *WKWebExtensionMatchPattern) MatchesPattern(pattern *WKWebExtensionMatchPattern) bool

@abstract Matches the receiver pattern against the specified pattern. @param pattern The pattern to match against the receiver pattern. @result A Boolean value indicating if receiver pattern matches the specified pattern. @seealso matchesPattern:options:

func (*WKWebExtensionMatchPattern) MatchesPatternOptions

@abstract Matches the receiver pattern against the specified pattern with options. @param pattern The pattern to match against the receiver pattern. @param options The options to use while matching. @result A Boolean value indicating if receiver pattern matches the specified pattern. @seealso matchesPattern:

func (*WKWebExtensionMatchPattern) MatchesURL

func (o *WKWebExtensionMatchPattern) MatchesURL(url *foundation.NSURL) bool

@abstract Matches the reciever pattern against the specified URL. @param url The URL to match the against the reciever pattern. @result A Boolean value indicating if pattern matches the specified URL. @seealso matchesURL:options:

func (*WKWebExtensionMatchPattern) MatchesURLOptions

@abstract Matches the reciever pattern against the specified URL with options. @param url The URL to match the against the reciever pattern. @param options The options to use while matching. @result A Boolean value indicating if pattern matches the specified URL. @seealso matchesURL:

func (*WKWebExtensionMatchPattern) Path

@abstract The path part of the pattern string, unless “matchesAllURLs“ is `YES`.

func (*WKWebExtensionMatchPattern) Scheme

@abstract The scheme part of the pattern string, unless “matchesAllURLs“ is `YES`.

func (*WKWebExtensionMatchPattern) String

@abstract The original pattern string.

type WKWebExtensionMatchPatternError

type WKWebExtensionMatchPatternError int64
const (
	WKWebExtensionMatchPatternErrorUnknown       WKWebExtensionMatchPatternError = 1
	WKWebExtensionMatchPatternErrorInvalidScheme WKWebExtensionMatchPatternError = 2
	WKWebExtensionMatchPatternErrorInvalidHost   WKWebExtensionMatchPatternError = 3
	WKWebExtensionMatchPatternErrorInvalidPath   WKWebExtensionMatchPatternError = 4
)

func (WKWebExtensionMatchPatternError) String

type WKWebExtensionMatchPatternOptions

type WKWebExtensionMatchPatternOptions uint64
const (
	WKWebExtensionMatchPatternOptionsNone                 WKWebExtensionMatchPatternOptions = 0
	WKWebExtensionMatchPatternOptionsIgnoreSchemes        WKWebExtensionMatchPatternOptions = 1
	WKWebExtensionMatchPatternOptionsIgnorePaths          WKWebExtensionMatchPatternOptions = 2
	WKWebExtensionMatchPatternOptionsMatchBidirectionally WKWebExtensionMatchPatternOptions = 4
)

func (WKWebExtensionMatchPatternOptions) String

type WKWebExtensionMessagePort

type WKWebExtensionMessagePort struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensionmessageport

func WKWebExtensionMessagePortFromID

func WKWebExtensionMessagePortFromID(id objc.ID) *WKWebExtensionMessagePort

func (*WKWebExtensionMessagePort) ApplicationIdentifier

func (o *WKWebExtensionMessagePort) ApplicationIdentifier() *foundation.NSString

@abstract The unique identifier for the app to which this port should be connected. @discussion This identifier is provided by the web extension and may or may not be used by the app. It's up to the app to decide how to interpret this identifier.

func (*WKWebExtensionMessagePort) Disconnect

func (o *WKWebExtensionMessagePort) Disconnect()

@abstract Disconnects the port, terminating all further messages.

func (*WKWebExtensionMessagePort) DisconnectHandler

func (o *WKWebExtensionMessagePort) DisconnectHandler() objc.Block

@abstract The block to be executed when the port disconnects. @discussion An optional block to be invoked when the port disconnects, taking an optional error that indicates if the disconnection was caused by an error.

func (*WKWebExtensionMessagePort) DisconnectWithError

func (o *WKWebExtensionMessagePort) DisconnectWithError(error_ unsafe.Pointer)

@abstract Disconnects the port, terminating all further messages with an optional error. @param error An optional error indicating the reason for disconnection.

func (*WKWebExtensionMessagePort) IsDisconnected

func (o *WKWebExtensionMessagePort) IsDisconnected() bool

@abstract Indicates whether the message port is disconnected.

func (*WKWebExtensionMessagePort) MessageHandler

func (o *WKWebExtensionMessagePort) MessageHandler() objc.Block

@abstract The block to be executed when a message is received from the web extension. @discussion An optional block to be invoked when a message is received, taking two parameters: the message and an optional error.

func (*WKWebExtensionMessagePort) SendMessageCompletionHandler

func (o *WKWebExtensionMessagePort) SendMessageCompletionHandler(message objc.ID, completionHandler func(unsafe.Pointer))

@abstract Sends a message to the connected web extension. @param message The JSON-serializable message to be sent. @param completionHandler An optional block to be invoked after the message is sent, taking an optional error. @note The message must be JSON-serializable according to “NSJSONSerialization“.

func (*WKWebExtensionMessagePort) SetDisconnectHandler

func (o *WKWebExtensionMessagePort) SetDisconnectHandler(disconnectHandler func(unsafe.Pointer))

func (*WKWebExtensionMessagePort) SetMessageHandler

func (o *WKWebExtensionMessagePort) SetMessageHandler(messageHandler func(objc.ID, unsafe.Pointer))

type WKWebExtensionMessagePortError

type WKWebExtensionMessagePortError int64
const (
	WKWebExtensionMessagePortErrorUnknown        WKWebExtensionMessagePortError = 1
	WKWebExtensionMessagePortErrorNotConnected   WKWebExtensionMessagePortError = 2
	WKWebExtensionMessagePortErrorMessageInvalid WKWebExtensionMessagePortError = 3
)

func (WKWebExtensionMessagePortError) String

type WKWebExtensionTab

type WKWebExtensionTab interface {
}

WKWebExtensionTab wraps the ObjC protocol WKWebExtensionTab.

type WKWebExtensionTabChangedProperties

type WKWebExtensionTabChangedProperties uint64
const (
	WKWebExtensionTabChangedPropertiesNone         WKWebExtensionTabChangedProperties = 0
	WKWebExtensionTabChangedPropertiesLoading      WKWebExtensionTabChangedProperties = 2
	WKWebExtensionTabChangedPropertiesMuted        WKWebExtensionTabChangedProperties = 4
	WKWebExtensionTabChangedPropertiesPinned       WKWebExtensionTabChangedProperties = 8
	WKWebExtensionTabChangedPropertiesPlayingAudio WKWebExtensionTabChangedProperties = 16
	WKWebExtensionTabChangedPropertiesReaderMode   WKWebExtensionTabChangedProperties = 32
	WKWebExtensionTabChangedPropertiesSize         WKWebExtensionTabChangedProperties = 64
	WKWebExtensionTabChangedPropertiesTitle        WKWebExtensionTabChangedProperties = 128
	WKWebExtensionTabChangedPropertiesURL          WKWebExtensionTabChangedProperties = 256
	WKWebExtensionTabChangedPropertiesZoomFactor   WKWebExtensionTabChangedProperties = 512
)

func (WKWebExtensionTabChangedProperties) String

type WKWebExtensionTabConfiguration

type WKWebExtensionTabConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensiontabconfiguration

func WKWebExtensionTabConfigurationFromID

func WKWebExtensionTabConfigurationFromID(id objc.ID) *WKWebExtensionTabConfiguration

func (*WKWebExtensionTabConfiguration) Index

@abstract Indicates the position where the tab should be opened within the window.

func (*WKWebExtensionTabConfiguration) ParentTab

@abstract Indicates the parent tab with which the tab should be related. @discussion If this property is `nil`, no parent tab was specified.

func (*WKWebExtensionTabConfiguration) ShouldAddToSelection

func (o *WKWebExtensionTabConfiguration) ShouldAddToSelection() bool

@abstract Indicates whether the tab should be added to the current tab selection. @discussion If this property is `YES`, the tab should be part of the current selection, but not necessarily become the active tab unless “shouldBeActive“ is also `YES`. If this property is `NO`, the tab shouldn't be part of the current selection.

func (*WKWebExtensionTabConfiguration) ShouldBeActive

func (o *WKWebExtensionTabConfiguration) ShouldBeActive() bool

@abstract Indicates whether the tab should be the active tab. @discussion If this property is `YES`, the tab should be made active in the window, ensuring it is the frontmost tab. Being active implies the tab is also selected. If this property is `NO`, the tab shouldn't affect the currently active tab.

func (*WKWebExtensionTabConfiguration) ShouldBeMuted

func (o *WKWebExtensionTabConfiguration) ShouldBeMuted() bool

@abstract Indicates whether the tab should be muted.

func (*WKWebExtensionTabConfiguration) ShouldBePinned

func (o *WKWebExtensionTabConfiguration) ShouldBePinned() bool

@abstract Indicates whether the tab should be pinned.

func (*WKWebExtensionTabConfiguration) ShouldReaderModeBeActive

func (o *WKWebExtensionTabConfiguration) ShouldReaderModeBeActive() bool

@abstract Indicates whether reader mode in the tab should be active.

func (*WKWebExtensionTabConfiguration) Url

@abstract Indicates the initial URL for the tab. @discussion If this property is `nil`, the app's default "start page" should appear in the tab.

func (*WKWebExtensionTabConfiguration) Window

@abstract Indicates the window where the tab should be opened. @discussion If this property is `nil`, no window was specified.

type WKWebExtensionWindow

type WKWebExtensionWindow interface {
}

WKWebExtensionWindow wraps the ObjC protocol WKWebExtensionWindow.

type WKWebExtensionWindowConfiguration

type WKWebExtensionWindowConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebextensionwindowconfiguration

func WKWebExtensionWindowConfigurationFromID

func WKWebExtensionWindowConfigurationFromID(id objc.ID) *WKWebExtensionWindowConfiguration

func (*WKWebExtensionWindowConfiguration) Frame

@abstract Indicates the frame where the window should be positioned on the main screen. @discussion This frame should override the app's default window position and size. Individual components (e.g., `origin.x`, `size.width`) will be `NaN` if not specified.

func (*WKWebExtensionWindowConfiguration) ShouldBeFocused

func (o *WKWebExtensionWindowConfiguration) ShouldBeFocused() bool

@abstract Indicates whether the window should be focused.

func (*WKWebExtensionWindowConfiguration) ShouldBePrivate

func (o *WKWebExtensionWindowConfiguration) ShouldBePrivate() bool

@abstract Indicates whether the window should be private. @note To ensure proper isolation between private and non-private data, web views associated with private data must use a different “WKUserContentController“. Likewise, to be identified as a private web view and to ensure that cookies and other website data is not shared, private web views must be configured to use a non-persistent “WKWebsiteDataStore“.

func (*WKWebExtensionWindowConfiguration) TabURLs

@abstract Indicates the URLs that the window should initially load as tabs. @discussion If “tabURLs“ and “tabs“ are both empty, the app's default "start page" should appear in a tab. @seealso tabs

func (*WKWebExtensionWindowConfiguration) Tabs

@abstract Indicates the existing tabs that should be moved to the window. @discussion If “tabs“ and “tabURLs“ are both empty, the app's default "start page" should appear in a tab. @seealso tabURLs

func (*WKWebExtensionWindowConfiguration) WindowState

@abstract Indicates the window state for the window.

func (*WKWebExtensionWindowConfiguration) WindowType

@abstract Indicates the window type for the window.

type WKWebExtensionWindowState

type WKWebExtensionWindowState int64
const (
	WKWebExtensionWindowStateNormal     WKWebExtensionWindowState = 0
	WKWebExtensionWindowStateMinimized  WKWebExtensionWindowState = 1
	WKWebExtensionWindowStateMaximized  WKWebExtensionWindowState = 2
	WKWebExtensionWindowStateFullscreen WKWebExtensionWindowState = 3
)

func (WKWebExtensionWindowState) String

func (e WKWebExtensionWindowState) String() string

type WKWebExtensionWindowType

type WKWebExtensionWindowType int64
const (
	WKWebExtensionWindowTypeNormal WKWebExtensionWindowType = 0
	WKWebExtensionWindowTypePopup  WKWebExtensionWindowType = 1
)

func (WKWebExtensionWindowType) String

func (e WKWebExtensionWindowType) String() string

type WKWebView

type WKWebView struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebview

func WKWebViewFromID

func WKWebViewFromID(id objc.ID) *WKWebView

func (*WKWebView) AllowsBackForwardNavigationGestures

func (o *WKWebView) AllowsBackForwardNavigationGestures() bool

@abstract A Boolean value indicating whether horizontal swipe gestures will trigger back-forward list navigations. @discussion The default value is NO.

func (*WKWebView) AllowsLinkPreview

func (o *WKWebView) AllowsLinkPreview() bool

@abstract A Boolean value indicating whether link preview is allowed for any links inside this WKWebView. @discussion The default value is YES on Mac and iOS.

func (*WKWebView) AllowsMagnification

func (o *WKWebView) AllowsMagnification() bool

func (*WKWebView) BackForwardList

func (o *WKWebView) BackForwardList() *WKBackForwardList

@abstract The web view's back-forward list.

func (*WKWebView) CallAsyncJavaScriptArgumentsInFrameInContentWorldCompletionHandler

func (o *WKWebView) CallAsyncJavaScriptArgumentsInFrameInContentWorldCompletionHandler(functionBody *foundation.NSString, arguments *foundation.NSDictionary[*foundation.NSString, objc.ID], frame *WKFrameInfo, contentWorld *WKContentWorld, completionHandler func(unsafe.Pointer, unsafe.Pointer))

func (*WKWebView) CameraCaptureState

func (o *WKWebView) CameraCaptureState() WKMediaCaptureState

@abstract The state of camera capture on a web page. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) CanGoBack

func (o *WKWebView) CanGoBack() bool

@abstract A Boolean value indicating whether there is a back item in the back-forward list that can be navigated to. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property. @seealso backForwardList.

func (*WKWebView) CanGoForward

func (o *WKWebView) CanGoForward() bool

@abstract A Boolean value indicating whether there is a forward item in the back-forward list that can be navigated to. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property. @seealso backForwardList.

func (*WKWebView) CertificateChain deprecated

func (o *WKWebView) CertificateChain() *foundation.NSArray[objc.ID]

Deprecated: since macOS 10.12.

func (*WKWebView) CloseAllMediaPresentations deprecated

func (o *WKWebView) CloseAllMediaPresentations()

Deprecated: since macOS 12.0.

func (*WKWebView) CloseAllMediaPresentationsWithCompletionHandler

func (o *WKWebView) CloseAllMediaPresentationsWithCompletionHandler(completionHandler func())

@abstract Closes all out-of-window media presentations in a WKWebView. @discussion Includes picture-in-picture and fullscreen.

func (*WKWebView) Configuration

func (o *WKWebView) Configuration() *WKWebViewConfiguration

@abstract A copy of the configuration with which the web view was initialized.

func (*WKWebView) CreatePDFWithConfigurationCompletionHandler

func (o *WKWebView) CreatePDFWithConfigurationCompletionHandler(pdfConfiguration *WKPDFConfiguration, completionHandler func(*foundation.NSData, unsafe.Pointer))

@abstract Create a PDF document representation from the web page currently displayed in the WKWebView @param pdfConfiguration An object that specifies how the PDF capture is configured. @param completionHandler A block to invoke when the pdf document data is ready. @discussion If the WKPDFConfiguration is nil, the method will create a PDF document representing the bounds of the currently displayed web page. The completionHandler is passed the resulting PDF document data or an error. The data can be used to create a PDFDocument object. If the data is written to a file the resulting file is a valid PDF document.

func (*WKWebView) CreateWebArchiveDataWithCompletionHandler

func (o *WKWebView) CreateWebArchiveDataWithCompletionHandler(completionHandler func(*foundation.NSData, unsafe.Pointer))

func (*WKWebView) CustomUserAgent

func (o *WKWebView) CustomUserAgent() *foundation.NSString

@abstract The custom user agent string or nil if no custom user agent string has been set.

func (*WKWebView) EstimatedProgress

func (o *WKWebView) EstimatedProgress() float64

@abstract An estimate of what fraction of the current navigation has been completed. @discussion This value ranges from 0.0 to 1.0 based on the total number of bytes expected to be received, including the main document and all of its potential subresources. After a navigation completes, the value remains at 1.0 until a new navigation starts, at which point it is reset to 0.0. @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) EvaluateJavaScriptCompletionHandler

func (o *WKWebView) EvaluateJavaScriptCompletionHandler(javaScriptString *foundation.NSString, completionHandler func(unsafe.Pointer, unsafe.Pointer))

func (*WKWebView) EvaluateJavaScriptInFrameInContentWorldCompletionHandler

func (o *WKWebView) EvaluateJavaScriptInFrameInContentWorldCompletionHandler(javaScriptString *foundation.NSString, frame *WKFrameInfo, contentWorld *WKContentWorld, completionHandler func(unsafe.Pointer, unsafe.Pointer))

func (*WKWebView) FetchDataOfTypesCompletionHandler

func (o *WKWebView) FetchDataOfTypesCompletionHandler(dataTypes WKWebViewDataType, completionHandler func(*foundation.NSData, unsafe.Pointer))

func (*WKWebView) FindStringWithConfigurationCompletionHandler

func (o *WKWebView) FindStringWithConfigurationCompletionHandler(string_ *foundation.NSString, configuration *WKFindConfiguration, completionHandler func(*WKFindResult))

func (*WKWebView) FullscreenState

func (o *WKWebView) FullscreenState() WKFullscreenState

@abstract A WKWebView's fullscreen state. @discussion @link WKWebView @link is key-value observing (KVO) compliant for this property. When an element in the WKWebView enters fullscreen, WebKit will replace the WKWebView in the application view hierarchy with a "placeholder" view, and move the WKWebView into a fullscreen window. When the element exits fullscreen later, the WKWebView will be moved back into the application view hierarchy. An application may need to adjust/restore its native UI components when the fullscreen state changes. The application should observe the fullscreenState property of WKWebView in order to receive notifications regarding the fullscreen state change.

func (*WKWebView) GoBack

func (o *WKWebView) GoBack() *WKNavigation

@abstract Navigates to the back item in the back-forward list. @result A new navigation to the requested item, or nil if there is no back item in the back-forward list.

func (*WKWebView) GoBack2

func (o *WKWebView) GoBack2(sender objc.ID)

@abstract Action method that navigates to the back item in the back-forward list. @param sender The object that sent this message.

func (*WKWebView) GoForward

func (o *WKWebView) GoForward() *WKNavigation

@abstract Navigates to the forward item in the back-forward list. @result A new navigation to the requested item, or nil if there is no forward item in the back-forward list.

func (*WKWebView) GoForward2

func (o *WKWebView) GoForward2(sender objc.ID)

@abstract Action method that navigates to the forward item in the back-forward list. @param sender The object that sent this message.

func (*WKWebView) GoToBackForwardListItem

func (o *WKWebView) GoToBackForwardListItem(item *WKBackForwardListItem) *WKNavigation

@abstract Navigates to an item from the back-forward list and sets it as the current item. @param item The item to which to navigate. Must be one of the items in the web view's back-forward list. @result A new navigation to the requested item, or nil if it is already the current item or is not part of the web view's back-forward list. @seealso backForwardList

func (*WKWebView) HasOnlySecureContent

func (o *WKWebView) HasOnlySecureContent() bool

@abstract A Boolean value indicating whether all resources on the page have been loaded over securely encrypted connections. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) InitWithCoder

func (o *WKWebView) InitWithCoder(coder *foundation.NSCoder) *WKWebView

func (*WKWebView) InitWithFrameConfiguration

func (o *WKWebView) InitWithFrameConfiguration(frame corefoundation.CGRect, configuration *WKWebViewConfiguration) *WKWebView

@abstract Returns a web view initialized with a specified frame and configuration. @param frame The frame for the new web view. @param configuration The configuration for the new web view. @result An initialized web view, or nil if the object could not be initialized. @discussion This is a designated initializer. You can use @link -initWithFrame: @/link to initialize an instance with the default configuration. The initializer copies the specified configuration, so mutating the configuration after invoking the initializer has no effect on the web view.

func (*WKWebView) InteractionState

func (o *WKWebView) InteractionState() objc.ID

func (*WKWebView) IsBlockedByScreenTime

func (o *WKWebView) IsBlockedByScreenTime() bool

@abstract A Boolean value indicating whether Screen Time blocking has occurred.

func (*WKWebView) IsInspectable

func (o *WKWebView) IsInspectable() bool

@abstract Controls whether this @link WKWebView @/link is inspectable in Web Inspector. @discussion The default value is NO.

func (*WKWebView) IsLoading

func (o *WKWebView) IsLoading() bool

@abstract A Boolean value indicating whether the view is currently loading content. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) IsWritingToolsActive

func (o *WKWebView) IsWritingToolsActive() bool

@abstract A Boolean value indicating whether Writing Tools is active for the view. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) LoadDataMIMETypeCharacterEncodingNameBaseURL

func (o *WKWebView) LoadDataMIMETypeCharacterEncodingNameBaseURL(data *foundation.NSData, mIMEType *foundation.NSString, characterEncodingName *foundation.NSString, baseURL *foundation.NSURL) *WKNavigation

@abstract Sets the webpage contents and base URL. @param data The data to use as the contents of the webpage. @param MIMEType The MIME type of the data. @param characterEncodingName The data's character encoding name. @param baseURL A URL that is used to resolve relative URLs within the document. @result A new navigation.

func (*WKWebView) LoadFileRequestAllowingReadAccessToURL

func (o *WKWebView) LoadFileRequestAllowingReadAccessToURL(request *foundation.NSURLRequest, readAccessURL *foundation.NSURL) *WKNavigation

@abstract Navigates to the requested file URL on the filesystem. @param request The request specifying the file URL to which to navigate. @param readAccessURL The URL to allow read access to. @discussion If readAccessURL references a single file, only that file may be loaded by WebKit. If readAccessURL references a directory, files inside that file may be loaded by WebKit. @result A new navigation for the given file URL.

func (*WKWebView) LoadFileURLAllowingReadAccessToURL

func (o *WKWebView) LoadFileURLAllowingReadAccessToURL(uRL *foundation.NSURL, readAccessURL *foundation.NSURL) *WKNavigation

@abstract Navigates to the requested file URL on the filesystem. @param URL The file URL to which to navigate. @param readAccessURL The URL to allow read access to. @discussion If readAccessURL references a single file, only that file may be loaded by WebKit. If readAccessURL references a directory, files inside that file may be loaded by WebKit. @result A new navigation for the given file URL.

func (*WKWebView) LoadHTMLStringBaseURL

func (o *WKWebView) LoadHTMLStringBaseURL(string_ *foundation.NSString, baseURL *foundation.NSURL) *WKNavigation

@abstract Sets the webpage contents and base URL. @param string The string to use as the contents of the webpage. @param baseURL A URL that is used to resolve relative URLs within the document. @result A new navigation.

func (*WKWebView) LoadRequest

func (o *WKWebView) LoadRequest(request *foundation.NSURLRequest) *WKNavigation

@abstract Navigates to a requested URL. @param request The request specifying the URL to which to navigate. @result A new navigation for the given request.

func (*WKWebView) LoadSimulatedRequestResponseHTMLString

func (o *WKWebView) LoadSimulatedRequestResponseHTMLString(request *foundation.NSURLRequest, string_ *foundation.NSString) *WKNavigation

@abstract Sets the webpage contents from the passed HTML string as if it was the response to the supplied request. The request is never actually sent to the supplied URL, though loads of resources defined in the HTML string would be performed. @param request The request specifying the base URL and other loading details to be used while interpreting the supplied data object. @param string The data to use as the contents of the webpage. @result A new navigation.

func (*WKWebView) LoadSimulatedRequestResponseResponseData

func (o *WKWebView) LoadSimulatedRequestResponseResponseData(request *foundation.NSURLRequest, response *foundation.NSURLResponse, data *foundation.NSData) *WKNavigation

@abstract Sets the webpage contents from the passed data as if it was the response to the supplied request. The request is never actually sent to the supplied URL, though loads of resources defined in the NSData object would be performed. @param request The request specifying the base URL and other loading details to be used while interpreting the supplied data object. @param response A response that is used to interpret the supplied data object. @param data The data to use as the contents of the webpage. @result A new navigation.

func (*WKWebView) LoadSimulatedRequestWithResponseHTMLString deprecated

func (o *WKWebView) LoadSimulatedRequestWithResponseHTMLString(request *foundation.NSURLRequest, string_ *foundation.NSString) *WKNavigation

Deprecated: since macOS 12.0.

func (*WKWebView) LoadSimulatedRequestWithResponseResponseData deprecated

func (o *WKWebView) LoadSimulatedRequestWithResponseResponseData(request *foundation.NSURLRequest, response *foundation.NSURLResponse, data *foundation.NSData) *WKNavigation

Deprecated: since macOS 12.0.

func (*WKWebView) Magnification

func (o *WKWebView) Magnification() float64

func (*WKWebView) MaximumViewportInset

func (o *WKWebView) MaximumViewportInset() foundation.NSEdgeInsets

func (*WKWebView) MediaType

func (o *WKWebView) MediaType() *foundation.NSString

func (*WKWebView) MicrophoneCaptureState

func (o *WKWebView) MicrophoneCaptureState() WKMediaCaptureState

@abstract The state of microphone capture on a web page. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) MinimumViewportInset

func (o *WKWebView) MinimumViewportInset() foundation.NSEdgeInsets

func (*WKWebView) NavigationDelegate

func (o *WKWebView) NavigationDelegate() WKNavigationDelegate

@abstract The web view's navigation delegate.

func (*WKWebView) ObscuredContentInsets

func (o *WKWebView) ObscuredContentInsets() foundation.NSEdgeInsets

func (*WKWebView) PageZoom

func (o *WKWebView) PageZoom() float64

func (*WKWebView) PauseAllMediaPlayback deprecated

func (o *WKWebView) PauseAllMediaPlayback(completionHandler func())

Deprecated: since macOS 12.0.

func (*WKWebView) PauseAllMediaPlaybackWithCompletionHandler

func (o *WKWebView) PauseAllMediaPlaybackWithCompletionHandler(completionHandler func())

@abstract Pauses media playback in WKWebView. @discussion Pauses media playback. Media in the page can be restarted by calling play() on a media element or resume() on an AudioContext in JavaScript. A user can also use media controls to play media content after it has been paused.

func (*WKWebView) PrintOperationWithPrintInfo

func (o *WKWebView) PrintOperationWithPrintInfo(printInfo *appkit.NSPrintInfo) *appkit.NSPrintOperation

func (*WKWebView) Reload

func (o *WKWebView) Reload() *WKNavigation

@abstract Reloads the current page. @result A new navigation representing the reload.

func (*WKWebView) Reload2

func (o *WKWebView) Reload2(sender objc.ID)

@abstract Action method that reloads the current page. @param sender The object that sent this message.

func (*WKWebView) ReloadFromOrigin

func (o *WKWebView) ReloadFromOrigin() *WKNavigation

@abstract Reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible. @result A new navigation representing the reload.

func (*WKWebView) ReloadFromOrigin2

func (o *WKWebView) ReloadFromOrigin2(sender objc.ID)

@abstract Action method that reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible. @param sender The object that sent this message.

func (*WKWebView) RequestMediaPlaybackState deprecated

func (o *WKWebView) RequestMediaPlaybackState(completionHandler func(WKMediaPlaybackState))

Deprecated: since macOS 12.0.

func (*WKWebView) RequestMediaPlaybackStateWithCompletionHandler

func (o *WKWebView) RequestMediaPlaybackStateWithCompletionHandler(completionHandler func(WKMediaPlaybackState))

@abstract Get the current media playback state of a WKWebView. @param completionHandler A block to invoke with the return value of the function call. @discussion If media playback exists, WKMediaPlaybackState will be one of three values: WKMediaPlaybackPaused, WKMediaPlaybackSuspended, or WKMediaPlaybackPlaying. If no media playback exists in the current WKWebView, WKMediaPlaybackState will equal WKMediaPlaybackStateNone.

func (*WKWebView) RestoreDataCompletionHandler

func (o *WKWebView) RestoreDataCompletionHandler(data *foundation.NSData, completionHandler func(unsafe.Pointer))

func (*WKWebView) ResumeAllMediaPlayback deprecated

func (o *WKWebView) ResumeAllMediaPlayback(completionHandler func())

Deprecated: since macOS 12.0.

func (*WKWebView) ResumeDownloadFromResumeDataCompletionHandler

func (o *WKWebView) ResumeDownloadFromResumeDataCompletionHandler(resumeData *foundation.NSData, completionHandler func(*WKDownload))

func (*WKWebView) ServerTrust

func (o *WKWebView) ServerTrust() unsafe.Pointer

@abstract A SecTrustRef for the currently committed navigation. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) SetAllMediaPlaybackSuspendedCompletionHandler

func (o *WKWebView) SetAllMediaPlaybackSuspendedCompletionHandler(suspended bool, completionHandler func())

@abstract Suspends or resumes all media playback in WKWebView. @param suspended Whether media playback should be suspended or resumed. @discussion If suspended is true, this pauses media playback and blocks all attempts by the page or the user to resume until setAllMediaPlaybackSuspended is called again with suspended set to false. Media playback should always be suspended and resumed in pairs.

func (*WKWebView) SetAllowsBackForwardNavigationGestures

func (o *WKWebView) SetAllowsBackForwardNavigationGestures(allowsBackForwardNavigationGestures bool)

func (*WKWebView) SetAllowsLinkPreview

func (o *WKWebView) SetAllowsLinkPreview(allowsLinkPreview bool)

func (*WKWebView) SetAllowsMagnification

func (o *WKWebView) SetAllowsMagnification(allowsMagnification bool)

func (*WKWebView) SetCameraCaptureStateCompletionHandler

func (o *WKWebView) SetCameraCaptureStateCompletionHandler(state WKMediaCaptureState, completionHandler func())

@abstract Set camera capture state of a WKWebView. @param state State to apply for capture. @param completionHandler A block to invoke after the camera state has been changed. @discussion If value is WKMediaCaptureStateNone, this will stop any camera capture. If value is WKMediaCaptureStateMuted, any active camera capture will become muted. If value is WKMediaCaptureStateActive, any muted camera capture will become active.

func (*WKWebView) SetCustomUserAgent

func (o *WKWebView) SetCustomUserAgent(customUserAgent *foundation.NSString)

func (*WKWebView) SetInspectable

func (o *WKWebView) SetInspectable(inspectable bool)

func (*WKWebView) SetInteractionState

func (o *WKWebView) SetInteractionState(interactionState objc.ID)

func (*WKWebView) SetMagnification

func (o *WKWebView) SetMagnification(magnification float64)

func (*WKWebView) SetMagnificationCenteredAtPoint

func (o *WKWebView) SetMagnificationCenteredAtPoint(magnification float64, point corefoundation.CGPoint)

func (*WKWebView) SetMediaType

func (o *WKWebView) SetMediaType(mediaType *foundation.NSString)

func (*WKWebView) SetMicrophoneCaptureStateCompletionHandler

func (o *WKWebView) SetMicrophoneCaptureStateCompletionHandler(state WKMediaCaptureState, completionHandler func())

@abstract Set microphone capture state of a WKWebView. @param state state to apply for capture. @param completionHandler A block to invoke after the microphone state has been changed. @discussion If value is WKMediaCaptureStateNone, this will stop any microphone capture. If value is WKMediaCaptureStateMuted, any active microphone capture will become muted. If value is WKMediaCaptureStateActive, any muted microphone capture will become active.

func (*WKWebView) SetMinimumViewportInsetMaximumViewportInset

func (o *WKWebView) SetMinimumViewportInsetMaximumViewportInset(minimumViewportInset foundation.NSEdgeInsets, maximumViewportInset foundation.NSEdgeInsets)

func (*WKWebView) SetNavigationDelegate

func (o *WKWebView) SetNavigationDelegate(navigationDelegate WKNavigationDelegate)

func (*WKWebView) SetObscuredContentInsets

func (o *WKWebView) SetObscuredContentInsets(obscuredContentInsets foundation.NSEdgeInsets)

func (*WKWebView) SetPageZoom

func (o *WKWebView) SetPageZoom(pageZoom float64)

func (*WKWebView) SetUIDelegate

func (o *WKWebView) SetUIDelegate(uIDelegate WKUIDelegate)

func (*WKWebView) SetUnderPageBackgroundColor

func (o *WKWebView) SetUnderPageBackgroundColor(underPageBackgroundColor *appkit.NSColor)

func (*WKWebView) StartDownloadUsingRequestCompletionHandler

func (o *WKWebView) StartDownloadUsingRequestCompletionHandler(request *foundation.NSURLRequest, completionHandler func(*WKDownload))

func (*WKWebView) StopLoading

func (o *WKWebView) StopLoading()

@abstract Stops loading all resources on the current page.

func (*WKWebView) StopLoading2

func (o *WKWebView) StopLoading2(sender objc.ID)

@abstract Action method that stops loading all resources on the current page. @param sender The object that sent this message.

func (*WKWebView) SuspendAllMediaPlayback deprecated

func (o *WKWebView) SuspendAllMediaPlayback(completionHandler func())

Deprecated: since macOS 12.0.

func (*WKWebView) TakeSnapshotWithConfigurationCompletionHandler

func (o *WKWebView) TakeSnapshotWithConfigurationCompletionHandler(snapshotConfiguration *WKSnapshotConfiguration, completionHandler func(*appkit.NSImage, unsafe.Pointer))

func (*WKWebView) ThemeColor

func (o *WKWebView) ThemeColor() *appkit.NSColor

func (*WKWebView) Title

func (o *WKWebView) Title() *foundation.NSString

@abstract The page title. @discussion @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) UIDelegate

func (o *WKWebView) UIDelegate() WKUIDelegate

@abstract The web view's user interface delegate.

func (*WKWebView) URL

func (o *WKWebView) URL() *foundation.NSURL

@abstract The active URL. @discussion This is the URL that should be reflected in the user interface. @link WKWebView @/link is key-value observing (KVO) compliant for this property.

func (*WKWebView) UnderPageBackgroundColor

func (o *WKWebView) UnderPageBackgroundColor() *appkit.NSColor

type WKWebViewConfiguration

type WKWebViewConfiguration struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebviewconfiguration

func WKWebViewConfigurationFromID

func WKWebViewConfigurationFromID(id objc.ID) *WKWebViewConfiguration

func (*WKWebViewConfiguration) AllowsAirPlayForMediaPlayback

func (o *WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() bool

@abstract A Boolean value indicating whether AirPlay is allowed. @discussion The default value is YES.

func (*WKWebViewConfiguration) AllowsInlinePredictions

func (o *WKWebViewConfiguration) AllowsInlinePredictions() bool

@abstract A Boolean value indicating whether inline predictions are allowed. @discussion The default value is `NO`. If false, inline predictions are disabled regardless of the system setting. If true, they are enabled based on the system setting.

func (*WKWebViewConfiguration) ApplicationNameForUserAgent

func (o *WKWebViewConfiguration) ApplicationNameForUserAgent() *foundation.NSString

@abstract The name of the application as used in the user agent string.

func (*WKWebViewConfiguration) DefaultWebpagePreferences

func (o *WKWebViewConfiguration) DefaultWebpagePreferences() *WKWebpagePreferences

@abstract The set of default webpage preferences to use when loading and rendering content. @discussion These default webpage preferences are additionally passed to the navigation delegate in -webView:decidePolicyForNavigationAction:preferences:decisionHandler:.

func (*WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains

func (o *WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool

func (*WKWebViewConfiguration) MediaTypesRequiringUserActionForPlayback

func (o *WKWebViewConfiguration) MediaTypesRequiringUserActionForPlayback() WKAudiovisualMediaTypes

func (*WKWebViewConfiguration) Preferences

func (o *WKWebViewConfiguration) Preferences() *WKPreferences

@abstract The preference settings to be used by the web view. Deprecated: Creating and using multiple instances of WKProcessPool no longer has any effect.

func (*WKWebViewConfiguration) ProcessPool

func (o *WKWebViewConfiguration) ProcessPool() *WKProcessPool

@abstract The process pool from which to obtain the view's web content process. @discussion When a web view is initialized, a new web content process will be created for it from the specified pool, or an existing process in that pool will be used. Deprecated: Creating and using multiple instances of WKProcessPool no longer has any effect.

func (*WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback

func (o *WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback(allowsAirPlayForMediaPlayback bool)

func (*WKWebViewConfiguration) SetAllowsInlinePredictions

func (o *WKWebViewConfiguration) SetAllowsInlinePredictions(allowsInlinePredictions bool)

func (*WKWebViewConfiguration) SetApplicationNameForUserAgent

func (o *WKWebViewConfiguration) SetApplicationNameForUserAgent(applicationNameForUserAgent *foundation.NSString)

func (*WKWebViewConfiguration) SetDefaultWebpagePreferences

func (o *WKWebViewConfiguration) SetDefaultWebpagePreferences(defaultWebpagePreferences *WKWebpagePreferences)

func (*WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains

func (o *WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains(limitsNavigationsToAppBoundDomains bool)

func (*WKWebViewConfiguration) SetMediaTypesRequiringUserActionForPlayback

func (o *WKWebViewConfiguration) SetMediaTypesRequiringUserActionForPlayback(mediaTypesRequiringUserActionForPlayback WKAudiovisualMediaTypes)

func (*WKWebViewConfiguration) SetPreferences

func (o *WKWebViewConfiguration) SetPreferences(preferences *WKPreferences)

func (*WKWebViewConfiguration) SetProcessPool deprecated

func (o *WKWebViewConfiguration) SetProcessPool(processPool *WKProcessPool)

Deprecated: Creating and using multiple instances of WKProcessPool no longer has any effect.

func (*WKWebViewConfiguration) SetShowsSystemScreenTimeBlockingView

func (o *WKWebViewConfiguration) SetShowsSystemScreenTimeBlockingView(showsSystemScreenTimeBlockingView bool)

func (*WKWebViewConfiguration) SetSupportsAdaptiveImageGlyph

func (o *WKWebViewConfiguration) SetSupportsAdaptiveImageGlyph(supportsAdaptiveImageGlyph bool)

func (*WKWebViewConfiguration) SetSuppressesIncrementalRendering

func (o *WKWebViewConfiguration) SetSuppressesIncrementalRendering(suppressesIncrementalRendering bool)

func (*WKWebViewConfiguration) SetURLSchemeHandlerForURLScheme

func (o *WKWebViewConfiguration) SetURLSchemeHandlerForURLScheme(urlSchemeHandler WKURLSchemeHandler, urlScheme *foundation.NSString)

func (*WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS

func (o *WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS(upgradeKnownHostsToHTTPS bool)

func (*WKWebViewConfiguration) SetUserContentController

func (o *WKWebViewConfiguration) SetUserContentController(userContentController *WKUserContentController)

func (*WKWebViewConfiguration) SetUserInterfaceDirectionPolicy

func (o *WKWebViewConfiguration) SetUserInterfaceDirectionPolicy(userInterfaceDirectionPolicy WKUserInterfaceDirectionPolicy)

func (*WKWebViewConfiguration) SetWebExtensionController

func (o *WKWebViewConfiguration) SetWebExtensionController(webExtensionController *WKWebExtensionController)

func (*WKWebViewConfiguration) SetWebsiteDataStore

func (o *WKWebViewConfiguration) SetWebsiteDataStore(websiteDataStore *WKWebsiteDataStore)

func (*WKWebViewConfiguration) SetWritingToolsBehavior

func (o *WKWebViewConfiguration) SetWritingToolsBehavior(writingToolsBehavior appkit.NSWritingToolsBehavior)

func (*WKWebViewConfiguration) ShowsSystemScreenTimeBlockingView

func (o *WKWebViewConfiguration) ShowsSystemScreenTimeBlockingView() bool

@abstract A Boolean value indicating whether the System Screen Time blocking view should be shown. @discussion The default value is YES.

func (*WKWebViewConfiguration) SupportsAdaptiveImageGlyph

func (o *WKWebViewConfiguration) SupportsAdaptiveImageGlyph() bool

@abstract A Boolean value indicating whether insertion of adaptive image glyphs is allowed. @discussion The default value is `NO`. If `NO`, adaptive image glyphs are inserted as regular images. If `YES`, they are inserted with the full adaptive sizing behavior.

func (*WKWebViewConfiguration) SuppressesIncrementalRendering

func (o *WKWebViewConfiguration) SuppressesIncrementalRendering() bool

@abstract A Boolean value indicating whether the web view suppresses content rendering until it is fully loaded into memory. @discussion The default value is NO.

func (*WKWebViewConfiguration) UpgradeKnownHostsToHTTPS

func (o *WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() bool

@abstract A Boolean value indicating whether HTTP requests to servers known to support HTTPS should be automatically upgraded to HTTPS requests. @discussion The default value is YES.

func (*WKWebViewConfiguration) UrlSchemeHandlerForURLScheme

func (o *WKWebViewConfiguration) UrlSchemeHandlerForURLScheme(urlScheme *foundation.NSString) WKURLSchemeHandler

func (*WKWebViewConfiguration) UserContentController

func (o *WKWebViewConfiguration) UserContentController() *WKUserContentController

@abstract The user content controller to associate with the web view.

func (*WKWebViewConfiguration) UserInterfaceDirectionPolicy

func (o *WKWebViewConfiguration) UserInterfaceDirectionPolicy() WKUserInterfaceDirectionPolicy

@abstract The directionality of user interface elements. @discussion Possible values are described in WKUserInterfaceDirectionPolicy. The default value is WKUserInterfaceDirectionPolicyContent.

func (*WKWebViewConfiguration) WebExtensionController

func (o *WKWebViewConfiguration) WebExtensionController() *WKWebExtensionController

@abstract The web extension controller to associate with the web view.

func (*WKWebViewConfiguration) WebsiteDataStore

func (o *WKWebViewConfiguration) WebsiteDataStore() *WKWebsiteDataStore

@abstract The website data store to be used by the web view.

func (*WKWebViewConfiguration) WritingToolsBehavior

func (o *WKWebViewConfiguration) WritingToolsBehavior() appkit.NSWritingToolsBehavior

@abstract The preferred behavior of Writing Tools. @discussion The default behavior is equivalent to `NSWritingToolsBehaviorLimited`.

type WKWebViewDataType

type WKWebViewDataType uint64
const (
	WKWebViewDataTypeSessionStorage WKWebViewDataType = 1
)

func (WKWebViewDataType) String

func (e WKWebViewDataType) String() string

type WKWebpagePreferences

type WKWebpagePreferences struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebpagepreferences

func WKWebpagePreferencesFromID

func WKWebpagePreferencesFromID(id objc.ID) *WKWebpagePreferences

func (*WKWebpagePreferences) AllowsContentJavaScript

func (o *WKWebpagePreferences) AllowsContentJavaScript() bool

func (*WKWebpagePreferences) IsLockdownModeEnabled

func (o *WKWebpagePreferences) IsLockdownModeEnabled() bool

@abstract A boolean indicating whether lockdown mode is enabled. @discussion This mode trades off performance and compatibility in favor of security. The default value depends on the system setting.

func (*WKWebpagePreferences) PreferredContentMode

func (o *WKWebpagePreferences) PreferredContentMode() WKContentMode

@abstract A WKContentMode indicating the content mode to prefer when loading and rendering a webpage. @discussion The default value is WKContentModeRecommended. The stated preference is ignored on subframe navigation

func (*WKWebpagePreferences) PreferredHTTPSNavigationPolicy

func (o *WKWebpagePreferences) PreferredHTTPSNavigationPolicy() WKWebpagePreferencesUpgradeToHTTPSPolicy

@abstract A WKWebpagePreferencesUpgradeToHTTPSPolicy indicating the desired mode used when performing a top-level navigation to a webpage. @discussion The default value is WKWebpagePreferencesUpgradeToHTTPSPolicyKeepAsRequested. The stated preference is ignored on subframe navigation, and it may be ignored based on system configuration. The upgradeKnownHostsToHTTPS property on WKWebViewConfiguration supercedes this policy for known hosts.

func (*WKWebpagePreferences) SecurityRestrictionMode

func (o *WKWebpagePreferences) SecurityRestrictionMode() WKSecurityRestrictionMode

@abstract Security restriction mode for this navigation. @discussion Security restriction modes provide different levels of security hardening for high-risk browsing contexts. WKSecurityRestrictionModeMaximizeCompatibility provides additional hardening while maintaining full web compatibility: - JavaScript JIT compilation disabled (interpreter-only execution) - Increased Memory Tagging Extension (MTE) coverage across allocations in the WebContent process Setting a security restriction mode creates separate, isolated WebContent processes for the specified protection level. This preference only applies to main frame navigations and will be ignored for subframe navigations. When set for a main frame, all subframe content and opened windows inherit the same security restrictions. When the system has chosen WKSecurityRestrictionModeLockdown (e.g., in Lockdown Mode), attempts to set a less restrictive mode will fail silently. The default value is WKSecurityRestrictionModeNone.

func (*WKWebpagePreferences) SetAllowsContentJavaScript

func (o *WKWebpagePreferences) SetAllowsContentJavaScript(allowsContentJavaScript bool)

func (*WKWebpagePreferences) SetLockdownModeEnabled

func (o *WKWebpagePreferences) SetLockdownModeEnabled(lockdownModeEnabled bool)

func (*WKWebpagePreferences) SetPreferredContentMode

func (o *WKWebpagePreferences) SetPreferredContentMode(preferredContentMode WKContentMode)

func (*WKWebpagePreferences) SetPreferredHTTPSNavigationPolicy

func (o *WKWebpagePreferences) SetPreferredHTTPSNavigationPolicy(preferredHTTPSNavigationPolicy WKWebpagePreferencesUpgradeToHTTPSPolicy)

func (*WKWebpagePreferences) SetSecurityRestrictionMode

func (o *WKWebpagePreferences) SetSecurityRestrictionMode(securityRestrictionMode WKSecurityRestrictionMode)

type WKWebpagePreferencesUpgradeToHTTPSPolicy

type WKWebpagePreferencesUpgradeToHTTPSPolicy int64
const (
	WKWebpagePreferencesUpgradeToHTTPSPolicyKeepAsRequested            WKWebpagePreferencesUpgradeToHTTPSPolicy = 0
	WKWebpagePreferencesUpgradeToHTTPSPolicyAutomaticFallbackToHTTP    WKWebpagePreferencesUpgradeToHTTPSPolicy = 1
	WKWebpagePreferencesUpgradeToHTTPSPolicyUserMediatedFallbackToHTTP WKWebpagePreferencesUpgradeToHTTPSPolicy = 2
	WKWebpagePreferencesUpgradeToHTTPSPolicyErrorOnFailure             WKWebpagePreferencesUpgradeToHTTPSPolicy = 3
)

func (WKWebpagePreferencesUpgradeToHTTPSPolicy) String

type WKWebsiteDataRecord

type WKWebsiteDataRecord struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebsitedatarecord

func WKWebsiteDataRecordFromID

func WKWebsiteDataRecordFromID(id objc.ID) *WKWebsiteDataRecord

func (*WKWebsiteDataRecord) DataTypes

@abstract The various types of website data that exist for this data record.

func (*WKWebsiteDataRecord) DisplayName

func (o *WKWebsiteDataRecord) DisplayName() *foundation.NSString

@abstract The display name for the data record. This is usually the domain name.

type WKWebsiteDataStore

type WKWebsiteDataStore struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwebsitedatastore

func WKWebsiteDataStoreDataStoreForIdentifier

func WKWebsiteDataStoreDataStoreForIdentifier(identifier *foundation.NSUUID) *WKWebsiteDataStore

@abstract Get a persistent data store. @param identifier An identifier that is used to uniquely identify the data store. @discussion If a data store with this identifier does not exist yet, it will be created. Throws exception if identifier is 0.

func WKWebsiteDataStoreDefaultDataStore

func WKWebsiteDataStoreDefaultDataStore() *WKWebsiteDataStore

func WKWebsiteDataStoreFromID

func WKWebsiteDataStoreFromID(id objc.ID) *WKWebsiteDataStore

func WKWebsiteDataStoreNonPersistentDataStore

func WKWebsiteDataStoreNonPersistentDataStore() *WKWebsiteDataStore

@abstract Returns a new non-persistent data store. @discussion If a WKWebView is associated with a non-persistent data store, no data will be written to the file system. This is useful for implementing "private browsing" in a web view.

func (*WKWebsiteDataStore) FetchDataOfTypesCompletionHandler

func (o *WKWebsiteDataStore) FetchDataOfTypesCompletionHandler(dataTypes *foundation.NSSet[*foundation.NSString], completionHandler func(*foundation.NSData, unsafe.Pointer))

func (*WKWebsiteDataStore) FetchDataRecordsOfTypesCompletionHandler

func (o *WKWebsiteDataStore) FetchDataRecordsOfTypesCompletionHandler(dataTypes *foundation.NSSet[*foundation.NSString], completionHandler func(*foundation.NSArray[*WKWebsiteDataRecord]))

@abstract Fetches data records containing the given website data types. @param dataTypes The website data types to fetch records for. @param completionHandler A block to invoke when the data records have been fetched.

func (*WKWebsiteDataStore) HttpCookieStore

func (o *WKWebsiteDataStore) HttpCookieStore() *WKHTTPCookieStore

@abstract Returns the cookie store representing HTTP cookies in this website data store.

func (*WKWebsiteDataStore) Identifier

func (o *WKWebsiteDataStore) Identifier() *foundation.NSUUID

@abstract Get identifier for a data store. @discussion Returns nil for default and non-persistent data store .

func (*WKWebsiteDataStore) IsPersistent

func (o *WKWebsiteDataStore) IsPersistent() bool

@abstract Whether the data store is persistent or not.

func (*WKWebsiteDataStore) ProxyConfigurations

func (o *WKWebsiteDataStore) ProxyConfigurations() *foundation.NSArray[*foundation.NSObject]

func (*WKWebsiteDataStore) RemoveDataOfTypesForDataRecordsCompletionHandler

func (o *WKWebsiteDataStore) RemoveDataOfTypesForDataRecordsCompletionHandler(dataTypes *foundation.NSSet[*foundation.NSString], dataRecords *foundation.NSArray[*WKWebsiteDataRecord], completionHandler func())

@abstract Removes website data of the given types for the given data records. @param dataTypes The website data types that should be removed. @param dataRecords The website data records to delete website data for. @param completionHandler A block to invoke when the website data for the records has been removed.

func (*WKWebsiteDataStore) RemoveDataOfTypesModifiedSinceCompletionHandler

func (o *WKWebsiteDataStore) RemoveDataOfTypesModifiedSinceCompletionHandler(dataTypes *foundation.NSSet[*foundation.NSString], date *foundation.NSDate, completionHandler func())

@abstract Removes all website data of the given types that has been modified since the given date. @param dataTypes The website data types that should be removed. @param date A date. All website data modified after this date will be removed. @param completionHandler A block to invoke when the website data has been removed.

func (*WKWebsiteDataStore) RestoreDataCompletionHandler

func (o *WKWebsiteDataStore) RestoreDataCompletionHandler(data *foundation.NSData, completionHandler func(unsafe.Pointer))

func (*WKWebsiteDataStore) SetProxyConfigurations

func (o *WKWebsiteDataStore) SetProxyConfigurations(proxyConfigurations *foundation.NSArray[*foundation.NSObject])

type WKWindowFeatures

type WKWindowFeatures struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/wkwindowfeatures

func WKWindowFeaturesFromID

func WKWindowFeaturesFromID(id objc.ID) *WKWindowFeatures

func (*WKWindowFeatures) AllowsResizing

func (o *WKWindowFeatures) AllowsResizing() *foundation.NSNumber

@abstract BOOL. Whether the containing window should be resizable. nil if resizability was not specified.

func (*WKWindowFeatures) Height

func (o *WKWindowFeatures) Height() *foundation.NSNumber

@abstract CGFloat. The height coordinate of the containing window. nil if the height was not specified.

func (*WKWindowFeatures) MenuBarVisibility

func (o *WKWindowFeatures) MenuBarVisibility() *foundation.NSNumber

@abstract BOOL. Whether the menu bar should be visible. nil if menu bar visibility was not specified.

func (*WKWindowFeatures) StatusBarVisibility

func (o *WKWindowFeatures) StatusBarVisibility() *foundation.NSNumber

@abstract BOOL. Whether the status bar should be visible. nil if status bar visibility was not specified.

func (*WKWindowFeatures) ToolbarsVisibility

func (o *WKWindowFeatures) ToolbarsVisibility() *foundation.NSNumber

@abstract BOOL. Whether toolbars should be visible. nil if toolbar visibility was not specified.

func (*WKWindowFeatures) Width

func (o *WKWindowFeatures) Width() *foundation.NSNumber

@abstract CGFloat. The width coordinate of the containing window. nil if the width was not specified.

func (*WKWindowFeatures) X

@abstract CGFloat. The x coordinate of the containing window. nil if the x coordinate was not specified.

func (*WKWindowFeatures) Y

@abstract CGFloat. The y coordinate of the containing window. nil if the y coordinate was not specified.

type WebArchive

type WebArchive struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webarchive

func WebArchiveFromID

func WebArchiveFromID(id objc.ID) *WebArchive

func (*WebArchive) Data

func (o *WebArchive) Data() *foundation.NSData

@property data @abstract The data representation of the archive. @discussion The data returned by this method can be used to save a web archive to a file or to place a web archive on the pasteboard using WebArchivePboardType. To create a WebArchive using the returned data, call initWithData:.

func (*WebArchive) InitWithData

func (o *WebArchive) InitWithData(data *foundation.NSData) *WebArchive

@method initWithData: @abstract The initializer for creating a WebArchive from data. @param data The data representing the archive. This can be obtained using WebArchive's data method. @result An initialized WebArchive.

func (*WebArchive) InitWithMainResourceSubresourcesSubframeArchives

func (o *WebArchive) InitWithMainResourceSubresourcesSubframeArchives(mainResource *WebResource, subresources *foundation.NSArray[objc.ID], subframeArchives *foundation.NSArray[objc.ID]) *WebArchive

@method initWithMainResource:subresources:subframeArchives: @abstract The initializer for WebArchive. @param mainResource The main resource of the archive. @param subresources The subresources of the archive (can be nil). @param subframeArchives The archives representing the subframes of the archive (can be nil). @result An initialized WebArchive.

func (*WebArchive) MainResource

func (o *WebArchive) MainResource() *WebResource

@property mainResource @abstract The main resource of the archive.

func (*WebArchive) SubframeArchives

func (o *WebArchive) SubframeArchives() *foundation.NSArray[objc.ID]

@property subframeArchives @abstract The archives representing the subframes of the archive (can be nil).

func (*WebArchive) Subresources

func (o *WebArchive) Subresources() *foundation.NSArray[objc.ID]

@property subresources @abstract The subresource of the archive (can be nil).

type WebBackForwardList

type WebBackForwardList struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webbackforwardlist

func WebBackForwardListFromID

func WebBackForwardListFromID(id objc.ID) *WebBackForwardList

func (*WebBackForwardList) AddItem

func (o *WebBackForwardList) AddItem(item *WebHistoryItem)

@method addItem: @abstract Adds an entry to the list. @param item The entry to add. @discussion The added entry is inserted immediately after the current entry. If the current position in the list is not at the end of the list, elements in the forward list will be dropped at this point. In addition, entries may be dropped to keep the size of the list within the maximum size.

func (*WebBackForwardList) BackItem

func (o *WebBackForwardList) BackItem() *WebHistoryItem

@property backItem @abstract The entry right before the current entry, or nil if there isn't one.

func (*WebBackForwardList) BackListCount

func (o *WebBackForwardList) BackListCount() int

@property backListCount @abstract The number of items in the list.

func (*WebBackForwardList) BackListWithLimit

func (o *WebBackForwardList) BackListWithLimit(limit int) *foundation.NSArray[objc.ID]

@method backListWithLimit: @abstract Returns a portion of the list before the current entry. @param limit A cap on the size of the array returned. @result An array of items before the current entry, or nil if there are none. The entries are in the order that they were originally visited.

func (*WebBackForwardList) Capacity

func (o *WebBackForwardList) Capacity() int

@property capacity @abstract The list's maximum size.

func (*WebBackForwardList) ContainsItem

func (o *WebBackForwardList) ContainsItem(item *WebHistoryItem) bool

@method containsItem: @param item The item that will be checked for presence in the WebBackForwardList. @result Returns YES if the item is in the list.

func (*WebBackForwardList) CurrentItem

func (o *WebBackForwardList) CurrentItem() *WebHistoryItem

@property currentItem @abstract Returns the current entry.

func (*WebBackForwardList) ForwardItem

func (o *WebBackForwardList) ForwardItem() *WebHistoryItem

@property forwardItem @abstract The entry right after the current entry, or nil if there isn't one.

func (*WebBackForwardList) ForwardListCount

func (o *WebBackForwardList) ForwardListCount() int

@property forwardListCount @result The number of items in the list.

func (*WebBackForwardList) ForwardListWithLimit

func (o *WebBackForwardList) ForwardListWithLimit(limit int) *foundation.NSArray[objc.ID]

@method forwardListWithLimit: @abstract Returns a portion of the list after the current entry. @param limit A cap on the size of the array returned. @result An array of items after the current entry, or nil if there are none. The entries are in the order that they were originally visited.

func (*WebBackForwardList) GoBack

func (o *WebBackForwardList) GoBack()

@method goBack @abstract Move the current pointer back to the entry before the current entry.

func (*WebBackForwardList) GoForward

func (o *WebBackForwardList) GoForward()

@method goForward @abstract Move the current pointer ahead to the entry after the current entry.

func (*WebBackForwardList) GoToItem

func (o *WebBackForwardList) GoToItem(item *WebHistoryItem)

@method goToItem: @abstract Move the current pointer to the given entry. @param item The history item to move the pointer to

func (*WebBackForwardList) ItemAtIndex

func (o *WebBackForwardList) ItemAtIndex(index int) *WebHistoryItem

@method itemAtIndex: @abstract Returns an entry the given distance from the current entry. @param index Index of the desired list item relative to the current item; 0 is current item, -1 is back item, 1 is forward item, etc. @result The entry the given distance from the current entry. If index exceeds the limits of the list, nil is returned.

func (*WebBackForwardList) PageCacheSize

func (o *WebBackForwardList) PageCacheSize() uint

@method pageCacheSize @abstract Returns the size of the shared page cache, or 0. @result The size of the shared page cache (in pages), or 0 if the WebView associated with this WebBackForwardList will not use the shared page cache.

func (*WebBackForwardList) SetCapacity

func (o *WebBackForwardList) SetCapacity(capacity int)

func (*WebBackForwardList) SetPageCacheSize

func (o *WebBackForwardList) SetPageCacheSize(size uint)

@method setPageCacheSize: @abstract The size passed to this method determines whether the WebView associated with this WebBackForwardList will use the shared page cache. @param size If size is 0, the WebView associated with this WebBackForwardList will not use the shared page cache. Otherwise, it will.

type WebCacheModel

type WebCacheModel uint64
const (
	WebCacheModelDocumentViewer    WebCacheModel = 0
	WebCacheModelDocumentBrowser   WebCacheModel = 1
	WebCacheModelPrimaryWebBrowser WebCacheModel = 2
)

func (WebCacheModel) String

func (e WebCacheModel) String() string

type WebDataSource

type WebDataSource struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webdatasource

func WebDataSourceFromID

func WebDataSourceFromID(id objc.ID) *WebDataSource

func (*WebDataSource) AddSubresource

func (o *WebDataSource) AddSubresource(subresource *WebResource)

@method addSubresource: @abstract Adds a subresource to the data source. @param subresource The subresource to be added. @description addSubresource: adds a subresource to the data source's list of subresources. Later, if something causes the data source to load the URL of the subresource, the data source will load the data from the subresource instead of from the network. For example, if one wants to add an image that is already downloaded to a web page, addSubresource: can be called so that the data source uses the downloaded image rather than accessing the network. NOTE: If the data source already has a subresource with the same URL, addSubresource: will replace it.

func (*WebDataSource) Data

func (o *WebDataSource) Data() *foundation.NSData

@property data @abstract Returns the raw data associated with the datasource. Returns nil if the datasource hasn't loaded any data. @discussion The data will be incomplete until the datasource has completely loaded.

func (*WebDataSource) InitWithRequest

func (o *WebDataSource) InitWithRequest(request *foundation.NSURLRequest) *WebDataSource

@method initWithRequest: @abstract The designated initializer for WebDataSource. @param request The request to use in creating a datasource. @result Returns an initialized WebDataSource.

func (*WebDataSource) InitialRequest

func (o *WebDataSource) InitialRequest() *foundation.NSURLRequest

@property initialRequest @abstract A reference to the original request that created the datasource. This request will be unmodified by WebKit.

func (*WebDataSource) IsLoading

func (o *WebDataSource) IsLoading() bool

@property isLoading @abstract Returns YES if there are any pending loads.

func (*WebDataSource) MainResource

func (o *WebDataSource) MainResource() *WebResource

@property mainResource @abstract A WebResource representing the data source. @description This method constructs a WebResource using the original downloaded data. This method can be used to construct a WebArchive in case the archive returned by WebDataSource's webArchive isn't sufficient.

func (*WebDataSource) PageTitle

func (o *WebDataSource) PageTitle() *foundation.NSString

@property pageTitle @abstract The page title or nil.

func (*WebDataSource) Representation

func (o *WebDataSource) Representation() WebDocumentRepresentation

@property representation @abstract The representation associated with this datasource. Returns nil if the datasource hasn't created its representation. @discussion A representation holds a type specific representation of the datasource's data. The representation class is determined by mapping a MIME type to a class. The representation is created once the MIME type of the datasource content has been determined.

func (*WebDataSource) Request

@property request @abstract The request that was used to create this datasource.

func (*WebDataSource) Response

func (o *WebDataSource) Response() *foundation.NSURLResponse

@property response @abstract The NSURLResponse for the data source.

func (*WebDataSource) SubresourceForURL

func (o *WebDataSource) SubresourceForURL(uRL *foundation.NSURL) *WebResource

method subresourceForURL: @abstract Returns a subresource for a given URL. @param URL The URL of the subresource. @description Returns non-nil if the data source has fully downloaded a subresource with the given URL.

func (*WebDataSource) Subresources

func (o *WebDataSource) Subresources() *foundation.NSArray[objc.ID]

@property subresources @abstract All the subresources associated with the data source. @description The returned array only contains subresources that have fully downloaded.

func (*WebDataSource) TextEncodingName

func (o *WebDataSource) TextEncodingName() *foundation.NSString

@property textEncodingName @abstract Returns either the override encoding, as set on the WebView for this dataSource or the encoding from the response.

func (*WebDataSource) UnreachableURL

func (o *WebDataSource) UnreachableURL() *foundation.NSURL

@property unreachableURL @abstract The unreachableURL for which this dataSource is showing alternate content, or nil. @discussion This will be non-nil only for dataSources created by calls to the WebFrame method loadAlternateHTMLString:baseURL:forUnreachableURL:.

func (*WebDataSource) WebArchive

func (o *WebDataSource) WebArchive() *WebArchive

@property webArchive @abstract A WebArchive representing the data source, its subresources and child frames. @description This method constructs a WebArchive using the original downloaded data. In the case of HTML, if the current state of the document is preferred, webArchive should be called on the DOM document instead.

func (*WebDataSource) WebFrame

func (o *WebDataSource) WebFrame() *WebFrame

@property webFrame @abstract The frame that represents this data source.

type WebDocumentRepresentation

type WebDocumentRepresentation interface {
	SetDataSource(dataSource *WebDataSource)
	ReceivedDataWithDataSource(data *foundation.NSData, dataSource *WebDataSource)
	ReceivedErrorWithDataSource(error_ unsafe.Pointer, dataSource *WebDataSource)
	FinishedLoadingWithDataSource(dataSource *WebDataSource)
	CanProvideDocumentSource() bool
	DocumentSource() *foundation.NSString
	Title() *foundation.NSString
}

WebDocumentRepresentation wraps the ObjC protocol WebDocumentRepresentation.

type WebDocumentSearching

type WebDocumentSearching interface {
	SearchForDirectionCaseSensitiveWrap(string_ *foundation.NSString, forward bool, caseFlag bool, wrapFlag bool) bool
}

WebDocumentSearching wraps the ObjC protocol WebDocumentSearching.

type WebDocumentText

type WebDocumentText interface {
	SupportsTextEncoding() bool
	String() *foundation.NSString
	AttributedString() *foundation.NSAttributedString
	SelectedString() *foundation.NSString
	SelectedAttributedString() *foundation.NSAttributedString
	SelectAll()
	DeselectAll()
}

WebDocumentText wraps the ObjC protocol WebDocumentText.

type WebDocumentView

type WebDocumentView interface {
}

WebDocumentView wraps the ObjC protocol WebDocumentView.

type WebDownload

type WebDownload struct {
	foundation.NSURLDownload
}

Apple documentation: https://developer.apple.com/documentation/webkit/webdownload

func WebDownloadFromID

func WebDownloadFromID(id objc.ID) *WebDownload

type WebDownloadDelegate

type WebDownloadDelegate interface {
	foundation.NSURLDownloadDelegate
}

WebDownloadDelegate wraps the ObjC protocol WebDownloadDelegate.

type WebDragDestinationAction

type WebDragDestinationAction uint64
const (
	WebDragDestinationActionNone  WebDragDestinationAction = 0
	WebDragDestinationActionDHTML WebDragDestinationAction = 1
	WebDragDestinationActionEdit  WebDragDestinationAction = 2
	WebDragDestinationActionLoad  WebDragDestinationAction = 4
	WebDragDestinationActionAny   WebDragDestinationAction = 4294967295
)

func (WebDragDestinationAction) String

func (e WebDragDestinationAction) String() string

type WebDragSourceAction

type WebDragSourceAction uint64
const (
	WebDragSourceActionNone      WebDragSourceAction = 0
	WebDragSourceActionDHTML     WebDragSourceAction = 1
	WebDragSourceActionImage     WebDragSourceAction = 2
	WebDragSourceActionLink      WebDragSourceAction = 4
	WebDragSourceActionSelection WebDragSourceAction = 8
	WebDragSourceActionAny       WebDragSourceAction = 4294967295
)

func (WebDragSourceAction) String

func (e WebDragSourceAction) String() string

type WebEditingDelegate

type WebEditingDelegate interface {
}

WebEditingDelegate wraps the ObjC protocol WebEditingDelegate.

type WebFrame

type WebFrame struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webframe

func WebFrameFromID

func WebFrameFromID(id objc.ID) *WebFrame

func (*WebFrame) ChildFrames

func (o *WebFrame) ChildFrames() *foundation.NSArray[objc.ID]

@property childFrames @abstract An array of WebFrame. @discussion The frames in the array are associated with a frame set or iframe.

func (*WebFrame) DOMDocument

func (o *WebFrame) DOMDocument() *DOMDocument

@property DOMDocument @abstract The DOM document of the frame. @description Returns nil if the frame does not contain a DOM document such as a standalone image.

func (*WebFrame) DataSource

func (o *WebFrame) DataSource() *WebDataSource

@property dataSource @abstract The datasource for this frame. @discussion Returns the committed data source. Will return nil if the provisional data source hasn't yet been loaded.

func (*WebFrame) FindFrameNamed

func (o *WebFrame) FindFrameNamed(name *foundation.NSString) *WebFrame

@method findFrameNamed: @discussion This method returns a frame with the given name. findFrameNamed returns self for _self and _current, the parent frame for _parent and the main frame for _top. findFrameNamed returns self for _parent and _top if the receiver is the mainFrame. findFrameNamed first searches from the current frame to all descending frames then the rest of the frames in the WebView. If still not found, findFrameNamed searches the frames of the other WebViews. @param name The name of the frame to find. @result The frame matching the provided name. nil if the frame is not found.

func (*WebFrame) FrameElement

func (o *WebFrame) FrameElement() *DOMHTMLElement

@property frameElement @abstract The frame element of the frame. @description The class of the result is either DOMHTMLFrameElement, DOMHTMLIFrameElement or DOMHTMLObjectElement. Returns nil if the frame is the main frame since there is no frame element for the frame in this case.

func (*WebFrame) FrameView

func (o *WebFrame) FrameView() *WebFrameView

@property frameView @abstract The WebFrameView for this frame.

func (*WebFrame) GlobalContext

func (o *WebFrame) GlobalContext() unsafe.Pointer

@property globalContext @abstract The frame's global JavaScript execution context. @discussion Use this method to bridge between the WebKit and JavaScriptCore APIs.

func (*WebFrame) InitWithNameWebFrameViewWebView

func (o *WebFrame) InitWithNameWebFrameViewWebView(name *foundation.NSString, view *WebFrameView, webView *WebView) *WebFrame

@method initWithName:webFrameView:webView: @abstract The designated initializer of WebFrame. @discussion WebFrames are normally created for you by the WebView. You should not need to invoke this method directly. @param name The name of the frame. @param view The WebFrameView for the frame. @param webView The WebView that manages the frame. @result Returns an initialized WebFrame.

func (*WebFrame) JavaScriptContext

func (o *WebFrame) JavaScriptContext() *javascriptcore.JSContext

@property javaScriptContext @abstract The frame's global JavaScript execution context. @discussion Use this method to bridge between the WebKit and Objective-C JavaScriptCore API.

func (*WebFrame) LoadAlternateHTMLStringBaseURLForUnreachableURL

func (o *WebFrame) LoadAlternateHTMLStringBaseURLForUnreachableURL(string_ *foundation.NSString, baseURL *foundation.NSURL, unreachableURL *foundation.NSURL)

@method loadAlternateHTMLString:baseURL:forUnreachableURL: @abstract Loads a page to display as a substitute for a URL that could not be reached. @discussion This allows clients to display page-loading errors in the webview itself. This is typically called while processing the WebFrameLoadDelegate method -webView:didFailProvisionalLoadWithError:forFrame: or one of the WebPolicyDelegate methods -webView:decidePolicyForMIMEType:request:frame:decisionListener: or -webView:unableToImplementPolicyWithError:frame:. If it is called from within one of those three delegate methods then the back/forward list will be maintained appropriately. @param string The string to use for the main page of the document. @param baseURL The baseURL to apply to relative URLs within the document. @param unreachableURL The URL for which this page will serve as alternate content.

func (*WebFrame) LoadArchive

func (o *WebFrame) LoadArchive(archive *WebArchive)

@method loadArchive: @abstract Causes WebFrame to load a WebArchive. @param archive The archive to be loaded.

func (*WebFrame) LoadDataMIMETypeTextEncodingNameBaseURL

func (o *WebFrame) LoadDataMIMETypeTextEncodingNameBaseURL(data *foundation.NSData, mIMEType *foundation.NSString, encodingName *foundation.NSString, uRL *foundation.NSURL)

@method loadData:MIMEType:textEncodingName:baseURL: @param data The data to use for the main page of the document. @param MIMEType The MIME type of the data. @param encodingName The encoding of the data. @param URL The base URL to apply to relative URLs within the document.

func (*WebFrame) LoadHTMLStringBaseURL

func (o *WebFrame) LoadHTMLStringBaseURL(string_ *foundation.NSString, uRL *foundation.NSURL)

@method loadHTMLString:baseURL: @param string The string to use for the main page of the document. @param URL The base URL to apply to relative URLs within the document.

func (*WebFrame) LoadRequest

func (o *WebFrame) LoadRequest(request *foundation.NSURLRequest)

@method loadRequest: @param request The web request to load.

func (*WebFrame) Name

func (o *WebFrame) Name() *foundation.NSString

@property name @abstract The frame name.

func (*WebFrame) ParentFrame

func (o *WebFrame) ParentFrame() *WebFrame

@property parentFrame @abstract The frame containing this frame, or nil if this is a top level frame.

func (*WebFrame) ProvisionalDataSource

func (o *WebFrame) ProvisionalDataSource() *WebDataSource

@property provisionalDataSource @abstract The provisional datasource of this frame. @discussion Will return the provisional data source. The provisional data source will be nil if no data source has been set on the frame, or the data source has successfully transitioned to the committed data source.

func (*WebFrame) Reload

func (o *WebFrame) Reload()

@method reload @discussion Performs HTTP/1.1 end-to-end revalidation using cache-validating conditionals if possible.

func (*WebFrame) ReloadFromOrigin

func (o *WebFrame) ReloadFromOrigin()

@method reloadFromOrigin @discussion Performs HTTP/1.1 end-to-end reload.

func (*WebFrame) StopLoading

func (o *WebFrame) StopLoading()

@method stopLoading @discussion Stop any pending loads on the frame's data source, and its children.

func (*WebFrame) WebView

func (o *WebFrame) WebView() *WebView

@property webView @abstract The WebView for the document that includes this frame.

func (*WebFrame) WindowObject

func (o *WebFrame) WindowObject() *WebScriptObject

@property windowObject @abstract The WebScriptObject representing the frame's JavaScript window object.

type WebFrameLoadDelegate

type WebFrameLoadDelegate interface {
}

WebFrameLoadDelegate wraps the ObjC protocol WebFrameLoadDelegate.

type WebFrameView

type WebFrameView struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/webkit/webframeview

func WebFrameViewFromID

func WebFrameViewFromID(id objc.ID) *WebFrameView

func (*WebFrameView) AllowsScrolling

func (o *WebFrameView) AllowsScrolling() bool

@property allowsScrolling @abstract Whether the WebFrameView allows its document to be scrolled

func (*WebFrameView) CanPrintHeadersAndFooters

func (o *WebFrameView) CanPrintHeadersAndFooters() bool

@property canPrintHeadersAndFooters @abstract Whether this frame can print headers and footers

func (*WebFrameView) DocumentView

func (o *WebFrameView) DocumentView() *appkit.NSView

@property documentView @abstract The WebFrameView's document subview @discussion The subview that renders the WebFrameView's contents

func (*WebFrameView) DocumentViewShouldHandlePrint

func (o *WebFrameView) DocumentViewShouldHandlePrint() bool

@property documentViewShouldHandlePrint @abstract Called by the host application before it initializes and runs a print operation. @discussion If NO is returned, the host application will abort its print operation and call -printDocumentView on the WebFrameView. The document view is then expected to run its own print operation. If YES is returned, the host application's print operation will continue as normal.

func (*WebFrameView) PrintDocumentView

func (o *WebFrameView) PrintDocumentView()

@method printDocumentView @abstract Called by the host application when the WebFrameView returns YES from -documentViewShouldHandlePrint.

func (*WebFrameView) PrintOperationWithPrintInfo

func (o *WebFrameView) PrintOperationWithPrintInfo(printInfo *appkit.NSPrintInfo) *appkit.NSPrintOperation

@method printOperationWithPrintInfo @abstract Creates a print operation set up to print this frame @result A newly created print operation object

func (*WebFrameView) SetAllowsScrolling

func (o *WebFrameView) SetAllowsScrolling(allowsScrolling bool)

func (*WebFrameView) WebFrame

func (o *WebFrameView) WebFrame() *WebFrame

@property webFrame @abstract The WebFrame associated with this WebFrameView

type WebHistory

type WebHistory struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webhistory

func WebHistoryFromID

func WebHistoryFromID(id objc.ID) *WebHistory

func WebHistoryOptionalSharedHistory

func WebHistoryOptionalSharedHistory() *WebHistory

@method optionalSharedHistory @abstract Returns a shared WebHistory instance initialized with the default history file. @result A WebHistory object.

func (*WebHistory) AddItems

func (o *WebHistory) AddItems(newItems *foundation.NSArray[objc.ID])

@method addItems: @param newItems An array of WebHistoryItems to add to the WebHistory.

func (*WebHistory) HistoryAgeInDaysLimit

func (o *WebHistory) HistoryAgeInDaysLimit() int

@property historyAgeInDaysLimit @abstract The maximum number of days to be read from stored history.

func (*WebHistory) HistoryItemLimit

func (o *WebHistory) HistoryItemLimit() int

@property historyItemLimit @abstract The maximum number of items that will be stored by the WebHistory.

func (*WebHistory) ItemForURL

func (o *WebHistory) ItemForURL(uRL *foundation.NSURL) *WebHistoryItem

@method itemForURL: @abstract Get an item for a specific URL @param URL The URL of the history item to search for @result Returns an item matching the URL

func (*WebHistory) LoadFromURLError

func (o *WebHistory) LoadFromURLError(uRL *foundation.NSURL) (bool, error)

@method loadFromURL:error: @param URL The URL to use to initialize the WebHistory. @param error Set to nil or an NSError instance if an error occurred. @abstract The designated initializer for WebHistory. @result Returns YES if successful, NO otherwise.

func (*WebHistory) OrderedItemsLastVisitedOnDay

func (o *WebHistory) OrderedItemsLastVisitedOnDay(calendarDate *foundation.NSCalendarDate) *foundation.NSArray[objc.ID]

func (*WebHistory) OrderedLastVisitedDays

func (o *WebHistory) OrderedLastVisitedDays() *foundation.NSArray[objc.ID]

@property orderedLastVisitedDays @abstract An array of NSCalendarDates for which history items exist in the WebHistory. @discussion An array of NSCalendarDates, each one representing a unique day that contains one or more history items, ordered from most recent to oldest.

func (*WebHistory) RemoveAllItems

func (o *WebHistory) RemoveAllItems()

@method removeAllItems

func (*WebHistory) RemoveItems

func (o *WebHistory) RemoveItems(items *foundation.NSArray[objc.ID])

@method removeItems: @param items An array of WebHistoryItems to remove from the WebHistory.

func (*WebHistory) SaveToURLError

func (o *WebHistory) SaveToURLError(uRL *foundation.NSURL) (bool, error)

@method saveToURL:error: @discussion Save history to URL. It is the client's responsibility to call this at appropriate times. @param URL The URL to use to save the WebHistory. @param error Set to nil or an NSError instance if an error occurred. @result Returns YES if successful, NO otherwise.

func (*WebHistory) SetHistoryAgeInDaysLimit

func (o *WebHistory) SetHistoryAgeInDaysLimit(historyAgeInDaysLimit int)

func (*WebHistory) SetHistoryItemLimit

func (o *WebHistory) SetHistoryItemLimit(historyItemLimit int)

type WebHistoryItem

type WebHistoryItem struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webhistoryitem

func WebHistoryItemFromID

func WebHistoryItemFromID(id objc.ID) *WebHistoryItem

func (*WebHistoryItem) AlternateTitle

func (o *WebHistoryItem) AlternateTitle() *foundation.NSString

func (*WebHistoryItem) Icon

func (o *WebHistoryItem) Icon() *appkit.NSImage

@property icon @abstract The favorite icon of the page represented by this item. @discussion This icon returned will be determined by the WebKit.

func (*WebHistoryItem) InitWithURLStringTitleLastVisitedTimeInterval

func (o *WebHistoryItem) InitWithURLStringTitleLastVisitedTimeInterval(uRLString *foundation.NSString, title *foundation.NSString, time_ float64) *WebHistoryItem

@method initWithURLString:title:lastVisitedTimeInterval: @param URLString The URL string for the item. @param title The title to use for the item. This is normally the <title> of a page. @param time The time used to indicate when the item was used. @abstract Initialize a new WebHistoryItem @discussion WebHistoryItems are normally created for you by the WebKit. You may use this method to prepopulate a WebBackForwardList, or create 'artificial' items to add to a WebBackForwardList. When first initialized the URLString and originalURLString will be the same.

func (*WebHistoryItem) LastVisitedTimeInterval

func (o *WebHistoryItem) LastVisitedTimeInterval() float64

@property lastVisitedTimeInterval @abstract The last time the page represented by this item was visited. The interval is since the reference date as determined by NSDate. This value is normally set by the WebKit.

func (*WebHistoryItem) OriginalURLString

func (o *WebHistoryItem) OriginalURLString() *foundation.NSString

@property originalURLString @abstract The string representation of the initial URL of this item. This value is normally set by the WebKit.

func (*WebHistoryItem) SetAlternateTitle

func (o *WebHistoryItem) SetAlternateTitle(alternateTitle *foundation.NSString)

func (*WebHistoryItem) Title

func (o *WebHistoryItem) Title() *foundation.NSString

@property title @abstract The title of the page represented by this item. @discussion This title cannot be changed by the client. This value is normally set by the WebKit when a page title for the item is received.

func (*WebHistoryItem) URLString

func (o *WebHistoryItem) URLString() *foundation.NSString

@property URLString @abstract The string representation of the URL represented by this item. @discussion The URLString may be different than the originalURLString if the page redirected to a new location. This value is normally set by the WebKit.

type WebNavigationType

type WebNavigationType int64
const (
	WebNavigationTypeLinkClicked     WebNavigationType = 0
	WebNavigationTypeFormSubmitted   WebNavigationType = 1
	WebNavigationTypeBackForward     WebNavigationType = 2
	WebNavigationTypeReload          WebNavigationType = 3
	WebNavigationTypeFormResubmitted WebNavigationType = 4
	WebNavigationTypeOther           WebNavigationType = 5
)

func (WebNavigationType) String

func (e WebNavigationType) String() string

type WebOpenPanelResultListener

type WebOpenPanelResultListener interface {
	ChooseFilename(fileName *foundation.NSString)
	ChooseFilenames(fileNames *foundation.NSArray[objc.ID])
	Cancel()
}

WebOpenPanelResultListener wraps the ObjC protocol WebOpenPanelResultListener.

type WebPlugInViewFactory

type WebPlugInViewFactory interface {
	PlugInViewWithArguments(arguments *foundation.NSDictionary[objc.ID, objc.ID]) *appkit.NSView
}

WebPlugInViewFactory wraps the ObjC protocol WebPlugInViewFactory.

type WebPolicyDecisionListener

type WebPolicyDecisionListener interface {
	Use()
	Download()
	Ignore()
}

WebPolicyDecisionListener wraps the ObjC protocol WebPolicyDecisionListener.

type WebPolicyDelegate

type WebPolicyDelegate interface {
}

WebPolicyDelegate wraps the ObjC protocol WebPolicyDelegate.

type WebPreferences

type WebPreferences struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webpreferences

func WebPreferencesFromID

func WebPreferencesFromID(id objc.ID) *WebPreferences

func WebPreferencesStandardPreferences

func WebPreferencesStandardPreferences() *WebPreferences

@method standardPreferences

func (*WebPreferences) AllowsAirPlayForMediaPlayback

func (o *WebPreferences) AllowsAirPlayForMediaPlayback() bool

@property allowsAirPlayForMediaPlayback

func (*WebPreferences) AllowsAnimatedImageLooping

func (o *WebPreferences) AllowsAnimatedImageLooping() bool

@property allowsAnimatedImageLooping

func (*WebPreferences) AllowsAnimatedImages

func (o *WebPreferences) AllowsAnimatedImages() bool

@property allowsAnimatedImages

func (*WebPreferences) ArePlugInsEnabled

func (o *WebPreferences) ArePlugInsEnabled() bool

@property plugInsEnabled

func (*WebPreferences) Autosaves

func (o *WebPreferences) Autosaves() bool

@property autosaves @discussion If autosaves is YES the settings represented by WebPreferences will be stored in the user defaults database.

func (*WebPreferences) CacheModel

func (o *WebPreferences) CacheModel() WebCacheModel

@property cacheModel @abstract Specifies a usage model for a WebView, which WebKit will use to determine its caching behavior. If necessary, WebKit will prune its caches to match cacheModel when set. @discussion Research indicates that users tend to browse within clusters of documents that hold resources in common, and to revisit previously visited documents. WebKit and the frameworks below it include built-in caches that take advantage of these patterns, substantially improving document load speed in browsing situations. The WebKit cache model controls the behaviors of all of these caches, including NSURLCache and the various WebCore caches. Applications with a browsing interface can improve document load speed substantially by specifying WebCacheModelDocumentBrowser. Applications without a browsing interface can reduce memory usage substantially by specifying WebCacheModelDocumentViewer. If cacheModel is not set, WebKit will select a cache model automatically.

func (*WebPreferences) CursiveFontFamily

func (o *WebPreferences) CursiveFontFamily() *foundation.NSString

@property cursiveFontFamily

func (*WebPreferences) DefaultFixedFontSize

func (o *WebPreferences) DefaultFixedFontSize() int

@property defaultFixedFontSize

func (*WebPreferences) DefaultFontSize

func (o *WebPreferences) DefaultFontSize() int

@property defaultFontSize

func (*WebPreferences) DefaultTextEncodingName

func (o *WebPreferences) DefaultTextEncodingName() *foundation.NSString

@property defaultTextEncodingName

func (*WebPreferences) FantasyFontFamily

func (o *WebPreferences) FantasyFontFamily() *foundation.NSString

@property fantasyFontFamily

func (*WebPreferences) FixedFontFamily

func (o *WebPreferences) FixedFontFamily() *foundation.NSString

@property fixedFontFamily

func (*WebPreferences) Identifier

func (o *WebPreferences) Identifier() *foundation.NSString

@property identifier @result Returns the identifier for this WebPreferences.

func (*WebPreferences) InitWithIdentifier

func (o *WebPreferences) InitWithIdentifier(anIdentifier *foundation.NSString) *WebPreferences

@method initWithIdentifier: @param anIdentifier A string used to identify the WebPreferences. @discussion WebViews can share instances of WebPreferences by using an instance of WebPreferences with the same identifier. Typically, instance are not created directly. Instead you set the preferences identifier on a WebView. The identifier is used as a prefix that is added to the user defaults keys for the WebPreferences. @result Returns a new instance of WebPreferences or a previously allocated instance with the same identifier.

func (*WebPreferences) IsJavaEnabled

func (o *WebPreferences) IsJavaEnabled() bool

@property javaEnabled @discussion Deprecated function that does nothing and always returns false.

func (*WebPreferences) IsJavaScriptEnabled

func (o *WebPreferences) IsJavaScriptEnabled() bool

@property javaScriptEnabled

func (*WebPreferences) JavaScriptCanOpenWindowsAutomatically

func (o *WebPreferences) JavaScriptCanOpenWindowsAutomatically() bool

@property javaScriptCanOpenWindowsAutomatically

func (*WebPreferences) LoadsImagesAutomatically

func (o *WebPreferences) LoadsImagesAutomatically() bool

@property willLoadImagesAutomatically

func (*WebPreferences) MinimumFontSize

func (o *WebPreferences) MinimumFontSize() int

@property minimumFontSize

func (*WebPreferences) MinimumLogicalFontSize

func (o *WebPreferences) MinimumLogicalFontSize() int

@property minimumLogicalFontSize

func (*WebPreferences) PrivateBrowsingEnabled

func (o *WebPreferences) PrivateBrowsingEnabled() bool

@property privateBrowsingEnabled: @abstract If private browsing is enabled, WebKit will not store information about sites the user visits.

func (*WebPreferences) SansSerifFontFamily

func (o *WebPreferences) SansSerifFontFamily() *foundation.NSString

@property sansSerifFontFamily

func (*WebPreferences) SerifFontFamily

func (o *WebPreferences) SerifFontFamily() *foundation.NSString

@property serifFontFamily

func (*WebPreferences) SetAllowsAirPlayForMediaPlayback

func (o *WebPreferences) SetAllowsAirPlayForMediaPlayback(allowsAirPlayForMediaPlayback bool)

func (*WebPreferences) SetAllowsAnimatedImageLooping

func (o *WebPreferences) SetAllowsAnimatedImageLooping(allowsAnimatedImageLooping bool)

func (*WebPreferences) SetAllowsAnimatedImages

func (o *WebPreferences) SetAllowsAnimatedImages(allowsAnimatedImages bool)

func (*WebPreferences) SetAutosaves

func (o *WebPreferences) SetAutosaves(autosaves bool)

func (*WebPreferences) SetCacheModel

func (o *WebPreferences) SetCacheModel(cacheModel WebCacheModel)

func (*WebPreferences) SetCursiveFontFamily

func (o *WebPreferences) SetCursiveFontFamily(cursiveFontFamily *foundation.NSString)

func (*WebPreferences) SetDefaultFixedFontSize

func (o *WebPreferences) SetDefaultFixedFontSize(defaultFixedFontSize int)

func (*WebPreferences) SetDefaultFontSize

func (o *WebPreferences) SetDefaultFontSize(defaultFontSize int)

func (*WebPreferences) SetDefaultTextEncodingName

func (o *WebPreferences) SetDefaultTextEncodingName(defaultTextEncodingName *foundation.NSString)

func (*WebPreferences) SetFantasyFontFamily

func (o *WebPreferences) SetFantasyFontFamily(fantasyFontFamily *foundation.NSString)

func (*WebPreferences) SetFixedFontFamily

func (o *WebPreferences) SetFixedFontFamily(fixedFontFamily *foundation.NSString)

func (*WebPreferences) SetJavaEnabled

func (o *WebPreferences) SetJavaEnabled(javaEnabled bool)

func (*WebPreferences) SetJavaScriptCanOpenWindowsAutomatically

func (o *WebPreferences) SetJavaScriptCanOpenWindowsAutomatically(javaScriptCanOpenWindowsAutomatically bool)

func (*WebPreferences) SetJavaScriptEnabled

func (o *WebPreferences) SetJavaScriptEnabled(javaScriptEnabled bool)

func (*WebPreferences) SetLoadsImagesAutomatically

func (o *WebPreferences) SetLoadsImagesAutomatically(loadsImagesAutomatically bool)

func (*WebPreferences) SetMinimumFontSize

func (o *WebPreferences) SetMinimumFontSize(minimumFontSize int)

func (*WebPreferences) SetMinimumLogicalFontSize

func (o *WebPreferences) SetMinimumLogicalFontSize(minimumLogicalFontSize int)

func (*WebPreferences) SetPlugInsEnabled

func (o *WebPreferences) SetPlugInsEnabled(plugInsEnabled bool)

func (*WebPreferences) SetPrivateBrowsingEnabled

func (o *WebPreferences) SetPrivateBrowsingEnabled(privateBrowsingEnabled bool)

func (*WebPreferences) SetSansSerifFontFamily

func (o *WebPreferences) SetSansSerifFontFamily(sansSerifFontFamily *foundation.NSString)

func (*WebPreferences) SetSerifFontFamily

func (o *WebPreferences) SetSerifFontFamily(serifFontFamily *foundation.NSString)

func (*WebPreferences) SetShouldPrintBackgrounds

func (o *WebPreferences) SetShouldPrintBackgrounds(shouldPrintBackgrounds bool)

func (*WebPreferences) SetStandardFontFamily

func (o *WebPreferences) SetStandardFontFamily(standardFontFamily *foundation.NSString)

func (*WebPreferences) SetSuppressesIncrementalRendering

func (o *WebPreferences) SetSuppressesIncrementalRendering(suppressesIncrementalRendering bool)
func (o *WebPreferences) SetTabsToLinks(tabsToLinks bool)

func (*WebPreferences) SetUserStyleSheetEnabled

func (o *WebPreferences) SetUserStyleSheetEnabled(userStyleSheetEnabled bool)

func (*WebPreferences) SetUserStyleSheetLocation

func (o *WebPreferences) SetUserStyleSheetLocation(userStyleSheetLocation *foundation.NSURL)

func (*WebPreferences) SetUsesPageCache

func (o *WebPreferences) SetUsesPageCache(usesPageCache bool)

func (*WebPreferences) ShouldPrintBackgrounds

func (o *WebPreferences) ShouldPrintBackgrounds() bool

@property shouldPrintBackgrounds

func (*WebPreferences) StandardFontFamily

func (o *WebPreferences) StandardFontFamily() *foundation.NSString

@property standardFontFamily

func (*WebPreferences) SuppressesIncrementalRendering

func (o *WebPreferences) SuppressesIncrementalRendering() bool

@property suppressesIncrementalRendering

func (o *WebPreferences) TabsToLinks() bool

@property tabsToLinks @abstract If tabsToLinks is YES, the tab key will focus links and form controls. The option key temporarily reverses this preference.

func (*WebPreferences) UserStyleSheetEnabled

func (o *WebPreferences) UserStyleSheetEnabled() bool

@property userStyleSheetEnabled

func (*WebPreferences) UserStyleSheetLocation

func (o *WebPreferences) UserStyleSheetLocation() *foundation.NSURL

@property userStyleSheetLocation @abstract The location of the user style sheet.

func (*WebPreferences) UsesPageCache

func (o *WebPreferences) UsesPageCache() bool

@property usesPageCache @abstract Whether the receiver's associated WebViews use the shared page cache. @discussion Pages are cached as they are added to a WebBackForwardList, and removed from the cache as they are removed from a WebBackForwardList. Because the page cache is global, caching a page in one WebBackForwardList may cause a page in another WebBackForwardList to be evicted from the cache.

type WebPreferencesPrivate

type WebPreferencesPrivate struct{}

WebPreferencesPrivate is an opaque type.

type WebResource

type WebResource struct {
	foundation.NSObject
}

@class WebResource @discussion A WebResource represents a fully downloaded URL. It includes the data of the resource as well as the metadata associated with the resource.

Apple documentation: https://developer.apple.com/documentation/webkit/webresource

func WebResourceFromID

func WebResourceFromID(id objc.ID) *WebResource

func (*WebResource) Data

func (o *WebResource) Data() *foundation.NSData

@property data @abstract The data of the resource.

func (*WebResource) FrameName

func (o *WebResource) FrameName() *foundation.NSString

@property frameName @abstract The frame name of the resource if the resource represents the contents of an entire HTML frame (can be nil).

func (*WebResource) InitWithDataURLMIMETypeTextEncodingNameFrameName

func (o *WebResource) InitWithDataURLMIMETypeTextEncodingNameFrameName(data *foundation.NSData, uRL *foundation.NSURL, mIMEType *foundation.NSString, textEncodingName *foundation.NSString, frameName *foundation.NSString) *WebResource

@method initWithData:URL:MIMEType:textEncodingName:frameName @abstract The initializer for WebResource. @param data The data of the resource. @param URL The URL of the resource. @param MIMEType The MIME type of the resource. @param textEncodingName The text encoding name of the resource (can be nil). @param frameName The frame name of the resource if the resource represents the contents of an entire HTML frame (can be nil). @result An initialized WebResource.

func (*WebResource) MIMEType

func (o *WebResource) MIMEType() *foundation.NSString

@property MIMEType @abstract The MIME type of the resource.

func (*WebResource) TextEncodingName

func (o *WebResource) TextEncodingName() *foundation.NSString

@property textEncodingName @abstract The text encoding name of the resource (can be nil).

func (*WebResource) URL

func (o *WebResource) URL() *foundation.NSURL

@property URL @abstract The URL of the resource.

type WebResourceLoadDelegate

type WebResourceLoadDelegate interface {
}

WebResourceLoadDelegate wraps the ObjC protocol WebResourceLoadDelegate.

type WebScriptObject

type WebScriptObject struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webscriptobject

func WebScriptObjectFromID

func WebScriptObjectFromID(id objc.ID) *WebScriptObject

func (*WebScriptObject) CallWebScriptMethodWithArguments

func (o *WebScriptObject) CallWebScriptMethodWithArguments(name *foundation.NSString, arguments *foundation.NSArray[objc.ID]) objc.ID

@method callWebScriptMethod:withArguments: @param name The name of the method to call in the script environment. @param arguments The arguments to pass to the script environment. @discussion Calls the specified method in the script environment using the specified arguments. @result Returns the result of calling the script method. Returns WebUndefined when an exception is thrown in the script environment.

func (*WebScriptObject) EvaluateWebScript

func (o *WebScriptObject) EvaluateWebScript(script *foundation.NSString) objc.ID

@method evaluateWebScript: @param script The script to execute in the target script environment. @discussion The script will be executed in the target script environment. The format of the script is dependent of the target script environment. @result Returns the result of evaluating the script in the script environment. Returns WebUndefined when an exception is thrown in the script environment.

func (*WebScriptObject) JSObject

func (o *WebScriptObject) JSObject() unsafe.Pointer

@method JSObject @result The equivalent JSObjectRef for this WebScriptObject. @discussion Use this method to bridge between the WebScriptObject and JavaScriptCore APIs.

func (*WebScriptObject) JSValue

func (o *WebScriptObject) JSValue() *javascriptcore.JSValue

@method JSValue @result The equivalent Objective-C JSValue for this WebScriptObject. @discussion Use this method to bridge between the WebScriptObject and JavaScriptCore Objective-C APIs.

func (*WebScriptObject) RemoveWebScriptKey

func (o *WebScriptObject) RemoveWebScriptKey(name *foundation.NSString)

@method removeWebScriptKey: @param name The name of the property to remove. @discussion Removes the property from the object in the script environment.

func (*WebScriptObject) SetException

func (o *WebScriptObject) SetException(description *foundation.NSString)

@method setException: @param description The description of the exception. @discussion Raises an exception in the script environment in the context of the current object.

func (*WebScriptObject) SetWebScriptValueAtIndexValue

func (o *WebScriptObject) SetWebScriptValueAtIndexValue(index uint, value objc.ID)

@method setWebScriptValueAtIndex:value: @param index The index of the property to set. @param value The value of the property to set. @discussion Sets the property value at the specified index.

func (*WebScriptObject) StringRepresentation

func (o *WebScriptObject) StringRepresentation() *foundation.NSString

@method stringRepresentation @discussion Converts the target object to a string representation. The coercion of non string objects type is dependent on the script environment. @result Returns the string representation of the object.

func (*WebScriptObject) WebScriptValueAtIndex

func (o *WebScriptObject) WebScriptValueAtIndex(index uint) objc.ID

@method webScriptValueAtIndex: @param index The index of the property to return. @discussion Gets the value of the property at the specified index. @result The value of the property. Returns WebUndefined when an exception is thrown in the script environment.

type WebUIDelegate

type WebUIDelegate interface {
}

WebUIDelegate wraps the ObjC protocol WebUIDelegate.

type WebUndefined

type WebUndefined struct {
	foundation.NSObject
}

Apple documentation: https://developer.apple.com/documentation/webkit/webundefined

func WebUndefinedFromID

func WebUndefinedFromID(id objc.ID) *WebUndefined

func WebUndefinedUndefined

func WebUndefinedUndefined() *WebUndefined

@method undefined @result The WebUndefined shared instance.

type WebView

type WebView struct {
	appkit.NSView
}

Apple documentation: https://developer.apple.com/documentation/webkit/webview

func WebViewFromID

func WebViewFromID(id objc.ID) *WebView

func (*WebView) AlignCenter

func (o *WebView) AlignCenter(sender objc.ID)

func (*WebView) AlignJustified

func (o *WebView) AlignJustified(sender objc.ID)

func (*WebView) AlignLeft

func (o *WebView) AlignLeft(sender objc.ID)

func (*WebView) AlignRight

func (o *WebView) AlignRight(sender objc.ID)

func (*WebView) ApplicationNameForUserAgent

func (o *WebView) ApplicationNameForUserAgent() *foundation.NSString

@property applicationNameForUserAgent @abstract The name of the application as used in the user-agent string.

func (*WebView) ApplyStyle

func (o *WebView) ApplyStyle(style *DOMCSSStyleDeclaration)

func (*WebView) BackForwardList

func (o *WebView) BackForwardList() *WebBackForwardList

@property backForwardList @abstract The backforward list for this WebView.

func (*WebView) CanGoBack

func (o *WebView) CanGoBack() bool

func (*WebView) CanGoForward

func (o *WebView) CanGoForward() bool

func (*WebView) CanMakeTextLarger

func (o *WebView) CanMakeTextLarger() bool

func (*WebView) CanMakeTextSmaller

func (o *WebView) CanMakeTextSmaller() bool

func (*WebView) CanMakeTextStandardSize

func (o *WebView) CanMakeTextStandardSize() bool

func (*WebView) ChangeAttributes

func (o *WebView) ChangeAttributes(sender objc.ID)

func (*WebView) ChangeColor

func (o *WebView) ChangeColor(sender objc.ID)

func (*WebView) ChangeDocumentBackgroundColor

func (o *WebView) ChangeDocumentBackgroundColor(sender objc.ID)

func (*WebView) ChangeFont

func (o *WebView) ChangeFont(sender objc.ID)

func (*WebView) CheckSpelling

func (o *WebView) CheckSpelling(sender objc.ID)

func (*WebView) Close

func (o *WebView) Close()

@method close @abstract Closes the receiver, unloading its web page and canceling any pending loads. Once the receiver has closed, it will no longer respond to requests or fire delegate methods. (However, the -close method itself may fire delegate methods.) @discussion A garbage collected application is required to call close when the receiver is no longer needed. The close method will be called automatically when the window or hostWindow closes and shouldCloseWithWindow returns YES. A non-garbage collected application can still call close, providing a convenient way to prevent receiver from doing any more loading and firing any future delegate methods.

func (*WebView) ComputedStyleForElementPseudoElement

func (o *WebView) ComputedStyleForElementPseudoElement(element *DOMElement, pseudoElement *foundation.NSString) *DOMCSSStyleDeclaration

func (*WebView) Copy

func (o *WebView) Copy(sender objc.ID)

func (*WebView) CopyFont

func (o *WebView) CopyFont(sender objc.ID)

func (*WebView) CustomTextEncodingName

func (o *WebView) CustomTextEncodingName() *foundation.NSString

@property customTextEncodingName @abstract The custom text encoding name or nil if no custom text encoding name has been set. @discussion Make the page display with a different text encoding; stops any load in progress. The text encoding passed in overrides the normal text encoding smarts including what's specified in a web page's header or HTTP response. The text encoding automatically goes back to the default when the top level frame changes to a new location. Setting the text encoding name to nil makes the webView use default encoding rules.

func (*WebView) CustomUserAgent

func (o *WebView) CustomUserAgent() *foundation.NSString

@property customUserAgent @abstract The custom user-agent string or nil if no custom user-agent string has been set. @discussion Setting this means that the webView should use this user-agent string instead of constructing a user-agent string for each URL. Setting it to nil causes the webView to construct the user-agent string for each URL for best results rendering web pages

func (*WebView) Cut

func (o *WebView) Cut(sender objc.ID)

func (*WebView) Delete

func (o *WebView) Delete(sender objc.ID)

func (*WebView) DeleteSelection

func (o *WebView) DeleteSelection()

func (*WebView) DownloadDelegate

func (o *WebView) DownloadDelegate() WebDownloadDelegate

@property downloadDelegate @abstract The WebView's WebDownloadDelegate.

func (*WebView) DrawsBackground

func (o *WebView) DrawsBackground() bool

@property drawsBackground @abstract Whether the receiver draws a default white background when the loaded page has no background specified.

func (*WebView) EditableDOMRangeForPoint

func (o *WebView) EditableDOMRangeForPoint(point corefoundation.CGPoint) *DOMRange

func (*WebView) EditingDelegate

func (o *WebView) EditingDelegate() WebEditingDelegate

func (*WebView) ElementAtPoint

func (o *WebView) ElementAtPoint(point corefoundation.CGPoint) *foundation.NSDictionary[objc.ID, objc.ID]

@method elementAtPoint: @param point A point in the coordinates of the WebView @result An element dictionary describing the point

func (*WebView) EstimatedProgress

func (o *WebView) EstimatedProgress() float64

@property estimatedProgress @discussion An estimate of the percent complete for a document load. This value will range from 0 to 1.0 and, once a load completes, will remain at 1.0 until a new load starts, at which point it will be reset to 0. The value is an estimate based on the total number of bytes expected to be received for a document, including all it's possible subresources. For more accurate progress indication it is recommended that you implement a WebFrameLoadDelegate and a WebResourceLoadDelegate.

func (*WebView) FrameLoadDelegate

func (o *WebView) FrameLoadDelegate() WebFrameLoadDelegate

@property frameLoadDelegate @abstract The WebView's WebFrameLoadDelegate delegate.

func (*WebView) GoBack

func (o *WebView) GoBack() bool

@method goBack @abstract Go back to the previous URL in the backforward list. @result YES if able to go back in the backforward list, NO otherwise.

func (*WebView) GoBack2

func (o *WebView) GoBack2(sender objc.ID)

func (*WebView) GoForward

func (o *WebView) GoForward() bool

@method goForward @abstract Go forward to the next URL in the backforward list. @result YES if able to go forward in the backforward list, NO otherwise.

func (*WebView) GoForward2

func (o *WebView) GoForward2(sender objc.ID)

func (*WebView) GoToBackForwardItem

func (o *WebView) GoToBackForwardItem(item *WebHistoryItem) bool

@method goToBackForwardItem: @abstract Go back or forward to an item in the backforward list. @result YES if able to go to the item, NO otherwise.

func (*WebView) GroupName

func (o *WebView) GroupName() *foundation.NSString

@property groupName @abstract The group name for this WebView. @discussion JavaScript may access named frames within the same group.

func (*WebView) HostWindow

func (o *WebView) HostWindow() *appkit.NSWindow

@property hostWindow @abstract The host window for the web view. @discussion Parts of WebKit (such as plug-ins and JavaScript) depend on a window to function properly. Set a host window so these parts continue to function even when the web view is not in an actual window.

func (*WebView) InitWithFrameFrameNameGroupName

func (o *WebView) InitWithFrameFrameNameGroupName(frame corefoundation.CGRect, frameName *foundation.NSString, groupName *foundation.NSString) *WebView

@method initWithFrame:frameName:groupName: @abstract The designated initializer for WebView. @discussion Initialize a WebView with the supplied parameters. This method will create a main WebFrame with the view. Passing a top level frame name is useful if you handle a targetted frame navigation that would normally open a window in some other way that still ends up creating a new WebView. @param frame The frame used to create the view. @param frameName The name to use for the top level frame. May be nil. @param groupName The name of the webView set to which this webView will be added. May be nil. @result Returns an initialized WebView.

func (*WebView) IsContinuousSpellCheckingEnabled

func (o *WebView) IsContinuousSpellCheckingEnabled() bool

func (*WebView) IsEditable

func (o *WebView) IsEditable() bool

func (*WebView) IsLoading

func (o *WebView) IsLoading() bool

@property loading @abstract Whether there are any pending loads in this WebView.

func (*WebView) MainFrame

func (o *WebView) MainFrame() *WebFrame

@property mainFrame @abstract The top level frame. @discussion Note that even documents that are not framesets will have a mainFrame.

func (*WebView) MainFrameDocument

func (o *WebView) MainFrameDocument() *DOMDocument

@property mainFrameDocument @abstract The main frame's DOMDocument.

func (*WebView) MainFrameIcon

func (o *WebView) MainFrameIcon() *appkit.NSImage

@property mainFrameIcon @abstract The site icon for the current page loaded in the mainFrame, or nil.

func (*WebView) MainFrameTitle

func (o *WebView) MainFrameTitle() *foundation.NSString

@property mainFrameTitle @abstract The main frame's title if any, otherwise an empty string.

func (*WebView) MainFrameURL

func (o *WebView) MainFrameURL() *foundation.NSString

@property mainFrameURL @abstract The main frame's current URL.

func (*WebView) MaintainsInactiveSelection

func (o *WebView) MaintainsInactiveSelection() bool

func (*WebView) MakeTextLarger

func (o *WebView) MakeTextLarger(sender objc.ID)

func (*WebView) MakeTextSmaller

func (o *WebView) MakeTextSmaller(sender objc.ID)

func (*WebView) MakeTextStandardSize

func (o *WebView) MakeTextStandardSize(sender objc.ID)

func (*WebView) MediaStyle

func (o *WebView) MediaStyle() *foundation.NSString

@property mediaStyle @abstract The media style for the WebView. @discussion The mediaStyle will override the normal value of the CSS media property. Setting the value to nil will restore the normal value. The value will be nil unless explicitly set.

func (*WebView) MoveDragCaretToPoint

func (o *WebView) MoveDragCaretToPoint(point corefoundation.CGPoint)

@method moveDragCaretToPoint: @param point A point in the coordinates of the WebView @discussion This method moves the caret that shows where something being dragged will be dropped. It may cause the WebView to scroll to make the new position of the drag caret visible.

func (*WebView) MoveToBeginningOfSentence

func (o *WebView) MoveToBeginningOfSentence(sender objc.ID)

func (*WebView) MoveToBeginningOfSentenceAndModifySelection

func (o *WebView) MoveToBeginningOfSentenceAndModifySelection(sender objc.ID)

func (*WebView) MoveToEndOfSentence

func (o *WebView) MoveToEndOfSentence(sender objc.ID)

func (*WebView) MoveToEndOfSentenceAndModifySelection

func (o *WebView) MoveToEndOfSentenceAndModifySelection(sender objc.ID)

func (*WebView) OverWrite

func (o *WebView) OverWrite(sender objc.ID)

func (*WebView) Paste

func (o *WebView) Paste(sender objc.ID)

func (*WebView) PasteAsPlainText

func (o *WebView) PasteAsPlainText(sender objc.ID)

func (*WebView) PasteAsRichText

func (o *WebView) PasteAsRichText(sender objc.ID)

func (*WebView) PasteFont

func (o *WebView) PasteFont(sender objc.ID)

func (*WebView) PasteboardTypesForElement

func (o *WebView) PasteboardTypesForElement(element *foundation.NSDictionary[objc.ID, objc.ID]) *foundation.NSArray[objc.ID]

@method pasteboardTypesForElement: @abstract Returns the pasteboard types that WebView can use for an element @param element The element

func (*WebView) PasteboardTypesForSelection

func (o *WebView) PasteboardTypesForSelection() *foundation.NSArray[objc.ID]

@property pasteboardTypesForSelection @abstract The pasteboard types that the WebView can use for the current selection

func (*WebView) PerformFindPanelAction

func (o *WebView) PerformFindPanelAction(sender objc.ID)

func (*WebView) PolicyDelegate

func (o *WebView) PolicyDelegate() WebPolicyDelegate

@property policyDelegate @abstract The WebView's WebPolicyDelegate.

func (*WebView) Preferences

func (o *WebView) Preferences() *WebPreferences

@property preferences @abstract The preferences used by this WebView. @discussion This method will return [WebPreferences standardPreferences] if no other instance of WebPreferences has been set.

func (*WebView) PreferencesIdentifier

func (o *WebView) PreferencesIdentifier() *foundation.NSString

@property preferencesIdentifier @abstract The WebPreferences key prefix. @discussion If the WebPreferences for this WebView are stored in the user defaults database, this string will be used as a key prefix.

func (*WebView) Reload

func (o *WebView) Reload(sender objc.ID)

func (*WebView) ReloadFromOrigin

func (o *WebView) ReloadFromOrigin(sender objc.ID)

func (*WebView) RemoveDragCaret

func (o *WebView) RemoveDragCaret()

@method removeDragCaret @abstract Removes the drag caret from the WebView

func (*WebView) ReplaceSelectionWithArchive

func (o *WebView) ReplaceSelectionWithArchive(archive *WebArchive)

func (*WebView) ReplaceSelectionWithMarkupString

func (o *WebView) ReplaceSelectionWithMarkupString(markupString *foundation.NSString)

func (*WebView) ReplaceSelectionWithNode

func (o *WebView) ReplaceSelectionWithNode(node *DOMNode)

func (*WebView) ReplaceSelectionWithText

func (o *WebView) ReplaceSelectionWithText(text *foundation.NSString)

func (*WebView) ResourceLoadDelegate

func (o *WebView) ResourceLoadDelegate() WebResourceLoadDelegate

@property resourceLoadDelegate @abstract The WebView's WebResourceLoadDelegate.

func (*WebView) SearchForDirectionCaseSensitiveWrap

func (o *WebView) SearchForDirectionCaseSensitiveWrap(string_ *foundation.NSString, forward bool, caseFlag bool, wrapFlag bool) bool

@method searchFor:direction:caseSensitive: @abstract Searches a document view for a string and highlights the string if it is found. Starts the search from the current selection. Will search across all frames. @param string The string to search for. @param forward YES to search forward, NO to seach backwards. @param caseFlag YES to for case-sensitive search, NO for case-insensitive search. @result YES if found, NO if not found.

func (*WebView) SelectSentence

func (o *WebView) SelectSentence(sender objc.ID)

func (*WebView) SelectedDOMRange

func (o *WebView) SelectedDOMRange() *DOMRange

func (*WebView) SelectedFrame

func (o *WebView) SelectedFrame() *WebFrame

@property selectedFrame @abstract The frame that has the active selection. @discussion Returns the frame that contains the first responder, if any. Otherwise returns the frame that contains a non-zero-length selection, if any. Returns nil if no frame meets these criteria.

func (*WebView) SelectionAffinity

func (o *WebView) SelectionAffinity() appkit.NSSelectionAffinity

func (*WebView) SetApplicationNameForUserAgent

func (o *WebView) SetApplicationNameForUserAgent(applicationNameForUserAgent *foundation.NSString)

func (*WebView) SetContinuousSpellCheckingEnabled

func (o *WebView) SetContinuousSpellCheckingEnabled(continuousSpellCheckingEnabled bool)

func (*WebView) SetCustomTextEncodingName

func (o *WebView) SetCustomTextEncodingName(customTextEncodingName *foundation.NSString)

func (*WebView) SetCustomUserAgent

func (o *WebView) SetCustomUserAgent(customUserAgent *foundation.NSString)

func (*WebView) SetDownloadDelegate

func (o *WebView) SetDownloadDelegate(downloadDelegate WebDownloadDelegate)

func (*WebView) SetDrawsBackground

func (o *WebView) SetDrawsBackground(drawsBackground bool)

func (*WebView) SetEditable

func (o *WebView) SetEditable(editable bool)

func (*WebView) SetEditingDelegate

func (o *WebView) SetEditingDelegate(editingDelegate WebEditingDelegate)

func (*WebView) SetFrameLoadDelegate

func (o *WebView) SetFrameLoadDelegate(frameLoadDelegate WebFrameLoadDelegate)

func (*WebView) SetGroupName

func (o *WebView) SetGroupName(groupName *foundation.NSString)

func (*WebView) SetHostWindow

func (o *WebView) SetHostWindow(hostWindow *appkit.NSWindow)

func (*WebView) SetMainFrameURL

func (o *WebView) SetMainFrameURL(mainFrameURL *foundation.NSString)

func (*WebView) SetMaintainsBackForwardList

func (o *WebView) SetMaintainsBackForwardList(flag bool)

@method setMaintainsBackForwardList: @abstract Enable or disable the use of a backforward list for this webView. @param flag Turns use of the back forward list on or off

func (*WebView) SetMediaStyle

func (o *WebView) SetMediaStyle(mediaStyle *foundation.NSString)

func (*WebView) SetPolicyDelegate

func (o *WebView) SetPolicyDelegate(policyDelegate WebPolicyDelegate)

func (*WebView) SetPreferences

func (o *WebView) SetPreferences(preferences *WebPreferences)

func (*WebView) SetPreferencesIdentifier

func (o *WebView) SetPreferencesIdentifier(preferencesIdentifier *foundation.NSString)

func (*WebView) SetResourceLoadDelegate

func (o *WebView) SetResourceLoadDelegate(resourceLoadDelegate WebResourceLoadDelegate)

func (*WebView) SetSelectedDOMRangeAffinity

func (o *WebView) SetSelectedDOMRangeAffinity(range_ *DOMRange, selectionAffinity appkit.NSSelectionAffinity)

func (*WebView) SetShouldCloseWithWindow

func (o *WebView) SetShouldCloseWithWindow(shouldCloseWithWindow bool)

func (*WebView) SetShouldUpdateWhileOffscreen

func (o *WebView) SetShouldUpdateWhileOffscreen(shouldUpdateWhileOffscreen bool)

func (*WebView) SetSmartInsertDeleteEnabled

func (o *WebView) SetSmartInsertDeleteEnabled(smartInsertDeleteEnabled bool)

func (*WebView) SetTextSizeMultiplier

func (o *WebView) SetTextSizeMultiplier(textSizeMultiplier float32)

func (*WebView) SetTypingStyle

func (o *WebView) SetTypingStyle(typingStyle *DOMCSSStyleDeclaration)

func (*WebView) SetUIDelegate

func (o *WebView) SetUIDelegate(uIDelegate WebUIDelegate)

func (*WebView) ShouldCloseWithWindow

func (o *WebView) ShouldCloseWithWindow() bool

@property shouldCloseWithWindow @abstract Whether the receiver closes when either it's window or hostWindow closes. @discussion Defaults to YES in garbage collected applications, otherwise NO to maintain backwards compatibility.

func (*WebView) ShouldUpdateWhileOffscreen

func (o *WebView) ShouldUpdateWhileOffscreen() bool

@property shouldUpdateWhileOffscreen @abstract Whether the WebView is always updated even when it is not in a window that is currently visible. @discussion If set to NO, then whenever the web view is not in a visible window, updates to the web page will not necessarily be rendered in the view. However, when the window is made visible, the view will be updated automatically. Not updating while hidden can improve performance. If set to is YES, hidden web views are always updated. This is the default.

func (*WebView) ShowGuessPanel

func (o *WebView) ShowGuessPanel(sender objc.ID)

func (*WebView) SmartInsertDeleteEnabled

func (o *WebView) SmartInsertDeleteEnabled() bool

func (*WebView) SpellCheckerDocumentTag

func (o *WebView) SpellCheckerDocumentTag() int

func (*WebView) StartSpeaking

func (o *WebView) StartSpeaking(sender objc.ID)

func (*WebView) StopLoading

func (o *WebView) StopLoading(sender objc.ID)

func (*WebView) StopSpeaking

func (o *WebView) StopSpeaking(sender objc.ID)

func (*WebView) StringByEvaluatingJavaScriptFromString

func (o *WebView) StringByEvaluatingJavaScriptFromString(script *foundation.NSString) *foundation.NSString

@method stringByEvaluatingJavaScriptFromString: @param script The text of the JavaScript. @result The result of the script, converted to a string, or nil for failure.

func (*WebView) StyleDeclarationWithText

func (o *WebView) StyleDeclarationWithText(text *foundation.NSString) *DOMCSSStyleDeclaration

func (*WebView) SupportsTextEncoding

func (o *WebView) SupportsTextEncoding() bool

@property supportsTextEncoding @abstract If the document view of the current web page can support different text encodings.

func (*WebView) TakeStringURLFrom

func (o *WebView) TakeStringURLFrom(sender objc.ID)

func (*WebView) TextSizeMultiplier

func (o *WebView) TextSizeMultiplier() float32

@property textSizeMultiplier @abstract The text size multipler.

func (*WebView) ToggleContinuousSpellChecking

func (o *WebView) ToggleContinuousSpellChecking(sender objc.ID)

func (*WebView) ToggleSmartInsertDelete

func (o *WebView) ToggleSmartInsertDelete(sender objc.ID)

func (*WebView) TypingStyle

func (o *WebView) TypingStyle() *DOMCSSStyleDeclaration

func (*WebView) UIDelegate

func (o *WebView) UIDelegate() WebUIDelegate

@property UIDelegate @abstract The WebView's WebUIDelegate.

func (*WebView) UserAgentForURL

func (o *WebView) UserAgentForURL(uRL *foundation.NSURL) *foundation.NSString

@method userAgentForURL: @abstract Get the appropriate user-agent string for a particular URL. @param URL The URL. @result The user-agent string for the supplied URL.

func (*WebView) WindowScriptObject

func (o *WebView) WindowScriptObject() *WebScriptObject

@property windowScriptObject @abstract A WebScriptObject that represents the window object from the script environment.

func (*WebView) WriteElementWithPasteboardTypesToPasteboard

func (o *WebView) WriteElementWithPasteboardTypesToPasteboard(element *foundation.NSDictionary[objc.ID, objc.ID], types *foundation.NSArray[objc.ID], pasteboard *appkit.NSPasteboard)

@method writeElement:withPasteboardTypes:toPasteboard: @abstract Writes an element to the pasteboard @param element The element to write to the pasteboard @param types The types that WebView will write to the pasteboard @param pasteboard The pasteboard to write to

func (*WebView) WriteSelectionWithPasteboardTypesToPasteboard

func (o *WebView) WriteSelectionWithPasteboardTypesToPasteboard(types *foundation.NSArray[objc.ID], pasteboard *appkit.NSPasteboard)

@method writeSelectionWithPasteboardTypes:toPasteboard: @abstract Writes the current selection to the pasteboard @param types The types that WebView will write to the pasteboard @param pasteboard The pasteboard to write to

type WebViewInsertAction

type WebViewInsertAction int64
const (
	WebViewInsertActionTyped   WebViewInsertAction = 0
	WebViewInsertActionPasted  WebViewInsertAction = 1
	WebViewInsertActionDropped WebViewInsertAction = 2
)

func (WebViewInsertAction) String

func (e WebViewInsertAction) String() string

type Xpc_listener_create_flags_t

type Xpc_listener_create_flags_t int64
const (
	XPC_LISTENER_CREATE_NONE             Xpc_listener_create_flags_t = 0
	XPC_LISTENER_CREATE_INACTIVE         Xpc_listener_create_flags_t = 1
	XPC_LISTENER_CREATE_FORCE_MACH       Xpc_listener_create_flags_t = 2
	XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4
)

func (Xpc_listener_create_flags_t) String

type Xpc_session_create_flags_t

type Xpc_session_create_flags_t int64
const (
	XPC_SESSION_CREATE_NONE            Xpc_session_create_flags_t = 0
	XPC_SESSION_CREATE_INACTIVE        Xpc_session_create_flags_t = 1
	XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2
)

func (Xpc_session_create_flags_t) String

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL