Skip to content

Commit

Permalink
added --ext on file dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
thanoulis committed Dec 1, 2020
1 parent 0a75c80 commit 3126646
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,26 @@
| option | type | description | default |
|:---------:|:------:|:---------------------:|:--------------:|
| --title= | string | set window title | "Select Files" |
| --ext= | csv | set filetype filter | show all files |
| --single | | single file selection |
| --help | | this help |
* returns:
| OK | Cancel | Error |
|:------------:|:------:|:-----:|
| *files path* | 1 | 255 |
* example:
`tpmg --fileselect --title="Select a File" --single`
`tpmg --fileselect --title="Select a File" --ext="*.txt,*" --single`
* screenshot:
![FileSelectDialog](screenshots/FileSelectDialog.png "FileSelectDialog")

#### FileSave dialog
* options:
| option | type | description | default |
|:------------:|:------:|:---------------------------:|:-------------:|
| --title= | string | set window title | "Save File" |
| option | type | description | default |
|:------------:|:------:|:---------------------------:|:-----------------:|
| --title= | string | set window title | "Save File" |
| --ext= | csv | set filetype filter | show all files |
| --file= | path | set initial file |
| --noconfirm | | do not confirm on overwrite |
| --noconfirm | | do not confirm on overwrite | confirm overwrite |
| --help | | this help |
* returns:
| OK | Cancel | Error |
Expand Down

0 comments on commit 3126646

Please sign in to comment.