<HTML> <HEAD> <meta charset="UTF-8"> <title>Modal.addButton - kvision</title> <link rel="stylesheet" href="../../../style.css"> </HEAD> <BODY> <a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.modal</a> / <a href="index.html">Modal</a> / <a href="./add-button.html">addButton</a><br/> <br/> <h1>addButton</h1> <a name="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)"></a> <code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addButton</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Modal$addButton(pl.treksoft.kvision.html.Button)/button">button</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.html/-button/index.html"><span class="identifier">Button</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Modal</span></a></code> <p>Adds given button to the bottom section of dialog window.</p> <h3>Parameters</h3> <p><a name="button"></a> <code>button</code> - a <a href="../../pl.treksoft.kvision.html/-button/index.html">Button</a> component</p> <p><strong>Return</strong><br/> this modal</p> </BODY> </HTML>