1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Tray.on - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Tray</a> / <a href="./on.html">on</a><br/>
<br/>
<h1>on</h1>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, pl.treksoft.kvision.electron.Point, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function3((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">bounds</span><span class="symbol">:</span> <a href="../-rectangle/index.html"><span class="identifier">Rectangle</span></a><span class="symbol">,</span> <span class="identifier">position</span><span class="symbol">:</span> <a href="../-point/index.html"><span class="identifier">Point</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">bounds</span><span class="symbol">:</span> <a href="../-rectangle/index.html"><span class="identifier">Rectangle</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code>
<p>Overrides <a href="../-event-emitter/on.html">EventEmitter.on</a></p>
<br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Array((kotlin.String)), kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Array((kotlin.String)), kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.Array((kotlin.String)), kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">files</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, kotlin.String, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">text</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">position</span><span class="symbol">:</span> <a href="../-point/index.html"><span class="identifier">Point</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">position</span><span class="symbol">:</span> <a href="../-point/index.html"><span class="identifier">Point</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Point, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">position</span><span class="symbol">:</span> <a href="../-point/index.html"><span class="identifier">Point</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code><br/>
<a name="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, kotlin.Unit)))"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, kotlin.Unit)))/event">event</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Tray$on(kotlin.String, kotlin.Function2((pl.treksoft.kvision.electron.Event, pl.treksoft.kvision.electron.Rectangle, kotlin.Unit)))/listener">listener</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">event</span><span class="symbol">:</span> <a href="../-event/index.html"><span class="identifier">Event</span></a><span class="symbol">,</span> <span class="identifier">bounds</span><span class="symbol">:</span> <a href="../-rectangle/index.html"><span class="identifier">Rectangle</span></a><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Tray</span></a></code>
</BODY>
</HTML>
|