[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Picture.for_pixbuf (Pixbuf? pixbuf)
Creates a new `GtkPicture` displaying pixbuf
.
This is a utility function that calls [[email protected]_for_paintable], See that function for details.
The pixbuf must not be modified after passing it to this function.
pixbuf |
a `GdkPixbuf` |
a new `GtkPicture` |