Re: gtk_file_selection - select only folder?
- From: Iago Rubio <iago iagorubio com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_file_selection - select only folder?
- Date: Tue, 31 Oct 2006 18:44:22 +0100
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]