for_pixbuf


Description:

[ CCode ( cname = "gdk_texture_new_for_pixbuf" ) ]
public static Texture for_pixbuf (Pixbuf pixbuf)

Creates a new texture object representing the `GdkPixbuf`.

Parameters:

pixbuf

a `GdkPixbuf`

Returns:

a new `GdkTexture`