Index
Modules:
crowngui
,
crownguipkg/webview
.
API symbols
Application:
crowngui: Application
ApplicationRef:
crowngui: ApplicationRef
bindProc:
webview: bindProc[P, R](w: Webview; scope, name: string; p: (proc (param: P): R))
webview: bindProc[P](w: Webview; scope, name: string; p: proc (arg: P))
bindProcNoArg:
webview: bindProcNoArg(w: Webview; scope, name: string; p: proc ())
bindProcs:
webview: bindProcs(w: Webview; scope: string; n: untyped): untyped
css:
webview: css(w: Webview; css: cstring): cint
dataUriHtmlHeader:
webview: dataUriHtmlHeader
dialogOpen:
webview: dialogOpen(w: Webview; title = ""): string
dialogOpenDir:
webview: dialogOpenDir(w: Webview; title = ""): string
dialogSave:
webview: dialogSave(w: Webview; title = ""): string
dispatch:
webview: dispatch(w: Webview; fn: DispatchFn)
DispatchFn:
webview: DispatchFn
error:
webview: error(w: Webview; title, msg: string)
exit:
webview: exit(w: Webview)
ExternalInvokeCb:
webview: ExternalInvokeCb
externalInvokeCB=:
webview: externalInvokeCB=(w: Webview; callback: ExternalInvokeCb)
fileLocalHeader:
webview: fileLocalHeader
info:
webview: info(w: Webview; title, msg: string)
js:
webview: js(w: Webview; javascript: cstring): cint
jsDebug:
webview: jsDebug(format: cstring)
jsLog:
webview: jsLog(s: cstring)
msg:
webview: msg(w: Webview; title, msg: string)
newApplication:
crowngui: newApplication(entry: static[string]): ApplicationRef
newWebView:
webview: newWebView(path: static[string] = ""; title = ""; width: Positive = 1000; height: Positive = 700; resizable: static[bool] = true; debug: static[bool] = not false; callback: ExternalInvokeCb = nil; skipTaskbar: static[bool] = false; windowBorders: static[bool] = true; focus: static[bool] = false; keepOnTop: static[bool] = false; minimized: static[bool] = false; cssPath: static[string] = ""; trayIcon: static[cstring] = ""; fullscreen: static[bool] = false): Webview
run:
webview: run(w: Webview)
webview: run(w: Webview; quitProc: proc () {.noconv.}; controlCProc: proc () {.noconv.}; autoClose: static[bool] = true)
setBorderless:
webview: setBorderless(w: Webview; decorated: bool)
setClipboard:
webview: setClipboard(w: Webview; text: cstring)
setColor:
webview: setColor(w: Webview; red, green, blue, alpha: uint8)
setFocus:
webview: setFocus(w: Webview)
setFullscreen:
webview: setFullscreen(w: Webview; fullscreen: bool)
setIconify:
webview: setIconify(w: Webview; mustBeIconified: bool)
setOnTop:
webview: setOnTop(w: Webview; mustBeOnTop: bool)
setSize:
webview: setSize(w: Webview; width: Positive; height: Positive)
setSkipTaskbar:
webview: setSkipTaskbar(w: Webview; hint: bool)
setTitle:
webview: setTitle(w: Webview; title: cstring)
setTrayIcon:
webview: setTrayIcon(w: Webview; path, tooltip: cstring; visible = true)
setUrl:
webview: setUrl(w: Webview; url: cstring)
warn:
webview: warn(w: Webview; title, msg: string)
Webview:
webview: Webview
WebviewObj:
webview: WebviewObj