Re: GtkFileChooserDialog and GtkFileChooser problem



On Monday 12 November 2007 23:24:51 zz excite it wrote:
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


Hell low. I'm not a professional, just a beginner, but i know dat's possible.
You know audacious audio player? Look, there s just watchu need. My advice 2 u
- look it's source n i think u'll find how they did it.

Peace.

I've looked at Audacity but in the last version it is not possible.
I think it depends on the gtk libs version.

Tito



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