Hello, I’m trying to add a filter to a file selection.
Here is my current code :
function on_choose_file_button_click(w)
open_dialog("Choose Data File"; start_folder = pwd()) do filename
global data_file_path = filename
println("$data_file_path")
end
end
signal_connect(on_choose_file_button_click, file_chooser, "clicked")
I have tried open_dialog("Choose Data File"; start_folder = pwd() filters=[("CSV Files, "*.csv")])
but it didn’t work so I do not know what to do.
Any one know how to add a filter ?
Thanks in advance !