It's common to store file paths in configuration files, so the GUI should support those. Since ConfigObj does not support paths directly there are a few options how to do it:
Make a list of supported custom types that users have to use in their specs
Make it possible for users to specify a type->widget mapping, and let them create the widget class themself.
It's common to store file paths in configuration files, so the GUI should support those. Since ConfigObj does not support paths directly there are a few options how to do it: