GTK + Filechooser for opening files and folders

How to make my filechooser select both files and folders when the open button in the filechooser dialog box is clicked? I want to compress the ability to open files and filders in only one file. I use GTK + and Python.

+7
python gtk pygtk filechooser
source share
1 answer

I thought about this, and although in your comments you decided to go the other way, I have a suggestion: write your own subheading for selecting GTK + files and give two buttons "Open", Open File ", and the other in" Open Directory ". This would eliminate the ambiguity discussed above.

+2
source share

All Articles