Creates a new texture object representing the gdkpixbuf.pixbuf.Pixbuf.
This function is threadsafe, so that you can e.g. use GTask and gio.task.Task.runInThread to avoid blocking the main thread while loading a big image.
a gdkpixbuf.pixbuf.Pixbuf
a new gdk.texture.Texture
Creates a new texture object representing the gdkpixbuf.pixbuf.Pixbuf.
This function is threadsafe, so that you can e.g. use GTask and gio.task.Task.runInThread to avoid blocking the main thread while loading a big image.