*
* Creates a new texture object representing the `GdkPixbuf`.
*
+ * This function is threadsafe, so that you can e.g. use GTask
+ * and g_task_run_in_thread() to avoid blocking the main thread
+ * while loading a big image.
+ *
* Returns: a new `GdkTexture`
*/
GdkTexture *
* If you are unsure about the validity of a resource, use
* [ctor@Gdk.Texture.new_from_file] to load it.
*
+ * This function is threadsafe, so that you can e.g. use GTask
+ * and g_task_run_in_thread() to avoid blocking the main thread
+ * while loading a big image.
+ *
* Return value: A newly-created `GdkTexture`
*/
GdkTexture *
*
* If %NULL is returned, then @error will be set.
*
+ * This function is threadsafe, so that you can e.g. use GTask
+ * and g_task_run_in_thread() to avoid blocking the main thread
+ * while loading a big image.
+ *
* Return value: A newly-created `GdkTexture`
*/
GdkTexture *
*
* If %NULL is returned, then @error will be set.
*
+ * This function is threadsafe, so that you can e.g. use GTask
+ * and g_task_run_in_thread() to avoid blocking the main thread
+ * while loading a big image.
+ *
* Return value: A newly-created `GdkTexture`
*
* Since: 4.6
*
* If %NULL is returned, then @error will be set.
*
+ * This function is threadsafe, so that you can e.g. use GTask
+ * and g_task_run_in_thread() to avoid blocking the main thread
+ * while loading a big image.
+ *
* Return value: A newly-created `GdkTexture`
*/
GdkTexture *