We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The PathTag wraps over pathlib.Path. It has multiple attribute that store the information for UI, whether the UI should pick one or multiple paths.
multiple
In the GUI interface, it works well. Note the button that open a basic (and ugly) file picker.
m = run(interface="gui") out = m.form({ "File 1": PathTag("/tmp"), })
** Multiple attributes **
The PathTag should have file_exist and is_dir attributes that turns on filtering for file picker.
file_exist
is_dir
** Textual support **
The same should work for the textual interface too. Currently, it behaves just any other str. Which is sufficient but poor.
m = run(interface="tui") out = m.form({ "File 1": PathTag("/tmp"), })
The text was updated successfully, but these errors were encountered:
Hi, @e3rd; this is a nice idea; I'm on it!
Sorry, something went wrong.
No branches or pull requests
The PathTag wraps over pathlib.Path. It has
multiple
attribute that store the information for UI, whether the UI should pick one or multiple paths.In the GUI interface, it works well. Note the button that open a basic (and ugly) file picker.
** Multiple attributes **
The PathTag should have
file_exist
andis_dir
attributes that turns on filtering for file picker.** Textual support **
The same should work for the textual interface too. Currently, it behaves just any other str. Which is sufficient but poor.
The text was updated successfully, but these errors were encountered: