FileDialog

File dialog window for opening files. Returns the selected filetype as an int value of the position of the types that were handled to the ctor.

Constructors

this
this(Text title, string source, void delegate(Event ev) onFileselect, FileAssociationDescriptor[] filetypes, string startDir, bool save, string filename, StyleSheet customStyle)
this(dstring title, string source, void delegate(Event ev) onFileselect, FileAssociationDescriptor[] filetypes, string startDir, bool save, string filename, StyleSheet customStyle)

Creates a file dialog with the given parameters. File types are given in the format '*.format'.

Members

Static variables

buttonTexts
dstring[] buttonTexts;

Can be changed for localization

Structs

FileAssociationDescriptor
struct FileAssociationDescriptor

Defines file association descriptions

Variables

onFileselect
void delegate(Event ev) onFileselect;
Undocumented in source.

Meta