I have a sub-routine that calls the file-selector widget (in a notebook tab)
This then has callbacks attached to file-activated/open widget
Is it possible to stop that sub-routine from returning.
I want it to only return when I have selected a file/dir but it is returning too early, ie: immediately the file widget opens
ie: only when file-activated or the open file/dir callback runs
I am probably missing something obvious but I cant see it