<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=Dabo.ui.getFile</id>
	<title>Dabo.ui.getFile - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=Dabo.ui.getFile"/>
	<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.getFile&amp;action=history"/>
	<updated>2026-11-21T15:15:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.getFile&amp;diff=4121&amp;oldid=prev</id>
		<title>Ed: Created page with &quot;== Signature: ==  &lt;syntaxhighlight lang=&quot;python&quot;&gt; dabo.ui.getFile(*args, **kwargs) &lt;/syntaxhighlight&gt;  Additionally, you can pass Keyword args: * &#039;&#039;&#039;message=&#039;&#039;&#039; Text string to...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=Dabo.ui.getFile&amp;diff=4121&amp;oldid=prev"/>
		<updated>2020-05-13T20:33:29Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Signature: ==  &amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt; dabo.ui.getFile(*args, **kwargs) &amp;lt;/syntaxhighlight&amp;gt;  Additionally, you can pass Keyword args: * &amp;#039;&amp;#039;&amp;#039;message=&amp;#039;&amp;#039;&amp;#039; Text string to...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Signature: ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
dabo.ui.getFile(*args, **kwargs)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Additionally, you can pass Keyword args:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;message=&amp;#039;&amp;#039;&amp;#039; Text string to use as the prompt (title of the dialog window).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;defaultPath=&amp;#039;&amp;#039;&amp;#039; Directory to use as the starting place for file dialog.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;multiple=True&amp;#039;&amp;#039;&amp;#039; Allows the selection of multiple files.&lt;br /&gt;
&lt;br /&gt;
== Description: ==&lt;br /&gt;
Displays the file selection dialog for the platform.&lt;br /&gt;
&lt;br /&gt;
== Returns: ==&lt;br /&gt;
Returns the path to the selected file, or &amp;lt;code&amp;gt;None&amp;lt;/code&amp;gt; if no selection was made.&lt;br /&gt;
&lt;br /&gt;
== Comments: ==&lt;br /&gt;
The reason that &amp;lt;code&amp;gt;getFile(&amp;lt;/code&amp;gt;) has the unspecified parameter list is that it is extremely flexible in how you specify the file types you want the dialog to display. It can take a single named parameter &amp;lt;code&amp;gt;wildcard&amp;lt;/code&amp;gt;, or you can pass in as many file extensions as you like. If the file extensions are among the types that Dabo understands, you will get a full descriptive name along with the extension. If you pass multiple extensions, the dialog&amp;#039;s file type selector will contain an entry for each type you pass.&lt;br /&gt;
&lt;br /&gt;
== Understood File Extensions: ==&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;*&amp;#039;&amp;#039;&amp;#039; (All files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;py&amp;#039;&amp;#039;&amp;#039; (Python files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cnxml&amp;#039;&amp;#039;&amp;#039; (Dabo Connection files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;rfxml&amp;#039;&amp;#039;&amp;#039; (Dabo Report Designer files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cdxml&amp;#039;&amp;#039;&amp;#039; (Dabo Class Designer files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;fsxml&amp;#039;&amp;#039;&amp;#039; (Dabo FieldSpec files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;html&amp;#039;&amp;#039;&amp;#039; (HTML files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;xml&amp;#039;&amp;#039;&amp;#039; (XML files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;txt&amp;#039;&amp;#039;&amp;#039; (Text files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;jpg&amp;#039;&amp;#039;&amp;#039; (JPEG files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;gif&amp;#039;&amp;#039;&amp;#039; (GIF files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;png&amp;#039;&amp;#039;&amp;#039; (PNG files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ico&amp;#039;&amp;#039;&amp;#039; (Icon files)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;bmp&amp;#039;&amp;#039;&amp;#039; (Bitmap files)&lt;br /&gt;
&lt;br /&gt;
== Examples: ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
dabo.ui.getFile(&amp;quot;*&amp;quot;, defaultPath=&amp;quot;.&amp;quot;)  # Displays all files in current directory.&lt;br /&gt;
dabo.ui.getFile(&amp;quot;py&amp;quot;, &amp;quot;*&amp;quot;)  # Displays either just Python scripts, or all files.&lt;br /&gt;
dabo.ui.getFile(&amp;quot;png&amp;quot;, &amp;quot;jpg&amp;quot;, &amp;quot;gif&amp;quot;)  #Allows the user to select from any of these three graphic formats.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ed</name></author>
	</entry>
</feed>