pixbufGetFromTexture
fn
gdkpixbuf.pixbuf.Pixbuf pixbufGetFromTexture(gdk.texture.Texture texture)Creates a new pixbuf 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.
Parameters
texture | a [gdk.texture.Texture] |
Returns
a new [gdkpixbuf.pixbuf.Pixbuf]
Deprecated
Use [gdk.texture.Texture] and subclasses instead
cairo surfaces and pixbufs