Documentation
¶
Index ¶
- func WKWebView_handlesURLScheme_(urlScheme core.NSStringRef) (r0 bool)
- type WKNavigation
- type WKNavigationRef
- type WKPreferences
- func (x WKPreferences) Init_asWKPreferences() (r0 WKPreferences)
- func (x WKPreferences) IsFraudulentWebsiteWarningEnabled() (r0 bool)
- func (x WKPreferences) IsTextInteractionEnabled() (r0 bool)
- func (x WKPreferences) JavaScriptCanOpenWindowsAutomatically() (r0 bool)
- func (x WKPreferences) MinimumFontSize() (r0 core.CGFloat)
- func (x WKPreferences) SetFraudulentWebsiteWarningEnabled_(value bool)
- func (x WKPreferences) SetJavaScriptCanOpenWindowsAutomatically_(value bool)
- func (x WKPreferences) SetMinimumFontSize_(value core.CGFloat)
- func (x WKPreferences) SetTabFocusesLinks_(value bool)
- func (x WKPreferences) SetTextInteractionEnabled_(value bool)
- func (p WKPreferences) SetValueForKey(value objc.Object, key core.NSStringRef)
- func (x WKPreferences) SetValue_forKey_(value objc.Ref, key core.NSStringRef)
- func (x WKPreferences) TabFocusesLinks() (r0 bool)
- type WKPreferencesRef
- type WKUserScript
- type WKUserScriptRef
- type WKWebView
- func (x WKWebView) AllowsBackForwardNavigationGestures() (r0 bool)
- func (x WKWebView) AllowsLinkPreview() (r0 bool)
- func (x WKWebView) AllowsMagnification() (r0 bool)
- func (x WKWebView) CanGoBack() (r0 bool)
- func (x WKWebView) CanGoForward() (r0 bool)
- func (x WKWebView) Configuration() (r0 WKWebViewConfiguration)
- func (x WKWebView) CustomUserAgent() (r0 core.NSString)
- func (x WKWebView) GoBack() (r0 WKNavigation)
- func (x WKWebView) GoBack_(sender objc.Ref)
- func (x WKWebView) GoForward() (r0 WKNavigation)
- func (x WKWebView) GoForward_(sender objc.Ref)
- func (x WKWebView) HasOnlySecureContent() (r0 bool)
- func (x WKWebView) InitWithFrame_configuration__asWKWebView(frame core.NSRect, configuration WKWebViewConfigurationRef) (r0 WKWebView)
- func (x WKWebView) Init_asWKWebView() (r0 WKWebView)
- func (x WKWebView) InteractionState() (r0 objc.Object)
- func (x WKWebView) IsLoading() (r0 bool)
- func (x WKWebView) LoadData_MIMEType_characterEncodingName_baseURL_(data core.NSDataRef, MIMEType core.NSStringRef, ...) (r0 WKNavigation)
- func (x WKWebView) LoadFileRequest_allowingReadAccessToURL_(request core.NSURLRequestRef, readAccessURL core.NSURLRef) (r0 WKNavigation)
- func (x WKWebView) LoadFileURL_allowingReadAccessToURL_(URL core.NSURLRef, readAccessURL core.NSURLRef) (r0 WKNavigation)
- func (wv WKWebView) LoadHTMLString(html core.NSString, url core.NSURL)
- func (x WKWebView) LoadHTMLString_baseURL_(string core.NSStringRef, baseURL core.NSURLRef) (r0 WKNavigation)
- func (wv WKWebView) LoadRequest(req core.NSURLRequest)
- func (x WKWebView) LoadRequest_(request core.NSURLRequestRef) (r0 WKNavigation)
- func (x WKWebView) LoadSimulatedRequest_responseHTMLString_(request core.NSURLRequestRef, string core.NSStringRef) (r0 WKNavigation)
- func (x WKWebView) Magnification() (r0 core.CGFloat)
- func (x WKWebView) MediaType() (r0 core.NSString)
- func (x WKWebView) NavigationDelegate() (r0 objc.Object)
- func (wv WKWebView) Reload(sender objc.Object)
- func (x WKWebView) ReloadFromOrigin() (r0 WKNavigation)
- func (x WKWebView) ReloadFromOrigin_(sender objc.Ref)
- func (x WKWebView) Reload_(sender objc.Ref)
- func (x WKWebView) SetAllowsBackForwardNavigationGestures_(value bool)
- func (x WKWebView) SetAllowsLinkPreview_(value bool)
- func (x WKWebView) SetAllowsMagnification_(value bool)
- func (x WKWebView) SetCustomUserAgent_(value core.NSStringRef)
- func (x WKWebView) SetInteractionState_(value objc.Ref)
- func (x WKWebView) SetMagnification_(value core.CGFloat)
- func (x WKWebView) SetMediaType_(value core.NSStringRef)
- func (x WKWebView) SetNavigationDelegate_(value objc.Ref)
- func (x WKWebView) SetUIDelegate_(value objc.Ref)
- func (x WKWebView) StopLoading()
- func (x WKWebView) StopLoading_(sender objc.Ref)
- func (x WKWebView) Title() (r0 core.NSString)
- func (x WKWebView) UIDelegate() (r0 objc.Object)
- func (x WKWebView) URL() (r0 core.NSURL)
- type WKWebViewConfiguration
- func (x WKWebViewConfiguration) AllowsAirPlayForMediaPlayback() (r0 bool)
- func (x WKWebViewConfiguration) AllowsInlineMediaPlayback() (r0 bool)
- func (x WKWebViewConfiguration) AllowsPictureInPictureMediaPlayback() (r0 bool)
- func (x WKWebViewConfiguration) ApplicationNameForUserAgent() (r0 core.NSString)
- func (x WKWebViewConfiguration) IgnoresViewportScaleLimits() (r0 bool)
- func (x WKWebViewConfiguration) Init_asWKWebViewConfiguration() (r0 WKWebViewConfiguration)
- func (x WKWebViewConfiguration) LimitsNavigationsToAppBoundDomains() (r0 bool)
- func (x WKWebViewConfiguration) Preferences() (r0 WKPreferences)
- func (x WKWebViewConfiguration) SetAllowsAirPlayForMediaPlayback_(value bool)
- func (x WKWebViewConfiguration) SetAllowsInlineMediaPlayback_(value bool)
- func (x WKWebViewConfiguration) SetAllowsPictureInPictureMediaPlayback_(value bool)
- func (x WKWebViewConfiguration) SetApplicationNameForUserAgent_(value core.NSStringRef)
- func (x WKWebViewConfiguration) SetIgnoresViewportScaleLimits_(value bool)
- func (x WKWebViewConfiguration) SetLimitsNavigationsToAppBoundDomains_(value bool)
- func (x WKWebViewConfiguration) SetPreferences_(value WKPreferencesRef)
- func (x WKWebViewConfiguration) SetSuppressesIncrementalRendering_(value bool)
- func (x WKWebViewConfiguration) SetURLSchemeHandler_forURLScheme_(urlSchemeHandler objc.Ref, urlScheme core.NSStringRef)
- func (x WKWebViewConfiguration) SetUpgradeKnownHostsToHTTPS_(value bool)
- func (x WKWebViewConfiguration) SuppressesIncrementalRendering() (r0 bool)
- func (x WKWebViewConfiguration) UpgradeKnownHostsToHTTPS() (r0 bool)
- func (x WKWebViewConfiguration) UrlSchemeHandlerForURLScheme_(urlScheme core.NSStringRef) (r0 objc.Object)
- type WKWebViewConfigurationRef
- type WKWebViewRef
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 {}
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 (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 (WKPreferences) SetTabFocusesLinks_ ¶ added in v0.2.0
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 (WKPreferences) TabFocusesLinks ¶ added in v0.2.0
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, )
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_fromRef ¶ added in v0.2.0
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) 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 (WKWebView) GoBack ¶ added in v0.2.0
func (x WKWebView) GoBack() ( r0 WKNavigation, )
func (WKWebView) GoForward ¶ added in v0.2.0
func (x WKWebView) GoForward() ( r0 WKNavigation, )
func (WKWebView) GoForward_ ¶ added in v0.2.0
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 (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 (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 (WKWebView) NavigationDelegate ¶ added in v0.2.0
func (WKWebView) Reload ¶
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 (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 (WKWebView) SetMagnification_ ¶ added in v0.2.0
func (WKWebView) SetMediaType_ ¶ added in v0.2.0
func (x WKWebView) SetMediaType_( value core.NSStringRef, )
func (WKWebView) SetNavigationDelegate_ ¶ added in v0.2.0
func (WKWebView) SetUIDelegate_ ¶ added in v0.2.0
func (WKWebView) StopLoading ¶ added in v0.2.0
func (x WKWebView) StopLoading()
func (WKWebView) StopLoading_ ¶ added in v0.2.0
func (WKWebView) UIDelegate ¶ added in v0.2.0
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 (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
Click to show internal directories.
Click to hide internal directories.