class Fox::FXFileDialog

File selection dialog

Each pattern in the patternList comprises an optional name, followed by a pattern in parentheses. The patterns are separated by newlines. For example,

fileDialog.patternList = ["*",
                          "*.cpp,*.cc",
                          "*.hpp,*.hh,*.h"
                         ]

and

fileDialog.patternList = ["All Files (*)",
                          "C++ Sources (*.cpp,*.cc)",
                          "C++ Headers (*.hpp,*.hh,*.h)"
                         ]

will set the same three patterns, but the former shows no pattern names.

Wildcard matching modes

FILEMATCH_FILE_NAME

No wildcard can ever match “/” (or “",”/“ under Windows).

FILEMATCH_NOESCAPE

Backslashes don’t quote special chars (“" is treated as ”").

FILEMATCH_PERIOD

Leading “.” is matched only explicitly (Useful to match hidden files on Unix).

FILEMATCH_LEADING_DIR

Ignore “/…” after a match.

FILEMATCH_CASEFOLD

Compare without regard to case.

Note that under Windows, FILEMATCH_NOESCAPE must be passed.