Package: gtk

Function gtk:image-new-from-pixbuf

Lambda List

gtk:image-new-from-pixbuf (pixbuf)

Arguments

pixbuf -- a gdk-pixbuf:pixbuf object

Return Value

The new gtk:image widget.

Details

Creates an image displaying pixbuf. Note that this function just creates an image from the pixbuf. The image created will not react to state changes. Should you want that, you should use the gtk:image-new-from-icon-name function.

Warning

This function is deprecated since 4.12. Use the gtk:image-new-from-paintable and gdk:texture-new-for-pixbuf functions instead.
 

See also

2024-4-25