webkit

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2021 License: MIT Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WKWebView_handlesURLScheme_ added in v0.2.0

func WKWebView_handlesURLScheme_(
	urlScheme core.NSStringRef,
) (
	r0 bool,
)

Types

type WKNavigation

type WKNavigation struct {
	// contains filtered or unexported fields
}

func WKNavigation_alloc added in v0.2.0

func WKNavigation_alloc() (
	r0 WKNavigation,
)

func WKNavigation_fromPointer added in v0.2.0

func WKNavigation_fromPointer(ptr unsafe.Pointer) WKNavigation

func WKNavigation_fromRef added in v0.2.0

func WKNavigation_fromRef(ref objc.Ref) WKNavigation

func (WKNavigation) Init_asWKNavigation added in v0.2.0

func (x WKNavigation) Init_asWKNavigation() (
	r0 WKNavigation,
)

type WKNavigationRef added in v0.2.0

type WKNavigationRef interface {
	Pointer() uintptr
	Init_asWKNavigation() WKNavigation
}

type WKPreferences

type WKPreferences struct {
	// contains filtered or unexported fields
}

func WKPreferences_alloc added in v0.2.0

func WKPreferences_alloc() (
	r0 WKPreferences,
)

func WKPreferences_fromPointer added in v0.2.0

func WKPreferences_fromPointer(ptr unsafe.Pointer) WKPreferences

func WKPreferences_fromRef added in v0.2.0

func WKPreferences_fromRef(ref objc.Ref) WKPreferences

func (WKPreferences) Init_asWKPreferences added in v0.2.0

func (x WKPreferences) Init_asWKPreferences() (
	r0 WKPreferences,
)

func (WKPreferences) IsFraudulentWebsiteWarningEnabled added in v0.2.0

func (x WKPreferences) IsFraudulentWebsiteWarningEnabled() (
	r0 bool,
)

func (WKPreferences) IsTextInteractionEnabled added in v0.2.0

func (x WKPreferences) IsTextInteractionEnabled() (
	r0 bool,
)

func (WKPreferences) JavaScriptCanOpenWindowsAutomatically added in v0.2.0

func (x WKPreferences) JavaScriptCanOpenWindowsAutomatically() (
	r0 bool,
)

func (WKPreferences) MinimumFontSize added in v0.2.0

func (x WKPreferences) MinimumFontSize() (
	r0 core.CGFloat,
)

func (WKPreferences) SetFraudulentWebsiteWarningEnabled_ added in v0.2.0

func (x WKPreferences) SetFraudulentWebsiteWarningEnabled_(
	value bool,
)

func (WKPreferences) SetJavaScriptCanOpenWindowsAutomatically_ added in v0.2.0

func (x WKPreferences) SetJavaScriptCanOpenWindowsAutomatically_(
	value bool,
)

func (WKPreferences) SetMinimumFontSize_ added in v0.2.0

func (x WKPreferences) SetMinimumFontSize_(
	value core.CGFloat,
)
func (x WKPreferences) SetTabFocusesLinks_(
	value bool,
)

func (WKPreferences) SetTextInteractionEnabled_ added in v0.2.0

func (x WKPreferences) SetTextInteractionEnabled_(
	value bool,
)

func (WKPreferences) SetValueForKey

func (p WKPreferences) SetValueForKey(value objc.Object, key core.NSStringRef)

func (WKPreferences) SetValue_forKey_ added in v0.2.0

func (x WKPreferences) SetValue_forKey_(
	value objc.Ref,
	key core.NSStringRef,
)
func (x WKPreferences) TabFocusesLinks() (
	r0 bool,
)

type WKPreferencesRef added in v0.2.0

type WKPreferencesRef interface {
	Pointer() uintptr
	Init_asWKPreferences() WKPreferences
}

type WKUserScript

type WKUserScript struct {
	// contains filtered or unexported fields
}

func WKUserScript_alloc added in v0.2.0

func WKUserScript_alloc() (
	r0 WKUserScript,
)

func WKUserScript_fromPointer added in v0.2.0

func WKUserScript_fromPointer(ptr unsafe.Pointer) WKUserScript

func WKUserScript_fromRef added in v0.2.0

func WKUserScript_fromRef(ref objc.Ref) WKUserScript

func (WKUserScript) Init_asWKUserScript added in v0.2.0

func (x WKUserScript) Init_asWKUserScript() (
	r0 WKUserScript,
)

func (WKUserScript) IsForMainFrameOnly added in v0.2.0

func (x WKUserScript) IsForMainFrameOnly() (
	r0 bool,
)

func (WKUserScript) Source added in v0.2.0

func (x WKUserScript) Source() (
	r0 core.NSString,
)

type WKUserScriptRef added in v0.2.0

type WKUserScriptRef interface {
	Pointer() uintptr
	Init_asWKUserScript() WKUserScript
}

type WKWebView

type WKWebView struct {
	// contains filtered or unexported fields
}

func WKWebView_Init

func WKWebView_Init(frame core.NSRect, config WKWebViewConfiguration) WKWebView

func WKWebView_alloc added in v0.2.0

func WKWebView_alloc() (
	r0 WKWebView,
)

func WKWebView_fromPointer added in v0.2.0

func WKWebView_fromPointer(ptr unsafe.Pointer) WKWebView

func WKWebView_fromRef added in v0.2.0

func WKWebView_fromRef(ref objc.Ref) WKWebView

func (WKWebView) AllowsBackForwardNavigationGestures added in v0.2.0

func (x WKWebView) AllowsBackForwardNavigationGestures() (
	r0 bool,
)

func (WKWebView) AllowsLinkPreview added in v0.2.0

func (x WKWebView) AllowsLinkPreview() (
	r0 bool,
)

func (WKWebView) AllowsMagnification added in v0.2.0

func (x WKWebView) AllowsMagnification() (
	r0 bool,
)

func (WKWebView) CanGoBack added in v0.2.0

func (x WKWebView) CanGoBack() (
	r0 bool,
)

func (WKWebView) CanGoForward added in v0.2.0

func (x WKWebView) CanGoForward() (
	r0 bool,
)

func (WKWebView) Configuration added in v0.2.0

func (x WKWebView) Configuration() (
	r0 WKWebViewConfiguration,
)

func (WKWebView) CustomUserAgent added in v0.2.0

func (x WKWebView) CustomUserAgent() (
	r0 core.NSString,
)

func (WKWebView) GoBack added in v0.2.0

func (x WKWebView) GoBack() (
	r0 WKNavigation,
)

func (WKWebView) GoBack_ added in v0.2.0

func (x WKWebView) GoBack_(
	sender objc.Ref,
)

func (WKWebView) GoForward added in v0.2.0

func (x WKWebView) GoForward() (
	r0 WKNavigation,
)

func (WKWebView) GoForward_ added in v0.2.0

func (x WKWebView) GoForward_(
	sender objc.Ref,
)

func (WKWebView) HasOnlySecureContent added in v0.2.0

func (x WKWebView) HasOnlySecureContent() (
	r0 bool,
)

func (WKWebView) InitWithFrame_configuration__asWKWebView added in v0.2.0

func (x WKWebView) InitWithFrame_configuration__asWKWebView(
	frame core.NSRect,
	configuration WKWebViewConfigurationRef,
) (
	r0 WKWebView,
)

func (WKWebView) Init_asWKWebView added in v0.2.0

func (x WKWebView) Init_asWKWebView() (
	r0 WKWebView,
)

func (WKWebView) InteractionState added in v0.2.0

func (x WKWebView) InteractionState() (
	r0 objc.Object,
)

func (WKWebView) IsLoading added in v0.2.0

func (x WKWebView) IsLoading() (
	r0 bool,
)

func (WKWebView) LoadData_MIMEType_characterEncodingName_baseURL_ added in v0.2.0

func (x WKWebView) LoadData_MIMEType_characterEncodingName_baseURL_(
	data core.NSDataRef,
	MIMEType core.NSStringRef,
	characterEncodingName core.NSStringRef,
	baseURL core.NSURLRef,
) (
	r0 WKNavigation,
)

func (WKWebView) LoadFileRequest_allowingReadAccessToURL_ added in v0.2.0

func (x WKWebView) LoadFileRequest_allowingReadAccessToURL_(
	request core.NSURLRequestRef,
	readAccessURL core.NSURLRef,
) (
	r0 WKNavigation,
)

func (WKWebView) LoadFileURL_allowingReadAccessToURL_ added in v0.2.0

func (x WKWebView) LoadFileURL_allowingReadAccessToURL_(
	URL core.NSURLRef,
	readAccessURL core.NSURLRef,
) (
	r0 WKNavigation,
)

func (WKWebView) LoadHTMLString added in v0.2.0

func (wv WKWebView) LoadHTMLString(html core.NSString, url core.NSURL)

func (WKWebView) LoadHTMLString_baseURL_ added in v0.2.0

func (x WKWebView) LoadHTMLString_baseURL_(
	string core.NSStringRef,
	baseURL core.NSURLRef,
) (
	r0 WKNavigation,
)

func (WKWebView) LoadRequest

func (wv WKWebView) LoadRequest(req core.NSURLRequest)

func (WKWebView) LoadRequest_ added in v0.2.0

func (x WKWebView) LoadRequest_(
	request core.NSURLRequestRef,
) (
	r0 WKNavigation,
)

func (WKWebView) LoadSimulatedRequest_responseHTMLString_ added in v0.2.0

func (x WKWebView) LoadSimulatedRequest_responseHTMLString_(
	request core.NSURLRequestRef,
	string core.NSStringRef,
) (
	r0 WKNavigation,
)

func (WKWebView) Magnification added in v0.2.0

func (x WKWebView) Magnification() (
	r0 core.CGFloat,
)

func (WKWebView) MediaType added in v0.2.0

func (x WKWebView) MediaType() (
	r0 core.NSString,
)

func (WKWebView) NavigationDelegate added in v0.2.0

func (x WKWebView) NavigationDelegate() (
	r0 objc.Object,
)

func (WKWebView) Reload

func (wv WKWebView) Reload(sender objc.Object)

FIXME this would conflict with the `reload` selector that doesn't take a parameter and returns WKNavigation. Should we standardize on that one instead?

func (WKWebView) ReloadFromOrigin added in v0.2.0

func (x WKWebView) ReloadFromOrigin() (
	r0 WKNavigation,
)

func (WKWebView) ReloadFromOrigin_ added in v0.2.0

func (x WKWebView) ReloadFromOrigin_(
	sender objc.Ref,
)

func (WKWebView) Reload_ added in v0.2.0

func (x WKWebView) Reload_(
	sender objc.Ref,
)

func (WKWebView) SetAllowsBackForwardNavigationGestures_ added in v0.2.0

func (x WKWebView) SetAllowsBackForwardNavigationGestures_(
	value bool,
)

func (WKWebView) SetAllowsLinkPreview_ added in v0.2.0

func (x WKWebView) SetAllowsLinkPreview_(
	value bool,
)

func (WKWebView) SetAllowsMagnification_ added in v0.2.0

func (x WKWebView) SetAllowsMagnification_(
	value bool,
)

func (WKWebView) SetCustomUserAgent_ added in v0.2.0

func (x WKWebView) SetCustomUserAgent_(
	value core.NSStringRef,
)

func (WKWebView) SetInteractionState_ added in v0.2.0

func (x WKWebView) SetInteractionState_(
	value objc.Ref,
)

func (WKWebView) SetMagnification_ added in v0.2.0

func (x WKWebView) SetMagnification_(
	value core.CGFloat,
)

func (WKWebView) SetMediaType_ added in v0.2.0

func (x WKWebView) SetMediaType_(
	value core.NSStringRef,
)

func (WKWebView) SetNavigationDelegate_ added in v0.2.0

func (x WKWebView) SetNavigationDelegate_(
	value objc.Ref,
)

func (WKWebView) SetUIDelegate_ added in v0.2.0

func (x WKWebView) SetUIDelegate_(
	value objc.Ref,
)

func (WKWebView) StopLoading added in v0.2.0

func (x WKWebView) StopLoading()

func (WKWebView) StopLoading_ added in v0.2.0

func (x WKWebView) StopLoading_(
	sender objc.Ref,
)

func (WKWebView) Title added in v0.2.0

func (x WKWebView) Title() (
	r0 core.NSString,
)

func (WKWebView) UIDelegate added in v0.2.0

func (x WKWebView) UIDelegate() (
	r0 objc.Object,
)

func (WKWebView) URL added in v0.2.0

func (x WKWebView) URL() (
	r0 core.NSURL,
)

type WKWebViewConfiguration

type WKWebViewConfiguration struct {
	// contains filtered or unexported fields
}

func WKWebViewConfiguration_New

func WKWebViewConfiguration_New() WKWebViewConfiguration

func WKWebViewConfiguration_alloc added in v0.2.0

func WKWebViewConfiguration_alloc() (
	r0 WKWebViewConfiguration,
)

func WKWebViewConfiguration_fromPointer added in v0.2.0

func WKWebViewConfiguration_fromPointer(ptr unsafe.Pointer) WKWebViewConfiguration

func WKWebViewConfiguration_fromRef added in v0.2.0

func WKWebViewConfiguration_fromRef(ref objc.Ref) WKWebViewConfiguration

func (WKWebViewConfiguration) AllowsAirPlayForMediaPlayback added in v0.2.0

func (x WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() (
	r0 bool,
)

func (WKWebViewConfiguration) AllowsInlineMediaPlayback added in v0.2.0

func (x WKWebViewConfiguration) AllowsInlineMediaPlayback() (
	r0 bool,
)

func (WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback added in v0.2.0

func (x WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() (
	r0 bool,
)

func (WKWebViewConfiguration) ApplicationNameForUserAgent added in v0.2.0

func (x WKWebViewConfiguration) ApplicationNameForUserAgent() (
	r0 core.NSString,
)

func (WKWebViewConfiguration) IgnoresViewportScaleLimits added in v0.2.0

func (x WKWebViewConfiguration) IgnoresViewportScaleLimits() (
	r0 bool,
)

func (WKWebViewConfiguration) Init_asWKWebViewConfiguration added in v0.2.0

func (x WKWebViewConfiguration) Init_asWKWebViewConfiguration() (
	r0 WKWebViewConfiguration,
)

func (WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains added in v0.2.0

func (x WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() (
	r0 bool,
)

func (WKWebViewConfiguration) Preferences

func (x WKWebViewConfiguration) Preferences() (
	r0 WKPreferences,
)

func (WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback_ added in v0.2.0

func (x WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback_(
	value bool,
)

func (WKWebViewConfiguration) SetAllowsInlineMediaPlayback_ added in v0.2.0

func (x WKWebViewConfiguration) SetAllowsInlineMediaPlayback_(
	value bool,
)

func (WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback_ added in v0.2.0

func (x WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback_(
	value bool,
)

func (WKWebViewConfiguration) SetApplicationNameForUserAgent_ added in v0.2.0

func (x WKWebViewConfiguration) SetApplicationNameForUserAgent_(
	value core.NSStringRef,
)

func (WKWebViewConfiguration) SetIgnoresViewportScaleLimits_ added in v0.2.0

func (x WKWebViewConfiguration) SetIgnoresViewportScaleLimits_(
	value bool,
)

func (WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains_ added in v0.2.0

func (x WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains_(
	value bool,
)

func (WKWebViewConfiguration) SetPreferences_ added in v0.2.0

func (x WKWebViewConfiguration) SetPreferences_(
	value WKPreferencesRef,
)

func (WKWebViewConfiguration) SetSuppressesIncrementalRendering_ added in v0.2.0

func (x WKWebViewConfiguration) SetSuppressesIncrementalRendering_(
	value bool,
)

func (WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme_ added in v0.2.0

func (x WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme_(
	urlSchemeHandler objc.Ref,
	urlScheme core.NSStringRef,
)

func (WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS_ added in v0.2.0

func (x WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS_(
	value bool,
)

func (WKWebViewConfiguration) SuppressesIncrementalRendering added in v0.2.0

func (x WKWebViewConfiguration) SuppressesIncrementalRendering() (
	r0 bool,
)

func (WKWebViewConfiguration) UpgradeKnownHostsToHTTPS added in v0.2.0

func (x WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() (
	r0 bool,
)

func (WKWebViewConfiguration) UrlSchemeHandlerForURLScheme_ added in v0.2.0

func (x WKWebViewConfiguration) UrlSchemeHandlerForURLScheme_(
	urlScheme core.NSStringRef,
) (
	r0 objc.Object,
)

type WKWebViewConfigurationRef added in v0.2.0

type WKWebViewConfigurationRef interface {
	Pointer() uintptr
	Init_asWKWebViewConfiguration() WKWebViewConfiguration
}

type WKWebViewRef added in v0.2.0

type WKWebViewRef interface {
	Pointer() uintptr
	Init_asWKWebView() WKWebView
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL