From b9eff3f5e61ae2443f85549bcf60f1fae4ff0447 Mon Sep 17 00:00:00 2001 From: Yamakaja <dastw@gmx.net> Date: Sun, 19 Jul 2020 16:18:38 +0200 Subject: 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. --- grc/core/Constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc/core/Constants.py') 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', -- cgit v1.2.3