summaryrefslogtreecommitdiff
path: root/grc/core/Constants.py
diff options
context:
space:
mode:
authorYamakaja <dastw@gmx.net>2020-07-19 16:18:38 +0200
committerSebastian Koslowski <sebastian.koslowski@gmail.com>2020-07-23 08:27:30 +0200
commitb9eff3f5e61ae2443f85549bcf60f1fae4ff0447 (patch)
treeb4413369331f18015366fac5c2514fdf7ad5b694 /grc/core/Constants.py
parentc2f42238032e2315371aaec8a64687d99028ccd2 (diff)
grc: Add dir_select parameter type
This commit adds a new parameter type to GNURadio Companion that allows you to select directories using a gui. This functionality is very similar to that of the previously available "file_open" and "file_save" parameter types, and mainly differs by calling GTKs file chooser with FileChooserAction.SELECT_FOLDER.
Diffstat (limited to 'grc/core/Constants.py')
-rw-r--r--grc/core/Constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/core/Constants.py b/grc/core/Constants.py
index 70aff73dd9..504b4ec0f9 100644
--- a/grc/core/Constants.py
+++ b/grc/core/Constants.py
@@ -49,7 +49,7 @@ PARAM_TYPE_NAMES = {
'complex', 'real', 'float', 'int',
'complex_vector', 'real_vector', 'float_vector', 'int_vector',
'hex', 'string', 'bool',
- 'file_open', 'file_save', '_multiline', '_multiline_python_external',
+ 'file_open', 'file_save', 'dir_select', '_multiline', '_multiline_python_external',
'id', 'stream_id','name',
'gui_hint',
'import',