summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.panel/-simple-panel/add.html
blob: 09267d3f582b3d0973a90ab2d1535c2e0a61d6e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SimplePanel.add - 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.panel</a>&nbsp;/&nbsp;<a href="index.html">SimplePanel</a>&nbsp;/&nbsp;<a href="./add.html">add</a><br/>
<br/>
<h1>add</h1>
<a name="pl.treksoft.kvision.panel.SimplePanel$add(pl.treksoft.kvision.core.Component)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Overrides <a href="../../pl.treksoft.kvision.core/-container/add.html">Container.add</a></p>
<p>Adds given component to the current container.</p>
<h3>Parameters</h3>
<p><a name="child"></a>
<code>child</code> - child component</p>
<p><strong>Return</strong><br/>
current container</p>
</BODY>
</HTML>