Posted: Tue May 06, 2008 8:11 pm Post subject: directory chooser
I'm wondering if there's a way to create something like a file chooser that would, instead of returning the path to a file, allow the user to select a certain directory.
Joined: 21 Sep 2005 Posts: 427 Location: Portland, OR USA
Posted: Tue May 06, 2008 8:52 pm Post subject:
You set the action of the GtkFileChooser using gtk_file_chooser_set_action (). In your case, you want to use the GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER enum. So it would look something like this...