It works! I didn’t know about gdk_pixbuf_new_from_resource()
thank you.
Ale
From: infirit
Sent: Sunday, November 11, 2018 11:11:53 PM
To: Alessandro Francesconi; gtk-app-devel-list@gnome.org
Subject: Re: Working with embedded images with GResource
Op 11-11-18 om 18:23 schreef Alessandro Francesconi:
I can’t really understand how Pixbuf expects from the GResource data… also i
read in the docs that “gdk_pixbuf_new_from_inline has been deprecated since
version 2.32 and should not be used in newly-written code. Use GResource
instead.”… so w
From: Joël Krähemann
Sent: Sunday, November 11, 2018 8:29:37 PM
To: misterbi...@hotmail.it
Cc: gtk-app-devel-.
Subject: Re: Working with embedded images with GResource, GdkPixbuf and
GtkWidget
Hi,
First you create a GdkPixbuf:
https://developer.gnome.org/gdk
Hi,
First you create a GdkPixbuf:
https://developer.gnome.org/gdk-pixbuf/stable/gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-data
then set the property of about dialog:
https://developer.gnome.org/gtk2/stable/GtkAboutDialog.html#GtkAboutDialog--logo
g_object_set(your_about_dialog,