<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Class: Fox::FXFileDialog
— FXRuby API Documentation
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "Fox::FXFileDialog";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (F)</a> »
<span class='title'><span class='object_link'><a href="../Fox.html" title="Fox (module)">Fox</a></span></span>
»
<span class="title">FXFileDialog</span>
</div>
<div id="search">
<a class="full_list_link" id="class_list_link"
href="../class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Class: Fox::FXFileDialog
</h1>
<div class="box_info">
<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName"><span class='object_link'><a href="FXDialogBox.html" title="Fox::FXDialogBox (class)">FXDialogBox</a></span></span>
<ul class="fullTree">
<li>Object</li>
<li class="next"><span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></li>
<li class="next"><span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></li>
<li class="next"><span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></li>
<li class="next"><span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></li>
<li class="next"><span class='object_link'><a href="FXComposite.html" title="Fox::FXComposite (class)">FXComposite</a></span></li>
<li class="next"><span class='object_link'><a href="FXShell.html" title="Fox::FXShell (class)">FXShell</a></span></li>
<li class="next"><span class='object_link'><a href="FXTopWindow.html" title="Fox::FXTopWindow (class)">FXTopWindow</a></span></li>
<li class="next"><span class='object_link'><a href="FXDialogBox.html" title="Fox::FXDialogBox (class)">FXDialogBox</a></span></li>
<li class="next">Fox::FXFileDialog</li>
</ul>
<a href="#" class="inheritanceTree">show all</a>
</dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>rdoc-sources/FXFileDialog.rb<span class="defines">,<br />
lib/fox16/core.rb</span>
</dd>
</dl>
</div>
<h2>Overview</h2><div class="docstring">
<div class="discussion">
<p>File selection dialog</p>
<p>Each pattern in the <em>patternList</em> comprises an optional name, followed by a pattern in parentheses. The patterns are separated by newlines. For example,</p>
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_fileDialog'>fileDialog</span><span class='period'>.</span><span class='id identifier rubyid_patternList'>patternList</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*.cpp,*.cc</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*.hpp,*.hh,*.h</span><span class='tstring_end'>"</span></span>
<span class='rbracket'>]</span>
</code></pre>
<p>and</p>
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_fileDialog'>fileDialog</span><span class='period'>.</span><span class='id identifier rubyid_patternList'>patternList</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>All Files (*)</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>C++ Sources (*.cpp,*.cc)</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>C++ Headers (*.hpp,*.hh,*.h)</span><span class='tstring_end'>"</span></span>
<span class='rbracket'>]</span>
</code></pre>
<p>will set the same three patterns, but the former shows no pattern names.</p>
<h3 id="label-Wildcard+matching+modes">Wildcard matching modes</h3>
<dl class="rdoc-list note-list"><dt><code>FILEMATCH_FILE_NAME</code>
<dd>
<p>No wildcard can ever match “/” (or “",”/“ under Windows).</p>
</dd><dt><code>FILEMATCH_NOESCAPE</code>
<dd>
<p>Backslashes don’t quote special chars (“" is treated as ”").</p>
</dd><dt><code>FILEMATCH_PERIOD</code>
<dd>
<p>Leading “.” is matched only explicitly (Useful to match hidden files on Unix).</p>
</dd><dt><code>FILEMATCH_LEADING_DIR</code>
<dd>
<p>Ignore “/…” after a match.</p>
</dd><dt><code>FILEMATCH_CASEFOLD</code>
<dd>
<p>Compare without regard to case.</p>
</dd></dl>
<p>Note that under Windows, <code>FILEMATCH_NOESCAPE</code> must be passed.</p>
</div>
</div>
<div class="tags">
</div>
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#currentPattern-instance_method" title="#currentPattern (instance method)">#<strong>currentPattern</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Current pattern number [Integer].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#directory-instance_method" title="#directory (instance method)">#<strong>directory</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Directory [String].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#fileBoxStyle-instance_method" title="#fileBoxStyle (instance method)">#<strong>fileBoxStyle</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>File list style [Integer].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#filename-instance_method" title="#filename (instance method)">#<strong>filename</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>File name [String].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#filenames-instance_method" title="#filenames (instance method)">#<strong>filenames</strong> ⇒ Object </a>
</span>
<span class="note title readonly">readonly</span>
<span class="summary_desc"><div class='inline'>
<p>List of selected filenames [Array].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#imageSize-instance_method" title="#imageSize (instance method)">#<strong>imageSize</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Image size for preview images [Integer].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#itemSpace-instance_method" title="#itemSpace (instance method)">#<strong>itemSpace</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Inter-item spacing (in pixels) [Integer].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#matchMode-instance_method" title="#matchMode (instance method)">#<strong>matchMode</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Wildcard matching mode [Integer].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#pattern-instance_method" title="#pattern (instance method)">#<strong>pattern</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>File pattern [String].</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#selectMode-instance_method" title="#selectMode (instance method)">#<strong>selectMode</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>File selection mode [Integer].</p>
</div></span>
</li>
</ul>
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXTopWindow.html" title="Fox::FXTopWindow (class)">FXTopWindow</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXTopWindow.html#decorations-instance_method" title="Fox::FXTopWindow#decorations (method)">#decorations</a></span>, <span class='object_link'><a href="FXTopWindow.html#hSpacing-instance_method" title="Fox::FXTopWindow#hSpacing (method)">#hSpacing</a></span>, <span class='object_link'><a href="FXTopWindow.html#icon-instance_method" title="Fox::FXTopWindow#icon (method)">#icon</a></span>, <span class='object_link'><a href="FXTopWindow.html#miniIcon-instance_method" title="Fox::FXTopWindow#miniIcon (method)">#miniIcon</a></span>, <span class='object_link'><a href="FXTopWindow.html#packingHints-instance_method" title="Fox::FXTopWindow#packingHints (method)">#packingHints</a></span>, <span class='object_link'><a href="FXTopWindow.html#padBottom-instance_method" title="Fox::FXTopWindow#padBottom (method)">#padBottom</a></span>, <span class='object_link'><a href="FXTopWindow.html#padLeft-instance_method" title="Fox::FXTopWindow#padLeft (method)">#padLeft</a></span>, <span class='object_link'><a href="FXTopWindow.html#padRight-instance_method" title="Fox::FXTopWindow#padRight (method)">#padRight</a></span>, <span class='object_link'><a href="FXTopWindow.html#padTop-instance_method" title="Fox::FXTopWindow#padTop (method)">#padTop</a></span>, <span class='object_link'><a href="FXTopWindow.html#title-instance_method" title="Fox::FXTopWindow#title (method)">#title</a></span>, <span class='object_link'><a href="FXTopWindow.html#vSpacing-instance_method" title="Fox::FXTopWindow#vSpacing (method)">#vSpacing</a></span></p>
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXWindow.html#accelTable-instance_method" title="Fox::FXWindow#accelTable (method)">#accelTable</a></span>, <span class='object_link'><a href="FXWindow.html#backColor-instance_method" title="Fox::FXWindow#backColor (method)">#backColor</a></span>, <span class='object_link'><a href="FXWindow.html#defaultCursor-instance_method" title="Fox::FXWindow#defaultCursor (method)">#defaultCursor</a></span>, <span class='object_link'><a href="FXWindow.html#dragCursor-instance_method" title="Fox::FXWindow#dragCursor (method)">#dragCursor</a></span>, <span class='object_link'><a href="FXWindow.html#first-instance_method" title="Fox::FXWindow#first (method)">#first</a></span>, <span class='object_link'><a href="FXWindow.html#focus-instance_method" title="Fox::FXWindow#focus (method)">#focus</a></span>, <span class='object_link'><a href="FXWindow.html#key-instance_method" title="Fox::FXWindow#key (method)">#key</a></span>, <span class='object_link'><a href="FXWindow.html#last-instance_method" title="Fox::FXWindow#last (method)">#last</a></span>, <span class='object_link'><a href="FXWindow.html#layoutHints-instance_method" title="Fox::FXWindow#layoutHints (method)">#layoutHints</a></span>, <span class='object_link'><a href="FXWindow.html#next-instance_method" title="Fox::FXWindow#next (method)">#next</a></span>, <span class='object_link'><a href="FXWindow.html#numChildren-instance_method" title="Fox::FXWindow#numChildren (method)">#numChildren</a></span>, <span class='object_link'><a href="FXWindow.html#owner-instance_method" title="Fox::FXWindow#owner (method)">#owner</a></span>, <span class='object_link'><a href="FXWindow.html#parent-instance_method" title="Fox::FXWindow#parent (method)">#parent</a></span>, <span class='object_link'><a href="FXWindow.html#prev-instance_method" title="Fox::FXWindow#prev (method)">#prev</a></span>, <span class='object_link'><a href="FXWindow.html#root-instance_method" title="Fox::FXWindow#root (method)">#root</a></span>, <span class='object_link'><a href="FXWindow.html#selector-instance_method" title="Fox::FXWindow#selector (method)">#selector</a></span>, <span class='object_link'><a href="FXWindow.html#shell-instance_method" title="Fox::FXWindow#shell (method)">#shell</a></span>, <span class='object_link'><a href="FXWindow.html#target-instance_method" title="Fox::FXWindow#target (method)">#target</a></span>, <span class='object_link'><a href="FXWindow.html#x-instance_method" title="Fox::FXWindow#x (method)">#x</a></span>, <span class='object_link'><a href="FXWindow.html#y-instance_method" title="Fox::FXWindow#y (method)">#y</a></span></p>
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXDrawable.html#height-instance_method" title="Fox::FXDrawable#height (method)">#height</a></span>, <span class='object_link'><a href="FXDrawable.html#visual-instance_method" title="Fox::FXDrawable#visual (method)">#visual</a></span>, <span class='object_link'><a href="FXDrawable.html#width-instance_method" title="Fox::FXDrawable#width (method)">#width</a></span></p>
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXId.html#app-instance_method" title="Fox::FXId#app (method)">#app</a></span>, <span class='object_link'><a href="FXId.html#userData-instance_method" title="Fox::FXId#userData (method)">#userData</a></span>, <span class='object_link'><a href="FXId.html#xid-instance_method" title="Fox::FXId#xid (method)">#xid</a></span></p>
<h2>
Class Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#getOpenDirectory-class_method" title="getOpenDirectory (class method)">.<strong>getOpenDirectory</strong>(owner, caption, path) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Display a dialog box that allows the user to select a directory.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#getOpenFilename-class_method" title="getOpenFilename (class method)">.<strong>getOpenFilename</strong>(owner, caption, path, patterns = "*", initial = 0) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Display a dialog box that allows the user to select a single existing file name for opening.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#getOpenFilenames-class_method" title="getOpenFilenames (class method)">.<strong>getOpenFilenames</strong>(owner, caption, path, patterns = "*", initial = 0) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Display a dialog box that allows the user to select multiple existing file names for opening.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#getSaveFilename-class_method" title="getSaveFilename (class method)">.<strong>getSaveFilename</strong>(owner, caption, path, patterns = "*", initial = 0) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Display a dialog box that allows the user to select an existing file name, or enter a new file name, for saving.</p>
</div></span>
</li>
</ul>
<h2>
Instance Method Summary
<small><a href="#" class="summary_toggle">collapse</a></small>
</h2>
<ul class="summary">
<li class="public ">
<span class="summary_signature">
<a href="#allowNavigation-instance_method" title="#allowNavigation (instance method)">#<strong>allowNavigation</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Allow navigation for this file dialog.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#allowsPatternEntry=-instance_method" title="#allowsPatternEntry= (instance method)">#<strong>allowsPatternEntry=</strong>(allowed) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Change whether this file dialog allows pattern entry or not.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#allowsPatternEntry%3F-instance_method" title="#allowsPatternEntry? (instance method)">#<strong>allowsPatternEntry?</strong> ⇒ Boolean </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return <code>true</code> if this file dialog allows pattern entry.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#disallowNavigation-instance_method" title="#disallowNavigation (instance method)">#<strong>disallowNavigation</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Disallow navigation for this file dialog.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#getPatternList-instance_method" title="#getPatternList (instance method)">#<strong>getPatternList</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Returns the list of patterns (an Array of Strings).</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#getPatternText-instance_method" title="#getPatternText (instance method)">#<strong>getPatternText</strong>(patno) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Get pattern text for given pattern number.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#hiddenFilesShown=-instance_method" title="#hiddenFilesShown= (instance method)">#<strong>hiddenFilesShown=</strong>(state) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>If <em>state</em> is <code>true</code>, the file dialog will show hidden files and directories; otherwise, it won’t.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#hiddenFilesShown%3F-instance_method" title="#hiddenFilesShown? (instance method)">#<strong>hiddenFilesShown?</strong> ⇒ Boolean </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return <code>true</code> if showing hidden files and directories.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#imagesShown=-instance_method" title="#imagesShown= (instance method)">#<strong>imagesShown=</strong>(shown) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>If <em>shown</em> is <code>true</code>, the file dialog will show preview images; otherwise it won’t.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#imagesShown%3F-instance_method" title="#imagesShown? (instance method)">#<strong>imagesShown?</strong> ⇒ Boolean </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return <code>true</code> if the file dialog is showing preview images.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(owner, name, opts = 0, x = 0, y = 0, width = 500, height = 300) ⇒ FXFileDialog </a>
</span>
<span class="note title constructor">constructor</span>
<span class="summary_desc"><div class='inline'>
<p>Construct a file dialog box.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#navigationAllowed=-instance_method" title="#navigationAllowed= (instance method)">#<strong>navigationAllowed=</strong>(allowed) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Set navigation to allowed (<code>true</code>) or disallowed (<code>false</code>).</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#navigationAllowed%3F-instance_method" title="#navigationAllowed? (instance method)">#<strong>navigationAllowed?</strong> ⇒ Boolean </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return <code>true</code> if navigation allowed.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#numPatterns-instance_method" title="#numPatterns (instance method)">#<strong>numPatterns</strong> ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return number of patterns.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#readOnly=-instance_method" title="#readOnly= (instance method)">#<strong>readOnly=</strong>(state) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Set initial state of read-only button, where <em>state</em> is either <code>true</code> or <code>false</code>.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#readOnly%3F-instance_method" title="#readOnly? (instance method)">#<strong>readOnly?</strong> ⇒ Boolean </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return <code>true</code> if read-only.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#readOnlyShown%3F-instance_method" title="#readOnlyShown? (instance method)">#<strong>readOnlyShown?</strong> ⇒ Boolean </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Return <code>true</code> if read-only button is shown.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#setPatternList-instance_method" title="#setPatternList (instance method)">#<strong>setPatternList</strong>(patterns) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Change the list of file patterns shown in the file dialog.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#setPatternText-instance_method" title="#setPatternText (instance method)">#<strong>setPatternText</strong>(patno, text) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Change pattern text for pattern number.</p>
</div></span>
</li>
<li class="public ">
<span class="summary_signature">
<a href="#showReadOnly=-instance_method" title="#showReadOnly= (instance method)">#<strong>showReadOnly=</strong>(shown) ⇒ Object </a>
</span>
<span class="summary_desc"><div class='inline'>
<p>Set visibility of the read-only button, where <em>shown</em> is either <code>true</code> or <code>false</code>.</p>
</div></span>
</li>
</ul>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXDialogBox.html" title="Fox::FXDialogBox (class)">FXDialogBox</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXDialogBox.html#execute-instance_method" title="Fox::FXDialogBox#execute (method)">#execute</a></span></p>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXTopWindow.html" title="Fox::FXTopWindow (class)">FXTopWindow</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXTopWindow.html#close-instance_method" title="Fox::FXTopWindow#close (method)">#close</a></span>, <span class='object_link'><a href="FXTopWindow.html#getWMBorders-instance_method" title="Fox::FXTopWindow#getWMBorders (method)">#getWMBorders</a></span>, <span class='object_link'><a href="FXTopWindow.html#maximize-instance_method" title="Fox::FXTopWindow#maximize (method)">#maximize</a></span>, <span class='object_link'><a href="FXTopWindow.html#maximized%3F-instance_method" title="Fox::FXTopWindow#maximized? (method)">#maximized?</a></span>, <span class='object_link'><a href="FXTopWindow.html#minimize-instance_method" title="Fox::FXTopWindow#minimize (method)">#minimize</a></span>, <span class='object_link'><a href="FXTopWindow.html#minimized%3F-instance_method" title="Fox::FXTopWindow#minimized? (method)">#minimized?</a></span>, <span class='object_link'><a href="FXTopWindow.html#place-instance_method" title="Fox::FXTopWindow#place (method)">#place</a></span>, <span class='object_link'><a href="FXTopWindow.html#restore-instance_method" title="Fox::FXTopWindow#restore (method)">#restore</a></span>, <span class='object_link'><a href="FXTopWindow.html#show-instance_method" title="Fox::FXTopWindow#show (method)">#show</a></span></p>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXComposite.html" title="Fox::FXComposite (class)">FXComposite</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXComposite.html#maxChildHeight-instance_method" title="Fox::FXComposite#maxChildHeight (method)">#maxChildHeight</a></span>, <span class='object_link'><a href="FXComposite.html#maxChildWidth-instance_method" title="Fox::FXComposite#maxChildWidth (method)">#maxChildWidth</a></span></p>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">FXWindow</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXWindow.html#acceptDrop-instance_method" title="Fox::FXWindow#acceptDrop (method)">#acceptDrop</a></span>, <span class='object_link'><a href="FXWindow.html#acquireClipboard-instance_method" title="Fox::FXWindow#acquireClipboard (method)">#acquireClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#acquireSelection-instance_method" title="Fox::FXWindow#acquireSelection (method)">#acquireSelection</a></span>, <span class='object_link'><a href="FXWindow.html#active%3F-instance_method" title="Fox::FXWindow#active? (method)">#active?</a></span>, <span class='object_link'><a href="FXWindow.html#addHotKey-instance_method" title="Fox::FXWindow#addHotKey (method)">#addHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-class_method" title="Fox::FXWindow.after? (method)">after?</a></span>, <span class='object_link'><a href="FXWindow.html#after%3F-instance_method" title="Fox::FXWindow#after? (method)">#after?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-class_method" title="Fox::FXWindow.before? (method)">before?</a></span>, <span class='object_link'><a href="FXWindow.html#before%3F-instance_method" title="Fox::FXWindow#before? (method)">#before?</a></span>, <span class='object_link'><a href="FXWindow.html#beginDrag-instance_method" title="Fox::FXWindow#beginDrag (method)">#beginDrag</a></span>, <span class='object_link'><a href="FXWindow.html#canFocus%3F-instance_method" title="Fox::FXWindow#canFocus? (method)">#canFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#changeFocus-instance_method" title="Fox::FXWindow#changeFocus (method)">#changeFocus</a></span>, <span class='object_link'><a href="FXWindow.html#childAtIndex-instance_method" title="Fox::FXWindow#childAtIndex (method)">#childAtIndex</a></span>, <span class='object_link'><a href="FXWindow.html#childOf%3F-instance_method" title="Fox::FXWindow#childOf? (method)">#childOf?</a></span>, <span class='object_link'><a href="FXWindow.html#children-instance_method" title="Fox::FXWindow#children (method)">#children</a></span>, <span class='object_link'><a href="FXWindow.html#clearDragRectangle-instance_method" title="Fox::FXWindow#clearDragRectangle (method)">#clearDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#clearShape-instance_method" title="Fox::FXWindow#clearShape (method)">#clearShape</a></span>, <span class='object_link'><a href="FXWindow.html#colorType-class_method" title="Fox::FXWindow.colorType (method)">colorType</a></span>, <span class='object_link'><a href="FXWindow.html#colorTypeName-class_method" title="Fox::FXWindow.colorTypeName (method)">colorTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#commonAncestor-class_method" title="Fox::FXWindow.commonAncestor (method)">commonAncestor</a></span>, <span class='object_link'><a href="FXWindow.html#composeContext-instance_method" title="Fox::FXWindow#composeContext (method)">#composeContext</a></span>, <span class='object_link'><a href="FXWindow.html#composite%3F-instance_method" title="Fox::FXWindow#composite? (method)">#composite?</a></span>, <span class='object_link'><a href="FXWindow.html#contains%3F-instance_method" title="Fox::FXWindow#contains? (method)">#contains?</a></span>, <span class='object_link'><a href="FXWindow.html#containsChild%3F-instance_method" title="Fox::FXWindow#containsChild? (method)">#containsChild?</a></span>, <span class='object_link'><a href="FXWindow.html#create-instance_method" title="Fox::FXWindow#create (method)">#create</a></span>, <span class='object_link'><a href="FXWindow.html#createComposeContext-instance_method" title="Fox::FXWindow#createComposeContext (method)">#createComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#cursorPosition-instance_method" title="Fox::FXWindow#cursorPosition (method)">#cursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#default%3F-instance_method" title="Fox::FXWindow#default? (method)">#default?</a></span>, <span class='object_link'><a href="FXWindow.html#defaultHeight-instance_method" title="Fox::FXWindow#defaultHeight (method)">#defaultHeight</a></span>, <span class='object_link'><a href="FXWindow.html#defaultWidth-instance_method" title="Fox::FXWindow#defaultWidth (method)">#defaultWidth</a></span>, <span class='object_link'><a href="FXWindow.html#deleteType-class_method" title="Fox::FXWindow.deleteType (method)">deleteType</a></span>, <span class='object_link'><a href="FXWindow.html#deleteTypeName-class_method" title="Fox::FXWindow.deleteTypeName (method)">deleteTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#destroy-instance_method" title="Fox::FXWindow#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXWindow.html#destroyComposeContext-instance_method" title="Fox::FXWindow#destroyComposeContext (method)">#destroyComposeContext</a></span>, <span class='object_link'><a href="FXWindow.html#detach-instance_method" title="Fox::FXWindow#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXWindow.html#didAccept-instance_method" title="Fox::FXWindow#didAccept (method)">#didAccept</a></span>, <span class='object_link'><a href="FXWindow.html#disable-instance_method" title="Fox::FXWindow#disable (method)">#disable</a></span>, <span class='object_link'><a href="FXWindow.html#doesSaveUnder%3F-instance_method" title="Fox::FXWindow#doesSaveUnder? (method)">#doesSaveUnder?</a></span>, <span class='object_link'><a href="FXWindow.html#dragging%3F-instance_method" title="Fox::FXWindow#dragging? (method)">#dragging?</a></span>, <span class='object_link'><a href="FXWindow.html#dropDisable-instance_method" title="Fox::FXWindow#dropDisable (method)">#dropDisable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnable-instance_method" title="Fox::FXWindow#dropEnable (method)">#dropEnable</a></span>, <span class='object_link'><a href="FXWindow.html#dropEnabled%3F-instance_method" title="Fox::FXWindow#dropEnabled? (method)">#dropEnabled?</a></span>, <span class='object_link'><a href="FXWindow.html#dropFinished-instance_method" title="Fox::FXWindow#dropFinished (method)">#dropFinished</a></span>, <span class='object_link'><a href="FXWindow.html#dropTarget%3F-instance_method" title="Fox::FXWindow#dropTarget? (method)">#dropTarget?</a></span>, <span class='object_link'><a href="FXWindow.html#each_child-instance_method" title="Fox::FXWindow#each_child (method)">#each_child</a></span>, <span class='object_link'><a href="FXWindow.html#each_child_recursive-instance_method" title="Fox::FXWindow#each_child_recursive (method)">#each_child_recursive</a></span>, <span class='object_link'><a href="FXWindow.html#enable-instance_method" title="Fox::FXWindow#enable (method)">#enable</a></span>, <span class='object_link'><a href="FXWindow.html#enabled%3F-instance_method" title="Fox::FXWindow#enabled? (method)">#enabled?</a></span>, <span class='object_link'><a href="FXWindow.html#endDrag-instance_method" title="Fox::FXWindow#endDrag (method)">#endDrag</a></span>, <span class='object_link'><a href="FXWindow.html#forceRefresh-instance_method" title="Fox::FXWindow#forceRefresh (method)">#forceRefresh</a></span>, <span class='object_link'><a href="FXWindow.html#getChildAt-instance_method" title="Fox::FXWindow#getChildAt (method)">#getChildAt</a></span>, <span class='object_link'><a href="FXWindow.html#getDNDData-instance_method" title="Fox::FXWindow#getDNDData (method)">#getDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#getHeightForWidth-instance_method" title="Fox::FXWindow#getHeightForWidth (method)">#getHeightForWidth</a></span>, <span class='object_link'><a href="FXWindow.html#getWidthForHeight-instance_method" title="Fox::FXWindow#getWidthForHeight (method)">#getWidthForHeight</a></span>, <span class='object_link'><a href="FXWindow.html#grab-instance_method" title="Fox::FXWindow#grab (method)">#grab</a></span>, <span class='object_link'><a href="FXWindow.html#grabKeyboard-instance_method" title="Fox::FXWindow#grabKeyboard (method)">#grabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#grabbed%3F-instance_method" title="Fox::FXWindow#grabbed? (method)">#grabbed?</a></span>, <span class='object_link'><a href="FXWindow.html#grabbedKeyboard%3F-instance_method" title="Fox::FXWindow#grabbedKeyboard? (method)">#grabbedKeyboard?</a></span>, <span class='object_link'><a href="FXWindow.html#handleDrag-instance_method" title="Fox::FXWindow#handleDrag (method)">#handleDrag</a></span>, <span class='object_link'><a href="FXWindow.html#hasClipboard%3F-instance_method" title="Fox::FXWindow#hasClipboard? (method)">#hasClipboard?</a></span>, <span class='object_link'><a href="FXWindow.html#hasFocus%3F-instance_method" title="Fox::FXWindow#hasFocus? (method)">#hasFocus?</a></span>, <span class='object_link'><a href="FXWindow.html#hasSelection%3F-instance_method" title="Fox::FXWindow#hasSelection? (method)">#hasSelection?</a></span>, <span class='object_link'><a href="FXWindow.html#height-instance_method" title="Fox::FXWindow#height (method)">#height</a></span>, <span class='object_link'><a href="FXWindow.html#height=-instance_method" title="Fox::FXWindow#height= (method)">#height=</a></span>, <span class='object_link'><a href="FXWindow.html#hide-instance_method" title="Fox::FXWindow#hide (method)">#hide</a></span>, <span class='object_link'><a href="FXWindow.html#imageType-class_method" title="Fox::FXWindow.imageType (method)">imageType</a></span>, <span class='object_link'><a href="FXWindow.html#inFocusChain%3F-instance_method" title="Fox::FXWindow#inFocusChain? (method)">#inFocusChain?</a></span>, <span class='object_link'><a href="FXWindow.html#indexOfChild-instance_method" title="Fox::FXWindow#indexOfChild (method)">#indexOfChild</a></span>, <span class='object_link'><a href="FXWindow.html#initial%3F-instance_method" title="Fox::FXWindow#initial? (method)">#initial?</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDAction-instance_method" title="Fox::FXWindow#inquireDNDAction (method)">#inquireDNDAction</a></span>, <span class='object_link'><a href="FXWindow.html#inquireDNDTypes-instance_method" title="Fox::FXWindow#inquireDNDTypes (method)">#inquireDNDTypes</a></span>, <span class='object_link'><a href="FXWindow.html#killFocus-instance_method" title="Fox::FXWindow#killFocus (method)">#killFocus</a></span>, <span class='object_link'><a href="FXWindow.html#layout-instance_method" title="Fox::FXWindow#layout (method)">#layout</a></span>, <span class='object_link'><a href="FXWindow.html#linkAfter-instance_method" title="Fox::FXWindow#linkAfter (method)">#linkAfter</a></span>, <span class='object_link'><a href="FXWindow.html#linkBefore-instance_method" title="Fox::FXWindow#linkBefore (method)">#linkBefore</a></span>, <span class='object_link'><a href="FXWindow.html#lower-instance_method" title="Fox::FXWindow#lower (method)">#lower</a></span>, <span class='object_link'><a href="FXWindow.html#move-instance_method" title="Fox::FXWindow#move (method)">#move</a></span>, <span class='object_link'><a href="FXWindow.html#octetType-class_method" title="Fox::FXWindow.octetType (method)">octetType</a></span>, <span class='object_link'><a href="FXWindow.html#octetTypeName-class_method" title="Fox::FXWindow.octetTypeName (method)">octetTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#offeredDNDType%3F-instance_method" title="Fox::FXWindow#offeredDNDType? (method)">#offeredDNDType?</a></span>, <span class='object_link'><a href="FXWindow.html#position-instance_method" title="Fox::FXWindow#position (method)">#position</a></span>, <span class='object_link'><a href="FXWindow.html#raiseWindow-instance_method" title="Fox::FXWindow#raiseWindow (method)">#raiseWindow</a></span>, <span class='object_link'><a href="FXWindow.html#recalc-instance_method" title="Fox::FXWindow#recalc (method)">#recalc</a></span>, <span class='object_link'><a href="FXWindow.html#releaseClipboard-instance_method" title="Fox::FXWindow#releaseClipboard (method)">#releaseClipboard</a></span>, <span class='object_link'><a href="FXWindow.html#releaseSelection-instance_method" title="Fox::FXWindow#releaseSelection (method)">#releaseSelection</a></span>, <span class='object_link'><a href="FXWindow.html#remHotKey-instance_method" title="Fox::FXWindow#remHotKey (method)">#remHotKey</a></span>, <span class='object_link'><a href="FXWindow.html#removeChild-instance_method" title="Fox::FXWindow#removeChild (method)">#removeChild</a></span>, <span class='object_link'><a href="FXWindow.html#repaint-instance_method" title="Fox::FXWindow#repaint (method)">#repaint</a></span>, <span class='object_link'><a href="FXWindow.html#reparent-instance_method" title="Fox::FXWindow#reparent (method)">#reparent</a></span>, <span class='object_link'><a href="FXWindow.html#resize-instance_method" title="Fox::FXWindow#resize (method)">#resize</a></span>, <span class='object_link'><a href="FXWindow.html#scroll-instance_method" title="Fox::FXWindow#scroll (method)">#scroll</a></span>, <span class='object_link'><a href="FXWindow.html#setCursorPosition-instance_method" title="Fox::FXWindow#setCursorPosition (method)">#setCursorPosition</a></span>, <span class='object_link'><a href="FXWindow.html#setDNDData-instance_method" title="Fox::FXWindow#setDNDData (method)">#setDNDData</a></span>, <span class='object_link'><a href="FXWindow.html#setDefault-instance_method" title="Fox::FXWindow#setDefault (method)">#setDefault</a></span>, <span class='object_link'><a href="FXWindow.html#setDragRectangle-instance_method" title="Fox::FXWindow#setDragRectangle (method)">#setDragRectangle</a></span>, <span class='object_link'><a href="FXWindow.html#setFocus-instance_method" title="Fox::FXWindow#setFocus (method)">#setFocus</a></span>, <span class='object_link'><a href="FXWindow.html#setInitial-instance_method" title="Fox::FXWindow#setInitial (method)">#setInitial</a></span>, <span class='object_link'><a href="FXWindow.html#setShape-instance_method" title="Fox::FXWindow#setShape (method)">#setShape</a></span>, <span class='object_link'><a href="FXWindow.html#shell%3F-instance_method" title="Fox::FXWindow#shell? (method)">#shell?</a></span>, <span class='object_link'><a href="FXWindow.html#show-instance_method" title="Fox::FXWindow#show (method)">#show</a></span>, <span class='object_link'><a href="FXWindow.html#shown%3F-instance_method" title="Fox::FXWindow#shown? (method)">#shown?</a></span>, <span class='object_link'><a href="FXWindow.html#stringType-class_method" title="Fox::FXWindow.stringType (method)">stringType</a></span>, <span class='object_link'><a href="FXWindow.html#textType-class_method" title="Fox::FXWindow.textType (method)">textType</a></span>, <span class='object_link'><a href="FXWindow.html#textTypeName-class_method" title="Fox::FXWindow.textTypeName (method)">textTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#tr-instance_method" title="Fox::FXWindow#tr (method)">#tr</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesFrom-instance_method" title="Fox::FXWindow#translateCoordinatesFrom (method)">#translateCoordinatesFrom</a></span>, <span class='object_link'><a href="FXWindow.html#translateCoordinatesTo-instance_method" title="Fox::FXWindow#translateCoordinatesTo (method)">#translateCoordinatesTo</a></span>, <span class='object_link'><a href="FXWindow.html#underCursor%3F-instance_method" title="Fox::FXWindow#underCursor? (method)">#underCursor?</a></span>, <span class='object_link'><a href="FXWindow.html#ungrab-instance_method" title="Fox::FXWindow#ungrab (method)">#ungrab</a></span>, <span class='object_link'><a href="FXWindow.html#ungrabKeyboard-instance_method" title="Fox::FXWindow#ungrabKeyboard (method)">#ungrabKeyboard</a></span>, <span class='object_link'><a href="FXWindow.html#update-instance_method" title="Fox::FXWindow#update (method)">#update</a></span>, <span class='object_link'><a href="FXWindow.html#urilistType-class_method" title="Fox::FXWindow.urilistType (method)">urilistType</a></span>, <span class='object_link'><a href="FXWindow.html#urilistTypeName-class_method" title="Fox::FXWindow.urilistTypeName (method)">urilistTypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf16Type-class_method" title="Fox::FXWindow.utf16Type (method)">utf16Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf16TypeName-class_method" title="Fox::FXWindow.utf16TypeName (method)">utf16TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#utf8Type-class_method" title="Fox::FXWindow.utf8Type (method)">utf8Type</a></span>, <span class='object_link'><a href="FXWindow.html#utf8TypeName-class_method" title="Fox::FXWindow.utf8TypeName (method)">utf8TypeName</a></span>, <span class='object_link'><a href="FXWindow.html#visible=-instance_method" title="Fox::FXWindow#visible= (method)">#visible=</a></span>, <span class='object_link'><a href="FXWindow.html#width-instance_method" title="Fox::FXWindow#width (method)">#width</a></span>, <span class='object_link'><a href="FXWindow.html#width=-instance_method" title="Fox::FXWindow#width= (method)">#width=</a></span></p>
<h3 class="inherited">Methods included from <span class='object_link'><a href="../Responder2.html" title="Responder2 (module)">Responder2</a></span></h3>
<p class="inherited"><span class='object_link'><a href="../Responder2.html#connect-instance_method" title="Responder2#connect (method)">#connect</a></span></p>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXDrawable.html" title="Fox::FXDrawable (class)">FXDrawable</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXDrawable.html#resize-instance_method" title="Fox::FXDrawable#resize (method)">#resize</a></span></p>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXId.html" title="Fox::FXId (class)">FXId</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXId.html#create-instance_method" title="Fox::FXId#create (method)">#create</a></span>, <span class='object_link'><a href="FXId.html#created%3F-instance_method" title="Fox::FXId#created? (method)">#created?</a></span>, <span class='object_link'><a href="FXId.html#destroy-instance_method" title="Fox::FXId#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="FXId.html#detach-instance_method" title="Fox::FXId#detach (method)">#detach</a></span>, <span class='object_link'><a href="FXId.html#runOnUiThread-instance_method" title="Fox::FXId#runOnUiThread (method)">#runOnUiThread</a></span></p>
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="FXObject.html" title="Fox::FXObject (class)">FXObject</a></span></h3>
<p class="inherited"><span class='object_link'><a href="FXObject.html#bind-instance_method" title="Fox::FXObject#bind (method)">#bind</a></span>, <span class='object_link'><a href="FXObject.html#handle-instance_method" title="Fox::FXObject#handle (method)">#handle</a></span>, <span class='object_link'><a href="FXObject.html#load-instance_method" title="Fox::FXObject#load (method)">#load</a></span>, <span class='object_link'><a href="FXObject.html#save-instance_method" title="Fox::FXObject#save (method)">#save</a></span>, <span class='object_link'><a href="FXObject.html#subclasses-class_method" title="Fox::FXObject.subclasses (method)">subclasses</a></span></p>
<div id="constructor_details" class="method_details_list">
<h2>Constructor Details</h2>
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
#<strong>initialize</strong>(owner, name, opts = 0, x = 0, y = 0, width = 500, height = 300) ⇒ <tt><span class='object_link'><a href="" title="Fox::FXFileDialog (class)">FXFileDialog</a></span></tt>
</h3><div class="docstring">
<div class="discussion">
<p>Construct a file dialog box</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
66
67</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 66</span>
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_owner'>owner</span><span class='comma'>,</span> <span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_x'>x</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span><span class='op'>=</span><span class='int'>0</span><span class='comma'>,</span> <span class='id identifier rubyid_width'>width</span><span class='op'>=</span><span class='int'>500</span><span class='comma'>,</span> <span class='id identifier rubyid_height'>height</span><span class='op'>=</span><span class='int'>300</span><span class='rparen'>)</span> <span class='comment'># :yields: theFileDialog
</span><span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
<div id="instance_attr_details" class="attr_details">
<h2>Instance Attribute Details</h2>
<span id="currentPattern=-instance_method"></span>
<div class="method_details first">
<h3 class="signature first" id="currentPattern-instance_method">
#<strong>currentPattern</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Current pattern number [Integer]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
45
46
47</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 45</span>
<span class='kw'>def</span> <span class='id identifier rubyid_currentPattern'>currentPattern</span>
<span class='ivar'>@currentPattern</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="directory=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="directory-instance_method">
#<strong>directory</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Directory [String]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
48
49
50</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 48</span>
<span class='kw'>def</span> <span class='id identifier rubyid_directory'>directory</span>
<span class='ivar'>@directory</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="fileBoxStyle=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="fileBoxStyle-instance_method">
#<strong>fileBoxStyle</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>File list style [Integer]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
54
55
56</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 54</span>
<span class='kw'>def</span> <span class='id identifier rubyid_fileBoxStyle'>fileBoxStyle</span>
<span class='ivar'>@fileBoxStyle</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="filename=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="filename-instance_method">
#<strong>filename</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>File name [String]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
36
37
38</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 36</span>
<span class='kw'>def</span> <span class='id identifier rubyid_filename'>filename</span>
<span class='ivar'>@filename</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id=""></span>
<div class="method_details ">
<h3 class="signature " id="filenames-instance_method">
#<strong>filenames</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
</h3><div class="docstring">
<div class="discussion">
<p>List of selected filenames [Array]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
39
40
41</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 39</span>
<span class='kw'>def</span> <span class='id identifier rubyid_filenames'>filenames</span>
<span class='ivar'>@filenames</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="imageSize=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="imageSize-instance_method">
#<strong>imageSize</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Image size for preview images [Integer]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
63
64
65</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 63</span>
<span class='kw'>def</span> <span class='id identifier rubyid_imageSize'>imageSize</span>
<span class='ivar'>@imageSize</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="itemSpace=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="itemSpace-instance_method">
#<strong>itemSpace</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Inter-item spacing (in pixels) [Integer]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
51
52
53</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 51</span>
<span class='kw'>def</span> <span class='id identifier rubyid_itemSpace'>itemSpace</span>
<span class='ivar'>@itemSpace</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="matchMode=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="matchMode-instance_method">
#<strong>matchMode</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Wildcard matching mode [Integer]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
60
61
62</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 60</span>
<span class='kw'>def</span> <span class='id identifier rubyid_matchMode'>matchMode</span>
<span class='ivar'>@matchMode</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="pattern=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="pattern-instance_method">
#<strong>pattern</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>File pattern [String]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
42
43
44</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 42</span>
<span class='kw'>def</span> <span class='id identifier rubyid_pattern'>pattern</span>
<span class='ivar'>@pattern</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<span id="selectMode=-instance_method"></span>
<div class="method_details ">
<h3 class="signature " id="selectMode-instance_method">
#<strong>selectMode</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>File selection mode [Integer]</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
57
58
59</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 57</span>
<span class='kw'>def</span> <span class='id identifier rubyid_selectMode'>selectMode</span>
<span class='ivar'>@selectMode</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
<div id="class_method_details" class="method_details_list">
<h2>Class Method Details</h2>
<div class="method_details first">
<h3 class="signature first" id="getOpenDirectory-class_method">
.<strong>getOpenDirectory</strong>(owner, caption, path) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Display a dialog box that allows the user to select a directory. Returns the directory name (a String).</p>
<h4 id="label-Parameters-3A">Parameters:</h4>
<dl class="rdoc-list note-list"><dt><code>owner</code>
<dd>
<p>the owner window for the dialog box <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">Fox::FXWindow</a></span></p>
</dd><dt><code>caption</code>
<dd>
<p>the caption for the dialog box [String]</p>
</dd><dt><code>path</code>
<dd>
<p>the initial directory path [String]</p>
</dd></dl>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
214</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 214</span>
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXFileDialog (class)">FXFileDialog</a></span></span><span class='period'>.</span><span class='id identifier rubyid_getOpenDirectory'>getOpenDirectory</span><span class='lparen'>(</span><span class='id identifier rubyid_owner'>owner</span><span class='comma'>,</span> <span class='id identifier rubyid_caption'>caption</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="getOpenFilename-class_method">
.<strong>getOpenFilename</strong>(owner, caption, path, patterns = "*", initial = 0) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Display a dialog box that allows the user to select a single existing file name for opening. Returns the selected file name (a String).</p>
<h4 id="label-Parameters-3A">Parameters:</h4>
<dl class="rdoc-list note-list"><dt><code>owner</code>
<dd>
<p>the owner window for the dialog box <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">Fox::FXWindow</a></span></p>
</dd><dt><code>caption</code>
<dd>
<p>the caption for the dialog box [String]</p>
</dd><dt><code>path</code>
<dd>
<p>the initial filename [String]</p>
</dd><dt><code>patterns</code>
<dd>
<p>the pattern list [String]</p>
</dd><dt><code>initial</code>
<dd>
<p>the initial pattern to be used (an index into the pattern list) [Integer]</p>
</dd></dl>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
172</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 172</span>
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXFileDialog (class)">FXFileDialog</a></span></span><span class='period'>.</span><span class='id identifier rubyid_getOpenFilename'>getOpenFilename</span><span class='lparen'>(</span><span class='id identifier rubyid_owner'>owner</span><span class='comma'>,</span> <span class='id identifier rubyid_caption'>caption</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_patterns'>patterns</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_initial'>initial</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="getOpenFilenames-class_method">
.<strong>getOpenFilenames</strong>(owner, caption, path, patterns = "*", initial = 0) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Display a dialog box that allows the user to select multiple existing file names for opening. Returns an array of the selected file names (an array of strings).</p>
<h4 id="label-Parameters-3A">Parameters:</h4>
<dl class="rdoc-list note-list"><dt><code>owner</code>
<dd>
<p>the owner window for the dialog box <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">Fox::FXWindow</a></span></p>
</dd><dt><code>caption</code>
<dd>
<p>the caption for the dialog box [String]</p>
</dd><dt><code>path</code>
<dd>
<p>the initial filename [String]</p>
</dd><dt><code>patterns</code>
<dd>
<p>the pattern list [String]</p>
</dd><dt><code>initial</code>
<dd>
<p>the initial pattern to be used (an index into the pattern list) [Integer]</p>
</dd></dl>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
187</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 187</span>
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXFileDialog (class)">FXFileDialog</a></span></span><span class='period'>.</span><span class='id identifier rubyid_getOpenFilenames'>getOpenFilenames</span><span class='lparen'>(</span><span class='id identifier rubyid_owner'>owner</span><span class='comma'>,</span> <span class='id identifier rubyid_caption'>caption</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_patterns'>patterns</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_initial'>initial</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="getSaveFilename-class_method">
.<strong>getSaveFilename</strong>(owner, caption, path, patterns = "*", initial = 0) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Display a dialog box that allows the user to select an existing file name, or enter a new file name, for saving. Returns the save file name (a String).</p>
<h4 id="label-Parameters-3A">Parameters:</h4>
<dl class="rdoc-list note-list"><dt><code>owner</code>
<dd>
<p>the owner window for the dialog box <span class='object_link'><a href="FXWindow.html" title="Fox::FXWindow (class)">Fox::FXWindow</a></span></p>
</dd><dt><code>caption</code>
<dd>
<p>the caption for the dialog box [String]</p>
</dd><dt><code>path</code>
<dd>
<p>the initial filename [String]</p>
</dd><dt><code>patterns</code>
<dd>
<p>the pattern list [String]</p>
</dd><dt><code>initial</code>
<dd>
<p>the initial pattern to be used (an index into the pattern list) [Integer]</p>
</dd></dl>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
202</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 202</span>
<span class='kw'>def</span> <span class='const'><span class='object_link'><a href="" title="Fox::FXFileDialog (class)">FXFileDialog</a></span></span><span class='period'>.</span><span class='id identifier rubyid_getSaveFilename'>getSaveFilename</span><span class='lparen'>(</span><span class='id identifier rubyid_owner'>owner</span><span class='comma'>,</span> <span class='id identifier rubyid_caption'>caption</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_patterns'>patterns</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='id identifier rubyid_initial'>initial</span><span class='op'>=</span><span class='int'>0</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
<div id="instance_method_details" class="method_details_list">
<h2>Instance Method Details</h2>
<div class="method_details first">
<h3 class="signature first" id="allowNavigation-instance_method">
#<strong>allowNavigation</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Allow navigation for this file dialog</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
110
111
112</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 110</span>
<span class='kw'>def</span> <span class='id identifier rubyid_allowNavigation'>allowNavigation</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_navigationAllowed'>navigationAllowed</span> <span class='op'>=</span> <span class='kw'>true</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="allowsPatternEntry=-instance_method">
#<strong>allowsPatternEntry=</strong>(allowed) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Change whether this file dialog allows pattern entry or not.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
114</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 114</span>
<span class='kw'>def</span> <span class='id identifier rubyid_allowsPatternEntry='>allowsPatternEntry=</span><span class='lparen'>(</span><span class='id identifier rubyid_allowed'>allowed</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="allowsPatternEntry?-instance_method">
#<strong>allowsPatternEntry?</strong> ⇒ <tt>Boolean</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return <code>true</code> if this file dialog allows pattern entry</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
119</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 119</span>
<span class='kw'>def</span> <span class='id identifier rubyid_allowsPatternEntry?'>allowsPatternEntry?</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="disallowNavigation-instance_method">
#<strong>disallowNavigation</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Disallow navigation for this file dialog</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
115
116
117</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/fox16/core.rb', line 115</span>
<span class='kw'>def</span> <span class='id identifier rubyid_disallowNavigation'>disallowNavigation</span>
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_navigationAllowed'>navigationAllowed</span> <span class='op'>=</span> <span class='kw'>false</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="getPatternList-instance_method">
#<strong>getPatternList</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Returns the list of patterns (an Array of Strings).</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
98</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 98</span>
<span class='kw'>def</span> <span class='id identifier rubyid_getPatternList'>getPatternList</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="getPatternText-instance_method">
#<strong>getPatternText</strong>(patno) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Get pattern text for given pattern number</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
101</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 101</span>
<span class='kw'>def</span> <span class='id identifier rubyid_getPatternText'>getPatternText</span><span class='lparen'>(</span><span class='id identifier rubyid_patno'>patno</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="hiddenFilesShown=-instance_method">
#<strong>hiddenFilesShown=</strong>(state) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>If <em>state</em> is <code>true</code>, the file dialog will show hidden files and directories; otherwise, it won’t.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
134</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 134</span>
<span class='kw'>def</span> <span class='id identifier rubyid_hiddenFilesShown='>hiddenFilesShown=</span><span class='lparen'>(</span><span class='id identifier rubyid_state'>state</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="hiddenFilesShown?-instance_method">
#<strong>hiddenFilesShown?</strong> ⇒ <tt>Boolean</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return <code>true</code> if showing hidden files and directories</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
128</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 128</span>
<span class='kw'>def</span> <span class='id identifier rubyid_hiddenFilesShown?'>hiddenFilesShown?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="imagesShown=-instance_method">
#<strong>imagesShown=</strong>(shown) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>If <em>shown</em> is <code>true</code>, the file dialog will show preview images; otherwise it won’t.</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
140</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 140</span>
<span class='kw'>def</span> <span class='id identifier rubyid_imagesShown='>imagesShown=</span><span class='lparen'>(</span><span class='id identifier rubyid_shown'>shown</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="imagesShown?-instance_method">
#<strong>imagesShown?</strong> ⇒ <tt>Boolean</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return <code>true</code> if the file dialog is showing preview images.</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
145</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 145</span>
<span class='kw'>def</span> <span class='id identifier rubyid_imagesShown?'>imagesShown?</span> <span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="navigationAllowed=-instance_method">
#<strong>navigationAllowed=</strong>(allowed) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Set navigation to allowed (<code>true</code>) or disallowed (<code>false</code>)</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
157</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 157</span>
<span class='kw'>def</span> <span class='id identifier rubyid_navigationAllowed='>navigationAllowed=</span><span class='lparen'>(</span><span class='id identifier rubyid_allowed'>allowed</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="navigationAllowed?-instance_method">
#<strong>navigationAllowed?</strong> ⇒ <tt>Boolean</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return <code>true</code> if navigation allowed.</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
154</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 154</span>
<span class='kw'>def</span> <span class='id identifier rubyid_navigationAllowed?'>navigationAllowed?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="numPatterns-instance_method">
#<strong>numPatterns</strong> ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return number of patterns</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
109</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 109</span>
<span class='kw'>def</span> <span class='id identifier rubyid_numPatterns'>numPatterns</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="readOnly=-instance_method">
#<strong>readOnly=</strong>(state) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Set initial state of read-only button, where <em>state</em> is either <code>true</code> or <code>false</code></p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
148</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 148</span>
<span class='kw'>def</span> <span class='id identifier rubyid_readOnly='>readOnly=</span><span class='lparen'>(</span><span class='id identifier rubyid_state'>state</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="readOnly?-instance_method">
#<strong>readOnly?</strong> ⇒ <tt>Boolean</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return <code>true</code> if read-only</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
151</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 151</span>
<span class='kw'>def</span> <span class='id identifier rubyid_readOnly?'>readOnly?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="readOnlyShown?-instance_method">
#<strong>readOnlyShown?</strong> ⇒ <tt>Boolean</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Return <code>true</code> if read-only button is shown</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Returns:</p>
<ul class="return">
<li>
<span class='type'>(<tt>Boolean</tt>)</span>
</li>
</ul>
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
125</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 125</span>
<span class='kw'>def</span> <span class='id identifier rubyid_readOnlyShown?'>readOnlyShown?</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="setPatternList-instance_method">
#<strong>setPatternList</strong>(patterns) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Change the list of file patterns shown in the file dialog. The <em>patterns</em> argument is an array of strings, and each string represents a different file pattern. A pattern consists of an optional name, followed by a pattern in parentheses. For example, this code:</p>
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_patterns'>patterns</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*.cpp,*.cc</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>*.hpp,*.hh,*.h</span><span class='tstring_end'>"</span></span> <span class='rbracket'>]</span>
<span class='id identifier rubyid_aFileSelector'>aFileSelector</span><span class='period'>.</span><span class='id identifier rubyid_setPatternList'>setPatternList</span><span class='lparen'>(</span><span class='id identifier rubyid_patterns'>patterns</span><span class='rparen'>)</span>
</code></pre>
<p>and this code:</p>
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_patterns'>patterns</span> <span class='op'>=</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>All Files (*)</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>C++ Sources (*.cpp,*.cc)</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>C++ Headers (*.hpp,*.hh,*.h)</span><span class='tstring_end'>"</span></span> <span class='rbracket'>]</span>
<span class='id identifier rubyid_aFileSelector'>aFileSelector</span><span class='period'>.</span><span class='id identifier rubyid_setPatternList'>setPatternList</span><span class='lparen'>(</span><span class='id identifier rubyid_patterns'>patterns</span><span class='rparen'>)</span>
</code></pre>
<p>will both set the same three patterns, but the former shows no pattern names.</p>
<p>For compatibility with the FOX C++ library API of the same name, <span class='object_link'><a href="#setPatternList-instance_method" title="Fox::FXFileDialog#setPatternList (method)">#setPatternList</a></span> also accepts a <em>patterns</em> value that is a single string, with each pattern separated by newline characters, e.g.</p>
<pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_patterns'>patterns</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>All Files (*)\nC++ Sources (*.cpp,*.cc)\nC++ Headers (*.hpp,*.hh,*.h)</span><span class='tstring_end'>"</span></span>
<span class='id identifier rubyid_aFileSelector'>aFileSelector</span><span class='period'>.</span><span class='id identifier rubyid_setPatternList'>setPatternList</span><span class='lparen'>(</span><span class='id identifier rubyid_patterns'>patterns</span><span class='rparen'>)</span>
</code></pre>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
93</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 93</span>
<span class='kw'>def</span> <span class='id identifier rubyid_setPatternList'>setPatternList</span><span class='lparen'>(</span><span class='id identifier rubyid_patterns'>patterns</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="setPatternText-instance_method">
#<strong>setPatternText</strong>(patno, text) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Change pattern text for pattern number</p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
104</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 104</span>
<span class='kw'>def</span> <span class='id identifier rubyid_setPatternText'>setPatternText</span><span class='lparen'>(</span><span class='id identifier rubyid_patno'>patno</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
<div class="method_details ">
<h3 class="signature " id="showReadOnly=-instance_method">
#<strong>showReadOnly=</strong>(shown) ⇒ <tt>Object</tt>
</h3><div class="docstring">
<div class="discussion">
<p>Set visibility of the read-only button, where <em>shown</em> is either <code>true</code> or <code>false</code></p>
</div>
</div>
<div class="tags">
</div><table class="source_code">
<tr>
<td>
<pre class="lines">
122</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'rdoc-sources/FXFileDialog.rb', line 122</span>
<span class='kw'>def</span> <span class='id identifier rubyid_showReadOnly='>showReadOnly=</span><span class='lparen'>(</span><span class='id identifier rubyid_shown'>shown</span><span class='rparen'>)</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
</div>
</div>
<div id="footer">
Generated on Mon Jan 2 11:48:02 2023 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.28 (ruby-3.1.2).
</div>
</div>
</body>
</html>