0

I try to receive and save the url of each image contained within a folder with gtk_filechooser_get_uris and it does not work

7th Aug 2022, 7:29 PM
Fidel Alejandro Sanchez Fernandez
Fidel Alejandro Sanchez Fernandez - avatar
5 Respostas
+ 1
Hi! Pls, show us your code here! Thx!
7th Aug 2022, 10:59 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
specify also the programming language
7th Aug 2022, 11:38 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Hey, thanks for reply
7th Aug 2022, 11:36 PM
Fidel Alejandro Sanchez Fernandez
Fidel Alejandro Sanchez Fernandez - avatar
0
void on_file1_file_set(GtkFileChooserButton *f, const gchar *ejemplo){ ejemplo = printf("file name = %s\n", gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(f))); printf("folder name = %s\n", gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(f))); printf("folder uris = %s\n", gtk_file_chooser_get_uris(GTK_FILE_CHOOSER(f))); printf("folder uris = %s\n", gtk_file_chooser_get_filenames(GTK_FILE_CHOOSER(f))); //printf("El arhcivo seleccionado esta en la direccion%s\n", ejemplo); //gtk_label_set_text (GTK_LABEL(label1), (GTK_LABEL(ejemplo))); //ejemplo = gtk_label_set_text (GTK_LABEL(label1), "file name = %s\n", gtk_file_chooser_get_filename (GTK_FILE_CHOOSER(f))); }
7th Aug 2022, 11:36 PM
Fidel Alejandro Sanchez Fernandez
Fidel Alejandro Sanchez Fernandez - avatar
0
I am programming in C with the gtk library an GUI app for Gnome
7th Aug 2022, 11:39 PM
Fidel Alejandro Sanchez Fernandez
Fidel Alejandro Sanchez Fernandez - avatar