Documentation ¶
Index ¶
- Constants
- func CAStr(str string) uintptr
- func CBool(val bool) uintptr
- func CWStr(str string) uintptr
- func Finalize()
- func GoAStr(str uintptr) string
- func GoBool(val uintptr) bool
- func GoWStr(str uintptr) string
- func Init()
- func Initialize()
- func InitializeEx(settings *WkeSettings)
- func IsInitialize() bool
- func LoadMiniBlinkDLL() *syscall.LazyDLL
- func ToUInt64(r1, r2 uintptr) uint64
- func UInt64To(val uint64) (uintptr, uintptr)
- type BlinkWebURLRequestPtr
- type FILE_CLOSE_
- type FILE_OPEN_
- type FILE_READ
- type FILE_SEEK
- type FILE_SIZE
- type Item
- type JsCallAsFunctionCallback
- type JsData
- type JsExceptionInfo
- type JsExecState
- func (es JsExecState) AddRef(val JsValue) bool
- func (es JsExecState) Arg(argIdx int) JsValue
- func (es JsExecState) ArgCount() int
- func (es JsExecState) ArgType(argIdx int) JsType
- func (es JsExecState) ArrayBuffer(buffer string, size uint) JsValue
- func (es JsExecState) Call(aFunc JsValue, thisObject JsValue, args *JsValue, argCount int) JsValue
- func (es JsExecState) CallGlobal(aFunc JsValue, args *JsValue, argCount int) JsValue
- func (es JsExecState) DeleteObjectProp(object JsValue, prop string)
- func (es JsExecState) EmptyArray() JsValue
- func (es JsExecState) EmptyObject() JsValue
- func (es JsExecState) Eval(str string) JsValue
- func (es JsExecState) EvalExW(str string, isInClosure bool) JsValue
- func (es JsExecState) EvalW(str string) JsValue
- func (es JsExecState) Function(obj *JsData) JsValue
- func (es JsExecState) Get(object JsValue, prop string) JsValue
- func (es JsExecState) GetArrayBuffer(value JsValue) *WkeMemBuf
- func (es JsExecState) GetAt(object JsValue, index int) JsValue
- func (es JsExecState) GetCallstack() string
- func (es JsExecState) GetData(object JsValue) *JsData
- func (es JsExecState) GetGlobal(prop string) JsValue
- func (es JsExecState) GetKeys(object JsValue) *JsKeys
- func (es JsExecState) GetLastErrorIfException() uintptr
- func (es JsExecState) GetLength(object JsValue) int
- func (es JsExecState) GetWebView() WkeWebView
- func (es JsExecState) GlobalObject() JsValue
- func (es JsExecState) IsJsValueValid(object JsValue) bool
- func (es JsExecState) IsValidExecState() bool
- func (es JsExecState) Object(obj *JsData) JsValue
- func (es JsExecState) ReleaseRef(val JsValue) bool
- func (es JsExecState) Set(object JsValue, prop string, v JsValue)
- func (es JsExecState) SetAt(object JsValue, index int, v JsValue)
- func (es JsExecState) SetGlobal(prop string, v JsValue)
- func (es JsExecState) SetLength(object JsValue, length int)
- func (es JsExecState) String(str string) JsValue
- func (es JsExecState) StringW(str string) JsValue
- func (es JsExecState) ThrowException(exception string) JsValue
- func (es JsExecState) ToBoolean(v JsValue) bool
- func (es JsExecState) ToDouble(v JsValue) float64
- func (es JsExecState) ToFloat(v JsValue) float32
- func (es JsExecState) ToInt(v JsValue) int
- func (es JsExecState) ToTempString(v JsValue) string
- func (es JsExecState) ToTempStringW(v JsValue) string
- func (es JsExecState) ToV8Value(v JsValue) uintptr
- type JsFinalizeCallback
- type JsGetPropertyCallback
- type JsKeys
- type JsNativeFunction
- type JsSetPropertyCallback
- type JsType
- type JsValue
- func (j *JsValue) Boolean(b bool)
- func (j *JsValue) Double(d float64)
- func (j *JsValue) False()
- func (j *JsValue) Float(f float32)
- func (j JsValue) GC()
- func (j *JsValue) Int(n int)
- func (j JsValue) IsArray() bool
- func (j JsValue) IsBoolean() bool
- func (j JsValue) IsFalse() bool
- func (j JsValue) IsFunction() bool
- func (j JsValue) IsNull() bool
- func (j JsValue) IsNumber() bool
- func (j JsValue) IsObject() bool
- func (j JsValue) IsString() bool
- func (j JsValue) IsTrue() bool
- func (j JsValue) IsUndefined() bool
- func (j *JsValue) Null()
- func (j *JsValue) True()
- func (j JsValue) TypeOf() JsType
- func (j *JsValue) Undefined()
- type ON_TITLE_CHANGED
- type ON_URL_CHANGED
- type StorageType
- type TMiniBlinkWebview
- type TOnCreateViewEvent
- type TOnDocumentReadyEvent
- type TOnLoadingFinishEvent
- type TOnNavigationEvent
- type TOnTitleChangedEvent
- type TOnURLChangedEvent
- type V8ContextPtr
- type V8Isolate
- type WKE_EXISTS_FILE
- type WKE_FILE_CLOSE
- type WKE_FILE_OPEN
- type WKE_FILE_READ
- type WKE_FILE_SEEK
- type WKE_FILE_SIZE
- type WkeAlertBoxCallback
- type WkeCallUiThread
- type WkeClientHandler
- type WkeConfirmBoxCallback
- type WkeConsoleCallback
- type WkeConsoleLevel
- type WkeCookieCommand
- type WkeCookieVisitor
- type WkeCreateViewCallback
- type WkeCursorInfoType
- type WkeDidCreateScriptContextCallback
- type WkeDocumentReady2Callback
- type WkeDocumentReadyCallback
- type WkeDownload2Callback
- type WkeDownloadCallback
- type WkeDownloadOpt
- type WkeDraggableRegion
- type WkeDraggableRegionsChangedCallback
- type WkeHttBodyElementType
- type WkeJsNativeFunction
- type WkeKeyFlags
- type WkeLoadUrlBeginCallback
- type WkeLoadUrlEndCallback
- type WkeLoadUrlFailCallback
- type WkeLoadingFinishCallback
- type WkeLoadingResult
- type WkeMediaLoadInfo
- type WkeMediaPlayer
- type WkeMediaPlayerClient
- type WkeMediaPlayerFactory
- type WkeMemBuf
- type WkeMenuItemId
- type WkeMouseFlags
- type WkeMouseMsg
- type WkeNavigationCallback
- type WkeNavigationType
- type WkeNetJob
- type WkeNetJobDataBind
- type WkeNetJobDataFinishCallback
- type WkeNetJobDataRecvCallback
- type WkeNetResponseCallback
- type WkeNodeOnCreateProcessCallback
- type WkeOnCallUiThread
- type WkeOnContextMenuItemClickCallback
- type WkeOnContextMenuItemClickStep
- type WkeOnContextMenuItemClickType
- type WkeOnIsMediaPlayerSupportsMIMEType
- type WkeOnNetGetFaviconCallback
- type WkeOnOtherLoadCallback
- type WkeOnPluginFindCallback
- type WkeOnPrintCallback
- type WkeOnShowDevtoolsCallback
- type WkeOnUrlRequestDidFailCallback
- type WkeOnUrlRequestDidFinishLoadingCallback
- type WkeOnUrlRequestDidReceiveDataCallback
- type WkeOnUrlRequestDidReceiveResponseCallback
- type WkeOnUrlRequestWillRedirectCallback
- type WkeOtherLoadType
- type WkePaintBitUpdatedCallback
- type WkePaintUpdatedCallback
- type WkePdfDatas
- type WkePoint
- type WkePostBodyElement
- type WkePostBodyElements
- type WkePrintSettings
- type WkePromptBoxCallback
- type WkeProxy
- type WkeProxyType
- type WkeRect
- type WkeRequestType
- type WkeResourceType
- type WkeScreenshotSettings
- type WkeSettingMask
- type WkeSettings
- type WkeStartDraggingCallback
- type WkeStorageType
- type WkeString
- type WkeTempCallbackInfo
- type WkeTitleChangedCallback
- type WkeURLChangedCallback
- type WkeURLChangedCallback2
- type WkeUiThreadPostTaskCallback
- type WkeUiThreadRunCallback
- type WkeUrlRequestCallbacks
- type WkeViewSettings
- type WkeWebDragData
- type WkeWebDragOperation
- type WkeWebDragOperationsMask
- type WkeWebFrameHandle
- type WkeWebUrlRequestPtr
- type WkeWebUrlResponsePtr
- type WkeWebView
- func (w WkeWebView) AddDirtyArea(x, y, width, height int)
- func (w WkeWebView) CanGoBack() bool
- func (w WkeWebView) CanGoForward() bool
- func (w WkeWebView) ContentsHeight() int
- func (w WkeWebView) ContentsWidth() int
- func (w WkeWebView) EditorCopy()
- func (w WkeWebView) EditorCut()
- func (w WkeWebView) EditorDelete()
- func (w WkeWebView) EditorPaste()
- func (w WkeWebView) EditorRedo()
- func (w WkeWebView) EditorSelectAll()
- func (w WkeWebView) EditorUnSelect()
- func (w WkeWebView) EditorUndo()
- func (w WkeWebView) FireContextMenuEvent(x, y int, flags uint) bool
- func (w WkeWebView) FireKeyDownEvent(virtualKeyCode, flags uint, systemKey bool) bool
- func (w WkeWebView) FireKeyPressEvent(virtualKeyCode, flags uint, systemKey bool) bool
- func (w WkeWebView) FireKeyUpEvent(virtualKeyCode, flags uint, systemKey bool) bool
- func (w WkeWebView) FireMouseEvent(message uint, x, y int, flags uint) bool
- func (w WkeWebView) FireMouseWheelEvent(x, y, delta int, flags uint) bool
- func (w WkeWebView) GetClientHandler() *WkeClientHandler
- func (w WkeWebView) GlobalExec() JsExecState
- func (w WkeWebView) GoBack()
- func (w WkeWebView) GoForward()
- func (w WkeWebView) Height() int
- func (w WkeWebView) IsAwake() bool
- func (w WkeWebView) IsCookieEnabled() bool
- func (w WkeWebView) IsDirty() bool
- func (w WkeWebView) IsDocumentReady() bool
- func (w WkeWebView) IsLoading() bool
- func (w WkeWebView) IsLoadingFailed() bool
- func (w WkeWebView) IsLoadingSucceeded() bool
- func (w WkeWebView) IsTransparent() bool
- func (w WkeWebView) KillFocus()
- func (w WkeWebView) LayoutIfNeeded()
- func (w WkeWebView) LoadFile(html string)
- func (w WkeWebView) LoadHTML(html string)
- func (w WkeWebView) LoadURL(url string)
- func (w WkeWebView) MediaVolume() float32
- func (w WkeWebView) Name() string
- func (w WkeWebView) Paint(bits uintptr, pitch int)
- func (w WkeWebView) Reload()
- func (w WkeWebView) Resize(width, height int)
- func (w WkeWebView) RunJS(script string) JsValue
- func (w WkeWebView) SetClientHandler(handler *WkeClientHandler)
- func (w WkeWebView) SetCookieEnabled(enable bool)
- func (w WkeWebView) SetDirty(dirty bool)
- func (w WkeWebView) SetEditable(editable bool)
- func (w WkeWebView) SetFocus()
- func (w WkeWebView) SetMediaVolume(volume float32)
- func (w WkeWebView) SetName(name string)
- func (w WkeWebView) SetTransparent(val bool)
- func (w WkeWebView) SetZoomFactor(factor float32)
- func (w WkeWebView) Sleep()
- func (w WkeWebView) StopLoading()
- func (w WkeWebView) Title() string
- func (w WkeWebView) URL() string
- func (w WkeWebView) Wake()
- func (w WkeWebView) Width() int
- func (w WkeWebView) ZoomFactor() float32
- type WkeWillMediaLoadCallback
- type WkeWillReleaseScriptContextCallback
- type WkeWillSendRequestInfo
- type WkeWindowClosingCallback
- type WkeWindowCreateInfo
- type WkeWindowDestroyCallback
- type WkeWindowFeatures
- type WkeWindowType
Constants ¶
const ( WKE_LBUTTON = 0x01 WKE_RBUTTON = 0x02 WKE_SHIFT = 0x04 WKE_CONTROL = 0x08 WKE_MBUTTON = 0x10 )
const ( WKE_EXTENDED = 0x0100 WKE_REPEAT = 0x4000 )
const ( WKE_MSG_MOUSEMOVE = 0x0200 WKE_MSG_LBUTTONDOWN = 0x0201 WKE_MSG_LBUTTONUP = 0x0202 WKE_MSG_LBUTTONDBLCLK = 0x0203 WKE_MSG_RBUTTONDOWN = 0x0204 WKE_MSG_RBUTTONUP = 0x0205 WKE_MSG_RBUTTONDBLCLK = 0x0206 WKE_MSG_MBUTTONDOWN = 0x0207 WKE_MSG_MBUTTONUP = 0x0208 WKE_MSG_MBUTTONDBLCLK = 0x0209 WKE_MSG_MOUSEWHEEL = 0x020A )
const ( WKE_SETTING_PROXY = 1 WKE_SETTING_PAINTCALLBACK_IN_OTHER_THREAD = 1 << 2 )
const ( KWkeMenuSelectedAllId = 1 << 1 KWkeMenuSelectedTextId = 1 << 2 KWkeMenuUndoId = 1 << 3 KWkeMenuCopyImageId = 1 << 4 KWkeMenuCutId = 1 << 6 KWkeMenuPasteId = 1 << 7 KWkeMenuPrintId = 1 << 8 KWkeMenuGoForwardId = 1 << 9 KWkeMenuGoBackId = 1 << 10 KWkeMenuReloadId = 1 << 11 )
const ( // String data with an associated MIME type. Depending on the MIME type, there may be // optional metadata attributes as well. StorageTypeString = iota + 0 // Stores the name of one file being dragged into the renderer. StorageTypeFilename // An image being dragged out of the renderer. Contains a buffer holding the image data // as well as the suggested name for saving the image to. StorageTypeBinaryData // Stores the filesystem URL of one file being dragged into the renderer. StorageTypeFileSystemFile )
const ( WkeWebDragOperationNone = 0 WkeWebDragOperationCopy = 1 WkeWebDragOperationLink = 2 WkeWebDragOperationGeneric = 4 WkeWebDragOperationPrivate = 8 WkeWebDragOperationMove = 16 WkeWebDragOperationDelete = 32 WkeWebDragOperationEvery = 0xffffffff )
const ( WKE_RESOURCE_TYPE_MAIN_FRAME = 0 // top level page WKE_RESOURCE_TYPE_SUB_FRAME = 1 // frame or iframe WKE_RESOURCE_TYPE_STYLESHEET = 2 // a CSS stylesheet WKE_RESOURCE_TYPE_SCRIPT = 3 // an external script WKE_RESOURCE_TYPE_IMAGE = 4 // an image (jpg/gif/png/etc) WKE_RESOURCE_TYPE_FONT_RESOURCE = 5 // a font WKE_RESOURCE_TYPE_SUB_RESOURCE = 6 // an "other" subresource. WKE_RESOURCE_TYPE_OBJECT = 7 // an object (or embed) tag for a plugin, // or a resource that a plugin requested. WKE_RESOURCE_TYPE_MEDIA = 8 // a media resource. WKE_RESOURCE_TYPE_WORKER = 9 // the main resource of a dedicated // worker. WKE_RESOURCE_TYPE_SHARED_WORKER = 10 // the main resource of a shared worker. WKE_RESOURCE_TYPE_PREFETCH = 11 // an explicitly requested prefetch WKE_RESOURCE_TYPE_FAVICON = 12 // a favicon WKE_RESOURCE_TYPE_XHR = 13 // a XMLHttpRequest WKE_RESOURCE_TYPE_PING = 14 // a ping request for <a ping> WKE_RESOURCE_TYPE_SERVICE_WORKER = 15 // the main resource of a service worker. WKE_RESOURCE_TYPE_LAST_TYPE )
const ( KWkeContextMenuItemClickStepShow = 0x01 KWkeContextMenuItemClickStepClick = 0x02 )
const ( KWkeDownloadOptCancel = iota + 0 KWkeDownloadOptCacheData )
const ( WkeLevelDebug = 4 WkeLevelLog = 1 WkeLevelInfo = 5 WkeLevelWarning = 2 WkeLevelError = 3 WkeLevelRevokedError = 6 WkeLevelLast = WkeLevelInfo )
const ( WKE_WINDOW_TYPE_POPUP = iota + 0 WKE_WINDOW_TYPE_TRANSPARENT WKE_WINDOW_TYPE_CONTROL )
const (
KWkeContextMenuItemClickTypePrint = 0x01
)
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize()
func InitializeEx ¶
func InitializeEx(settings *WkeSettings)
func IsInitialize ¶
func IsInitialize() bool
func LoadMiniBlinkDLL ¶
Types ¶
type BlinkWebURLRequestPtr ¶
type BlinkWebURLRequestPtr uintptr
type FILE_CLOSE_ ¶
type FILE_CLOSE_ uintptr
typedef void(WKE_CALL_TYPE *FILE_CLOSE_) (void* handle);
type FILE_OPEN_ ¶
type FILE_OPEN_ uintptr
typedef void* (WKE_CALL_TYPE *FILE_OPEN_) (const char* path);
type FILE_READ ¶
type FILE_READ uintptr
typedef int(WKE_CALL_TYPE *FILE_READ) (void* handle, void* buffer, size_t size);
type FILE_SEEK ¶
type FILE_SEEK uintptr
typedef int(WKE_CALL_TYPE *FILE_SEEK) (void* handle, int offset, int origin);
type Item ¶
type Item struct { // Only valid when storageType == StorageTypeString. StringType *WkeMemBuf StringData *WkeMemBuf // Only valid when storageType == StorageTypeFilename. FilenameData *WkeMemBuf DisplayNameData *WkeMemBuf // Only valid when storageType == StorageTypeBinaryData. BinaryData *WkeMemBuf // Title associated with a link when stringType == "text/uri-list". // Filename when storageType == StorageTypeBinaryData. Title *WkeMemBuf // Only valid when storageType == StorageTypeFileSystemFile. FileSystemURL *WkeMemBuf FileSystemFileSize int64 // Only valid when stringType == "text/html". BaseURL *WkeMemBuf }
type JsCallAsFunctionCallback ¶
type JsCallAsFunctionCallback uintptr
typedef jsValue(WKE_CALL_TYPE*jsCallAsFunctionCallback)(jsExecState es, jsValue object, jsValue* args, int argCount);
type JsData ¶
type JsData struct { TypeName [100]uint8 PropertyGet JsGetPropertyCallback PropertySet JsSetPropertyCallback Finalize JsFinalizeCallback CallAsFunction JsCallAsFunctionCallback }
type JsExceptionInfo ¶
type JsExceptionInfo struct { Message uintptr //const utf8* message; // Returns the exception message. SourceLine uintptr //const utf8* sourceLine; // Returns the line of source code that the exception occurred within. ScriptResourceName uintptr //const utf8* scriptResourceName; // Returns the resource name for the script from where the function causing the error originates. LineNumber int // Returns the 1-based number of the line where the error occurred or 0 if the line number is unknown. StartPosition int // Returns the index within the script of the first character where the error occurred. EndPosition int // Returns the index within the script of the last character where the error occurred. StartColumn int // Returns the index within the line of the first character where the error occurred. EndColumn int // Returns the index within the line of the last character where the error occurred. CallstackString uintptr //const utf8* callstackString; }
type JsExecState ¶
type JsExecState uintptr
func (JsExecState) AddRef ¶
func (es JsExecState) AddRef(val JsValue) bool
func (JsExecState) Arg ¶
func (es JsExecState) Arg(argIdx int) JsValue
func (JsExecState) ArgType ¶
func (es JsExecState) ArgType(argIdx int) JsType
func (JsExecState) ArrayBuffer ¶
func (es JsExecState) ArrayBuffer(buffer string, size uint) JsValue
func (JsExecState) CallGlobal ¶
func (es JsExecState) CallGlobal(aFunc JsValue, args *JsValue, argCount int) JsValue
func (JsExecState) DeleteObjectProp ¶
func (es JsExecState) DeleteObjectProp(object JsValue, prop string)
func (JsExecState) EmptyArray ¶
func (es JsExecState) EmptyArray() JsValue
func (JsExecState) EmptyObject ¶
func (es JsExecState) EmptyObject() JsValue
func (JsExecState) Eval ¶
func (es JsExecState) Eval(str string) JsValue
func (JsExecState) EvalW ¶
func (es JsExecState) EvalW(str string) JsValue
func (JsExecState) Function ¶
func (es JsExecState) Function(obj *JsData) JsValue
func (JsExecState) GetArrayBuffer ¶
func (es JsExecState) GetArrayBuffer(value JsValue) *WkeMemBuf
func (JsExecState) GetCallstack ¶
func (es JsExecState) GetCallstack() string
func (JsExecState) GetData ¶
func (es JsExecState) GetData(object JsValue) *JsData
func (JsExecState) GetGlobal ¶
func (es JsExecState) GetGlobal(prop string) JsValue
func (JsExecState) GetKeys ¶
func (es JsExecState) GetKeys(object JsValue) *JsKeys
func (JsExecState) GetLastErrorIfException ¶
func (es JsExecState) GetLastErrorIfException() uintptr
func (JsExecState) GetLength ¶
func (es JsExecState) GetLength(object JsValue) int
func (JsExecState) GetWebView ¶
func (es JsExecState) GetWebView() WkeWebView
func (JsExecState) GlobalObject ¶
func (es JsExecState) GlobalObject() JsValue
func (JsExecState) IsJsValueValid ¶
func (es JsExecState) IsJsValueValid(object JsValue) bool
func (JsExecState) IsValidExecState ¶
func (es JsExecState) IsValidExecState() bool
func (JsExecState) Object ¶
func (es JsExecState) Object(obj *JsData) JsValue
func (JsExecState) ReleaseRef ¶
func (es JsExecState) ReleaseRef(val JsValue) bool
func (JsExecState) SetGlobal ¶
func (es JsExecState) SetGlobal(prop string, v JsValue)
func (JsExecState) SetLength ¶
func (es JsExecState) SetLength(object JsValue, length int)
func (JsExecState) String ¶
func (es JsExecState) String(str string) JsValue
func (JsExecState) StringW ¶
func (es JsExecState) StringW(str string) JsValue
func (JsExecState) ThrowException ¶
func (es JsExecState) ThrowException(exception string) JsValue
func (JsExecState) ToBoolean ¶
func (es JsExecState) ToBoolean(v JsValue) bool
func (JsExecState) ToDouble ¶
func (es JsExecState) ToDouble(v JsValue) float64
func (JsExecState) ToFloat ¶
func (es JsExecState) ToFloat(v JsValue) float32
func (JsExecState) ToInt ¶
func (es JsExecState) ToInt(v JsValue) int
func (JsExecState) ToTempString ¶
func (es JsExecState) ToTempString(v JsValue) string
func (JsExecState) ToTempStringW ¶
func (es JsExecState) ToTempStringW(v JsValue) string
func (JsExecState) ToV8Value ¶
func (es JsExecState) ToV8Value(v JsValue) uintptr
type JsFinalizeCallback ¶
type JsFinalizeCallback uintptr
typedef void(WKE_CALL_TYPE*jsFinalizeCallback)(struct tagjsData* data);
type JsGetPropertyCallback ¶
type JsGetPropertyCallback uintptr
typedef jsValue(WKE_CALL_TYPE*jsGetPropertyCallback)(jsExecState es, jsValue object, const char* propertyName);
type JsNativeFunction ¶
type JsNativeFunction uintptr
#define JS_CALL __fastcall typedef jsValue(JS_CALL* jsNativeFunction) (jsExecState es);
type JsSetPropertyCallback ¶
type JsSetPropertyCallback uintptr
typedef bool(WKE_CALL_TYPE*jsSetPropertyCallback)(jsExecState es, jsValue object, const char* propertyName, jsValue value);
type ON_TITLE_CHANGED ¶
type ON_TITLE_CHANGED uintptr
typedef void(WKE_CALL_TYPE *ON_TITLE_CHANGED) (const struct _wkeClientHandler* clientHandler, const wkeString title);
type ON_URL_CHANGED ¶
type ON_URL_CHANGED uintptr
typedef void(WKE_CALL_TYPE *ON_URL_CHANGED) (const struct _wkeClientHandler* clientHandler, const wkeString url);
type StorageType ¶
type StorageType WkeStorageType
type TMiniBlinkWebview ¶
type TMiniBlinkWebview struct { Webview WkeWebView OnCreateView TOnCreateViewEvent OnTitleChanged TOnTitleChangedEvent OnURLChanged TOnURLChangedEvent OnLoadingFinish TOnLoadingFinishEvent OnDocumentReady TOnDocumentReadyEvent }
func NewMiniBlinkWebview ¶
func NewMiniBlinkWebview(hWnd types.HWND) *TMiniBlinkWebview
func (*TMiniBlinkWebview) DestroyWebWindow ¶
func (w *TMiniBlinkWebview) DestroyWebWindow()
func (*TMiniBlinkWebview) Free ¶
func (w *TMiniBlinkWebview) Free()
func (*TMiniBlinkWebview) IsValid ¶
func (w *TMiniBlinkWebview) IsValid() bool
func (*TMiniBlinkWebview) Load ¶
func (w *TMiniBlinkWebview) Load(url string)
func (*TMiniBlinkWebview) MoveWindow ¶
func (w *TMiniBlinkWebview) MoveWindow(x, y, width, height int)
func (*TMiniBlinkWebview) Show ¶
func (w *TMiniBlinkWebview) Show(val bool)
type TOnCreateViewEvent ¶
type TOnCreateViewEvent func(sender *TMiniBlinkWebview, navigationType WkeNavigationType, url WkeString, windowFeatures *WkeWindowFeatures, result *WkeWebView)
type TOnDocumentReadyEvent ¶
type TOnDocumentReadyEvent func(sender *TMiniBlinkWebview)
type TOnLoadingFinishEvent ¶
type TOnLoadingFinishEvent func(sender *TMiniBlinkWebview, url string, result WkeLoadingResult, failedReason string)
type TOnNavigationEvent ¶
type TOnNavigationEvent func(sender *TMiniBlinkWebview, navigationType WkeNavigationType, url string)
type TOnTitleChangedEvent ¶
type TOnTitleChangedEvent func(sender *TMiniBlinkWebview, title string)
type TOnURLChangedEvent ¶
type TOnURLChangedEvent func(sender *TMiniBlinkWebview, url string)
type V8ContextPtr ¶
type V8ContextPtr uintptr
type WKE_EXISTS_FILE ¶
type WKE_EXISTS_FILE uintptr // bool(WKE_CALL_TYPE *WKE_EXISTS_FILE)(const char * path);
type WKE_FILE_CLOSE ¶
type WKE_FILE_CLOSE FILE_CLOSE_
type WKE_FILE_OPEN ¶
type WKE_FILE_OPEN FILE_OPEN_
type WKE_FILE_READ ¶
type WKE_FILE_READ FILE_READ
type WKE_FILE_SEEK ¶
type WKE_FILE_SEEK FILE_SEEK
type WKE_FILE_SIZE ¶
type WKE_FILE_SIZE FILE_SIZE
type WkeAlertBoxCallback ¶
type WkeAlertBoxCallback uintptr
type WkeCallUiThread ¶
type WkeCallUiThread uintptr
typedef void(WKE_CALL_TYPE*wkeCallUiThread)(wkeWebView webView, wkeOnCallUiThread func, void* param);
type WkeClientHandler ¶
type WkeClientHandler struct { OnTitleChanged ON_TITLE_CHANGED OnURLChanged ON_URL_CHANGED }
type WkeConfirmBoxCallback ¶
type WkeConfirmBoxCallback uintptr
type WkeConsoleCallback ¶
type WkeConsoleCallback uintptr
typedef void(WKE_CALL_TYPE*wkeConsoleCallback)(wkeWebView webView, void* param, wkeConsoleLevel level, const wkeString message, const wkeString sourceName, unsigned sourceLine, const wkeString stackTrace);
type WkeConsoleLevel ¶
type WkeConsoleLevel int
type WkeCookieCommand ¶
type WkeCookieCommand int
const ( WkeCookieCommandClearAllCookies WkeCookieCommand = iota + 0 WkeCookieCommandClearSessionCookies WkeCookieCommandFlushCookiesToFile WkeCookieCommandReloadCookiesFromFile )
type WkeCookieVisitor ¶
type WkeCookieVisitor = uintptr
typedef bool(WKE_CALL_TYPE * wkeCookieVisitor)(
void* params, const char* name, const char* value, const char* domain, const char* path, // If |path| is non-empty only URLs at or below the path will get the cookie value. int secure, // If |secure| is true the cookie will only be sent for HTTPS requests. int httpOnly, // If |httponly| is true the cookie will only be sent for HTTP requests. int* expires // The cookie expiration date is only valid if |has_expires| is true. );
type WkeCreateViewCallback ¶
type WkeCreateViewCallback uintptr
type WkeCursorInfoType ¶
type WkeCursorInfoType int
const ( WkeCursorInfoPointer WkeCursorInfoType = iota + 0 WkeCursorInfoCross WkeCursorInfoHand WkeCursorInfoIBeam WkeCursorInfoWait WkeCursorInfoHelp WkeCursorInfoEastResize WkeCursorInfoNorthResize WkeCursorInfoNorthEastResize WkeCursorInfoNorthWestResize WkeCursorInfoSouthResize WkeCursorInfoSouthEastResize WkeCursorInfoSouthWestResize WkeCursorInfoWestResize WkeCursorInfoNorthSouthResize WkeCursorInfoEastWestResize WkeCursorInfoNorthEastSouthWestResize WkeCursorInfoNorthWestSouthEastResize WkeCursorInfoColumnResize WkeCursorInfoRowResize WkeCursorInfoMiddlePanning WkeCursorInfoEastPanning WkeCursorInfoNorthPanning WkeCursorInfoNorthEastPanning WkeCursorInfoNorthWestPanning WkeCursorInfoSouthPanning WkeCursorInfoSouthEastPanning WkeCursorInfoSouthWestPanning WkeCursorInfoWestPanning WkeCursorInfoMove WkeCursorInfoVerticalText WkeCursorInfoCell WkeCursorInfoContextMenu WkeCursorInfoAlias WkeCursorInfoProgress WkeCursorInfoNoDrop WkeCursorInfoCopy WkeCursorInfoNone WkeCursorInfoNotAllowed WkeCursorInfoZoomIn WkeCursorInfoZoomOut WkeCursorInfoGrab WkeCursorInfoGrabbing WkeCursorInfoCustom )
type WkeDidCreateScriptContextCallback ¶
type WkeDidCreateScriptContextCallback uintptr
typedef void(WKE_CALL_TYPE*wkeDidCreateScriptContextCallback)(wkeWebView webView, void* param, wkeWebFrameHandle frameId, void* context, int extensionGroup, int worldId);
type WkeDocumentReady2Callback ¶
type WkeDocumentReady2Callback uintptr
type WkeDocumentReadyCallback ¶
type WkeDocumentReadyCallback uintptr
type WkeDownload2Callback ¶
type WkeDownload2Callback uintptr
typedef wkeDownloadOpt(WKE_CALL_TYPE*wkeDownload2Callback)(
wkeWebView webView, void* param, size_t expectedContentLength, const char* url, const char* mime, const char* disposition, wkeNetJob job, wkeNetJobDataBind* dataBind);
type WkeDownloadCallback ¶
type WkeDownloadCallback uintptr
typedef bool(WKE_CALL_TYPE*wkeDownloadCallback)(wkeWebView webView, void* param, const char* url);
type WkeDownloadOpt ¶
type WkeDownloadOpt int
type WkeDraggableRegion ¶
type WkeDraggableRegionsChangedCallback ¶
type WkeDraggableRegionsChangedCallback uintptr
typedef void(WKE_CALL_TYPE*wkeDraggableRegionsChangedCallback)(wkeWebView webView, void* param, const wkeDraggableRegion* rects, int rectCount);
type WkeHttBodyElementType ¶
type WkeHttBodyElementType int
const ( WkeHttBodyElementTypeData WkeHttBodyElementType = iota + 0 WkeHttBodyElementTypeFile )
type WkeJsNativeFunction ¶
type WkeJsNativeFunction uintptr
typedef jsValue(WKE_CALL_TYPE* wkeJsNativeFunction) (jsExecState es, void* param);
type WkeKeyFlags ¶
type WkeKeyFlags int
type WkeLoadUrlBeginCallback ¶
type WkeLoadUrlBeginCallback uintptr
typedef bool(WKE_CALL_TYPE*wkeLoadUrlBeginCallback)(wkeWebView webView, void* param, const utf8* url, wkeNetJob job);
type WkeLoadUrlEndCallback ¶
type WkeLoadUrlEndCallback uintptr
typedef void(WKE_CALL_TYPE*wkeLoadUrlEndCallback)(wkeWebView webView, void* param, const utf8* url, wkeNetJob job, void* buf, int len);
type WkeLoadUrlFailCallback ¶
type WkeLoadUrlFailCallback uintptr
typedef void(WKE_CALL_TYPE* wkeLoadUrlFailCallback)(wkeWebView webView, void* param, const utf8* url, wkeNetJob job);
type WkeLoadingFinishCallback ¶
type WkeLoadingFinishCallback uintptr
typedef void(WKE_CALL_TYPE*wkeLoadingFinishCallback)(wkeWebView webView, void* param, const wkeString url, wkeLoadingResult result, const wkeString failedReason);
type WkeLoadingResult ¶
type WkeLoadingResult int
const ( WKE_LOADING_SUCCEEDED WkeLoadingResult = iota + 0 WKE_LOADING_FAILED WKE_LOADING_CANCELED )
type WkeMediaLoadInfo ¶
type WkeMediaPlayer ¶
type WkeMediaPlayer uintptr
type WkeMediaPlayerClient ¶
type WkeMediaPlayerClient uintptr
type WkeMediaPlayerFactory ¶
type WkeMediaPlayerFactory uintptr
typedef wkeMediaPlayer(WKE_CALL_TYPE* wkeMediaPlayerFactory)(wkeWebView webView, wkeMediaPlayerClient client, void* npBrowserFuncs, void* npPluginFuncs);
type WkeMenuItemId ¶
type WkeMenuItemId int
type WkeMouseFlags ¶
type WkeMouseFlags int
type WkeMouseMsg ¶
type WkeMouseMsg int
type WkeNavigationCallback ¶
type WkeNavigationCallback uintptr
type WkeNavigationType ¶
type WkeNavigationType int
const ( WKE_NAVIGATION_TYPE_LINKCLICK WkeNavigationType = iota + 0 WKE_NAVIGATION_TYPE_FORMSUBMITTE WKE_NAVIGATION_TYPE_BACKFORWARD WKE_NAVIGATION_TYPE_RELOAD WKE_NAVIGATION_TYPE_FORMRESUBMITT WKE_NAVIGATION_TYPE_OTHER )
type WkeNetJobDataBind ¶
type WkeNetJobDataBind struct { Param uintptr RecvCallback WkeNetJobDataRecvCallback FinishCallback WkeNetJobDataFinishCallback }
type WkeNetJobDataFinishCallback ¶
type WkeNetJobDataFinishCallback uintptr
typedef void(WKE_CALL_TYPE*wkeNetJobDataFinishCallback)(void* ptr, wkeNetJob job, wkeLoadingResult result);
type WkeNetJobDataRecvCallback ¶
type WkeNetJobDataRecvCallback uintptr
typedef void(WKE_CALL_TYPE*wkeNetJobDataRecvCallback)(void* ptr, wkeNetJob job, const char* data, int length);
type WkeNetResponseCallback ¶
type WkeNetResponseCallback uintptr
typedef bool(WKE_CALL_TYPE*wkeNetResponseCallback)(wkeWebView webView, void* param, const utf8* url, wkeNetJob job);
type WkeNodeOnCreateProcessCallback ¶
type WkeNodeOnCreateProcessCallback uintptr
type WkeOnCallUiThread ¶
type WkeOnCallUiThread uintptr
typedef void(WKE_CALL_TYPE*wkeOnCallUiThread)(wkeWebView webView, void* paramOnInThread);
type WkeOnContextMenuItemClickCallback ¶
type WkeOnContextMenuItemClickCallback uintptr
typedef bool(WKE_CALL_TYPE* wkeOnContextMenuItemClickCallback)(
wkeWebView webView, void* param, wkeOnContextMenuItemClickType type, wkeOnContextMenuItemClickStep step, wkeWebFrameHandle frameId, void* info );
type WkeOnContextMenuItemClickStep ¶
type WkeOnContextMenuItemClickStep int
type WkeOnContextMenuItemClickType ¶
type WkeOnContextMenuItemClickType int
type WkeOnIsMediaPlayerSupportsMIMEType ¶
type WkeOnIsMediaPlayerSupportsMIMEType uintptr
typedef bool(WKE_CALL_TYPE* wkeOnIsMediaPlayerSupportsMIMEType)(const utf8* mime);
type WkeOnNetGetFaviconCallback ¶
type WkeOnNetGetFaviconCallback uintptr
typedef void(WKE_CALL_TYPE*wkeOnNetGetFaviconCallback)(wkeWebView webView, void* param, const utf8* url, wkeMemBuf* buf);
type WkeOnOtherLoadCallback ¶
type WkeOnOtherLoadCallback uintptr
typedef void(WKE_CALL_TYPE*wkeOnOtherLoadCallback)(wkeWebView webView, void* param, wkeOtherLoadType type, wkeTempCallbackInfo* info);
type WkeOnPluginFindCallback ¶
type WkeOnPluginFindCallback uintptr
type WkeOnPrintCallback ¶
type WkeOnPrintCallback uintptr
type WkeOnShowDevtoolsCallback ¶
type WkeOnShowDevtoolsCallback uintptr
type WkeOnUrlRequestDidFailCallback ¶
type WkeOnUrlRequestDidFailCallback uintptr
typedef void(WKE_CALL_TYPE* wkeOnUrlRequestDidFailCallback)(wkeWebView webView, void* param, wkeWebUrlRequestPtr request, const utf8* error);
type WkeOnUrlRequestDidFinishLoadingCallback ¶
type WkeOnUrlRequestDidFinishLoadingCallback uintptr
typedef void(WKE_CALL_TYPE* wkeOnUrlRequestDidFinishLoadingCallback)(wkeWebView webView, void* param, wkeWebUrlRequestPtr request, double finishTime);
type WkeOnUrlRequestDidReceiveDataCallback ¶
type WkeOnUrlRequestDidReceiveDataCallback uintptr
typedef void(WKE_CALL_TYPE* wkeOnUrlRequestDidReceiveDataCallback)(wkeWebView webView, void* param, wkeWebUrlRequestPtr request, const char* data, int dataLength);
type WkeOnUrlRequestDidReceiveResponseCallback ¶
type WkeOnUrlRequestDidReceiveResponseCallback uintptr
typedef void(WKE_CALL_TYPE* wkeOnUrlRequestDidReceiveResponseCallback)(wkeWebView webView, void* param, wkeWebUrlRequestPtr request, wkeWebUrlResponsePtr response);
type WkeOnUrlRequestWillRedirectCallback ¶
type WkeOnUrlRequestWillRedirectCallback uintptr
typedef void(WKE_CALL_TYPE* wkeOnUrlRequestWillRedirectCallback)(wkeWebView webView, void* param, wkeWebUrlRequestPtr oldRequest, wkeWebUrlRequestPtr request, wkeWebUrlResponsePtr redirectResponse);
type WkeOtherLoadType ¶
type WkeOtherLoadType int
const ( WKE_DID_START_LOADING WkeOtherLoadType = iota + 0 WKE_DID_STOP_LOADING WKE_DID_NAVIGATE WKE_DID_NAVIGATE_IN_PAGE WKE_DID_GET_RESPONSE_DETAILS WKE_DID_GET_REDIRECT_REQUEST WKE_DID_POST_REQUEST )
type WkePaintBitUpdatedCallback ¶
type WkePaintBitUpdatedCallback uintptr
type WkePaintUpdatedCallback ¶
type WkePaintUpdatedCallback uintptr
type WkePdfDatas ¶
type WkePostBodyElement ¶
type WkePostBodyElements ¶
type WkePostBodyElements struct { Size int Element **WkePostBodyElement ElementSize uint IsDirty bool }
type WkePrintSettings ¶
type WkePromptBoxCallback ¶
type WkePromptBoxCallback uintptr
type WkeProxy ¶
type WkeProxy struct { Type WkeProxyType Hostname [100]uint8 Port uint16 Username [50]uint8 Password [50]uint8 }
type WkeProxyType ¶
type WkeProxyType int
const ( WKE_PROXY_NONE WkeProxyType = iota + 0 WKE_PROXY_HTTP WKE_PROXY_SOCKS4 WKE_PROXY_SOCKS4A WKE_PROXY_SOCKS5 WKE_PROXY_SOCKS5HOSTNAME )
type WkeRequestType ¶
type WkeRequestType int
const ( KWkeRequestTypeInvalidation WkeRequestType = iota + 0 KWkeRequestTypeGet KWkeRequestTypePost KWkeRequestTypePut )
type WkeResourceType ¶
type WkeResourceType int
type WkeScreenshotSettings ¶
type WkeSettingMask ¶
type WkeSettingMask int
type WkeSettings ¶
type WkeStartDraggingCallback ¶
type WkeStartDraggingCallback uintptr
typedef void(WKE_CALL_TYPE*wkeStartDraggingCallback)(
wkeWebView webView, void* param, wkeWebFrameHandle frame, const wkeWebDragData* data, wkeWebDragOperationsMask mask, const void* image, const wkePoint* dragImageOffset );
type WkeStorageType ¶
type WkeStorageType int
type WkeTempCallbackInfo ¶
type WkeTempCallbackInfo struct { Size int Frame WkeWebFrameHandle WillSendRequestInfo *WkeWillSendRequestInfo Url uintptr //const char* url; PostBody WkePostBodyElements Job WkeNetJob }
type WkeTitleChangedCallback ¶
type WkeTitleChangedCallback uintptr
typedef void(WKE_CALL_TYPE*wkeTitleChangedCallback)(wkeWebView webView, void* param, const wkeString title); typedef void(WKE_CALL_TYPE*wkeURLChangedCallback)(wkeWebView webView, void* param, const wkeString url); typedef void(WKE_CALL_TYPE*wkeURLChangedCallback2)(wkeWebView webView, void* param, wkeWebFrameHandle frameId, const wkeString url); typedef void(WKE_CALL_TYPE*wkePaintUpdatedCallback)(wkeWebView webView, void* param, const HDC hdc, int x, int y, int cx, int cy); typedef void(WKE_CALL_TYPE*wkePaintBitUpdatedCallback)(wkeWebView webView, void* param, const void* buffer, const wkeRect* r, int width, int height); typedef void(WKE_CALL_TYPE*wkeAlertBoxCallback)(wkeWebView webView, void* param, const wkeString msg); typedef bool(WKE_CALL_TYPE*wkeConfirmBoxCallback)(wkeWebView webView, void* param, const wkeString msg); typedef bool(WKE_CALL_TYPE*wkePromptBoxCallback)(wkeWebView webView, void* param, const wkeString msg, const wkeString defaultResult, wkeString result); typedef bool(WKE_CALL_TYPE*wkeNavigationCallback)(wkeWebView webView, void* param, wkeNavigationType navigationType, wkeString url); typedef wkeWebView(WKE_CALL_TYPE*wkeCreateViewCallback)(wkeWebView webView, void* param, wkeNavigationType navigationType, const wkeString url, const wkeWindowFeatures* windowFeatures); typedef void(WKE_CALL_TYPE*wkeDocumentReadyCallback)(wkeWebView webView, void* param); typedef void(WKE_CALL_TYPE*wkeDocumentReady2Callback)(wkeWebView webView, void* param, wkeWebFrameHandle frameId);
typedef void(WKE_CALL_TYPE*wkeOnShowDevtoolsCallback)(wkeWebView webView, void* param);
typedef void(WKE_CALL_TYPE*wkeNodeOnCreateProcessCallback)(wkeWebView webView, void* param, const WCHAR* applicationPath, const WCHAR* arguments, STARTUPINFOW* startup); typedef void(WKE_CALL_TYPE*wkeOnPluginFindCallback)(wkeWebView webView, void* param, const utf8* mime, void* initializeFunc, void* getEntryPointsFunc, void* shutdownFunc);
typedef void(WKE_CALL_TYPE*wkeOnPrintCallback)(wkeWebView webView, void* param, wkeWebFrameHandle frameId, void* printParams);
type WkeURLChangedCallback ¶
type WkeURLChangedCallback uintptr
type WkeURLChangedCallback2 ¶
type WkeURLChangedCallback2 uintptr
type WkeUiThreadPostTaskCallback ¶
type WkeUiThreadPostTaskCallback uintptr
typedef int(WKE_CALL_TYPE*wkeUiThreadPostTaskCallback)(HWND hWnd, wkeUiThreadRunCallback callback, void* param);
type WkeUiThreadRunCallback ¶
type WkeUiThreadRunCallback uintptr
typedef void(WKE_CALL_TYPE*wkeUiThreadRunCallback)(HWND hWnd, void* param);
type WkeUrlRequestCallbacks ¶
type WkeUrlRequestCallbacks struct { WillRedirectCallback WkeOnUrlRequestWillRedirectCallback DidReceiveResponseCallback WkeOnUrlRequestDidReceiveResponseCallback DidReceiveDataCallback WkeOnUrlRequestDidReceiveDataCallback DidFailCallback WkeOnUrlRequestDidFailCallback DidFinishLoadingCallback WkeOnUrlRequestDidFinishLoadingCallback }
type WkeViewSettings ¶
type WkeWebDragData ¶
type WkeWebDragOperation ¶
type WkeWebDragOperation int
type WkeWebDragOperationsMask ¶
type WkeWebDragOperationsMask WkeWebDragOperation
type WkeWebFrameHandle ¶
type WkeWebFrameHandle uintptr
type WkeWebUrlRequestPtr ¶
type WkeWebUrlRequestPtr uintptr
type WkeWebUrlResponsePtr ¶
type WkeWebUrlResponsePtr uintptr
type WkeWebView ¶
type WkeWebView uintptr
func (WkeWebView) AddDirtyArea ¶
func (w WkeWebView) AddDirtyArea(x, y, width, height int)
func (WkeWebView) CanGoBack ¶
func (w WkeWebView) CanGoBack() bool
func (WkeWebView) CanGoForward ¶
func (w WkeWebView) CanGoForward() bool
func (WkeWebView) ContentsHeight ¶
func (w WkeWebView) ContentsHeight() int
func (WkeWebView) ContentsWidth ¶
func (w WkeWebView) ContentsWidth() int
func (WkeWebView) EditorCopy ¶
func (w WkeWebView) EditorCopy()
func (WkeWebView) EditorCut ¶
func (w WkeWebView) EditorCut()
func (WkeWebView) EditorDelete ¶
func (w WkeWebView) EditorDelete()
func (WkeWebView) EditorPaste ¶
func (w WkeWebView) EditorPaste()
func (WkeWebView) EditorRedo ¶
func (w WkeWebView) EditorRedo()
func (WkeWebView) EditorSelectAll ¶
func (w WkeWebView) EditorSelectAll()
func (WkeWebView) EditorUnSelect ¶
func (w WkeWebView) EditorUnSelect()
func (WkeWebView) EditorUndo ¶
func (w WkeWebView) EditorUndo()
func (WkeWebView) FireContextMenuEvent ¶
func (w WkeWebView) FireContextMenuEvent(x, y int, flags uint) bool
func (WkeWebView) FireKeyDownEvent ¶
func (w WkeWebView) FireKeyDownEvent(virtualKeyCode, flags uint, systemKey bool) bool
func (WkeWebView) FireKeyPressEvent ¶
func (w WkeWebView) FireKeyPressEvent(virtualKeyCode, flags uint, systemKey bool) bool
func (WkeWebView) FireKeyUpEvent ¶
func (w WkeWebView) FireKeyUpEvent(virtualKeyCode, flags uint, systemKey bool) bool
func (WkeWebView) FireMouseEvent ¶
func (w WkeWebView) FireMouseEvent(message uint, x, y int, flags uint) bool
func (WkeWebView) FireMouseWheelEvent ¶
func (w WkeWebView) FireMouseWheelEvent(x, y, delta int, flags uint) bool
func (WkeWebView) GetClientHandler ¶
func (w WkeWebView) GetClientHandler() *WkeClientHandler
func (WkeWebView) GlobalExec ¶
func (w WkeWebView) GlobalExec() JsExecState
func (WkeWebView) GoBack ¶
func (w WkeWebView) GoBack()
func (WkeWebView) GoForward ¶
func (w WkeWebView) GoForward()
func (WkeWebView) Height ¶
func (w WkeWebView) Height() int
func (WkeWebView) IsAwake ¶
func (w WkeWebView) IsAwake() bool
func (WkeWebView) IsCookieEnabled ¶
func (w WkeWebView) IsCookieEnabled() bool
func (WkeWebView) IsDirty ¶
func (w WkeWebView) IsDirty() bool
func (WkeWebView) IsDocumentReady ¶
func (w WkeWebView) IsDocumentReady() bool
func (WkeWebView) IsLoading ¶
func (w WkeWebView) IsLoading() bool
func (WkeWebView) IsLoadingFailed ¶
func (w WkeWebView) IsLoadingFailed() bool
func (WkeWebView) IsLoadingSucceeded ¶
func (w WkeWebView) IsLoadingSucceeded() bool
func (WkeWebView) IsTransparent ¶
func (w WkeWebView) IsTransparent() bool
func (WkeWebView) KillFocus ¶
func (w WkeWebView) KillFocus()
func (WkeWebView) LayoutIfNeeded ¶
func (w WkeWebView) LayoutIfNeeded()
func (WkeWebView) LoadFile ¶
func (w WkeWebView) LoadFile(html string)
func (WkeWebView) LoadHTML ¶
func (w WkeWebView) LoadHTML(html string)
func (WkeWebView) LoadURL ¶
func (w WkeWebView) LoadURL(url string)
func (WkeWebView) MediaVolume ¶
func (w WkeWebView) MediaVolume() float32
func (WkeWebView) Name ¶
func (w WkeWebView) Name() string
func (WkeWebView) Paint ¶
func (w WkeWebView) Paint(bits uintptr, pitch int)
func (WkeWebView) Reload ¶
func (w WkeWebView) Reload()
func (WkeWebView) Resize ¶
func (w WkeWebView) Resize(width, height int)
func (WkeWebView) RunJS ¶
func (w WkeWebView) RunJS(script string) JsValue
func (WkeWebView) SetClientHandler ¶
func (w WkeWebView) SetClientHandler(handler *WkeClientHandler)
func (WkeWebView) SetCookieEnabled ¶
func (w WkeWebView) SetCookieEnabled(enable bool)
func (WkeWebView) SetDirty ¶
func (w WkeWebView) SetDirty(dirty bool)
func (WkeWebView) SetEditable ¶
func (w WkeWebView) SetEditable(editable bool)
func (WkeWebView) SetFocus ¶
func (w WkeWebView) SetFocus()
func (WkeWebView) SetMediaVolume ¶
func (w WkeWebView) SetMediaVolume(volume float32)
func (WkeWebView) SetName ¶
func (w WkeWebView) SetName(name string)
func (WkeWebView) SetTransparent ¶
func (w WkeWebView) SetTransparent(val bool)
func (WkeWebView) SetZoomFactor ¶
func (w WkeWebView) SetZoomFactor(factor float32)
func (WkeWebView) Sleep ¶
func (w WkeWebView) Sleep()
func (WkeWebView) StopLoading ¶
func (w WkeWebView) StopLoading()
func (WkeWebView) Title ¶
func (w WkeWebView) Title() string
func (WkeWebView) URL ¶
func (w WkeWebView) URL() string
func (WkeWebView) Wake ¶
func (w WkeWebView) Wake()
func (WkeWebView) Width ¶
func (w WkeWebView) Width() int
func (WkeWebView) ZoomFactor ¶
func (w WkeWebView) ZoomFactor() float32
type WkeWillMediaLoadCallback ¶
type WkeWillMediaLoadCallback uintptr
typedef void(WKE_CALL_TYPE*wkeWillMediaLoadCallback)(wkeWebView webView, void* param, const char* url, wkeMediaLoadInfo* info);
type WkeWillReleaseScriptContextCallback ¶
type WkeWillReleaseScriptContextCallback uintptr
typedef void(WKE_CALL_TYPE*wkeWillReleaseScriptContextCallback)(wkeWebView webView, void* param, wkeWebFrameHandle frameId, void* context, int worldId);
type WkeWillSendRequestInfo ¶
type WkeWindowClosingCallback ¶
type WkeWindowClosingCallback uintptr
typedef bool(WKE_CALL_TYPE*wkeWindowClosingCallback)(wkeWebView webWindow, void* param);
type WkeWindowCreateInfo ¶
type WkeWindowDestroyCallback ¶
type WkeWindowDestroyCallback uintptr
typedef void(WKE_CALL_TYPE*wkeWindowDestroyCallback)(wkeWebView webWindow, void* param);
type WkeWindowFeatures ¶
type WkeWindowType ¶
type WkeWindowType int