aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.core/-widget/set-context-menu.html
blob: ac6afcfba2548f4d1ab5bfd6e9d3f1d04ea32941 (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.setContextMenu - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.core</a>&nbsp;/&nbsp;<a href="index.html">Widget</a>&nbsp;/&nbsp;<a href="./set-context-menu.html">setContextMenu</a><br/>
<br/>
<h1>setContextMenu</h1>
<a name="pl.treksoft.kvision.core.Widget$setContextMenu(pl.treksoft.kvision.dropdown.ContextMenu)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setContextMenu(pl.treksoft.kvision.dropdown.ContextMenu)/contextMenu">contextMenu</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="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>