Documentation ¶
Index ¶
- Constants
- type COREWEBVIEW2_COLOR
- type COREWEBVIEW2_KEY_EVENT_KIND
- type COREWEBVIEW2_PHYSICAL_KEY_STATUS
- type COREWEBVIEW2_WEB_RESOURCE_CONTEXT
- type ICoreWebView2AcceleratorKeyPressedEventArgs
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) AddRef() uintptr
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetKeyEventKind() (COREWEBVIEW2_KEY_EVENT_KIND, error)
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetPhysicalKeyStatus() (COREWEBVIEW2_PHYSICAL_KEY_STATUS, error)
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetVirtualKey() (uint, error)
- func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) PutHandled(handled bool) error
- type ICoreWebView2AcceleratorKeyPressedEventHandler
- type ICoreWebView2NavigationCompletedEventArgs
- type ICoreWebView2NavigationCompletedEventHandler
- type ICoreWebView2Settings
- func (i *ICoreWebView2Settings) AddRef() uintptr
- func (i *ICoreWebView2Settings) GetAreDefaultContextMenusEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetAreDevToolsEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetAreHostObjectsAllowed() (bool, error)
- func (i *ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsScriptEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsStatusBarEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsWebMessageEnabled() (bool, error)
- func (i *ICoreWebView2Settings) GetIsZoomControlEnabled() (bool, error)
- func (i *ICoreWebView2Settings) PutAreDefaultContextMenusEnabled(enabled bool) error
- func (i *ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error
- func (i *ICoreWebView2Settings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error
- func (i *ICoreWebView2Settings) PutAreHostObjectsAllowed(allowed bool) error
- func (i *ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled(enabled bool) error
- func (i *ICoreWebView2Settings) PutIsScriptEnabled(isScriptEnabled bool) error
- func (i *ICoreWebView2Settings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error
- func (i *ICoreWebView2Settings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error
- func (i *ICoreWebView2Settings) PutIsZoomControlEnabled(enabled bool) error
- type ICoreWebView2WebResourceRequest
- type ICoreWebView2WebResourceRequestedEventArgs
- type ICoreWebView2WebResourceResponse
Constants ¶
View Source
const ( COREWEBVIEW2_KEY_EVENT_KIND_KEY_DOWN = 0 COREWEBVIEW2_KEY_EVENT_KIND_KEY_UP = 1 COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_DOWN = 2 COREWEBVIEW2_KEY_EVENT_KIND_SYSTEM_KEY_UP = 3 )
View Source
const ( COREWEBVIEW2_WEB_RESOURCE_CONTEXT_ALL = 0 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_DOCUMENT = 1 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_STYLESHEET = 2 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_IMAGE = 3 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MEDIA = 4 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FONT = 5 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SCRIPT = 6 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_XML_HTTP_REQUEST = 7 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_FETCH = 8 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_TEXT_TRACK = 9 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_EVENT_SOURCE = 10 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_WEBSOCKET = 11 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_MANIFEST = 12 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_SIGNED_EXCHANGE = 13 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_PING = 14 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_CSP_VIOLATION_REPORT = 15 COREWEBVIEW2_WEB_RESOURCE_CONTEXT_OTHER = 16 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type COREWEBVIEW2_KEY_EVENT_KIND ¶
type COREWEBVIEW2_KEY_EVENT_KIND uint32
type COREWEBVIEW2_WEB_RESOURCE_CONTEXT ¶
type COREWEBVIEW2_WEB_RESOURCE_CONTEXT uint32
type ICoreWebView2AcceleratorKeyPressedEventArgs ¶
type ICoreWebView2AcceleratorKeyPressedEventArgs struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) AddRef ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) AddRef() uintptr
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetKeyEventKind ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetKeyEventKind() (COREWEBVIEW2_KEY_EVENT_KIND, error)
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetPhysicalKeyStatus ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetPhysicalKeyStatus() (COREWEBVIEW2_PHYSICAL_KEY_STATUS, error)
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) GetVirtualKey ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) GetVirtualKey() (uint, error)
func (*ICoreWebView2AcceleratorKeyPressedEventArgs) PutHandled ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventArgs) PutHandled(handled bool) error
type ICoreWebView2AcceleratorKeyPressedEventHandler ¶
type ICoreWebView2AcceleratorKeyPressedEventHandler struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2AcceleratorKeyPressedEventHandler) AddRef ¶
func (i *ICoreWebView2AcceleratorKeyPressedEventHandler) AddRef() uintptr
type ICoreWebView2NavigationCompletedEventArgs ¶
type ICoreWebView2NavigationCompletedEventArgs struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2NavigationCompletedEventArgs) AddRef ¶
func (i *ICoreWebView2NavigationCompletedEventArgs) AddRef() uintptr
type ICoreWebView2NavigationCompletedEventHandler ¶
type ICoreWebView2NavigationCompletedEventHandler struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2NavigationCompletedEventHandler) AddRef ¶
func (i *ICoreWebView2NavigationCompletedEventHandler) AddRef() uintptr
type ICoreWebView2Settings ¶
type ICoreWebView2Settings struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2Settings) AddRef ¶
func (i *ICoreWebView2Settings) AddRef() uintptr
func (*ICoreWebView2Settings) GetAreDefaultContextMenusEnabled ¶
func (i *ICoreWebView2Settings) GetAreDefaultContextMenusEnabled() (bool, error)
func (*ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled ¶
func (i *ICoreWebView2Settings) GetAreDefaultScriptDialogsEnabled() (bool, error)
func (*ICoreWebView2Settings) GetAreDevToolsEnabled ¶
func (i *ICoreWebView2Settings) GetAreDevToolsEnabled() (bool, error)
func (*ICoreWebView2Settings) GetAreHostObjectsAllowed ¶
func (i *ICoreWebView2Settings) GetAreHostObjectsAllowed() (bool, error)
func (*ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled ¶
func (i *ICoreWebView2Settings) GetIsBuiltInErrorPageEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsScriptEnabled ¶
func (i *ICoreWebView2Settings) GetIsScriptEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsStatusBarEnabled ¶
func (i *ICoreWebView2Settings) GetIsStatusBarEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsWebMessageEnabled ¶
func (i *ICoreWebView2Settings) GetIsWebMessageEnabled() (bool, error)
func (*ICoreWebView2Settings) GetIsZoomControlEnabled ¶
func (i *ICoreWebView2Settings) GetIsZoomControlEnabled() (bool, error)
func (*ICoreWebView2Settings) PutAreDefaultContextMenusEnabled ¶
func (i *ICoreWebView2Settings) PutAreDefaultContextMenusEnabled(enabled bool) error
func (*ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled ¶
func (i *ICoreWebView2Settings) PutAreDefaultScriptDialogsEnabled(areDefaultScriptDialogsEnabled bool) error
func (*ICoreWebView2Settings) PutAreDevToolsEnabled ¶
func (i *ICoreWebView2Settings) PutAreDevToolsEnabled(areDevToolsEnabled bool) error
func (*ICoreWebView2Settings) PutAreHostObjectsAllowed ¶
func (i *ICoreWebView2Settings) PutAreHostObjectsAllowed(allowed bool) error
func (*ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled ¶
func (i *ICoreWebView2Settings) PutIsBuiltInErrorPageEnabled(enabled bool) error
func (*ICoreWebView2Settings) PutIsScriptEnabled ¶
func (i *ICoreWebView2Settings) PutIsScriptEnabled(isScriptEnabled bool) error
func (*ICoreWebView2Settings) PutIsStatusBarEnabled ¶
func (i *ICoreWebView2Settings) PutIsStatusBarEnabled(isStatusBarEnabled bool) error
func (*ICoreWebView2Settings) PutIsWebMessageEnabled ¶
func (i *ICoreWebView2Settings) PutIsWebMessageEnabled(isWebMessageEnabled bool) error
func (*ICoreWebView2Settings) PutIsZoomControlEnabled ¶
func (i *ICoreWebView2Settings) PutIsZoomControlEnabled(enabled bool) error
type ICoreWebView2WebResourceRequest ¶
type ICoreWebView2WebResourceRequest struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2WebResourceRequest) AddRef ¶
func (i *ICoreWebView2WebResourceRequest) AddRef() uintptr
func (*ICoreWebView2WebResourceRequest) GetUri ¶
func (i *ICoreWebView2WebResourceRequest) GetUri() (string, error)
type ICoreWebView2WebResourceRequestedEventArgs ¶
type ICoreWebView2WebResourceRequestedEventArgs struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2WebResourceRequestedEventArgs) AddRef ¶
func (i *ICoreWebView2WebResourceRequestedEventArgs) AddRef() uintptr
func (*ICoreWebView2WebResourceRequestedEventArgs) GetRequest ¶
func (i *ICoreWebView2WebResourceRequestedEventArgs) GetRequest() (*ICoreWebView2WebResourceRequest, error)
func (*ICoreWebView2WebResourceRequestedEventArgs) PutResponse ¶
func (i *ICoreWebView2WebResourceRequestedEventArgs) PutResponse(response *ICoreWebView2WebResourceResponse) error
type ICoreWebView2WebResourceResponse ¶
type ICoreWebView2WebResourceResponse struct {
// contains filtered or unexported fields
}
func (*ICoreWebView2WebResourceResponse) AddRef ¶
func (i *ICoreWebView2WebResourceResponse) AddRef() uintptr
Source Files ¶
- COREWEBVIEW2_COLOR.go
- COREWEBVIEW2_KEY_EVENT_KIND.go
- COREWEBVIEW2_PHYSICAL_KEY_STATUS.go
- COREWEBVIEW2_WEB_RESOURCE_CONTEXT.go
- ICoreWebView2AcceleratorKeyPressedEventArgs.go
- ICoreWebView2AcceleratorKeyPressedEventHandler.go
- ICoreWebView2Controller.go
- ICoreWebView2CreateCoreWebView2ControllerCompletedHandler.go
- ICoreWebView2NavigationCompletedEventArgs.go
- ICoreWebView2NavigationCompletedEventHandler.go
- ICoreWebView2Settings.go
- ICoreWebView2WebResourceRequest.go
- ICoreWebView2WebResourceRequestedEventArgs.go
- ICoreWebView2WebResourceRequestedEventHandler.go
- ICoreWebView2WebResourceResponse.go
Click to show internal directories.
Click to hide internal directories.