Re: gtk_file_selection - select only folder?



On Fri, 2006-10-27 at 11:27 -0700, Lance Dillon wrote:
From: Alvis Koon <alviskoon gmail com>
Quick question:
Is there a way to limit users to only select folders on gtk_file_selection?

I'd guess you can filter (with GtkFileFilter) on mime type, filtering on text/directory.

If you can use GtkFileFilter - as for GTK+-2.4 - you can use
GtkFileChooser and with the GtkFileAction set to
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER.

-- 
Iago Rubio




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