set_from_pixbuf


Description:

public void set_from_pixbuf (Pixbuf? pixbuf)

Sets a `GtkImage` to show a `GdkPixbuf`.

See [[email protected]_from_pixbuf] for details.

Note: This is a helper for [[email protected]_from_paintable], and you can't get back the exact pixbuf once this is called, only a paintable.

Parameters:

this

a `GtkImage`

pixbuf

a `GdkPixbuf` or `NULL`




2022 vala-language.org