Re: gtk_file_chooser_get_filenames multiple folders



On Tue, Feb 08, 2011 at 02:35:02AM +0000, Kevin S Anthony gmail com wrote:
> Is there a way, to use gtk_file_chooser_get_filenames to recursively  
> descend into all the folders selected?
>
> so you select folders ABC
> and click open,
> you then go into ABC and select and return all the files in each subfolder,

No.  You can use GFileEnumerator or GDir to traverse the tree – deciding
how to handle hidden files, symlinks to directories, crossing file
system boundaries, etc. as the definition of ‘all files’ depends...

Yeti



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