Re: How to get a directory from the user
- From: Bas Wassink <b wassink ziggo nl>
- To: gtk-app-devel-list gnome org
- Subject: Re: How to get a directory from the user
- Date: Mon, 4 Jun 2018 14:19:23 +0200
On 2018-06-04 14:06, Richard Shann wrote:
Hi,
I have seen GtkFileChooser for getting a file from the user, but how to
get a directory (folder)?
Richard Shann
Use gtk_file_chooser_set_action(chooser,
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
https://developer.gnome.org/gtk3/stable/GtkFileChooser.html#gtk-file-chooser-set-action
https://developer.gnome.org/gtk3/stable/GtkFileChooser.html#GtkFileChooserAction
/Compyx
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]