diff options
Diffstat (limited to 'api/pl.treksoft.kvision.electron/-dialog')
6 files changed, 248 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.electron/-dialog/index.html b/api/pl.treksoft.kvision.electron/-dialog/index.html new file mode 100644 index 00000000..2380c1b4 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-dialog/index.html @@ -0,0 +1,168 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="./index.html">Dialog</a><br/> +<br/> +<h1>Dialog</h1> +<code><span class="keyword">external</span> <span class="keyword">interface </span><span class="identifier">Dialog</span> <span class="symbol">:</span> <a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="show-certificate-trust-dialog.html">showCertificateTrustDialog</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showCertificateTrustDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-certificate-trust-dialog-options/index.html"><span class="identifier">CertificateTrustDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/callback">callback</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><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><br/> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showCertificateTrustDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-certificate-trust-dialog-options/index.html"><span class="identifier">CertificateTrustDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/callback">callback</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><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><br/> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showCertificateTrustDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-certificate-trust-dialog-options/index.html"><span class="identifier">CertificateTrustDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/callback">callback</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><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></td> +</tr> +<tr> +<td> +<p><a href="show-error-box.html">showErrorBox</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showErrorBox</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showErrorBox(kotlin.String, kotlin.String)/title">title</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.electron.Dialog$showErrorBox(kotlin.String, kotlin.String)/content">content</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></td> +</tr> +<tr> +<td> +<p><a href="show-message-box.html">showMessageBox</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showMessageBox</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-message-box-options/index.html"><span class="identifier">MessageBoxOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">response</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span> <span class="identifier">checkboxChecked</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code><br/> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showMessageBox</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-message-box-options/index.html"><span class="identifier">MessageBoxOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">response</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span> <span class="identifier">checkboxChecked</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="show-open-dialog.html">showOpenDialog</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showOpenDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-open-dialog-options/index.html"><span class="identifier">OpenDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePaths</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="identifier">bookmarks</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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></code><br/> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showOpenDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-open-dialog-options/index.html"><span class="identifier">OpenDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePaths</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="identifier">bookmarks</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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></code></td> +</tr> +<tr> +<td> +<p><a href="show-save-dialog.html">showSaveDialog</a></p> +</td> +<td> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showSaveDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-save-dialog-options/index.html"><span class="identifier">SaveDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filename</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">bookmark</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code><br/> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showSaveDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-save-dialog-options/index.html"><span class="identifier">SaveDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filename</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">bookmark</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code></td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-event-emitter/add-listener.html">addListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$addListener(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</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.electron.EventEmitter$addListener(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/emit.html">emit</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">emit</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$emit(kotlin.String, kotlin.Array((kotlin.Any)))/event">event</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="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$emit(kotlin.String, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/event-names.html">eventNames</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">eventNames</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/get-max-listeners.html">getMaxListeners</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getMaxListeners</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/listener-count.html">listenerCount</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">listenerCount</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$listenerCount(kotlin.String)/type">type</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/-number/index.html"><span class="identifier">Number</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/listeners.html">listeners</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">listeners</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$listeners(kotlin.String)/event">event</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/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/on.html">on</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">on</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$on(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</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.electron.EventEmitter$on(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/once.html">once</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">once</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$once(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</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.electron.EventEmitter$once(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/prepend-listener.html">prependListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">prependListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$prependListener(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</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.electron.EventEmitter$prependListener(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/prepend-once-listener.html">prependOnceListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">prependOnceListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$prependOnceListener(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</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.electron.EventEmitter$prependOnceListener(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/remove-all-listeners.html">removeAllListeners</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAllListeners</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$removeAllListeners(kotlin.String)/event">event</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> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/remove-listener.html">removeListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$removeListener(kotlin.String, kotlin.Function((kotlin.Any)))/event">event</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.electron.EventEmitter$removeListener(kotlin.String, kotlin.Function((kotlin.Any)))/listener">listener</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +<tr> +<td> +<p><a href="../-event-emitter/set-max-listeners.html">setMaxListeners</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setMaxListeners</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.EventEmitter$setMaxListeners(kotlin.Number)/n">n</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../-event-emitter/index.html"><span class="identifier">EventEmitter</span></a></code></td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.electron/-dialog/show-certificate-trust-dialog.html b/api/pl.treksoft.kvision.electron/-dialog/show-certificate-trust-dialog.html new file mode 100644 index 00000000..98edda70 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-dialog/show-certificate-trust-dialog.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.showCertificateTrustDialog - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Dialog</a> / <a href="./show-certificate-trust-dialog.html">showCertificateTrustDialog</a><br/> +<br/> +<h1>showCertificateTrustDialog</h1> +<a name="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showCertificateTrustDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-certificate-trust-dialog-options/index.html"><span class="identifier">CertificateTrustDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/callback">callback</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><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><br/> +<a name="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showCertificateTrustDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-certificate-trust-dialog-options/index.html"><span class="identifier">CertificateTrustDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/callback">callback</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><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><br/> +<a name="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showCertificateTrustDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/options">options</span><span class="symbol">:</span> <a href="../-certificate-trust-dialog-options/index.html"><span class="identifier">CertificateTrustDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showCertificateTrustDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.CertificateTrustDialogOptions, kotlin.Function((kotlin.Any)))/callback">callback</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-function/index.html"><span class="identifier">Function</span></a><span class="symbol"><</span><span class="identifier">*</span><span class="symbol">></span><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> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.electron/-dialog/show-error-box.html b/api/pl.treksoft.kvision.electron/-dialog/show-error-box.html new file mode 100644 index 00000000..f727cd8b --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-dialog/show-error-box.html @@ -0,0 +1,14 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.showErrorBox - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Dialog</a> / <a href="./show-error-box.html">showErrorBox</a><br/> +<br/> +<h1>showErrorBox</h1> +<a name="pl.treksoft.kvision.electron.Dialog$showErrorBox(kotlin.String, kotlin.String)"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showErrorBox</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showErrorBox(kotlin.String, kotlin.String)/title">title</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.electron.Dialog$showErrorBox(kotlin.String, kotlin.String)/content">content</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> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.electron/-dialog/show-message-box.html b/api/pl.treksoft.kvision.electron/-dialog/show-message-box.html new file mode 100644 index 00000000..3b4924fe --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-dialog/show-message-box.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.showMessageBox - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Dialog</a> / <a href="./show-message-box.html">showMessageBox</a><br/> +<br/> +<h1>showMessageBox</h1> +<a name="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showMessageBox</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-message-box-options/index.html"><span class="identifier">MessageBoxOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">response</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span> <span class="identifier">checkboxChecked</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code><br/> +<a name="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showMessageBox</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-message-box-options/index.html"><span class="identifier">MessageBoxOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showMessageBox(pl.treksoft.kvision.electron.MessageBoxOptions, kotlin.Function2((kotlin.Number, kotlin.Boolean, kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">response</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">,</span> <span class="identifier">checkboxChecked</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.electron/-dialog/show-open-dialog.html b/api/pl.treksoft.kvision.electron/-dialog/show-open-dialog.html new file mode 100644 index 00000000..ebd787fc --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-dialog/show-open-dialog.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.showOpenDialog - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Dialog</a> / <a href="./show-open-dialog.html">showOpenDialog</a><br/> +<br/> +<h1>showOpenDialog</h1> +<a name="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showOpenDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-open-dialog-options/index.html"><span class="identifier">OpenDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePaths</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="identifier">bookmarks</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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></code><br/> +<a name="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showOpenDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-open-dialog-options/index.html"><span class="identifier">OpenDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showOpenDialog(pl.treksoft.kvision.electron.OpenDialogOptions, kotlin.Function2((kotlin.Array((kotlin.String)), , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filePaths</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="identifier">bookmarks</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><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></code> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.electron/-dialog/show-save-dialog.html b/api/pl.treksoft.kvision.electron/-dialog/show-save-dialog.html new file mode 100644 index 00000000..4a90b78e --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-dialog/show-save-dialog.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Dialog.showSaveDialog - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.electron</a> / <a href="index.html">Dialog</a> / <a href="./show-save-dialog.html">showSaveDialog</a><br/> +<br/> +<h1>showSaveDialog</h1> +<a name="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showSaveDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/browserWindow">browserWindow</span><span class="symbol">:</span> <a href="../-browser-window/index.html"><span class="identifier">BrowserWindow</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-save-dialog-options/index.html"><span class="identifier">SaveDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.BrowserWindow, pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filename</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">bookmark</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code><br/> +<a name="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))"></a> +<code><span class="keyword">abstract</span> <span class="keyword">fun </span><span class="identifier">showSaveDialog</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/options">options</span><span class="symbol">:</span> <a href="../-save-dialog-options/index.html"><span class="identifier">SaveDialogOptions</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.electron.Dialog$showSaveDialog(pl.treksoft.kvision.electron.SaveDialogOptions, kotlin.Function2((kotlin.String, , kotlin.Unit)))/callback">callback</span><span class="symbol">:</span> <span class="symbol">(</span><span class="identifier">filename</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">bookmark</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> <span class="symbol">=</span> definedExternally<span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code> +</BODY> +</HTML> |