GtkClutter.Texture.prototype.set_from_pixbuf

function set_from_pixbuf(pixbuf: GdkPixbuf.Pixbuf): Boolean {
    // Gjs wrapper for gtk_clutter_texture_set_from_pixbuf()
}
  

Sets the contents of texture with a copy of pixbuf.

pixbuf

a GdkPixbuf.Pixbuf

Returns

true on success, false on failure.