I have successfully used in GTK 3.98.4
gtk_file_chooser_widget_new() to open files. But when I try to call it with
gtk_file_chooser_widget_new(GTK_FILE_CHOOSER_ACTION_SAVE), it half works:
- If I choose an already existing file, I successfully obtain the GFile. I can obtain its path with
g_file_get_path(). It’s OK.
- But when I try to type a name in the “Name:” field in order to create a new file, it always opens a “Search” field.