<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_FileDialog - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_FileDialog</h1> <p> File dialog component <a href="#description">More...</a></p> <p>Derived from: <a href="CL_Window.html">CL_Window</a> <br> Derived by: <i>none</i> <br>Group: GUI (Controls)</p> <p> #include <ClanLib/gui.h> <p> <table border=0 width=100%> </table> <p><b>Construction:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_FileDialog__CL_FileDialog.html">CL_FileDialog</a></p></td><td valign=top><p> File dialog constructor</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__open.html">open</a></p></td><td valign=top><p> Open</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__save.html">save</a></p></td><td valign=top><p> Save</p></td></tr></table> <p><b>Attributes:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_FileDialog__get_pressed_button.html">get_pressed_button</a></p></td><td valign=top><p> Return pressed button</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__get_file.html">get_file</a></p></td><td valign=top><p> Returns the selected file name. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__get_filter.html">get_filter</a></p></td><td valign=top><p> Returns the filter which the user has chosen in the file dialog.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__get_dir.html">get_dir</a></p></td><td valign=top><p> Returns the active directory in the file dialog.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__get_path.html">get_path</a></p></td><td valign=top><p> Returns the active directory path in the file dialog. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__is_hidden_files_visible.html">is_hidden_files_visible</a></p></td><td valign=top><p> Returns true if hidden files are shown in the filedialog, else false.</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_FileDialog__set_behavior.html">set_behavior</a></p></td><td valign=top><p> Set behavior of dialog</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__set_file.html">set_file</a></p></td><td valign=top><p> Sets the default selection to filename.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__set_dir.html">set_dir</a></p></td><td valign=top><p> Sets a directory path for the file dialog. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__set_filter.html">set_filter</a></p></td><td valign=top><p> Sets the filter to filter.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__show_hidden_files.html">show_hidden_files</a></p></td><td valign=top><p> If enable is true, hidden files are shown in the filedialog, else no hidden files are shown. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__refresh.html">refresh</a></p></td><td valign=top><p> Re-reads the active directory in the file dialog. </p></td></tr></table> <p><b>Signals:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_FileDialog__sig_file_highlighted.html">sig_file_highlighted</a></p></td><td valign=top><p> This signal is emitted when the user highlights a file. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__sig_file_selected.html">sig_file_selected</a></p></td><td valign=top><p> This signal is emitted when the user selects a file. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_FileDialog__sig_dir_entered.html">sig_dir_entered</a></p></td><td valign=top><p> This signal is emitted when the user has selected a new directory. </p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> !group=GUI/Controls! !header=gui.h! <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->