set_pixbuf
Description:
[ Version ( deprecated = true , deprecated_since = "4.12" ) ]
public void set_pixbuf (Pixbuf? pixbuf)
public void set_pixbuf (Pixbuf? pixbuf)
Warning: set_pixbuf is deprecated since 4.12.
Sets a `GtkPicture` to show a `GdkPixbuf`.
Note:
Use [method@Gtk.Picture.set_paintable] instead
See [ctor@Gtk.Picture.new_for_pixbuf] for details.
This is a utility function that calls [method@Gtk.Picture.set_paintable].
Parameters:
this |
a `GtkPicture` |
pixbuf |
a `GdkPixbuf` |