Re: Undefined reference to g_file_load_bytes()

2018-06-04 Thread pspgen
Al right, despite that it still shows the same version it seems to actually be for real updated. Thanks a lot! Also my Glade and perhaps the entire gtk changed, one thing I noticed is that dialog windows use the native windows graphical environment, which I don't really like, nor expected. ---

Re: Undefined reference to g_file_load_bytes()

2018-06-04 Thread pspgen
I updated with pacboy update now. Everything is up to date. But still pkg-config --modversion glib-2.0 returns 2.52.3 and if I try to reinstall gtk with pacman -S mingw-w64-x86_64-gtk3, it says it is up to date. - Mail.BG: Безплатен e-mail адрес. Най-добри

Re: Undefined reference to g_file_load_bytes()

2018-06-04 Thread Greg King
On 2018-06-01 1:10 PM, pspgen wrote: - Цитат от Emmanuele Bassi, на 01.06.2018 в 11:20 - Hi; g_file_load_bytes() is available since GLib 2.56: https://developer.gnome.org/gio/stable/GFile.html#g-file-load-bytes So, you'll need to make sure that the version of GLib provided by MSYS

Re: How to get a directory from the user

2018-06-04 Thread Richard Shann
On Mon, 2018-06-04 at 13:24 +0100, Emmanuele Bassi wrote: > > > 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_AC

Re: How to get a directory from the user

2018-06-04 Thread Phil Wolff
void gtk_file_chooser_set_action (GtkFileChooser *chooser, GtkFileChooserAction action); set action to FILE_CHOOSER_ACTION_SELECT_FOLDER On 06/04/2018 05:06, Richard Shann wrote: Hi, I have seen GtkFileChooser for getting a file from the user, but how to get a directory (folder)? Richard

Re: How to get a directory from the user

2018-06-04 Thread Bas Wassink
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/GtkFileCho

Re: How to get a directory from the user

2018-06-04 Thread Emmanuele Bassi
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/GtkFileC

How to get a directory from the user

2018-06-04 Thread Richard Shann
Hi, I have seen GtkFileChooser for getting a file from the user, but how to get a directory (folder)? Richard Shann ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list