Documentation
¶
Overview ¶
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
auto-generated code, do not modify
Index ¶
- Variables
- func AddScriptMessageHandler(v IWebView, name string, handler func(message objc.Object))
- func AddScriptMessageHandlerWithReply(v IWebView, name string, ...)
- func LoadURL(v IWebView, url string)
- func WrapNavigationDelegate(v NavigationDelegate) objc.Object
- func WrapScriptMessageHandler(v ScriptMessageHandler) objc.Object
- func WrapScriptMessageHandlerWithReply(v ScriptMessageHandlerWithReply) objc.Object
- func WrapUIDelegate(v UIDelegate) objc.Object
- func WrapURLSchemeHandler(v URLSchemeHandler) objc.Object
- type AudiovisualMediaTypes
- type BackForwardList
- func (b_ BackForwardList) BackItem() BackForwardListItem
- func (b_ BackForwardList) BackList() []BackForwardListItem
- func (b_ BackForwardList) CurrentItem() BackForwardListItem
- func (b_ BackForwardList) ForwardItem() BackForwardListItem
- func (b_ BackForwardList) ForwardList() []BackForwardListItem
- func (b_ BackForwardList) Init() BackForwardList
- func (b_ BackForwardList) ItemAtIndex(index int) BackForwardListItem
- type BackForwardListItem
- type ContentMode
- type ContentRuleList
- type ContentWorld
- type Download
- type FileSystemURLSchemeHandler
- type FindConfiguration
- func (f_ FindConfiguration) Backwards() bool
- func (f_ FindConfiguration) CaseSensitive() bool
- func (f_ FindConfiguration) Init() FindConfiguration
- func (f_ FindConfiguration) SetBackwards(value bool)
- func (f_ FindConfiguration) SetCaseSensitive(value bool)
- func (f_ FindConfiguration) SetWraps(value bool)
- func (f_ FindConfiguration) Wraps() bool
- type FindResult
- type FrameInfo
- type FullscreenState
- type HTTPCookieStore
- func (h_ HTTPCookieStore) DeleteCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())
- func (h_ HTTPCookieStore) GetAllCookies(completionHandler func(param1 []foundation.HTTPCookie))
- func (h_ HTTPCookieStore) Init() HTTPCookieStore
- func (h_ HTTPCookieStore) SetCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())
- type IBackForwardList
- type IBackForwardListItem
- type IContentRuleList
- type IContentWorld
- type IDownload
- type IFindConfiguration
- type IFindResult
- type IFrameInfo
- type IHTTPCookieStore
- type INavigation
- type INavigationAction
- type INavigationResponse
- type IPDFConfiguration
- type IPreferences
- type IProcessPool
- type IScriptMessage
- type ISecurityOrigin
- type ISnapshotConfiguration
- type IUserContentController
- type IUserScript
- type IWebView
- type IWebViewConfiguration
- type IWebpagePreferences
- type IWebsiteDataRecord
- type IWebsiteDataStore
- type IWindowFeatures
- type MediaCaptureState
- type MediaCaptureType
- type MediaPlaybackState
- type Navigation
- type NavigationAction
- func (n_ NavigationAction) ButtonNumber() int
- func (n_ NavigationAction) Init() NavigationAction
- func (n_ NavigationAction) ModifierFlags() appkit.EventModifierFlags
- func (n_ NavigationAction) NavigationType() NavigationType
- func (n_ NavigationAction) Request() foundation.URLRequest
- func (n_ NavigationAction) ShouldPerformDownload() bool
- func (n_ NavigationAction) SourceFrame() FrameInfo
- func (n_ NavigationAction) TargetFrame() FrameInfo
- type NavigationActionPolicy
- type NavigationDelegate
- type NavigationDelegateBase
- func (p *NavigationDelegateBase) ImplementsWebViewWebContentProcessDidTerminate() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_DecisionHandler() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationResponse_DecisionHandler() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DidCommitNavigation() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DidFailNavigation_WithError() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DidFailProvisionalNavigation_WithError() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DidFinishNavigation() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DidReceiveServerRedirectForProvisionalNavigation() bool
- func (p *NavigationDelegateBase) ImplementsWebView_DidStartProvisionalNavigation() bool
- func (p *NavigationDelegateBase) ImplementsWebView_NavigationAction_DidBecomeDownload() bool
- func (p *NavigationDelegateBase) ImplementsWebView_NavigationResponse_DidBecomeDownload() bool
- func (p *NavigationDelegateBase) WebViewWebContentProcessDidTerminate(webView WebView)
- func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_DecisionHandler(webView WebView, navigationAction NavigationAction, ...)
- func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler(webView WebView, navigationAction NavigationAction, ...)
- func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationResponse_DecisionHandler(webView WebView, navigationResponse NavigationResponse, ...)
- func (p *NavigationDelegateBase) WebView_DidCommitNavigation(webView WebView, navigation Navigation)
- func (p *NavigationDelegateBase) WebView_DidFailNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
- func (p *NavigationDelegateBase) WebView_DidFailProvisionalNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
- func (p *NavigationDelegateBase) WebView_DidFinishNavigation(webView WebView, navigation Navigation)
- func (p *NavigationDelegateBase) WebView_DidReceiveServerRedirectForProvisionalNavigation(webView WebView, navigation Navigation)
- func (p *NavigationDelegateBase) WebView_DidStartProvisionalNavigation(webView WebView, navigation Navigation)
- func (p *NavigationDelegateBase) WebView_NavigationAction_DidBecomeDownload(webView WebView, navigationAction NavigationAction, download Download)
- func (p *NavigationDelegateBase) WebView_NavigationResponse_DidBecomeDownload(webView WebView, navigationResponse NavigationResponse, download Download)
- type NavigationDelegateCreator
- func (c *NavigationDelegateCreator) Create() objc.ProtocolBase
- func (c *NavigationDelegateCreator) SetWebViewWebContentProcessDidTerminate(handle func(o objc.ProtocolBase, webView WebView))
- func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_DecisionHandler(...)
- func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler(...)
- func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationResponse_DecisionHandler(...)
- func (c *NavigationDelegateCreator) SetWebView_DidCommitNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
- func (c *NavigationDelegateCreator) SetWebView_DidFailNavigation_WithError(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation, ...))
- func (c *NavigationDelegateCreator) SetWebView_DidFailProvisionalNavigation_WithError(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation, ...))
- func (c *NavigationDelegateCreator) SetWebView_DidFinishNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
- func (c *NavigationDelegateCreator) SetWebView_DidReceiveServerRedirectForProvisionalNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
- func (c *NavigationDelegateCreator) SetWebView_DidStartProvisionalNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
- func (c *NavigationDelegateCreator) SetWebView_NavigationAction_DidBecomeDownload(...)
- func (c *NavigationDelegateCreator) SetWebView_NavigationResponse_DidBecomeDownload(...)
- type NavigationResponse
- type NavigationResponsePolicy
- type NavigationType
- type PDFConfiguration
- type PermissionDecision
- type Preferences
- func (p_ Preferences) Init() Preferences
- func (p_ Preferences) IsElementFullscreenEnabled() bool
- func (p_ Preferences) IsFraudulentWebsiteWarningEnabled() bool
- func (p_ Preferences) IsSiteSpecificQuirksModeEnabled() bool
- func (p_ Preferences) IsTextInteractionEnabled() bool
- func (p_ Preferences) JavaEnabled() bool
- func (p_ Preferences) JavaScriptCanOpenWindowsAutomatically() bool
- func (p_ Preferences) JavaScriptEnabled() bool
- func (p_ Preferences) MinimumFontSize() float64
- func (p_ Preferences) PlugInsEnabled() bool
- func (p_ Preferences) SetElementFullscreenEnabled(value bool)
- func (p_ Preferences) SetFraudulentWebsiteWarningEnabled(value bool)
- func (p_ Preferences) SetJavaEnabled(value bool)
- func (p_ Preferences) SetJavaScriptCanOpenWindowsAutomatically(value bool)
- func (p_ Preferences) SetJavaScriptEnabled(value bool)
- func (p_ Preferences) SetMinimumFontSize(value float64)
- func (p_ Preferences) SetPlugInsEnabled(value bool)
- func (p_ Preferences) SetSiteSpecificQuirksModeEnabled(value bool)
- func (p_ Preferences) SetTabFocusesLinks(value bool)
- func (p_ Preferences) SetTextInteractionEnabled(value bool)
- func (p_ Preferences) TabFocusesLinks() bool
- type ProcessPool
- type ScriptMessage
- type ScriptMessageHandler
- type ScriptMessageHandlerBase
- type ScriptMessageHandlerWithReply
- type ScriptMessageHandlerWithReplyBase
- type SecurityOrigin
- type SnapshotConfiguration
- func (s_ SnapshotConfiguration) AfterScreenUpdates() bool
- func (s_ SnapshotConfiguration) Init() SnapshotConfiguration
- func (s_ SnapshotConfiguration) Rect() coregraphics.Rect
- func (s_ SnapshotConfiguration) SetAfterScreenUpdates(value bool)
- func (s_ SnapshotConfiguration) SetRect(value coregraphics.Rect)
- func (s_ SnapshotConfiguration) SetSnapshotWidth(value foundation.INumber)
- func (s_ SnapshotConfiguration) SnapshotWidth() foundation.Number
- type UIDelegate
- type UIDelegateBase
- func (p *UIDelegateBase) ImplementsWebViewDidClose() bool
- func (p *UIDelegateBase) ImplementsWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures() bool
- func (p *UIDelegateBase) ImplementsWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler() bool
- func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler() bool
- func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler() bool
- func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler() bool
- func (p *UIDelegateBase) WebViewDidClose(webView WebView)
- func (p *UIDelegateBase) WebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures(webView WebView, configuration WebViewConfiguration, ...) IWebView
- func (p *UIDelegateBase) WebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(webView WebView, origin SecurityOrigin, frame FrameInfo, ...)
- func (p *UIDelegateBase) WebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func())
- func (p *UIDelegateBase) WebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, ...)
- func (p *UIDelegateBase) WebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler(webView WebView, prompt string, defaultText string, frame FrameInfo, ...)
- type UIDelegateCreator
- func (c *UIDelegateCreator) Create() objc.ProtocolBase
- func (c *UIDelegateCreator) SetWebViewDidClose(handle func(o objc.ProtocolBase, webView WebView))
- func (c *UIDelegateCreator) SetWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures(...)
- func (c *UIDelegateCreator) SetWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(...)
- func (c *UIDelegateCreator) SetWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(...)
- func (c *UIDelegateCreator) SetWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(...)
- func (c *UIDelegateCreator) SetWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler(...)
- type URLSchemeHandler
- type URLSchemeHandlerBase
- type URLSchemeTask
- type UserContentController
- func (u_ UserContentController) AddContentRuleList(contentRuleList IContentRuleList)
- func (u_ UserContentController) AddScriptMessageHandlerWithReply_ContentWorld_Name(scriptMessageHandlerWithReply objc.IObject, contentWorld IContentWorld, ...)
- func (u_ UserContentController) AddScriptMessageHandler_ContentWorld_Name(scriptMessageHandler objc.IObject, world IContentWorld, name string)
- func (u_ UserContentController) AddScriptMessageHandler_Name(scriptMessageHandler objc.IObject, name string)
- func (u_ UserContentController) AddUserScript(userScript IUserScript)
- func (u_ UserContentController) Init() UserContentController
- func (u_ UserContentController) RemoveAllContentRuleLists()
- func (u_ UserContentController) RemoveAllScriptMessageHandlers()
- func (u_ UserContentController) RemoveAllScriptMessageHandlersFromContentWorld(contentWorld IContentWorld)
- func (u_ UserContentController) RemoveAllUserScripts()
- func (u_ UserContentController) RemoveContentRuleList(contentRuleList IContentRuleList)
- func (u_ UserContentController) RemoveScriptMessageHandlerForName(name string)
- func (u_ UserContentController) RemoveScriptMessageHandlerForName_ContentWorld(name string, contentWorld IContentWorld)
- func (u_ UserContentController) UserScripts() []UserScript
- type UserInterfaceDirectionPolicy
- type UserScript
- func (u_ UserScript) Init() UserScript
- func (u_ UserScript) InitWithSource_InjectionTime_ForMainFrameOnly(source string, injectionTime UserScriptInjectionTime, forMainFrameOnly bool) UserScript
- func (u_ UserScript) InitWithSource_InjectionTime_ForMainFrameOnly_InContentWorld(source string, injectionTime UserScriptInjectionTime, forMainFrameOnly bool, ...) UserScript
- func (u_ UserScript) InjectionTime() UserScriptInjectionTime
- func (u_ UserScript) IsForMainFrameOnly() bool
- func (u_ UserScript) Source() string
- type UserScriptInjectionTime
- type WebView
- func (w_ WebView) AllowsBackForwardNavigationGestures() bool
- func (w_ WebView) AllowsLinkPreview() bool
- func (w_ WebView) AllowsMagnification() bool
- func (w_ WebView) BackForwardList() BackForwardList
- func (w_ WebView) CallAsyncJavaScript_Arguments_InFrame_InContentWorld_CompletionHandler(functionBody string, arguments map[string]objc.IObject, frame IFrameInfo, ...)
- func (w_ WebView) CameraCaptureState() MediaCaptureState
- func (w_ WebView) CanGoBack() bool
- func (w_ WebView) CanGoForward() bool
- func (w_ WebView) CertificateChain() []objc.Object
- func (w_ WebView) CloseAllMediaPresentations()
- func (w_ WebView) CloseAllMediaPresentationsWithCompletionHandler(completionHandler func())
- func (w_ WebView) Configuration() WebViewConfiguration
- func (w_ WebView) CreatePDFWithConfiguration_CompletionHandler(pdfConfiguration IPDFConfiguration, ...)
- func (w_ WebView) CreateWebArchiveDataWithCompletionHandler(completionHandler func(param1 []byte, param2 foundation.Error))
- func (w_ WebView) CustomUserAgent() string
- func (w_ WebView) EstimatedProgress() float64
- func (w_ WebView) EvaluateJavaScript_CompletionHandler(javaScriptString string, ...)
- func (w_ WebView) EvaluateJavaScript_InFrame_InContentWorld_CompletionHandler(javaScriptString string, frame IFrameInfo, contentWorld IContentWorld, ...)
- func (w_ WebView) FindString_WithConfiguration_CompletionHandler(string_ string, configuration IFindConfiguration, ...)
- func (w_ WebView) FullscreenState() FullscreenState
- func (w_ WebView) GoBack() Navigation
- func (w_ WebView) GoBack1(sender objc.IObject)
- func (w_ WebView) GoForward() Navigation
- func (w_ WebView) GoForward1(sender objc.IObject)
- func (w_ WebView) GoToBackForwardListItem(item IBackForwardListItem) Navigation
- func (w_ WebView) HasOnlySecureContent() bool
- func (w_ WebView) Init() WebView
- func (w_ WebView) InitWithFrame(frameRect foundation.Rect) WebView
- func (w_ WebView) InitWithFrame_Configuration(frame coregraphics.Rect, configuration IWebViewConfiguration) WebView
- func (w_ WebView) InteractionState() objc.Object
- func (w_ WebView) IsLoading() bool
- func (w_ WebView) LoadData_MIMEType_CharacterEncodingName_BaseURL(data []byte, MIMEType string, characterEncodingName string, ...) Navigation
- func (w_ WebView) LoadFileRequest_AllowingReadAccessToURL(request foundation.IURLRequest, readAccessURL foundation.IURL) Navigation
- func (w_ WebView) LoadFileURL_AllowingReadAccessToURL(URL foundation.IURL, readAccessURL foundation.IURL) Navigation
- func (w_ WebView) LoadHTMLString_BaseURL(string_ string, baseURL foundation.IURL) Navigation
- func (w_ WebView) LoadRequest(request foundation.IURLRequest) Navigation
- func (w_ WebView) LoadSimulatedRequest_ResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation
- func (w_ WebView) LoadSimulatedRequest_Response_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation
- func (w_ WebView) LoadSimulatedRequest_WithResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation
- func (w_ WebView) LoadSimulatedRequest_WithResponse_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation
- func (w_ WebView) Magnification() float64
- func (w_ WebView) MaximumViewportInset() foundation.EdgeInsets
- func (w_ WebView) MediaType() string
- func (w_ WebView) MicrophoneCaptureState() MediaCaptureState
- func (w_ WebView) MinimumViewportInset() foundation.EdgeInsets
- func (w_ WebView) NavigationDelegate() objc.Object
- func (w_ WebView) PageZoom() float64
- func (w_ WebView) PauseAllMediaPlayback(completionHandler func())
- func (w_ WebView) PauseAllMediaPlaybackWithCompletionHandler(completionHandler func())
- func (w_ WebView) PrintOperationWithPrintInfo(printInfo appkit.IPrintInfo) appkit.PrintOperation
- func (w_ WebView) Reload() Navigation
- func (w_ WebView) Reload1(sender objc.IObject)
- func (w_ WebView) ReloadFromOrigin() Navigation
- func (w_ WebView) ReloadFromOrigin1(sender objc.IObject)
- func (w_ WebView) RequestMediaPlaybackState(completionHandler func(param1 MediaPlaybackState))
- func (w_ WebView) RequestMediaPlaybackStateWithCompletionHandler(completionHandler func(param1 MediaPlaybackState))
- func (w_ WebView) ResumeAllMediaPlayback(completionHandler func())
- func (w_ WebView) ResumeDownloadFromResumeData_CompletionHandler(resumeData []byte, completionHandler func(param1 Download))
- func (w_ WebView) SetAllMediaPlaybackSuspended_CompletionHandler(suspended bool, completionHandler func())
- func (w_ WebView) SetAllowsBackForwardNavigationGestures(value bool)
- func (w_ WebView) SetAllowsLinkPreview(value bool)
- func (w_ WebView) SetAllowsMagnification(value bool)
- func (w_ WebView) SetCameraCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())
- func (w_ WebView) SetCustomUserAgent(value string)
- func (w_ WebView) SetInteractionState(value objc.IObject)
- func (w_ WebView) SetMagnification(value float64)
- func (w_ WebView) SetMagnification_CenteredAtPoint(magnification float64, point coregraphics.Point)
- func (w_ WebView) SetMediaType(value string)
- func (w_ WebView) SetMicrophoneCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())
- func (w_ WebView) SetMinimumViewportInset_MaximumViewportInset(minimumViewportInset foundation.EdgeInsets, ...)
- func (w_ WebView) SetNavigationDelegate(value objc.IObject)
- func (w_ WebView) SetPageZoom(value float64)
- func (w_ WebView) SetUIDelegate(value objc.IObject)
- func (w_ WebView) SetUnderPageBackgroundColor(value appkit.IColor)
- func (w_ WebView) StartDownloadUsingRequest_CompletionHandler(request foundation.IURLRequest, completionHandler func(param1 Download))
- func (w_ WebView) StopLoading()
- func (w_ WebView) StopLoading1(sender objc.IObject)
- func (w_ WebView) SuspendAllMediaPlayback(completionHandler func())
- func (w_ WebView) TakeSnapshotWithConfiguration_CompletionHandler(snapshotConfiguration ISnapshotConfiguration, ...)
- func (w_ WebView) ThemeColor() appkit.Color
- func (w_ WebView) Title() string
- func (w_ WebView) UIDelegate() objc.Object
- func (w_ WebView) URL() foundation.URL
- func (w_ WebView) UnderPageBackgroundColor() appkit.Color
- type WebViewConfiguration
- func (w_ WebViewConfiguration) AllowsAirPlayForMediaPlayback() bool
- func (w_ WebViewConfiguration) ApplicationNameForUserAgent() string
- func (w_ WebViewConfiguration) DefaultWebpagePreferences() WebpagePreferences
- func (w_ WebViewConfiguration) Init() WebViewConfiguration
- func (w_ WebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool
- func (w_ WebViewConfiguration) MediaTypesRequiringUserActionForPlayback() AudiovisualMediaTypes
- func (w_ WebViewConfiguration) Preferences() Preferences
- func (w_ WebViewConfiguration) ProcessPool() ProcessPool
- func (w_ WebViewConfiguration) SetAllowsAirPlayForMediaPlayback(value bool)
- func (w_ WebViewConfiguration) SetApplicationNameForUserAgent(value string)
- func (w_ WebViewConfiguration) SetDefaultWebpagePreferences(value IWebpagePreferences)
- func (w_ WebViewConfiguration) SetLimitsNavigationsToAppBoundDomains(value bool)
- func (w_ WebViewConfiguration) SetMediaTypesRequiringUserActionForPlayback(value AudiovisualMediaTypes)
- func (w_ WebViewConfiguration) SetPreferences(value IPreferences)
- func (w_ WebViewConfiguration) SetProcessPool(value IProcessPool)
- func (w_ WebViewConfiguration) SetSuppressesIncrementalRendering(value bool)
- func (w_ WebViewConfiguration) SetURLSchemeHandler_ForURLScheme(urlSchemeHandler objc.IObject, urlScheme string)
- func (w_ WebViewConfiguration) SetUpgradeKnownHostsToHTTPS(value bool)
- func (w_ WebViewConfiguration) SetUserContentController(value IUserContentController)
- func (w_ WebViewConfiguration) SetUserInterfaceDirectionPolicy(value UserInterfaceDirectionPolicy)
- func (w_ WebViewConfiguration) SetWebsiteDataStore(value IWebsiteDataStore)
- func (w_ WebViewConfiguration) SuppressesIncrementalRendering() bool
- func (w_ WebViewConfiguration) UpgradeKnownHostsToHTTPS() bool
- func (w_ WebViewConfiguration) UrlSchemeHandlerForURLScheme(urlScheme string) objc.Object
- func (w_ WebViewConfiguration) UserContentController() UserContentController
- func (w_ WebViewConfiguration) UserInterfaceDirectionPolicy() UserInterfaceDirectionPolicy
- func (w_ WebViewConfiguration) WebsiteDataStore() WebsiteDataStore
- type WebpagePreferences
- func (w_ WebpagePreferences) AllowsContentJavaScript() bool
- func (w_ WebpagePreferences) Init() WebpagePreferences
- func (w_ WebpagePreferences) IsLockdownModeEnabled() bool
- func (w_ WebpagePreferences) PreferredContentMode() ContentMode
- func (w_ WebpagePreferences) SetAllowsContentJavaScript(value bool)
- func (w_ WebpagePreferences) SetLockdownModeEnabled(value bool)
- func (w_ WebpagePreferences) SetPreferredContentMode(value ContentMode)
- type WebsiteDataRecord
- type WebsiteDataStore
- func (w_ WebsiteDataStore) FetchDataRecordsOfTypes_CompletionHandler(dataTypes foundation.ISet, completionHandler func(param1 []WebsiteDataRecord))
- func (w_ WebsiteDataStore) HttpCookieStore() HTTPCookieStore
- func (w_ WebsiteDataStore) Init() WebsiteDataStore
- func (w_ WebsiteDataStore) IsPersistent() bool
- func (w_ WebsiteDataStore) RemoveDataOfTypes_ForDataRecords_CompletionHandler(dataTypes foundation.ISet, dataRecords []IWebsiteDataRecord, ...)
- func (w_ WebsiteDataStore) RemoveDataOfTypes_ModifiedSince_CompletionHandler(dataTypes foundation.ISet, date foundation.IDate, completionHandler func())
- type WindowFeatures
- func (w_ WindowFeatures) AllowsResizing() foundation.Number
- func (w_ WindowFeatures) Height() foundation.Number
- func (w_ WindowFeatures) Init() WindowFeatures
- func (w_ WindowFeatures) MenuBarVisibility() foundation.Number
- func (w_ WindowFeatures) StatusBarVisibility() foundation.Number
- func (w_ WindowFeatures) ToolbarsVisibility() foundation.Number
- func (w_ WindowFeatures) Width() foundation.Number
- func (w_ WindowFeatures) X() foundation.Number
- func (w_ WindowFeatures) Y() foundation.Number
Constants ¶
This section is empty.
Variables ¶
var BackForwardListClass = _BackForwardListClass{objc.GetClass("WKBackForwardList")}
var BackForwardListItemClass = _BackForwardListItemClass{objc.GetClass("WKBackForwardListItem")}
var ContentRuleListClass = _ContentRuleListClass{objc.GetClass("WKContentRuleList")}
var ContentWorldClass = _ContentWorldClass{objc.GetClass("WKContentWorld")}
var DownloadClass = _DownloadClass{objc.GetClass("WKDownload")}
var FindConfigurationClass = _FindConfigurationClass{objc.GetClass("WKFindConfiguration")}
var FindResultClass = _FindResultClass{objc.GetClass("WKFindResult")}
var FrameInfoClass = _FrameInfoClass{objc.GetClass("WKFrameInfo")}
var HTTPCookieStoreClass = _HTTPCookieStoreClass{objc.GetClass("WKHTTPCookieStore")}
var PDFConfigurationClass = _PDFConfigurationClass{objc.GetClass("WKPDFConfiguration")}
var PreferencesClass = _PreferencesClass{objc.GetClass("WKPreferences")}
var ProcessPoolClass = _ProcessPoolClass{objc.GetClass("WKProcessPool")}
var ScriptMessageClass = _ScriptMessageClass{objc.GetClass("WKScriptMessage")}
var SecurityOriginClass = _SecurityOriginClass{objc.GetClass("WKSecurityOrigin")}
var SnapshotConfigurationClass = _SnapshotConfigurationClass{objc.GetClass("WKSnapshotConfiguration")}
var UserContentControllerClass = _UserContentControllerClass{objc.GetClass("WKUserContentController")}
var UserScriptClass = _UserScriptClass{objc.GetClass("WKUserScript")}
var WebViewClass = _WebViewClass{objc.GetClass("WKWebView")}
var WebViewConfigurationClass = _WebViewConfigurationClass{objc.GetClass("WKWebViewConfiguration")}
var WebpagePreferencesClass = _WebpagePreferencesClass{objc.GetClass("WKWebpagePreferences")}
var WebsiteDataRecordClass = _WebsiteDataRecordClass{objc.GetClass("WKWebsiteDataRecord")}
var WebsiteDataStoreClass = _WebsiteDataStoreClass{objc.GetClass("WKWebsiteDataStore")}
var WindowFeaturesClass = _WindowFeaturesClass{objc.GetClass("WKWindowFeatures")}
Functions ¶
func AddScriptMessageHandler ¶ added in v0.14.5
AddScriptMessageHandler is convinent method for adding ScriptMessageHandler to WebView ContentController
func AddScriptMessageHandlerWithReply ¶ added in v0.14.5
func AddScriptMessageHandlerWithReply(v IWebView, name string, handler func(message objc.Object) (objc.IObject, error))
AddScriptMessageHandlerWithReply is convinent method for adding ScriptMessageHandlerWithReply to WebView ContentController
func WrapNavigationDelegate ¶ added in v0.18.0
func WrapNavigationDelegate(v NavigationDelegate) objc.Object
func WrapScriptMessageHandler ¶ added in v0.18.0
func WrapScriptMessageHandler(v ScriptMessageHandler) objc.Object
func WrapScriptMessageHandlerWithReply ¶ added in v0.18.0
func WrapScriptMessageHandlerWithReply(v ScriptMessageHandlerWithReply) objc.Object
func WrapUIDelegate ¶ added in v0.18.0
func WrapUIDelegate(v UIDelegate) objc.Object
func WrapURLSchemeHandler ¶ added in v0.18.0
func WrapURLSchemeHandler(v URLSchemeHandler) objc.Object
Types ¶
type AudiovisualMediaTypes ¶
type AudiovisualMediaTypes uint
const AudiovisualMediaTypeAll AudiovisualMediaTypes = 18446744073709551615
const AudiovisualMediaTypeAudio AudiovisualMediaTypes = 1
const AudiovisualMediaTypeNone AudiovisualMediaTypes = 0
const AudiovisualMediaTypeVideo AudiovisualMediaTypes = 2
type BackForwardList ¶
func MakeBackForwardList ¶
func MakeBackForwardList(ptr unsafe.Pointer) BackForwardList
func NewBackForwardList ¶ added in v0.13.0
func NewBackForwardList() BackForwardList
func (BackForwardList) BackItem ¶
func (b_ BackForwardList) BackItem() BackForwardListItem
func (BackForwardList) BackList ¶
func (b_ BackForwardList) BackList() []BackForwardListItem
func (BackForwardList) CurrentItem ¶
func (b_ BackForwardList) CurrentItem() BackForwardListItem
func (BackForwardList) ForwardItem ¶
func (b_ BackForwardList) ForwardItem() BackForwardListItem
func (BackForwardList) ForwardList ¶
func (b_ BackForwardList) ForwardList() []BackForwardListItem
func (BackForwardList) Init ¶ added in v0.13.0
func (b_ BackForwardList) Init() BackForwardList
func (BackForwardList) ItemAtIndex ¶
func (b_ BackForwardList) ItemAtIndex(index int) BackForwardListItem
type BackForwardListItem ¶
func MakeBackForwardListItem ¶
func MakeBackForwardListItem(ptr unsafe.Pointer) BackForwardListItem
func NewBackForwardListItem ¶ added in v0.13.0
func NewBackForwardListItem() BackForwardListItem
func (BackForwardListItem) Init ¶ added in v0.13.0
func (b_ BackForwardListItem) Init() BackForwardListItem
func (BackForwardListItem) InitialURL ¶
func (b_ BackForwardListItem) InitialURL() foundation.URL
func (BackForwardListItem) Title ¶
func (b_ BackForwardListItem) Title() string
func (BackForwardListItem) URL ¶
func (b_ BackForwardListItem) URL() foundation.URL
type ContentMode ¶
type ContentMode int
const ContentModeDesktop ContentMode = 2
const ContentModeMobile ContentMode = 1
const ContentModeRecommended ContentMode = 0
type ContentRuleList ¶
func MakeContentRuleList ¶
func MakeContentRuleList(ptr unsafe.Pointer) ContentRuleList
func NewContentRuleList ¶
func NewContentRuleList() ContentRuleList
func (ContentRuleList) Identifier ¶
func (c_ ContentRuleList) Identifier() string
func (ContentRuleList) Init ¶ added in v0.11.0
func (c_ ContentRuleList) Init() ContentRuleList
type ContentWorld ¶
func MakeContentWorld ¶
func MakeContentWorld(ptr unsafe.Pointer) ContentWorld
func NewContentWorld ¶ added in v0.13.0
func NewContentWorld() ContentWorld
func (ContentWorld) Init ¶ added in v0.13.0
func (c_ ContentWorld) Init() ContentWorld
func (ContentWorld) Name ¶
func (c_ ContentWorld) Name() string
type Download ¶
func MakeDownload ¶
func NewDownload ¶
func NewDownload() Download
func (Download) OriginalRequest ¶
func (d_ Download) OriginalRequest() foundation.URLRequest
type FileSystemURLSchemeHandler ¶ added in v0.14.5
FileSystemURLSchemeHandler is a WebView URLSchemeHandler supportting the go FileSystem.
func (*FileSystemURLSchemeHandler) WebView_StartURLSchemeTask ¶ added in v0.14.5
func (h *FileSystemURLSchemeHandler) WebView_StartURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask)
WebView_StartURLSchemeTask implements URLSchemeHandler
func (*FileSystemURLSchemeHandler) WebView_StopURLSchemeTask ¶ added in v0.14.5
func (h *FileSystemURLSchemeHandler) WebView_StopURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask)
WebView_StopURLSchemeTask implements URLSchemeHandler
type FindConfiguration ¶ added in v0.14.5
func MakeFindConfiguration ¶ added in v0.14.5
func MakeFindConfiguration(ptr unsafe.Pointer) FindConfiguration
func NewFindConfiguration ¶ added in v0.14.5
func NewFindConfiguration() FindConfiguration
func (FindConfiguration) Backwards ¶ added in v0.14.5
func (f_ FindConfiguration) Backwards() bool
func (FindConfiguration) CaseSensitive ¶ added in v0.14.5
func (f_ FindConfiguration) CaseSensitive() bool
func (FindConfiguration) Init ¶ added in v0.14.5
func (f_ FindConfiguration) Init() FindConfiguration
func (FindConfiguration) SetBackwards ¶ added in v0.14.5
func (f_ FindConfiguration) SetBackwards(value bool)
func (FindConfiguration) SetCaseSensitive ¶ added in v0.14.5
func (f_ FindConfiguration) SetCaseSensitive(value bool)
func (FindConfiguration) SetWraps ¶ added in v0.14.5
func (f_ FindConfiguration) SetWraps(value bool)
func (FindConfiguration) Wraps ¶ added in v0.14.5
func (f_ FindConfiguration) Wraps() bool
type FindResult ¶ added in v0.14.5
func MakeFindResult ¶ added in v0.14.5
func MakeFindResult(ptr unsafe.Pointer) FindResult
func NewFindResult ¶ added in v0.14.5
func NewFindResult() FindResult
func (FindResult) Init ¶ added in v0.14.5
func (f_ FindResult) Init() FindResult
func (FindResult) MatchFound ¶ added in v0.14.5
func (f_ FindResult) MatchFound() bool
type FrameInfo ¶
func MakeFrameInfo ¶
func NewFrameInfo ¶
func NewFrameInfo() FrameInfo
func (FrameInfo) IsMainFrame ¶
func (FrameInfo) Request ¶
func (f_ FrameInfo) Request() foundation.URLRequest
func (FrameInfo) SecurityOrigin ¶
func (f_ FrameInfo) SecurityOrigin() SecurityOrigin
type FullscreenState ¶ added in v0.12.0
type FullscreenState int
const FullscreenStateEnteringFullscreen FullscreenState = 1
const FullscreenStateExitingFullscreen FullscreenState = 3
const FullscreenStateInFullscreen FullscreenState = 2
const FullscreenStateNotInFullscreen FullscreenState = 0
type HTTPCookieStore ¶
func MakeHTTPCookieStore ¶
func MakeHTTPCookieStore(ptr unsafe.Pointer) HTTPCookieStore
func NewHTTPCookieStore ¶ added in v0.13.0
func NewHTTPCookieStore() HTTPCookieStore
func (HTTPCookieStore) DeleteCookie_CompletionHandler ¶ added in v0.13.3
func (h_ HTTPCookieStore) DeleteCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())
func (HTTPCookieStore) GetAllCookies ¶ added in v0.13.3
func (h_ HTTPCookieStore) GetAllCookies(completionHandler func(param1 []foundation.HTTPCookie))
func (HTTPCookieStore) Init ¶ added in v0.13.0
func (h_ HTTPCookieStore) Init() HTTPCookieStore
func (HTTPCookieStore) SetCookie_CompletionHandler ¶ added in v0.13.3
func (h_ HTTPCookieStore) SetCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func())
type IBackForwardList ¶ added in v0.11.0
type IBackForwardList interface { objc.IObject ItemAtIndex(index int) BackForwardListItem BackItem() BackForwardListItem CurrentItem() BackForwardListItem ForwardItem() BackForwardListItem BackList() []BackForwardListItem ForwardList() []BackForwardListItem }
type IBackForwardListItem ¶ added in v0.11.0
type IBackForwardListItem interface { objc.IObject Title() string URL() foundation.URL InitialURL() foundation.URL }
type IContentRuleList ¶ added in v0.11.0
type IContentWorld ¶ added in v0.11.0
type IDownload ¶ added in v0.11.0
type IDownload interface { objc.IObject Cancel(completionHandler func(resumeData []byte)) OriginalRequest() foundation.URLRequest WebView() WebView }
type IFindConfiguration ¶ added in v0.14.5
type IFindResult ¶ added in v0.14.5
type IFrameInfo ¶ added in v0.11.0
type IFrameInfo interface { objc.IObject IsMainFrame() bool Request() foundation.URLRequest SecurityOrigin() SecurityOrigin WebView() WebView }
type IHTTPCookieStore ¶ added in v0.11.0
type IHTTPCookieStore interface { objc.IObject GetAllCookies(completionHandler func(param1 []foundation.HTTPCookie)) SetCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func()) DeleteCookie_CompletionHandler(cookie foundation.IHTTPCookie, completionHandler func()) }
type INavigation ¶ added in v0.11.0
type INavigationAction ¶ added in v0.11.0
type INavigationResponse ¶ added in v0.11.0
type IPDFConfiguration ¶ added in v0.14.5
type IPDFConfiguration interface { objc.IObject Rect() coregraphics.Rect SetRect(value coregraphics.Rect) }
type IPreferences ¶ added in v0.11.0
type IPreferences interface { objc.IObject MinimumFontSize() float64 SetMinimumFontSize(value float64) TabFocusesLinks() bool SetTabFocusesLinks(value bool) JavaScriptCanOpenWindowsAutomatically() bool SetJavaScriptCanOpenWindowsAutomatically(value bool) IsFraudulentWebsiteWarningEnabled() bool SetFraudulentWebsiteWarningEnabled(value bool) // deprecated JavaEnabled() bool // deprecated SetJavaEnabled(value bool) // deprecated JavaScriptEnabled() bool // deprecated SetJavaScriptEnabled(value bool) // deprecated PlugInsEnabled() bool // deprecated SetPlugInsEnabled(value bool) IsElementFullscreenEnabled() bool SetElementFullscreenEnabled(value bool) IsSiteSpecificQuirksModeEnabled() bool SetSiteSpecificQuirksModeEnabled(value bool) IsTextInteractionEnabled() bool SetTextInteractionEnabled(value bool) }
type IProcessPool ¶ added in v0.11.0
type IScriptMessage ¶ added in v0.14.5
type ISecurityOrigin ¶ added in v0.11.0
type ISnapshotConfiguration ¶ added in v0.11.0
type ISnapshotConfiguration interface { objc.IObject Rect() coregraphics.Rect SetRect(value coregraphics.Rect) SnapshotWidth() foundation.Number SetSnapshotWidth(value foundation.INumber) AfterScreenUpdates() bool SetAfterScreenUpdates(value bool) }
type IUserContentController ¶ added in v0.11.0
type IUserContentController interface { objc.IObject AddUserScript(userScript IUserScript) RemoveAllUserScripts() AddScriptMessageHandler_Name(scriptMessageHandler objc.IObject, name string) AddScriptMessageHandler_ContentWorld_Name(scriptMessageHandler objc.IObject, world IContentWorld, name string) AddScriptMessageHandlerWithReply_ContentWorld_Name(scriptMessageHandlerWithReply objc.IObject, contentWorld IContentWorld, name string) RemoveScriptMessageHandlerForName(name string) RemoveScriptMessageHandlerForName_ContentWorld(name string, contentWorld IContentWorld) RemoveAllScriptMessageHandlersFromContentWorld(contentWorld IContentWorld) RemoveAllScriptMessageHandlers() AddContentRuleList(contentRuleList IContentRuleList) RemoveContentRuleList(contentRuleList IContentRuleList) RemoveAllContentRuleLists() UserScripts() []UserScript }
type IUserScript ¶ added in v0.11.0
type IUserScript interface { objc.IObject Source() string InjectionTime() UserScriptInjectionTime IsForMainFrameOnly() bool }
type IWebView ¶ added in v0.11.0
type IWebView interface { appkit.IView LoadRequest(request foundation.IURLRequest) Navigation LoadData_MIMEType_CharacterEncodingName_BaseURL(data []byte, MIMEType string, characterEncodingName string, baseURL foundation.IURL) Navigation LoadHTMLString_BaseURL(string_ string, baseURL foundation.IURL) Navigation LoadFileRequest_AllowingReadAccessToURL(request foundation.IURLRequest, readAccessURL foundation.IURL) Navigation LoadFileURL_AllowingReadAccessToURL(URL foundation.IURL, readAccessURL foundation.IURL) Navigation LoadSimulatedRequest_Response_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation LoadSimulatedRequest_ResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation Reload() Navigation Reload1(sender objc.IObject) ReloadFromOrigin() Navigation ReloadFromOrigin1(sender objc.IObject) StopLoading() StopLoading1(sender objc.IObject) StartDownloadUsingRequest_CompletionHandler(request foundation.IURLRequest, completionHandler func(param1 Download)) ResumeDownloadFromResumeData_CompletionHandler(resumeData []byte, completionHandler func(param1 Download)) SetMagnification_CenteredAtPoint(magnification float64, point coregraphics.Point) PauseAllMediaPlaybackWithCompletionHandler(completionHandler func()) // deprecated PauseAllMediaPlayback(completionHandler func()) RequestMediaPlaybackStateWithCompletionHandler(completionHandler func(param1 MediaPlaybackState)) // deprecated RequestMediaPlaybackState(completionHandler func(param1 MediaPlaybackState)) SetAllMediaPlaybackSuspended_CompletionHandler(suspended bool, completionHandler func()) // deprecated SuspendAllMediaPlayback(completionHandler func()) // deprecated ResumeAllMediaPlayback(completionHandler func()) CloseAllMediaPresentationsWithCompletionHandler(completionHandler func()) SetCameraCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func()) SetMicrophoneCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func()) FindString_WithConfiguration_CompletionHandler(string_ string, configuration IFindConfiguration, completionHandler func(result FindResult)) GoBack1(sender objc.IObject) GoBack() Navigation GoForward1(sender objc.IObject) GoForward() Navigation GoToBackForwardListItem(item IBackForwardListItem) Navigation EvaluateJavaScript_CompletionHandler(javaScriptString string, completionHandler func(param1 objc.Object, error foundation.Error)) EvaluateJavaScript_InFrame_InContentWorld_CompletionHandler(javaScriptString string, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error)) CallAsyncJavaScript_Arguments_InFrame_InContentWorld_CompletionHandler(functionBody string, arguments map[string]objc.IObject, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error)) TakeSnapshotWithConfiguration_CompletionHandler(snapshotConfiguration ISnapshotConfiguration, completionHandler func(snapshotImage appkit.Image, error foundation.Error)) CreatePDFWithConfiguration_CompletionHandler(pdfConfiguration IPDFConfiguration, completionHandler func(pdfDocumentData []byte, error foundation.Error)) CreateWebArchiveDataWithCompletionHandler(completionHandler func(param1 []byte, param2 foundation.Error)) PrintOperationWithPrintInfo(printInfo appkit.IPrintInfo) appkit.PrintOperation SetMinimumViewportInset_MaximumViewportInset(minimumViewportInset foundation.EdgeInsets, maximumViewportInset foundation.EdgeInsets) // deprecated CloseAllMediaPresentations() // deprecated LoadSimulatedRequest_WithResponse_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation // deprecated LoadSimulatedRequest_WithResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation Configuration() WebViewConfiguration UIDelegate() objc.Object SetUIDelegate(value objc.IObject) IsLoading() bool EstimatedProgress() float64 Title() string URL() foundation.URL MediaType() string SetMediaType(value string) CustomUserAgent() string SetCustomUserAgent(value string) HasOnlySecureContent() bool ThemeColor() appkit.Color UnderPageBackgroundColor() appkit.Color SetUnderPageBackgroundColor(value appkit.IColor) PageZoom() float64 SetPageZoom(value float64) AllowsMagnification() bool SetAllowsMagnification(value bool) Magnification() float64 SetMagnification(value float64) CameraCaptureState() MediaCaptureState MicrophoneCaptureState() MediaCaptureState BackForwardList() BackForwardList CanGoBack() bool CanGoForward() bool AllowsLinkPreview() bool SetAllowsLinkPreview(value bool) InteractionState() objc.Object SetInteractionState(value objc.IObject) FullscreenState() FullscreenState MaximumViewportInset() foundation.EdgeInsets MinimumViewportInset() foundation.EdgeInsets // deprecated CertificateChain() []objc.Object }
type IWebViewConfiguration ¶ added in v0.11.0
type IWebViewConfiguration interface { objc.IObject SetURLSchemeHandler_ForURLScheme(urlSchemeHandler objc.IObject, urlScheme string) UrlSchemeHandlerForURLScheme(urlScheme string) objc.Object WebsiteDataStore() WebsiteDataStore SetWebsiteDataStore(value IWebsiteDataStore) UserContentController() UserContentController SetUserContentController(value IUserContentController) ProcessPool() ProcessPool SetProcessPool(value IProcessPool) ApplicationNameForUserAgent() string SetApplicationNameForUserAgent(value string) Preferences() Preferences SetPreferences(value IPreferences) DefaultWebpagePreferences() WebpagePreferences SetDefaultWebpagePreferences(value IWebpagePreferences) SuppressesIncrementalRendering() bool SetSuppressesIncrementalRendering(value bool) AllowsAirPlayForMediaPlayback() bool SetAllowsAirPlayForMediaPlayback(value bool) MediaTypesRequiringUserActionForPlayback() AudiovisualMediaTypes SetMediaTypesRequiringUserActionForPlayback(value AudiovisualMediaTypes) UserInterfaceDirectionPolicy() UserInterfaceDirectionPolicy SetUserInterfaceDirectionPolicy(value UserInterfaceDirectionPolicy) UpgradeKnownHostsToHTTPS() bool SetUpgradeKnownHostsToHTTPS(value bool) }
type IWebpagePreferences ¶ added in v0.11.0
type IWebpagePreferences interface { objc.IObject AllowsContentJavaScript() bool SetAllowsContentJavaScript(value bool) PreferredContentMode() ContentMode SetPreferredContentMode(value ContentMode) IsLockdownModeEnabled() bool SetLockdownModeEnabled(value bool) }
type IWebsiteDataRecord ¶ added in v0.14.3
type IWebsiteDataRecord interface { objc.IObject DisplayName() string DataTypes() foundation.Set }
type IWebsiteDataStore ¶ added in v0.11.0
type IWebsiteDataStore interface { objc.IObject FetchDataRecordsOfTypes_CompletionHandler(dataTypes foundation.ISet, completionHandler func(param1 []WebsiteDataRecord)) RemoveDataOfTypes_ForDataRecords_CompletionHandler(dataTypes foundation.ISet, dataRecords []IWebsiteDataRecord, completionHandler func()) RemoveDataOfTypes_ModifiedSince_CompletionHandler(dataTypes foundation.ISet, date foundation.IDate, completionHandler func()) IsPersistent() bool HttpCookieStore() HTTPCookieStore }
type IWindowFeatures ¶ added in v0.11.0
type IWindowFeatures interface { objc.IObject AllowsResizing() foundation.Number Height() foundation.Number Width() foundation.Number X() foundation.Number Y() foundation.Number MenuBarVisibility() foundation.Number StatusBarVisibility() foundation.Number ToolbarsVisibility() foundation.Number }
type MediaCaptureState ¶ added in v0.12.0
type MediaCaptureState int
const MediaCaptureStateActive MediaCaptureState = 1
const MediaCaptureStateMuted MediaCaptureState = 2
const MediaCaptureStateNone MediaCaptureState = 0
type MediaCaptureType ¶ added in v0.12.5
type MediaCaptureType int
const MediaCaptureTypeCamera MediaCaptureType = 0
const MediaCaptureTypeCameraAndMicrophone MediaCaptureType = 2
const MediaCaptureTypeMicrophone MediaCaptureType = 1
type MediaPlaybackState ¶ added in v0.13.3
type MediaPlaybackState int
const MediaPlaybackStateNone MediaPlaybackState = 0
const MediaPlaybackStatePaused MediaPlaybackState = 1
const MediaPlaybackStatePlaying MediaPlaybackState = 3
const MediaPlaybackStateSuspended MediaPlaybackState = 2
type Navigation ¶
type Navigation struct {
}func MakeNavigation ¶
func MakeNavigation(ptr unsafe.Pointer) Navigation
func NewNavigation ¶
func NewNavigation() Navigation
func (Navigation) EffectiveContentMode ¶
func (n_ Navigation) EffectiveContentMode() ContentMode
func (Navigation) Init ¶ added in v0.11.0
func (n_ Navigation) Init() Navigation
type NavigationAction ¶
type NavigationAction struct {
}func MakeNavigationAction ¶
func MakeNavigationAction(ptr unsafe.Pointer) NavigationAction
func NewNavigationAction ¶
func NewNavigationAction() NavigationAction
func (NavigationAction) ButtonNumber ¶
func (n_ NavigationAction) ButtonNumber() int
func (NavigationAction) Init ¶ added in v0.11.0
func (n_ NavigationAction) Init() NavigationAction
func (NavigationAction) ModifierFlags ¶
func (n_ NavigationAction) ModifierFlags() appkit.EventModifierFlags
func (NavigationAction) NavigationType ¶
func (n_ NavigationAction) NavigationType() NavigationType
func (NavigationAction) Request ¶
func (n_ NavigationAction) Request() foundation.URLRequest
func (NavigationAction) ShouldPerformDownload ¶
func (n_ NavigationAction) ShouldPerformDownload() bool
func (NavigationAction) SourceFrame ¶
func (n_ NavigationAction) SourceFrame() FrameInfo
func (NavigationAction) TargetFrame ¶
func (n_ NavigationAction) TargetFrame() FrameInfo
type NavigationDelegate ¶
type NavigationDelegate interface { // optional // optional // optional // optional // optional // optional // optional // optional // optional // optional // optional WebView_NavigationAction_DidBecomeDownload(webView WebView, navigationAction NavigationAction, download Download) }
type NavigationDelegateBase ¶ added in v0.18.0
type NavigationDelegateBase struct { }
func (*NavigationDelegateBase) ImplementsWebViewWebContentProcessDidTerminate ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebViewWebContentProcessDidTerminate() bool
func (*NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_DecisionHandler ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_DecisionHandler() bool
func (*NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler() bool
func (*NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationResponse_DecisionHandler ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DecidePolicyForNavigationResponse_DecisionHandler() bool
func (*NavigationDelegateBase) ImplementsWebView_DidCommitNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DidCommitNavigation() bool
func (*NavigationDelegateBase) ImplementsWebView_DidFailNavigation_WithError ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DidFailNavigation_WithError() bool
func (*NavigationDelegateBase) ImplementsWebView_DidFailProvisionalNavigation_WithError ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DidFailProvisionalNavigation_WithError() bool
func (*NavigationDelegateBase) ImplementsWebView_DidFinishNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DidFinishNavigation() bool
func (*NavigationDelegateBase) ImplementsWebView_DidReceiveServerRedirectForProvisionalNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DidReceiveServerRedirectForProvisionalNavigation() bool
func (*NavigationDelegateBase) ImplementsWebView_DidStartProvisionalNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_DidStartProvisionalNavigation() bool
func (*NavigationDelegateBase) ImplementsWebView_NavigationAction_DidBecomeDownload ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_NavigationAction_DidBecomeDownload() bool
func (*NavigationDelegateBase) ImplementsWebView_NavigationResponse_DidBecomeDownload ¶ added in v0.18.0
func (p *NavigationDelegateBase) ImplementsWebView_NavigationResponse_DidBecomeDownload() bool
func (*NavigationDelegateBase) WebViewWebContentProcessDidTerminate ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebViewWebContentProcessDidTerminate(webView WebView)
func (*NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_DecisionHandler ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_DecisionHandler(webView WebView, navigationAction NavigationAction, decisionHandler func(param1 NavigationActionPolicy))
func (*NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler(webView WebView, navigationAction NavigationAction, preferences WebpagePreferences, decisionHandler func(param1 NavigationActionPolicy, param2 IWebpagePreferences))
func (*NavigationDelegateBase) WebView_DecidePolicyForNavigationResponse_DecisionHandler ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DecidePolicyForNavigationResponse_DecisionHandler(webView WebView, navigationResponse NavigationResponse, decisionHandler func(param1 NavigationResponsePolicy))
func (*NavigationDelegateBase) WebView_DidCommitNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DidCommitNavigation(webView WebView, navigation Navigation)
func (*NavigationDelegateBase) WebView_DidFailNavigation_WithError ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DidFailNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
func (*NavigationDelegateBase) WebView_DidFailProvisionalNavigation_WithError ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DidFailProvisionalNavigation_WithError(webView WebView, navigation Navigation, error foundation.Error)
func (*NavigationDelegateBase) WebView_DidFinishNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DidFinishNavigation(webView WebView, navigation Navigation)
func (*NavigationDelegateBase) WebView_DidReceiveServerRedirectForProvisionalNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DidReceiveServerRedirectForProvisionalNavigation(webView WebView, navigation Navigation)
func (*NavigationDelegateBase) WebView_DidStartProvisionalNavigation ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_DidStartProvisionalNavigation(webView WebView, navigation Navigation)
func (*NavigationDelegateBase) WebView_NavigationAction_DidBecomeDownload ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_NavigationAction_DidBecomeDownload(webView WebView, navigationAction NavigationAction, download Download)
func (*NavigationDelegateBase) WebView_NavigationResponse_DidBecomeDownload ¶ added in v0.18.0
func (p *NavigationDelegateBase) WebView_NavigationResponse_DidBecomeDownload(webView WebView, navigationResponse NavigationResponse, download Download)
type NavigationDelegateCreator ¶ added in v0.19.0
type NavigationDelegateCreator struct {
// contains filtered or unexported fields
}
func NewNavigationDelegateCreator ¶ added in v0.19.0
func NewNavigationDelegateCreator(name string) *NavigationDelegateCreator
func (*NavigationDelegateCreator) Create ¶ added in v0.19.0
func (c *NavigationDelegateCreator) Create() objc.ProtocolBase
func (*NavigationDelegateCreator) SetWebViewWebContentProcessDidTerminate ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebViewWebContentProcessDidTerminate(handle func(o objc.ProtocolBase, webView WebView))
func (*NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_DecisionHandler ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, navigationAction NavigationAction, decisionHandler func(param1 NavigationActionPolicy)))
func (*NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationAction_Preferences_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, navigationAction NavigationAction, preferences WebpagePreferences, decisionHandler func(param1 NavigationActionPolicy, param2 IWebpagePreferences)))
func (*NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationResponse_DecisionHandler ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DecidePolicyForNavigationResponse_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, navigationResponse NavigationResponse, decisionHandler func(param1 NavigationResponsePolicy)))
func (*NavigationDelegateCreator) SetWebView_DidCommitNavigation ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DidCommitNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (*NavigationDelegateCreator) SetWebView_DidFailNavigation_WithError ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DidFailNavigation_WithError(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation, error foundation.Error))
func (*NavigationDelegateCreator) SetWebView_DidFailProvisionalNavigation_WithError ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DidFailProvisionalNavigation_WithError(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation, error foundation.Error))
func (*NavigationDelegateCreator) SetWebView_DidFinishNavigation ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DidFinishNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (*NavigationDelegateCreator) SetWebView_DidReceiveServerRedirectForProvisionalNavigation ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DidReceiveServerRedirectForProvisionalNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (*NavigationDelegateCreator) SetWebView_DidStartProvisionalNavigation ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_DidStartProvisionalNavigation(handle func(o objc.ProtocolBase, webView WebView, navigation Navigation))
func (*NavigationDelegateCreator) SetWebView_NavigationAction_DidBecomeDownload ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_NavigationAction_DidBecomeDownload(handle func(o objc.ProtocolBase, webView WebView, navigationAction NavigationAction, download Download))
func (*NavigationDelegateCreator) SetWebView_NavigationResponse_DidBecomeDownload ¶ added in v0.19.0
func (c *NavigationDelegateCreator) SetWebView_NavigationResponse_DidBecomeDownload(handle func(o objc.ProtocolBase, webView WebView, navigationResponse NavigationResponse, download Download))
type NavigationResponse ¶
type NavigationResponse struct {
}func MakeNavigationResponse ¶
func MakeNavigationResponse(ptr unsafe.Pointer) NavigationResponse
func NewNavigationResponse ¶
func NewNavigationResponse() NavigationResponse
func (NavigationResponse) CanShowMIMEType ¶
func (n_ NavigationResponse) CanShowMIMEType() bool
func (NavigationResponse) Init ¶ added in v0.11.0
func (n_ NavigationResponse) Init() NavigationResponse
func (NavigationResponse) IsForMainFrame ¶
func (n_ NavigationResponse) IsForMainFrame() bool
func (NavigationResponse) Response ¶
func (n_ NavigationResponse) Response() foundation.URLResponse
type PDFConfiguration ¶ added in v0.14.5
func MakePDFConfiguration ¶ added in v0.14.5
func MakePDFConfiguration(ptr unsafe.Pointer) PDFConfiguration
func NewPDFConfiguration ¶ added in v0.14.5
func NewPDFConfiguration() PDFConfiguration
func (PDFConfiguration) Init ¶ added in v0.14.5
func (p_ PDFConfiguration) Init() PDFConfiguration
func (PDFConfiguration) Rect ¶ added in v0.14.5
func (p_ PDFConfiguration) Rect() coregraphics.Rect
func (PDFConfiguration) SetRect ¶ added in v0.14.5
func (p_ PDFConfiguration) SetRect(value coregraphics.Rect)
type PermissionDecision ¶ added in v0.13.3
type PermissionDecision int
const PermissionDecisionDeny PermissionDecision = 2
const PermissionDecisionGrant PermissionDecision = 1
const PermissionDecisionPrompt PermissionDecision = 0
type Preferences ¶
func MakePreferences ¶
func MakePreferences(ptr unsafe.Pointer) Preferences
func NewPreferences ¶
func NewPreferences() Preferences
func (Preferences) Init ¶ added in v0.11.0
func (p_ Preferences) Init() Preferences
func (Preferences) IsElementFullscreenEnabled ¶ added in v0.12.0
func (p_ Preferences) IsElementFullscreenEnabled() bool
func (Preferences) IsFraudulentWebsiteWarningEnabled ¶
func (p_ Preferences) IsFraudulentWebsiteWarningEnabled() bool
func (Preferences) IsSiteSpecificQuirksModeEnabled ¶ added in v0.12.0
func (p_ Preferences) IsSiteSpecificQuirksModeEnabled() bool
func (Preferences) IsTextInteractionEnabled ¶ added in v0.12.0
func (p_ Preferences) IsTextInteractionEnabled() bool
func (Preferences) JavaEnabled ¶ added in v0.14.5
func (p_ Preferences) JavaEnabled() bool
deprecated
func (Preferences) JavaScriptCanOpenWindowsAutomatically ¶
func (p_ Preferences) JavaScriptCanOpenWindowsAutomatically() bool
func (Preferences) JavaScriptEnabled ¶ added in v0.14.5
func (p_ Preferences) JavaScriptEnabled() bool
deprecated
func (Preferences) MinimumFontSize ¶
func (p_ Preferences) MinimumFontSize() float64
func (Preferences) PlugInsEnabled ¶ added in v0.14.5
func (p_ Preferences) PlugInsEnabled() bool
deprecated
func (Preferences) SetElementFullscreenEnabled ¶ added in v0.12.0
func (p_ Preferences) SetElementFullscreenEnabled(value bool)
func (Preferences) SetFraudulentWebsiteWarningEnabled ¶
func (p_ Preferences) SetFraudulentWebsiteWarningEnabled(value bool)
func (Preferences) SetJavaEnabled ¶ added in v0.14.5
func (p_ Preferences) SetJavaEnabled(value bool)
deprecated
func (Preferences) SetJavaScriptCanOpenWindowsAutomatically ¶
func (p_ Preferences) SetJavaScriptCanOpenWindowsAutomatically(value bool)
func (Preferences) SetJavaScriptEnabled ¶ added in v0.14.5
func (p_ Preferences) SetJavaScriptEnabled(value bool)
deprecated
func (Preferences) SetMinimumFontSize ¶
func (p_ Preferences) SetMinimumFontSize(value float64)
func (Preferences) SetPlugInsEnabled ¶ added in v0.14.5
func (p_ Preferences) SetPlugInsEnabled(value bool)
deprecated
func (Preferences) SetSiteSpecificQuirksModeEnabled ¶ added in v0.12.0
func (p_ Preferences) SetSiteSpecificQuirksModeEnabled(value bool)
func (Preferences) SetTabFocusesLinks ¶
func (p_ Preferences) SetTabFocusesLinks(value bool)
func (Preferences) SetTextInteractionEnabled ¶
func (p_ Preferences) SetTextInteractionEnabled(value bool)
func (Preferences) TabFocusesLinks ¶
func (p_ Preferences) TabFocusesLinks() bool
type ProcessPool ¶
func MakeProcessPool ¶
func MakeProcessPool(ptr unsafe.Pointer) ProcessPool
func NewProcessPool ¶
func NewProcessPool() ProcessPool
func (ProcessPool) Init ¶ added in v0.11.0
func (p_ ProcessPool) Init() ProcessPool
type ScriptMessage ¶ added in v0.14.5
func MakeScriptMessage ¶ added in v0.14.5
func MakeScriptMessage(ptr unsafe.Pointer) ScriptMessage
func NewScriptMessage ¶ added in v0.14.5
func NewScriptMessage() ScriptMessage
func (ScriptMessage) Body ¶ added in v0.14.5
func (s_ ScriptMessage) Body() objc.Object
func (ScriptMessage) FrameInfo ¶ added in v0.14.5
func (s_ ScriptMessage) FrameInfo() FrameInfo
func (ScriptMessage) Init ¶ added in v0.14.5
func (s_ ScriptMessage) Init() ScriptMessage
func (ScriptMessage) Name ¶ added in v0.14.5
func (s_ ScriptMessage) Name() string
func (ScriptMessage) WebView ¶ added in v0.14.5
func (s_ ScriptMessage) WebView() WebView
weak property
func (ScriptMessage) World ¶ added in v0.14.5
func (s_ ScriptMessage) World() ContentWorld
type ScriptMessageHandler ¶ added in v0.14.5
type ScriptMessageHandler interface { // required UserContentController_DidReceiveScriptMessage(userContentController UserContentController, message ScriptMessage) }
type ScriptMessageHandlerBase ¶ added in v0.14.5
type ScriptMessageHandlerBase struct { }
type ScriptMessageHandlerWithReply ¶ added in v0.14.5
type ScriptMessageHandlerWithReply interface { // required UserContentController_DidReceiveScriptMessage_ReplyHandler(userContentController UserContentController, message ScriptMessage, replyHandler func(reply objc.IObject, errorMessage foundation.String)) }
type ScriptMessageHandlerWithReplyBase ¶ added in v0.14.5
type ScriptMessageHandlerWithReplyBase struct { }
type SecurityOrigin ¶
func MakeSecurityOrigin ¶
func MakeSecurityOrigin(ptr unsafe.Pointer) SecurityOrigin
func NewSecurityOrigin ¶ added in v0.13.0
func NewSecurityOrigin() SecurityOrigin
func (SecurityOrigin) Host ¶
func (s_ SecurityOrigin) Host() string
func (SecurityOrigin) Init ¶ added in v0.13.0
func (s_ SecurityOrigin) Init() SecurityOrigin
func (SecurityOrigin) Port ¶
func (s_ SecurityOrigin) Port() int
func (SecurityOrigin) Protocol ¶
func (s_ SecurityOrigin) Protocol() string
type SnapshotConfiguration ¶
func MakeSnapshotConfiguration ¶
func MakeSnapshotConfiguration(ptr unsafe.Pointer) SnapshotConfiguration
func NewSnapshotConfiguration ¶
func NewSnapshotConfiguration() SnapshotConfiguration
func (SnapshotConfiguration) AfterScreenUpdates ¶
func (s_ SnapshotConfiguration) AfterScreenUpdates() bool
func (SnapshotConfiguration) Init ¶ added in v0.11.0
func (s_ SnapshotConfiguration) Init() SnapshotConfiguration
func (SnapshotConfiguration) Rect ¶
func (s_ SnapshotConfiguration) Rect() coregraphics.Rect
func (SnapshotConfiguration) SetAfterScreenUpdates ¶
func (s_ SnapshotConfiguration) SetAfterScreenUpdates(value bool)
func (SnapshotConfiguration) SetRect ¶
func (s_ SnapshotConfiguration) SetRect(value coregraphics.Rect)
func (SnapshotConfiguration) SetSnapshotWidth ¶
func (s_ SnapshotConfiguration) SetSnapshotWidth(value foundation.INumber)
func (SnapshotConfiguration) SnapshotWidth ¶
func (s_ SnapshotConfiguration) SnapshotWidth() foundation.Number
type UIDelegate ¶
type UIDelegate interface { // optional ImplementsWebViewDidClose() bool // optional WebViewDidClose(webView WebView) ImplementsWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler() bool // optional WebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func()) ImplementsWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler() bool // optional WebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func(result bool)) ImplementsWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler() bool // optional WebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler(webView WebView, prompt string, defaultText string, frame FrameInfo, completionHandler func(result string)) ImplementsWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler() bool // optional WebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(webView WebView, origin SecurityOrigin, frame FrameInfo, type_ MediaCaptureType, decisionHandler func(decision PermissionDecision)) }
type UIDelegateBase ¶ added in v0.18.0
type UIDelegateBase struct { }
func (*UIDelegateBase) ImplementsWebViewDidClose ¶ added in v0.18.0
func (p *UIDelegateBase) ImplementsWebViewDidClose() bool
func (*UIDelegateBase) ImplementsWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures ¶ added in v0.18.0
func (p *UIDelegateBase) ImplementsWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures() bool
func (*UIDelegateBase) ImplementsWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler ¶ added in v0.18.0
func (p *UIDelegateBase) ImplementsWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler() bool
func (*UIDelegateBase) ImplementsWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler ¶ added in v0.18.0
func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler() bool
func (*UIDelegateBase) ImplementsWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler ¶ added in v0.18.0
func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler() bool
func (*UIDelegateBase) ImplementsWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler ¶ added in v0.18.0
func (p *UIDelegateBase) ImplementsWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler() bool
func (*UIDelegateBase) WebViewDidClose ¶ added in v0.18.0
func (p *UIDelegateBase) WebViewDidClose(webView WebView)
func (*UIDelegateBase) WebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures ¶ added in v0.18.0
func (p *UIDelegateBase) WebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures(webView WebView, configuration WebViewConfiguration, navigationAction NavigationAction, windowFeatures WindowFeatures) IWebView
func (*UIDelegateBase) WebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler ¶ added in v0.18.0
func (p *UIDelegateBase) WebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(webView WebView, origin SecurityOrigin, frame FrameInfo, type_ MediaCaptureType, decisionHandler func(decision PermissionDecision))
func (*UIDelegateBase) WebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler ¶ added in v0.18.0
func (p *UIDelegateBase) WebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func())
func (*UIDelegateBase) WebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler ¶ added in v0.18.0
func (p *UIDelegateBase) WebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(webView WebView, message string, frame FrameInfo, completionHandler func(result bool))
func (*UIDelegateBase) WebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler ¶ added in v0.18.0
type UIDelegateCreator ¶ added in v0.19.0
type UIDelegateCreator struct {
// contains filtered or unexported fields
}
func NewUIDelegateCreator ¶ added in v0.19.0
func NewUIDelegateCreator(name string) *UIDelegateCreator
func (*UIDelegateCreator) Create ¶ added in v0.19.0
func (c *UIDelegateCreator) Create() objc.ProtocolBase
func (*UIDelegateCreator) SetWebViewDidClose ¶ added in v0.19.0
func (c *UIDelegateCreator) SetWebViewDidClose(handle func(o objc.ProtocolBase, webView WebView))
func (*UIDelegateCreator) SetWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures ¶ added in v0.19.0
func (c *UIDelegateCreator) SetWebView_CreateWebViewWithConfiguration_ForNavigationAction_WindowFeatures(handle func(o objc.ProtocolBase, webView WebView, configuration WebViewConfiguration, navigationAction NavigationAction, windowFeatures WindowFeatures) IWebView)
func (*UIDelegateCreator) SetWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler ¶ added in v0.19.0
func (c *UIDelegateCreator) SetWebView_RequestMediaCapturePermissionForOrigin_InitiatedByFrame_Type_DecisionHandler(handle func(o objc.ProtocolBase, webView WebView, origin SecurityOrigin, frame FrameInfo, type_ MediaCaptureType, decisionHandler func(decision PermissionDecision)))
func (*UIDelegateCreator) SetWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler ¶ added in v0.19.0
func (c *UIDelegateCreator) SetWebView_RunJavaScriptAlertPanelWithMessage_InitiatedByFrame_CompletionHandler(handle func(o objc.ProtocolBase, webView WebView, message string, frame FrameInfo, completionHandler func()))
func (*UIDelegateCreator) SetWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler ¶ added in v0.19.0
func (c *UIDelegateCreator) SetWebView_RunJavaScriptConfirmPanelWithMessage_InitiatedByFrame_CompletionHandler(handle func(o objc.ProtocolBase, webView WebView, message string, frame FrameInfo, completionHandler func(result bool)))
func (*UIDelegateCreator) SetWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler ¶ added in v0.19.0
func (c *UIDelegateCreator) SetWebView_RunJavaScriptTextInputPanelWithPrompt_DefaultText_InitiatedByFrame_CompletionHandler(handle func(o objc.ProtocolBase, webView WebView, prompt string, defaultText string, frame FrameInfo, completionHandler func(result string)))
type URLSchemeHandler ¶ added in v0.14.5
type URLSchemeHandler interface { // required WebView_StartURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask) // required WebView_StopURLSchemeTask(webView WebView, urlSchemeTask URLSchemeTask) }
type URLSchemeHandlerBase ¶ added in v0.14.5
type URLSchemeHandlerBase struct { }
type URLSchemeTask ¶ added in v0.14.5
func (URLSchemeTask) DidFailWithError ¶ added in v0.14.5
func (u_ URLSchemeTask) DidFailWithError(error foundation.IError)
func (URLSchemeTask) DidFinish ¶ added in v0.14.5
func (u_ URLSchemeTask) DidFinish()
func (URLSchemeTask) DidReceiveData ¶ added in v0.14.5
func (u_ URLSchemeTask) DidReceiveData(data []byte)
func (URLSchemeTask) DidReceiveResponse ¶ added in v0.14.5
func (u_ URLSchemeTask) DidReceiveResponse(response foundation.IURLResponse)
func (URLSchemeTask) Request ¶ added in v0.14.5
func (u_ URLSchemeTask) Request() foundation.URLRequest
type UserContentController ¶
func MakeUserContentController ¶
func MakeUserContentController(ptr unsafe.Pointer) UserContentController
func NewUserContentController ¶
func NewUserContentController() UserContentController
func (UserContentController) AddContentRuleList ¶
func (u_ UserContentController) AddContentRuleList(contentRuleList IContentRuleList)
func (UserContentController) AddScriptMessageHandlerWithReply_ContentWorld_Name ¶
func (u_ UserContentController) AddScriptMessageHandlerWithReply_ContentWorld_Name(scriptMessageHandlerWithReply objc.IObject, contentWorld IContentWorld, name string)
func (UserContentController) AddScriptMessageHandler_ContentWorld_Name ¶
func (u_ UserContentController) AddScriptMessageHandler_ContentWorld_Name(scriptMessageHandler objc.IObject, world IContentWorld, name string)
func (UserContentController) AddScriptMessageHandler_Name ¶
func (u_ UserContentController) AddScriptMessageHandler_Name(scriptMessageHandler objc.IObject, name string)
func (UserContentController) AddUserScript ¶
func (u_ UserContentController) AddUserScript(userScript IUserScript)
func (UserContentController) Init ¶ added in v0.11.0
func (u_ UserContentController) Init() UserContentController
func (UserContentController) RemoveAllContentRuleLists ¶
func (u_ UserContentController) RemoveAllContentRuleLists()
func (UserContentController) RemoveAllScriptMessageHandlers ¶
func (u_ UserContentController) RemoveAllScriptMessageHandlers()
func (UserContentController) RemoveAllScriptMessageHandlersFromContentWorld ¶
func (u_ UserContentController) RemoveAllScriptMessageHandlersFromContentWorld(contentWorld IContentWorld)
func (UserContentController) RemoveAllUserScripts ¶
func (u_ UserContentController) RemoveAllUserScripts()
func (UserContentController) RemoveContentRuleList ¶
func (u_ UserContentController) RemoveContentRuleList(contentRuleList IContentRuleList)
func (UserContentController) RemoveScriptMessageHandlerForName ¶
func (u_ UserContentController) RemoveScriptMessageHandlerForName(name string)
func (UserContentController) RemoveScriptMessageHandlerForName_ContentWorld ¶
func (u_ UserContentController) RemoveScriptMessageHandlerForName_ContentWorld(name string, contentWorld IContentWorld)
func (UserContentController) UserScripts ¶
func (u_ UserContentController) UserScripts() []UserScript
type UserInterfaceDirectionPolicy ¶
type UserInterfaceDirectionPolicy int
const UserInterfaceDirectionPolicyContent UserInterfaceDirectionPolicy = 0
const UserInterfaceDirectionPolicySystem UserInterfaceDirectionPolicy = 1
type UserScript ¶
func MakeUserScript ¶
func MakeUserScript(ptr unsafe.Pointer) UserScript
func NewUserScript ¶
func NewUserScript() UserScript
func (UserScript) Init ¶ added in v0.11.0
func (u_ UserScript) Init() UserScript
func (UserScript) InitWithSource_InjectionTime_ForMainFrameOnly ¶ added in v0.11.0
func (u_ UserScript) InitWithSource_InjectionTime_ForMainFrameOnly(source string, injectionTime UserScriptInjectionTime, forMainFrameOnly bool) UserScript
func (UserScript) InitWithSource_InjectionTime_ForMainFrameOnly_InContentWorld ¶ added in v0.11.0
func (u_ UserScript) InitWithSource_InjectionTime_ForMainFrameOnly_InContentWorld(source string, injectionTime UserScriptInjectionTime, forMainFrameOnly bool, contentWorld IContentWorld) UserScript
func (UserScript) InjectionTime ¶
func (u_ UserScript) InjectionTime() UserScriptInjectionTime
func (UserScript) IsForMainFrameOnly ¶
func (u_ UserScript) IsForMainFrameOnly() bool
func (UserScript) Source ¶
func (u_ UserScript) Source() string
type UserScriptInjectionTime ¶
type UserScriptInjectionTime int
const UserScriptInjectionTimeAtDocumentEnd UserScriptInjectionTime = 1
const UserScriptInjectionTimeAtDocumentStart UserScriptInjectionTime = 0
type WebView ¶
func MakeWebView ¶
func NewWebView ¶
func NewWebView() WebView
func (WebView) AllowsBackForwardNavigationGestures ¶
func (WebView) AllowsLinkPreview ¶
func (WebView) AllowsMagnification ¶
func (WebView) BackForwardList ¶
func (w_ WebView) BackForwardList() BackForwardList
func (WebView) CallAsyncJavaScript_Arguments_InFrame_InContentWorld_CompletionHandler ¶ added in v0.13.3
func (w_ WebView) CallAsyncJavaScript_Arguments_InFrame_InContentWorld_CompletionHandler(functionBody string, arguments map[string]objc.IObject, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error))
func (WebView) CameraCaptureState ¶ added in v0.12.0
func (w_ WebView) CameraCaptureState() MediaCaptureState
func (WebView) CanGoForward ¶
func (WebView) CertificateChain ¶ added in v0.14.5
deprecated
func (WebView) CloseAllMediaPresentations ¶
func (w_ WebView) CloseAllMediaPresentations()
deprecated
func (WebView) CloseAllMediaPresentationsWithCompletionHandler ¶ added in v0.13.3
func (w_ WebView) CloseAllMediaPresentationsWithCompletionHandler(completionHandler func())
func (WebView) Configuration ¶
func (w_ WebView) Configuration() WebViewConfiguration
func (WebView) CreatePDFWithConfiguration_CompletionHandler ¶ added in v0.14.5
func (w_ WebView) CreatePDFWithConfiguration_CompletionHandler(pdfConfiguration IPDFConfiguration, completionHandler func(pdfDocumentData []byte, error foundation.Error))
func (WebView) CreateWebArchiveDataWithCompletionHandler ¶ added in v0.13.3
func (w_ WebView) CreateWebArchiveDataWithCompletionHandler(completionHandler func(param1 []byte, param2 foundation.Error))
func (WebView) CustomUserAgent ¶
func (WebView) EstimatedProgress ¶
func (WebView) EvaluateJavaScript_CompletionHandler ¶ added in v0.13.3
func (WebView) EvaluateJavaScript_InFrame_InContentWorld_CompletionHandler ¶ added in v0.13.3
func (w_ WebView) EvaluateJavaScript_InFrame_InContentWorld_CompletionHandler(javaScriptString string, frame IFrameInfo, contentWorld IContentWorld, completionHandler func(param1 objc.Object, error foundation.Error))
func (WebView) FindString_WithConfiguration_CompletionHandler ¶ added in v0.14.5
func (w_ WebView) FindString_WithConfiguration_CompletionHandler(string_ string, configuration IFindConfiguration, completionHandler func(result FindResult))
func (WebView) FullscreenState ¶ added in v0.12.0
func (w_ WebView) FullscreenState() FullscreenState
func (WebView) GoBack ¶
func (w_ WebView) GoBack() Navigation
func (WebView) GoForward ¶
func (w_ WebView) GoForward() Navigation
func (WebView) GoForward1 ¶ added in v0.16.0
func (WebView) GoToBackForwardListItem ¶
func (w_ WebView) GoToBackForwardListItem(item IBackForwardListItem) Navigation
func (WebView) HasOnlySecureContent ¶
func (WebView) InitWithFrame ¶ added in v0.11.0
func (w_ WebView) InitWithFrame(frameRect foundation.Rect) WebView
func (WebView) InitWithFrame_Configuration ¶ added in v0.11.0
func (w_ WebView) InitWithFrame_Configuration(frame coregraphics.Rect, configuration IWebViewConfiguration) WebView
func (WebView) InteractionState ¶ added in v0.12.0
func (WebView) LoadData_MIMEType_CharacterEncodingName_BaseURL ¶
func (w_ WebView) LoadData_MIMEType_CharacterEncodingName_BaseURL(data []byte, MIMEType string, characterEncodingName string, baseURL foundation.IURL) Navigation
func (WebView) LoadFileRequest_AllowingReadAccessToURL ¶ added in v0.12.0
func (w_ WebView) LoadFileRequest_AllowingReadAccessToURL(request foundation.IURLRequest, readAccessURL foundation.IURL) Navigation
func (WebView) LoadFileURL_AllowingReadAccessToURL ¶
func (w_ WebView) LoadFileURL_AllowingReadAccessToURL(URL foundation.IURL, readAccessURL foundation.IURL) Navigation
func (WebView) LoadHTMLString_BaseURL ¶
func (w_ WebView) LoadHTMLString_BaseURL(string_ string, baseURL foundation.IURL) Navigation
func (WebView) LoadRequest ¶
func (w_ WebView) LoadRequest(request foundation.IURLRequest) Navigation
func (WebView) LoadSimulatedRequest_ResponseHTMLString ¶ added in v0.12.0
func (w_ WebView) LoadSimulatedRequest_ResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation
func (WebView) LoadSimulatedRequest_Response_ResponseData ¶ added in v0.12.0
func (w_ WebView) LoadSimulatedRequest_Response_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation
func (WebView) LoadSimulatedRequest_WithResponseHTMLString ¶ added in v0.14.5
func (w_ WebView) LoadSimulatedRequest_WithResponseHTMLString(request foundation.IURLRequest, string_ string) Navigation
deprecated
func (WebView) LoadSimulatedRequest_WithResponse_ResponseData ¶ added in v0.14.5
func (w_ WebView) LoadSimulatedRequest_WithResponse_ResponseData(request foundation.IURLRequest, response foundation.IURLResponse, data []byte) Navigation
deprecated
func (WebView) Magnification ¶
func (WebView) MaximumViewportInset ¶ added in v0.13.5
func (w_ WebView) MaximumViewportInset() foundation.EdgeInsets
func (WebView) MicrophoneCaptureState ¶ added in v0.12.0
func (w_ WebView) MicrophoneCaptureState() MediaCaptureState
func (WebView) MinimumViewportInset ¶ added in v0.13.5
func (w_ WebView) MinimumViewportInset() foundation.EdgeInsets
func (WebView) NavigationDelegate ¶
weak property
func (WebView) PauseAllMediaPlayback ¶ added in v0.14.5
func (w_ WebView) PauseAllMediaPlayback(completionHandler func())
deprecated
func (WebView) PauseAllMediaPlaybackWithCompletionHandler ¶ added in v0.13.3
func (w_ WebView) PauseAllMediaPlaybackWithCompletionHandler(completionHandler func())
func (WebView) PrintOperationWithPrintInfo ¶
func (w_ WebView) PrintOperationWithPrintInfo(printInfo appkit.IPrintInfo) appkit.PrintOperation
func (WebView) Reload ¶
func (w_ WebView) Reload() Navigation
func (WebView) ReloadFromOrigin ¶
func (w_ WebView) ReloadFromOrigin() Navigation
func (WebView) ReloadFromOrigin1 ¶ added in v0.16.0
func (WebView) RequestMediaPlaybackState ¶ added in v0.14.5
func (w_ WebView) RequestMediaPlaybackState(completionHandler func(param1 MediaPlaybackState))
deprecated
func (WebView) RequestMediaPlaybackStateWithCompletionHandler ¶ added in v0.13.3
func (w_ WebView) RequestMediaPlaybackStateWithCompletionHandler(completionHandler func(param1 MediaPlaybackState))
func (WebView) ResumeAllMediaPlayback ¶ added in v0.14.5
func (w_ WebView) ResumeAllMediaPlayback(completionHandler func())
deprecated
func (WebView) ResumeDownloadFromResumeData_CompletionHandler ¶ added in v0.13.3
func (WebView) SetAllMediaPlaybackSuspended_CompletionHandler ¶ added in v0.13.3
func (WebView) SetAllowsBackForwardNavigationGestures ¶
func (WebView) SetAllowsLinkPreview ¶
func (WebView) SetAllowsMagnification ¶
func (WebView) SetCameraCaptureState_CompletionHandler ¶ added in v0.13.3
func (w_ WebView) SetCameraCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())
func (WebView) SetCustomUserAgent ¶
func (WebView) SetInteractionState ¶ added in v0.12.0
func (WebView) SetMagnification ¶
func (WebView) SetMagnification_CenteredAtPoint ¶
func (w_ WebView) SetMagnification_CenteredAtPoint(magnification float64, point coregraphics.Point)
func (WebView) SetMediaType ¶
func (WebView) SetMicrophoneCaptureState_CompletionHandler ¶ added in v0.13.3
func (w_ WebView) SetMicrophoneCaptureState_CompletionHandler(state MediaCaptureState, completionHandler func())
func (WebView) SetMinimumViewportInset_MaximumViewportInset ¶ added in v0.13.5
func (w_ WebView) SetMinimumViewportInset_MaximumViewportInset(minimumViewportInset foundation.EdgeInsets, maximumViewportInset foundation.EdgeInsets)
func (WebView) SetNavigationDelegate ¶
weak property
func (WebView) SetPageZoom ¶
func (WebView) SetUnderPageBackgroundColor ¶ added in v0.12.0
func (WebView) StartDownloadUsingRequest_CompletionHandler ¶ added in v0.13.3
func (w_ WebView) StartDownloadUsingRequest_CompletionHandler(request foundation.IURLRequest, completionHandler func(param1 Download))
func (WebView) StopLoading ¶
func (w_ WebView) StopLoading()
func (WebView) StopLoading1 ¶ added in v0.16.0
func (WebView) SuspendAllMediaPlayback ¶ added in v0.14.5
func (w_ WebView) SuspendAllMediaPlayback(completionHandler func())
deprecated
func (WebView) TakeSnapshotWithConfiguration_CompletionHandler ¶ added in v0.13.3
func (w_ WebView) TakeSnapshotWithConfiguration_CompletionHandler(snapshotConfiguration ISnapshotConfiguration, completionHandler func(snapshotImage appkit.Image, error foundation.Error))
func (WebView) ThemeColor ¶ added in v0.12.0
func (WebView) URL ¶
func (w_ WebView) URL() foundation.URL
func (WebView) UnderPageBackgroundColor ¶ added in v0.12.0
type WebViewConfiguration ¶
func MakeWebViewConfiguration ¶
func MakeWebViewConfiguration(ptr unsafe.Pointer) WebViewConfiguration
func NewWebViewConfiguration ¶
func NewWebViewConfiguration() WebViewConfiguration
func (WebViewConfiguration) AllowsAirPlayForMediaPlayback ¶
func (w_ WebViewConfiguration) AllowsAirPlayForMediaPlayback() bool
func (WebViewConfiguration) ApplicationNameForUserAgent ¶
func (w_ WebViewConfiguration) ApplicationNameForUserAgent() string
func (WebViewConfiguration) DefaultWebpagePreferences ¶
func (w_ WebViewConfiguration) DefaultWebpagePreferences() WebpagePreferences
func (WebViewConfiguration) Init ¶ added in v0.11.0
func (w_ WebViewConfiguration) Init() WebViewConfiguration
func (WebViewConfiguration) LimitsNavigationsToAppBoundDomains ¶
func (w_ WebViewConfiguration) LimitsNavigationsToAppBoundDomains() bool
func (WebViewConfiguration) MediaTypesRequiringUserActionForPlayback ¶
func (w_ WebViewConfiguration) MediaTypesRequiringUserActionForPlayback() AudiovisualMediaTypes
func (WebViewConfiguration) Preferences ¶
func (w_ WebViewConfiguration) Preferences() Preferences
func (WebViewConfiguration) ProcessPool ¶
func (w_ WebViewConfiguration) ProcessPool() ProcessPool
func (WebViewConfiguration) SetAllowsAirPlayForMediaPlayback ¶
func (w_ WebViewConfiguration) SetAllowsAirPlayForMediaPlayback(value bool)
func (WebViewConfiguration) SetApplicationNameForUserAgent ¶
func (w_ WebViewConfiguration) SetApplicationNameForUserAgent(value string)
func (WebViewConfiguration) SetDefaultWebpagePreferences ¶
func (w_ WebViewConfiguration) SetDefaultWebpagePreferences(value IWebpagePreferences)
func (WebViewConfiguration) SetLimitsNavigationsToAppBoundDomains ¶
func (w_ WebViewConfiguration) SetLimitsNavigationsToAppBoundDomains(value bool)
func (WebViewConfiguration) SetMediaTypesRequiringUserActionForPlayback ¶
func (w_ WebViewConfiguration) SetMediaTypesRequiringUserActionForPlayback(value AudiovisualMediaTypes)
func (WebViewConfiguration) SetPreferences ¶
func (w_ WebViewConfiguration) SetPreferences(value IPreferences)
func (WebViewConfiguration) SetProcessPool ¶
func (w_ WebViewConfiguration) SetProcessPool(value IProcessPool)
func (WebViewConfiguration) SetSuppressesIncrementalRendering ¶
func (w_ WebViewConfiguration) SetSuppressesIncrementalRendering(value bool)
func (WebViewConfiguration) SetURLSchemeHandler_ForURLScheme ¶
func (w_ WebViewConfiguration) SetURLSchemeHandler_ForURLScheme(urlSchemeHandler objc.IObject, urlScheme string)
func (WebViewConfiguration) SetUpgradeKnownHostsToHTTPS ¶ added in v0.12.0
func (w_ WebViewConfiguration) SetUpgradeKnownHostsToHTTPS(value bool)
func (WebViewConfiguration) SetUserContentController ¶
func (w_ WebViewConfiguration) SetUserContentController(value IUserContentController)
func (WebViewConfiguration) SetUserInterfaceDirectionPolicy ¶
func (w_ WebViewConfiguration) SetUserInterfaceDirectionPolicy(value UserInterfaceDirectionPolicy)
func (WebViewConfiguration) SetWebsiteDataStore ¶
func (w_ WebViewConfiguration) SetWebsiteDataStore(value IWebsiteDataStore)
func (WebViewConfiguration) SuppressesIncrementalRendering ¶
func (w_ WebViewConfiguration) SuppressesIncrementalRendering() bool
func (WebViewConfiguration) UpgradeKnownHostsToHTTPS ¶ added in v0.12.0
func (w_ WebViewConfiguration) UpgradeKnownHostsToHTTPS() bool
func (WebViewConfiguration) UrlSchemeHandlerForURLScheme ¶
func (w_ WebViewConfiguration) UrlSchemeHandlerForURLScheme(urlScheme string) objc.Object
func (WebViewConfiguration) UserContentController ¶
func (w_ WebViewConfiguration) UserContentController() UserContentController
func (WebViewConfiguration) UserInterfaceDirectionPolicy ¶
func (w_ WebViewConfiguration) UserInterfaceDirectionPolicy() UserInterfaceDirectionPolicy
func (WebViewConfiguration) WebsiteDataStore ¶
func (w_ WebViewConfiguration) WebsiteDataStore() WebsiteDataStore
type WebpagePreferences ¶
func MakeWebpagePreferences ¶
func MakeWebpagePreferences(ptr unsafe.Pointer) WebpagePreferences
func NewWebpagePreferences ¶
func NewWebpagePreferences() WebpagePreferences
func (WebpagePreferences) AllowsContentJavaScript ¶
func (w_ WebpagePreferences) AllowsContentJavaScript() bool
func (WebpagePreferences) Init ¶ added in v0.11.0
func (w_ WebpagePreferences) Init() WebpagePreferences
func (WebpagePreferences) IsLockdownModeEnabled ¶ added in v0.15.0
func (w_ WebpagePreferences) IsLockdownModeEnabled() bool
func (WebpagePreferences) PreferredContentMode ¶
func (w_ WebpagePreferences) PreferredContentMode() ContentMode
func (WebpagePreferences) SetAllowsContentJavaScript ¶
func (w_ WebpagePreferences) SetAllowsContentJavaScript(value bool)
func (WebpagePreferences) SetLockdownModeEnabled ¶ added in v0.15.0
func (w_ WebpagePreferences) SetLockdownModeEnabled(value bool)
func (WebpagePreferences) SetPreferredContentMode ¶
func (w_ WebpagePreferences) SetPreferredContentMode(value ContentMode)
type WebsiteDataRecord ¶ added in v0.14.3
func MakeWebsiteDataRecord ¶ added in v0.14.3
func MakeWebsiteDataRecord(ptr unsafe.Pointer) WebsiteDataRecord
func NewWebsiteDataRecord ¶ added in v0.14.3
func NewWebsiteDataRecord() WebsiteDataRecord
func (WebsiteDataRecord) DataTypes ¶ added in v0.14.3
func (w_ WebsiteDataRecord) DataTypes() foundation.Set
func (WebsiteDataRecord) DisplayName ¶ added in v0.14.3
func (w_ WebsiteDataRecord) DisplayName() string
func (WebsiteDataRecord) Init ¶ added in v0.14.3
func (w_ WebsiteDataRecord) Init() WebsiteDataRecord
type WebsiteDataStore ¶
func MakeWebsiteDataStore ¶
func MakeWebsiteDataStore(ptr unsafe.Pointer) WebsiteDataStore
func NewWebsiteDataStore ¶ added in v0.13.0
func NewWebsiteDataStore() WebsiteDataStore
func (WebsiteDataStore) FetchDataRecordsOfTypes_CompletionHandler ¶ added in v0.14.3
func (w_ WebsiteDataStore) FetchDataRecordsOfTypes_CompletionHandler(dataTypes foundation.ISet, completionHandler func(param1 []WebsiteDataRecord))
func (WebsiteDataStore) HttpCookieStore ¶
func (w_ WebsiteDataStore) HttpCookieStore() HTTPCookieStore
func (WebsiteDataStore) Init ¶ added in v0.13.0
func (w_ WebsiteDataStore) Init() WebsiteDataStore
func (WebsiteDataStore) IsPersistent ¶
func (w_ WebsiteDataStore) IsPersistent() bool
func (WebsiteDataStore) RemoveDataOfTypes_ForDataRecords_CompletionHandler ¶ added in v0.14.3
func (w_ WebsiteDataStore) RemoveDataOfTypes_ForDataRecords_CompletionHandler(dataTypes foundation.ISet, dataRecords []IWebsiteDataRecord, completionHandler func())
func (WebsiteDataStore) RemoveDataOfTypes_ModifiedSince_CompletionHandler ¶ added in v0.14.3
func (w_ WebsiteDataStore) RemoveDataOfTypes_ModifiedSince_CompletionHandler(dataTypes foundation.ISet, date foundation.IDate, completionHandler func())
type WindowFeatures ¶
func MakeWindowFeatures ¶
func MakeWindowFeatures(ptr unsafe.Pointer) WindowFeatures
func NewWindowFeatures ¶
func NewWindowFeatures() WindowFeatures
func (WindowFeatures) AllowsResizing ¶
func (w_ WindowFeatures) AllowsResizing() foundation.Number
func (WindowFeatures) Height ¶
func (w_ WindowFeatures) Height() foundation.Number
func (WindowFeatures) Init ¶ added in v0.11.0
func (w_ WindowFeatures) Init() WindowFeatures
func (WindowFeatures) MenuBarVisibility ¶
func (w_ WindowFeatures) MenuBarVisibility() foundation.Number
func (WindowFeatures) StatusBarVisibility ¶
func (w_ WindowFeatures) StatusBarVisibility() foundation.Number
func (WindowFeatures) ToolbarsVisibility ¶
func (w_ WindowFeatures) ToolbarsVisibility() foundation.Number
func (WindowFeatures) Width ¶
func (w_ WindowFeatures) Width() foundation.Number
func (WindowFeatures) X ¶
func (w_ WindowFeatures) X() foundation.Number
func (WindowFeatures) Y ¶
func (w_ WindowFeatures) Y() foundation.Number
Source Files
¶
- back_forward_list.go
- back_forward_list_item.go
- content_rule_list.go
- content_world.go
- download.go
- find_configuration.go
- find_result.go
- frame_info.go
- http_cookie_store.go
- navigation.go
- navigation_action.go
- navigation_delegate.go
- navigation_response.go
- pdf_configuration.go
- preferences.go
- process_pool.go
- script_message.go
- script_message_handler.go
- script_message_handler_with_reply.go
- security_origin.go
- snapshot_configuration.go
- ui_delegate.go
- url_scheme_handler.go
- url_scheme_task.go
- user_content_controller.go
- user_script.go
- web_view.go
- web_view_configuration.go
- webkit_cgo.go
- webkit_custom.go
- webkit_enums.go
- webkit_enums_amd64.go
- webpage_preferences.go
- website_data_record.go
- website_data_store.go
- window_features.go