|
Gseos.FileMenu
|
Previous Top Next |
| Parameter | Description
|
| fCallback | The callback function should take two parameters: fCallback(strFile, wMode) Where strFile is the file name the user selected and wMode is one of the file modes specified in the flags parameter.
|
| strFilter | The filter, the actual extensions should be in parentheses with a descriptive text before that: "Python Modules (*.py; *.pyd; *.pyc)". If multiple extensions are provided they must be separated by semicolon (;).
|
| wFlags | Specifies the file mode to register for. If this parameter is 0 this filter is removed from the file handling. wFlags can be one or more of the following constants. If you specify just one parameter you can simply use the constant, for more than one parameter you or the values together. Here the constants valid for wFlags: REG_FILENEW, REG_FILEOPEN, REG_FILEAPPEND, REG_FILESAVEAS, REG_FILEPRINT.
|
| bPriority | Optional, specifies the order in the list. Smaller numbers occur higher up in the list. You should not install your custom filters before or in between the standard GSEOS filters. If you don't specify this parameter the filter is appended at the end of the list.
|