GtkFileChooserDialog and GtkFileChooser problem



Hi,
I'm experiencing a little problem with GtkFileChooserDialog and GtkFileChooser:
I'm writing an app that needs to select a path to operate on it.
This path could be a file or a directory (to be handled recursively).
While it was possible to select a file OR a directory with the old
GtkFileSelection widget it seems to be impossible to do the same
thing with the new GtkFileChooserDialog and GtkFileChooser widgets
as the GtkFileChooserAction(s) don't allow it:
 
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER

Is there a way to force a GtkFileChooserDialog to be able to select
files or directories?
Am i overlooking the obvious?

Best regards,
Tito



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]