From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api1/pl.treksoft.kvision.electron/-tray/index.html | 277 +++++++++++++++++++++ 1 file changed, 277 insertions(+) create mode 100644 api1/pl.treksoft.kvision.electron/-tray/index.html (limited to 'api1/pl.treksoft.kvision.electron/-tray/index.html') diff --git a/api1/pl.treksoft.kvision.electron/-tray/index.html b/api1/pl.treksoft.kvision.electron/-tray/index.html new file mode 100644 index 00000000..cf66c5ee --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-tray/index.html @@ -0,0 +1,277 @@ + + + +Tray - kvision + + + +kvision / pl.treksoft.kvision.electron / Tray
+
+

Tray

+open external class Tray : EventEmitter +

Constructors

+ + + + + + + +
+

<init>

+
+Tray(image: String)
+Tray(image: NativeImage)
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

addListener

+
+open fun addListener(event: String, listener: Function<*>): Tray
+open fun addListener(event: String, listener: Function<*>): Tray
+open fun addListener(event: String, listener: Function<*>): Tray
+open fun addListener(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
+open fun addListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+open fun addListener(event: String, listener: Function<*>): Tray
+open fun addListener(event: String, listener: Function<*>): Tray
+open fun addListener(event: String, listener: Function<*>): Tray
+open fun addListener(event: String, listener: Function<*>): Tray
+open fun addListener(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
+open fun addListener(event: String, listener: (event: Event, text: String) -> Unit): Tray
+open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun addListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+

destroy

+
+open fun destroy(): Unit
+

displayBalloon

+
+open fun displayBalloon(options: DisplayBalloonOptions): Unit
+

getBounds

+
+open fun getBounds(): Rectangle
+

isDestroyed

+
+open fun isDestroyed(): Boolean
+

on

+
+open fun on(event: String, listener: Function<*>): Tray
+open fun on(event: String, listener: Function<*>): Tray
+open fun on(event: String, listener: Function<*>): Tray
+open fun on(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
+open fun on(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+open fun on(event: String, listener: Function<*>): Tray
+open fun on(event: String, listener: Function<*>): Tray
+open fun on(event: String, listener: Function<*>): Tray
+open fun on(event: String, listener: Function<*>): Tray
+open fun on(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
+open fun on(event: String, listener: (event: Event, text: String) -> Unit): Tray
+open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun on(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+

once

+
+open fun once(event: String, listener: Function<*>): Tray
+open fun once(event: String, listener: Function<*>): Tray
+open fun once(event: String, listener: Function<*>): Tray
+open fun once(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
+open fun once(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+open fun once(event: String, listener: Function<*>): Tray
+open fun once(event: String, listener: Function<*>): Tray
+open fun once(event: String, listener: Function<*>): Tray
+open fun once(event: String, listener: Function<*>): Tray
+open fun once(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
+open fun once(event: String, listener: (event: Event, text: String) -> Unit): Tray
+open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun once(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+

popUpContextMenu

+
+open fun popUpContextMenu(menu: Menu? = definedExternally, position: Point? = definedExternally): Unit
+

removeListener

+
+open fun removeListener(event: String, listener: Function<*>): Tray
+open fun removeListener(event: String, listener: Function<*>): Tray
+open fun removeListener(event: String, listener: Function<*>): Tray
+open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
+open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+open fun removeListener(event: String, listener: Function<*>): Tray
+open fun removeListener(event: String, listener: Function<*>): Tray
+open fun removeListener(event: String, listener: Function<*>): Tray
+open fun removeListener(event: String, listener: Function<*>): Tray
+open fun removeListener(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
+open fun removeListener(event: String, listener: (event: Event, text: String) -> Unit): Tray
+open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
+open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
+

setContextMenu

+
+open fun setContextMenu(menu: Menu): Unit
+

setHighlightMode

+
+open fun setHighlightMode(mode: String): Unit
+open fun setHighlightMode(mode: String): Unit
+open fun setHighlightMode(mode: String): Unit
+

setImage

+
+open fun setImage(image: String): Unit
+open fun setImage(image: NativeImage): Unit
+

setPressedImage

+
+open fun setPressedImage(image: NativeImage): Unit
+

setTitle

+
+open fun setTitle(title: String): Unit
+

setToolTip

+
+open fun setToolTip(toolTip: String): Unit
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

emit

+
+open fun emit(event: String, vararg args: Any): Boolean
+

eventNames

+
+open fun eventNames(): Array<String>
+

getMaxListeners

+
+open fun getMaxListeners(): Number
+

listenerCount

+
+open fun listenerCount(type: String): Number
+

listeners

+
+open fun listeners(event: String): Array<Function<*>>
+

prependListener

+
+open fun prependListener(event: String, listener: Function<*>): EventEmitter
+

prependOnceListener

+
+open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter
+

removeAllListeners

+
+open fun removeAllListeners(event: String? = definedExternally): EventEmitter
+

setMaxListeners

+
+open fun setMaxListeners(n: Number): EventEmitter
+

Extension Functions

+ + + + + + + +
+

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + -- cgit