All Classes |Grouped Classes |Index

Class CL_OpenFileDialog

OpenFileDialog component. More...

Derived from:

None

Derived by:

None

Group:

Components (GUI)

#include <ClanLib/gui.h>

Class Members:

Construction:

CL_OpenFileDialog

Constructs an open file dialog.


Attributes:

get_filename

Get the full path of the file selected.

get_filenames

Gets an array that contains one file name for each selected file.


Operations:

set_multi_select

Sets if multiple files can be selected or not.

set_filename

Sets a string containing the full path of the file selected.

add_filter

Add a filter that determines what types of files are displayed.

clear_filters

Clears all filters.

set_filter_index

Sets a default filter, on a 0-based index.

set_initial_directory

Sets the initial directory that is displayed.

set_title

Sets the text that appears in the title bar.

show

Shows the file dialog.