Package: gdk

Function gdk:pixbuf-from-texture

Lambda List

gdk:pixbuf-from-texture (texture)

Arguments

texture -- a gdk:texture object

Return Value

The new gdk-pixbuf:pixbuf object, or nil on error.

Details

Creates a new gdk-pixbuf:pixbuf object from texture. This should generally not be used in newly written code as later stages will almost certainly convert the pixbuf back into a texture to draw it on screen.

Warning

This function is deprecated since 4.12. Use the gdk:texture class and subclasses instead of Cairo surfaces and pixbufs.
 

See also

2024-7-16