Specifies a filter manager interface for a FilePicker.
More...
import "XFilterManager.idl";
Specifies a filter manager interface for a FilePicker.
◆ appendFilter()
Adds a filter identified by a title.
- Parameters
-
aTitle | Specifies the name of the filter as shown in the filter box of the FilePicker dialog. |
aFilter | Specifies the extensions of the filter. Multiple filters should be semicolon separated. The semicolon may not be used as character in a filter expression. A typical filter is for instance "*.txt". |
- Exceptions
-
◆ getCurrentFilter()
string getCurrentFilter |
( |
| ) |
|
Returns the currently selected filter.
- Returns
- The name of the selected filter or an empty string if there is no filter or no filter is currently selected.
◆ setCurrentFilter()
Sets the current filter.
- Parameters
-
aTitle | Specifies the name of the filter to be set. |
- Exceptions
-
The documentation for this interface was generated from the following file: