From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-app/add-listener.html | 3 +- .../-app/add-recent-document.html | 2 +- .../-app/clear-recent-documents.html | 2 +- .../-app/command-line.html | 2 +- .../disable-domain-blocking-for3-d-a-p-is.html | 2 +- .../-app/disable-hardware-acceleration.html | 2 +- api/pl.treksoft.kvision.electron/-app/dock.html | 2 +- .../-app/enable-mixed-sandbox.html | 2 +- api/pl.treksoft.kvision.electron/-app/exit.html | 2 +- api/pl.treksoft.kvision.electron/-app/focus.html | 2 +- .../-app/get-app-metrics.html | 2 +- .../-app/get-app-path.html | 2 +- .../-app/get-badge-count.html | 2 +- .../-app/get-current-activity-type.html | 2 +- .../-app/get-file-icon.html | 8 +- .../-app/get-g-p-u-feature-status.html | 2 +- .../-app/get-jump-list-settings.html | 2 +- .../-app/get-locale.html | 2 +- .../-app/get-login-item-settings.html | 2 +- .../-app/get-name.html | 2 +- .../-app/get-path.html | 2 +- .../-app/get-version.html | 2 +- api/pl.treksoft.kvision.electron/-app/hide.html | 2 +- .../-app/import-certificate.html | 2 +- api/pl.treksoft.kvision.electron/-app/index.html | 275 ++++++++------------- .../-app/invalidate-current-activity.html | 2 +- .../-app/is-accessibility-support-enabled.html | 2 +- .../-app/is-default-protocol-client.html | 2 +- .../-app/is-in-applications-folder.html | 2 +- .../-app/is-ready.html | 2 +- .../-app/is-unity-running.html | 2 +- .../-app/make-single-instance.html | 2 +- .../-app/move-to-applications-folder.html | 2 +- api/pl.treksoft.kvision.electron/-app/on.html | 3 +- api/pl.treksoft.kvision.electron/-app/once.html | 3 +- api/pl.treksoft.kvision.electron/-app/quit.html | 2 +- .../-app/relaunch.html | 2 +- .../-app/release-single-instance.html | 2 +- .../-app/remove-as-default-protocol-client.html | 2 +- .../-app/remove-listener.html | 3 +- .../-app/set-about-panel-options.html | 2 +- .../-app/set-accessibility-support-enabled.html | 2 +- .../-app/set-app-user-model-id.html | 2 +- .../-app/set-as-default-protocol-client.html | 2 +- .../-app/set-badge-count.html | 2 +- .../-app/set-jump-list.html | 2 +- .../-app/set-login-item-settings.html | 2 +- .../-app/set-name.html | 2 +- .../-app/set-path.html | 2 +- .../-app/set-user-activity.html | 2 +- .../-app/set-user-tasks.html | 2 +- api/pl.treksoft.kvision.electron/-app/show.html | 2 +- .../start-accessing-security-scoped-resource.html | 2 +- .../-app/update-current-activity.html | 2 +- 54 files changed, 165 insertions(+), 226 deletions(-) (limited to 'api/pl.treksoft.kvision.electron/-app') diff --git a/api/pl.treksoft.kvision.electron/-app/add-listener.html b/api/pl.treksoft.kvision.electron/-app/add-listener.html index 94ae3431..1cef89e6 100644 --- a/api/pl.treksoft.kvision.electron/-app/add-listener.html +++ b/api/pl.treksoft.kvision.electron/-app/add-listener.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / addListener

addListener

- +(js) abstract fun addListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
@@ -56,6 +56,5 @@ abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: Function<*>): App -

Overrides EventEmitter.addListener

diff --git a/api/pl.treksoft.kvision.electron/-app/add-recent-document.html b/api/pl.treksoft.kvision.electron/-app/add-recent-document.html index 0061e203..f836626f 100644 --- a/api/pl.treksoft.kvision.electron/-app/add-recent-document.html +++ b/api/pl.treksoft.kvision.electron/-app/add-recent-document.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / addRecentDocument

addRecentDocument

- +(js) abstract fun addRecentDocument(path: String): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/clear-recent-documents.html b/api/pl.treksoft.kvision.electron/-app/clear-recent-documents.html index 6457d3a5..767b3149 100644 --- a/api/pl.treksoft.kvision.electron/-app/clear-recent-documents.html +++ b/api/pl.treksoft.kvision.electron/-app/clear-recent-documents.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / clearRecentDocuments

clearRecentDocuments

- +(js) abstract fun clearRecentDocuments(): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/command-line.html b/api/pl.treksoft.kvision.electron/-app/command-line.html index e4d76e4e..01079e8e 100644 --- a/api/pl.treksoft.kvision.electron/-app/command-line.html +++ b/api/pl.treksoft.kvision.electron/-app/command-line.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / commandLine

commandLine

- +(js) abstract var commandLine: CommandLine diff --git a/api/pl.treksoft.kvision.electron/-app/disable-domain-blocking-for3-d-a-p-is.html b/api/pl.treksoft.kvision.electron/-app/disable-domain-blocking-for3-d-a-p-is.html index 76f2973d..8af34fc6 100644 --- a/api/pl.treksoft.kvision.electron/-app/disable-domain-blocking-for3-d-a-p-is.html +++ b/api/pl.treksoft.kvision.electron/-app/disable-domain-blocking-for3-d-a-p-is.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / disableDomainBlockingFor3DAPIs

disableDomainBlockingFor3DAPIs

- +(js) abstract fun disableDomainBlockingFor3DAPIs(): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/disable-hardware-acceleration.html b/api/pl.treksoft.kvision.electron/-app/disable-hardware-acceleration.html index 6468b453..1018fe57 100644 --- a/api/pl.treksoft.kvision.electron/-app/disable-hardware-acceleration.html +++ b/api/pl.treksoft.kvision.electron/-app/disable-hardware-acceleration.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / disableHardwareAcceleration

disableHardwareAcceleration

- +(js) abstract fun disableHardwareAcceleration(): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/dock.html b/api/pl.treksoft.kvision.electron/-app/dock.html index 9353d3ba..0109dbd1 100644 --- a/api/pl.treksoft.kvision.electron/-app/dock.html +++ b/api/pl.treksoft.kvision.electron/-app/dock.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / dock

dock

- +(js) abstract var dock: Dock diff --git a/api/pl.treksoft.kvision.electron/-app/enable-mixed-sandbox.html b/api/pl.treksoft.kvision.electron/-app/enable-mixed-sandbox.html index b16cfa14..cda4407c 100644 --- a/api/pl.treksoft.kvision.electron/-app/enable-mixed-sandbox.html +++ b/api/pl.treksoft.kvision.electron/-app/enable-mixed-sandbox.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / enableMixedSandbox

enableMixedSandbox

- +(js) abstract fun enableMixedSandbox(): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/exit.html b/api/pl.treksoft.kvision.electron/-app/exit.html index afe86da9..38faeda0 100644 --- a/api/pl.treksoft.kvision.electron/-app/exit.html +++ b/api/pl.treksoft.kvision.electron/-app/exit.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / exit

exit

- +(js) abstract fun exit(exitCode: Number? = definedExternally): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/focus.html b/api/pl.treksoft.kvision.electron/-app/focus.html index 46b4053b..99bfb642 100644 --- a/api/pl.treksoft.kvision.electron/-app/focus.html +++ b/api/pl.treksoft.kvision.electron/-app/focus.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / focus

focus

- +(js) abstract fun focus(): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/get-app-metrics.html b/api/pl.treksoft.kvision.electron/-app/get-app-metrics.html index 879fe376..678fa9ac 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-app-metrics.html +++ b/api/pl.treksoft.kvision.electron/-app/get-app-metrics.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getAppMetrics

getAppMetrics

- +(js) abstract fun getAppMetrics(): Array<ProcessMetric> diff --git a/api/pl.treksoft.kvision.electron/-app/get-app-path.html b/api/pl.treksoft.kvision.electron/-app/get-app-path.html index 9c929199..c33ffffb 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-app-path.html +++ b/api/pl.treksoft.kvision.electron/-app/get-app-path.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getAppPath

getAppPath

- +(js) abstract fun getAppPath(): String diff --git a/api/pl.treksoft.kvision.electron/-app/get-badge-count.html b/api/pl.treksoft.kvision.electron/-app/get-badge-count.html index 12a98f98..aec5c8ee 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-badge-count.html +++ b/api/pl.treksoft.kvision.electron/-app/get-badge-count.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getBadgeCount

getBadgeCount

- +(js) abstract fun getBadgeCount(): Number diff --git a/api/pl.treksoft.kvision.electron/-app/get-current-activity-type.html b/api/pl.treksoft.kvision.electron/-app/get-current-activity-type.html index 1e0e8f33..6a5d4733 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-current-activity-type.html +++ b/api/pl.treksoft.kvision.electron/-app/get-current-activity-type.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getCurrentActivityType

getCurrentActivityType

- +(js) abstract fun getCurrentActivityType(): String diff --git a/api/pl.treksoft.kvision.electron/-app/get-file-icon.html b/api/pl.treksoft.kvision.electron/-app/get-file-icon.html index 59285aae..c276bf61 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-file-icon.html +++ b/api/pl.treksoft.kvision.electron/-app/get-file-icon.html @@ -8,9 +8,9 @@ kvision / pl.treksoft.kvision.electron / App / getFileIcon

getFileIcon

- -abstract fun getFileIcon(path: String, callback: (Error, icon: NativeImage) -> Unit): Unit
- -abstract fun getFileIcon(path: String, options: FileIconOptions, callback: (Error, icon: NativeImage) -> Unit): Unit +(js) +abstract fun getFileIcon(path: String, callback: (error: Error, icon: NativeImage) -> Unit): Unit
+ +abstract fun getFileIcon(path: String, options: FileIconOptions, callback: (error: Error, icon: NativeImage) -> Unit): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/get-g-p-u-feature-status.html b/api/pl.treksoft.kvision.electron/-app/get-g-p-u-feature-status.html index 797e3a61..86e04b9f 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-g-p-u-feature-status.html +++ b/api/pl.treksoft.kvision.electron/-app/get-g-p-u-feature-status.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getGPUFeatureStatus

getGPUFeatureStatus

- +(js) abstract fun getGPUFeatureStatus(): GPUFeatureStatus diff --git a/api/pl.treksoft.kvision.electron/-app/get-jump-list-settings.html b/api/pl.treksoft.kvision.electron/-app/get-jump-list-settings.html index 47ab7bc1..2b4f72a5 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-jump-list-settings.html +++ b/api/pl.treksoft.kvision.electron/-app/get-jump-list-settings.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getJumpListSettings

getJumpListSettings

- +(js) abstract fun getJumpListSettings(): JumpListSettings diff --git a/api/pl.treksoft.kvision.electron/-app/get-locale.html b/api/pl.treksoft.kvision.electron/-app/get-locale.html index 8f514856..af5a1c5f 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-locale.html +++ b/api/pl.treksoft.kvision.electron/-app/get-locale.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getLocale

getLocale

- +(js) abstract fun getLocale(): String diff --git a/api/pl.treksoft.kvision.electron/-app/get-login-item-settings.html b/api/pl.treksoft.kvision.electron/-app/get-login-item-settings.html index 0a7c54f3..e3f6be2d 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-login-item-settings.html +++ b/api/pl.treksoft.kvision.electron/-app/get-login-item-settings.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getLoginItemSettings

getLoginItemSettings

- +(js) abstract fun getLoginItemSettings(options: LoginItemSettingsOptions? = definedExternally): LoginItemSettings diff --git a/api/pl.treksoft.kvision.electron/-app/get-name.html b/api/pl.treksoft.kvision.electron/-app/get-name.html index 119d54a6..562bed6e 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-name.html +++ b/api/pl.treksoft.kvision.electron/-app/get-name.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getName

getName

- +(js) abstract fun getName(): String diff --git a/api/pl.treksoft.kvision.electron/-app/get-path.html b/api/pl.treksoft.kvision.electron/-app/get-path.html index 44651a95..6f796916 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-path.html +++ b/api/pl.treksoft.kvision.electron/-app/get-path.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getPath

getPath

- +(js) abstract fun getPath(name: String): String diff --git a/api/pl.treksoft.kvision.electron/-app/get-version.html b/api/pl.treksoft.kvision.electron/-app/get-version.html index 54c79e9f..fbf9f8e2 100644 --- a/api/pl.treksoft.kvision.electron/-app/get-version.html +++ b/api/pl.treksoft.kvision.electron/-app/get-version.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / getVersion

getVersion

- +(js) abstract fun getVersion(): String diff --git a/api/pl.treksoft.kvision.electron/-app/hide.html b/api/pl.treksoft.kvision.electron/-app/hide.html index 09b71bc3..b4f29eb3 100644 --- a/api/pl.treksoft.kvision.electron/-app/hide.html +++ b/api/pl.treksoft.kvision.electron/-app/hide.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / hide

hide

- +(js) abstract fun hide(): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/import-certificate.html b/api/pl.treksoft.kvision.electron/-app/import-certificate.html index 18e5e093..8595b338 100644 --- a/api/pl.treksoft.kvision.electron/-app/import-certificate.html +++ b/api/pl.treksoft.kvision.electron/-app/import-certificate.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.electron / App / importCertificate

importCertificate

- +(js) abstract fun importCertificate(options: ImportCertificateOptions, callback: (result: Number) -> Unit): Unit diff --git a/api/pl.treksoft.kvision.electron/-app/index.html b/api/pl.treksoft.kvision.electron/-app/index.html index f82cce9a..bca5f428 100644 --- a/api/pl.treksoft.kvision.electron/-app/index.html +++ b/api/pl.treksoft.kvision.electron/-app/index.html @@ -8,20 +8,22 @@ kvision / pl.treksoft.kvision.electron / App

App

-external interface App : EventEmitter +(js) interface App : EventEmitter

Properties

@@ -33,7 +35,8 @@
-

commandLine

+(js) +

commandLine

abstract var commandLine: CommandLine
-

dock

+(js) +

dock

abstract var dock: Dock
-

addListener

+(js) +

addListener

abstract fun addListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
@@ -41,233 +44,256 @@ abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
-abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
-abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
-abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo,