blob: 13a237a3b59f7aed643fdcc6df2d1c2810f56aee (
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>setContextMenu - kvision</title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">kvision</a> / <a href="index.html">pl.treksoft.kvision.dropdown</a> / <a href="./set-context-menu.html">setContextMenu</a><br/>
<br/>
<h1>setContextMenu</h1>
<a name="pl.treksoft.kvision.dropdown$setContextMenu(pl.treksoft.kvision.core.Widget, pl.treksoft.kvision.dropdown.ContextMenu)"></a>
<code><span class="keyword">fun </span><a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">.</span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.dropdown$setContextMenu(pl.treksoft.kvision.core.Widget, pl.treksoft.kvision.dropdown.ContextMenu)/contextMenu">contextMenu</span><span class="symbol">:</span> <a href="-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Sets context menu for the current widget.</p>
<h3>Parameters</h3>
<p><a name="contextMenu"></a>
<code>contextMenu</code> - a context menu</p>
<p><strong>Return</strong><br/>
current widget</p>
</BODY>
</HTML>
|