dlangui/filedlg.html

103 lines
3.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>DlangUI - cross platform GUI library for D programming language - dlangui.dialogs.filedlg</title>
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1>DlangUI</h1>
<h2>Cross Platform GUI for D programming language</h2>
</header>
<section id="downloads" class="clearfix">
<a href="index.html" id="home" class="button"><span>Home</span></a>
<a href="api.html" id="home" class="button"><span>API Docs</span></a>
<a href="screenshots.html" id="home" class="button"><span>Screenshots</span></a>
<a href="https://github.com/buggins/dlangui/zipball/master" id="download-zip" class="button"><span>Download .zip</span></a>
<!--a href="https://github.com/buggins/dlangui/tarball/master" id="download-tar-gz" class="button"><span>Download .tar.gz</span></a-->
<a href="https://github.com/buggins/dlangui" id="view-on-github" class="button"><span>View on GitHub</span></a>
</section>
<hr>
<section id="main_content">
<h1>dlangui.dialogs.filedlg</h1>
<!-- Generated by Ddoc from src\dlangui\dialogs\filedlg.d -->
This module contains FileDialog implementation.
<br><br>
Can show dialog for open / save.
<br><br>
<br><br>
<b>Synopsis:</b><br>
<pre class="d_code"><font color=blue>import</font> dlangui.dialogs.<u>filedlg</u>;
UIString caption = <font color=red>"Open File"d</font>;
<font color=blue>auto</font> dlg = <font color=blue>new</font> FileDialog(caption, window, FileDialogFlag.Open);
dlg.show();
</pre>
<br><br>
<b>License:</b><br>
Boost License 1.0
<br><br>
<b>Authors:</b><br>
Vadim Lopatin, coolreader.org@gmail.com<br><br>
<dl><dt><big><a name="FileDialogFlag"></a>enum <u>FileDialogFlag</u>: uint;
</big></dt>
<dd>flags for file dialog options<br><br>
<dl><dt><big><a name="FileDialogFlag.FileMustExist"></a><u>FileMustExist</u></big></dt>
<dd>file must exist (use this for open dialog)<br><br>
</dd>
<dt><big><a name="FileDialogFlag.ConfirmOverwrite"></a><u>ConfirmOverwrite</u></big></dt>
<dd>ask before saving to existing<br><br>
</dd>
<dt><big><a name="FileDialogFlag.Open"></a><u>Open</u></big></dt>
<dd>flags for <u>Open</u> dialog<br><br>
</dd>
<dt><big><a name="FileDialogFlag.Save"></a><u>Save</u></big></dt>
<dd>flags for <u>Save</u> dialog<br><br>
</dd>
</dl>
</dd>
<dt><big><a name="FileDialog"></a>class <u>FileDialog</u>: <u>dlangui.dialogs.dialog.Dialog</u>;
</big></dt>
<dd>file open / save dialog<br><br>
<dl><dt><big><a name="FileDialog.init"></a>void <u>init</u>();
</big></dt>
<dd>override to implement creation of dialog controls<br><br>
</dd>
</dl>
</dd>
</dl>
</section>
<footer>
Dlangui is maintained by <a href="https://github.com/buggins">buggins</a><br>
This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="https://twitter.com/jasonlong">Jason Long</a>.
</footer>
</div>
</div>
</body>
</html>