From gtk-app-devel Mon Jun 04 12:24:57 2018 From: Emmanuele Bassi Date: Mon, 04 Jun 2018 12:24:57 +0000 To: gtk-app-devel Subject: Re: How to get a directory from the user Message-Id: X-MARC-Message: https://marc.info/?l=gtk-app-devel&m=152811511213771 On 4 June 2018 at 13:06, Richard Shann wrote: > Hi, > > I have seen GtkFileChooser for getting a file from the user, but how to > get a directory (folder)? > > You can use GtkFileChooser with GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER as the action: - https://developer.gnome.org/gtk3/stable/GtkFileChooser.html#GtkFileChooserAction - https://developer.gnome.org/gtk3/stable/GtkFileChooser.html#gtk-file-chooser-set-action Ciao, Emmanuele. -- https://www.bassi.io [@] ebassi [@gmail.com] _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list