*
* @surface must be an image surface with format `CAIRO_FORMAT_ARGB32`.
*
- * Returns: a new `GdkTexture`
+ * Returns: (type GdkMemoryTexture): a new `GdkTexture`
*/
GdkTexture *
gdk_texture_new_for_surface (cairo_surface_t *surface)
* and [method@Gio.Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Returns: a new `GdkTexture`
+ * Returns: (type GdkMemoryTexture): a new `GdkTexture`
*/
GdkTexture *
gdk_texture_new_for_pixbuf (GdkPixbuf *pixbuf)
* and [method@Gio.Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: A newly-created `GdkTexture`
+ * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
*/
GdkTexture *
gdk_texture_new_from_resource (const char *resource_path)
* and [method@Gio.Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: A newly-created `GdkTexture`
+ * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
*/
GdkTexture *
gdk_texture_new_from_file (GFile *file,
* and [method@Gio.Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: A newly-created `GdkTexture`
+ * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
*
* Since: 4.6
*/
* and [method@Gio.Task.run_in_thread] to avoid blocking the main thread
* while loading a big image.
*
- * Return value: A newly-created `GdkTexture`
+ * Return value: (type GdkMemoryTexture): A newly-created `GdkTexture`
*
* Since: 4.6
*/