<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <link rel="Start" href="index.html"> <link rel="previous" href="GtkFile.FileFilter.html"> <link rel="next" href="GtkFile.FileChooserButton.html"> <link rel="Up" href="GtkFile.html"> <title>LablGTK : GtkFile.FileChooser</title> </head> <body> <div class="navbar"><a href="GtkFile.FileFilter.html">Previous</a> <a href="GtkFile.html">Up</a> <a href="GtkFile.FileChooserButton.html">Next</a> </div> <center><h1>Module <a href="type_GtkFile.FileChooser.html">GtkFile.FileChooser</a></h1></center> <br> <pre><span class="keyword">module</span> FileChooser: <code class="code">sig</code> <a href="GtkFile.FileChooser.html">..</a> <code class="code">end</code></pre><hr width="100%"> <pre><span class="keyword">include</span> <a href="GtkFileProps.FileChooser.html">GtkFileProps.FileChooser</a></pre> <br><code><span class="keyword">type</span> <a name="TYPEerror"></a><code class="type"></code>error = </code><table class="typetable"> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">ERROR_NONEXISTENT</span></code></td> </tr> <tr> <td align="left" valign="top" > <code><span class="keyword">|</span></code></td> <td align="left" valign="top" > <code><span class="constructor">ERROR_BAD_FILENAME</span></code></td> </tr></table> <pre><span class="keyword">exception</span> <a name="EXCEPTIONError"></a>Error <span class="keyword">of</span> <code class="type"><a href="GtkFile.FileChooser.html#TYPEerror">error</a> * string</code></pre> <pre><span class="keyword">val</span> <a name="VALset_current_name"></a>set_current_name : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget_filename"></a>get_filename : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string option</code></pre><pre><span class="keyword">val</span> <a name="VALset_filename"></a>set_filename : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALselect_filename"></a>select_filename : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALunselect_filename"></a>unselect_filename : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALselect_all"></a>select_all : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALunselect_all"></a>unselect_all : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget_filenames"></a>get_filenames : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string list</code></pre><pre><span class="keyword">val</span> <a name="VALget_current_folder"></a>get_current_folder : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string option</code></pre><pre><span class="keyword">val</span> <a name="VALset_current_folder"></a>set_current_folder : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALget_uri"></a>get_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string option</code></pre><pre><span class="keyword">val</span> <a name="VALset_uri"></a>set_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALselect_uri"></a>select_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALunselect_uri"></a>unselect_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALget_uris"></a>get_uris : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string list</code></pre><pre><span class="keyword">val</span> <a name="VALget_current_folder_uri"></a>get_current_folder_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string</code></pre><pre><span class="keyword">val</span> <a name="VALset_current_folder_uri"></a>set_current_folder_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> bool</code></pre><pre><span class="keyword">val</span> <a name="VALget_preview_filename"></a>get_preview_filename : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string option</code></pre><pre><span class="keyword">val</span> <a name="VALget_preview_uri"></a>get_preview_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string option</code></pre><pre><span class="keyword">val</span> <a name="VALadd_filter"></a>add_filter : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> <a href="Gtk.html#TYPEfile_filter">Gtk.file_filter</a> <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALremove_filter"></a>remove_filter : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> <a href="Gtk.html#TYPEfile_filter">Gtk.file_filter</a> <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALlist_filters"></a>list_filters : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> <a href="Gtk.html#TYPEfile_filter">Gtk.file_filter</a> <a href="Gtk.html#TYPEobj">Gtk.obj</a> list</code></pre><pre><span class="keyword">val</span> <a name="VALadd_shortcut_folder"></a>add_shortcut_folder : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALremove_shortcut_folder"></a>remove_shortcut_folder : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALlist_shortcut_folders"></a>list_shortcut_folders : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string list</code></pre><pre><span class="keyword">val</span> <a name="VALadd_shortcut_folder_uri"></a>add_shortcut_folder_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALremove_shortcut_folder_uri"></a>remove_shortcut_folder_uri : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string -> unit</code></pre><pre><span class="keyword">val</span> <a name="VALlist_shortcut_folder_uris"></a>list_shortcut_folder_uris : <code class="type">[> <a href="Gtk.html#TYPEfile_chooser">Gtk.file_chooser</a> ] <a href="Gtk.html#TYPEobj">Gtk.obj</a> -> string list</code></pre><pre><span class="keyword">val</span> <a name="VALdialog_create"></a>dialog_create : <code class="type">[ `bin | `container | `dialog | `filechooser | `gtk | `widget | `window ]<br> <a href="Gobject.html#TYPEparam">Gobject.param</a> list -><br> [ `bin | `container | `dialog | `filechooser | `gtk | `widget | `window ]<br> <a href="Gtk.html#TYPEobj">Gtk.obj</a></code></pre><pre><span class="keyword">val</span> <a name="VALwidget_create"></a>widget_create : <code class="type">[ `filechooser | `gtk | `widget ] <a href="Gobject.html#TYPEparam">Gobject.param</a> list -><br> [ `filechooser | `gtk | `widget ] <a href="Gtk.html#TYPEobj">Gtk.obj</a></code></pre></body></html>