GdkTexture* gdk_texture_new_for_pixbuf ( GdkPixbuf* pixbuf )
Creates a new texture object representing the
This function is threadsafe, so that you can e.g. use GTask
g_task_run_in_thread() to avoid blocking the main thread
while loading a big image.
The data is owned by the caller of the function.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|