blob: f3a125fce7fba4c909bd7649c1ca0b2da8877155 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Widget.setDragDropData - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.core</a> / <a href="index.html">Widget</a> / <a href="./set-drag-drop-data.html">setDragDropData</a><br/>
<br/>
<h1>setDragDropData</h1>
<a name="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setDragDropData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setDragDropData(kotlin.String, kotlin.String)/format">format</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.core.Widget$setDragDropData(kotlin.String, kotlin.String)/data">data</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></code>
<p>Sets D&D data for the current widget. It also makes it draggable.</p>
<h3>Parameters</h3>
<p><a name="format"></a>
<code>format</code> - D&D data format</p>
<p><a name="data"></a>
<code>data</code> - D&D data transferred to a drop target</p>
</BODY>
</HTML>
|