Just a short bit of clarification I hope. I want to spawn a FileDialog via code and send the selection data back to the node that spawned it. I have not tried it yet out of an abundance of caution. Here is the code I have:
dialog.connect("file_selected", self, "db_file_selected", [dialog.path])
Then under the defined function I have:
func db_file_selected(path): ...
Is this how I'm supposed to pass this information via the signals, especially the dialog.path portion of the connect() call?