Re: How to get a directory from the user
- From: Emmanuele Bassi <ebassi gmail com>
- To: Richard Shann <richard rshann plus com>
- Cc: gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Re: How to get a directory from the user
- Date: Mon, 4 Jun 2018 13:24:57 +0100
On 4 June 2018 at 13:06, Richard Shann <richard rshann plus com> 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]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]