(js)
|
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: (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 |
(js)
|
open fun destroy(): Unit |
(js)
|
open fun displayBalloon(options: DisplayBalloonOptions): Unit |
(js)
|
open fun getBounds(): Rectangle |
(js)
|
open fun isDestroyed(): Boolean |
(js)
|
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: (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 |
(js)
|
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: (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 |
(js)
|
open fun popUpContextMenu(: Menu? = definedExternally, : Point? = definedExternally): Unit |
(js)
|
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: (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 |
(js)
|
open fun setContextMenu(: Menu): Unit |
(js)
|
open fun setHighlightMode(mode: String): Unit |
(js)
|
open fun setImage(image: String): Unit
open fun setImage(image: NativeImage): Unit |
(js)
|
open fun setPressedImage(image: NativeImage): Unit |
(js)
|
open fun setTitle(title: String): Unit |
(js)
|
open fun setToolTip(toolTip: String): Unit |