Package: gtk

Function gtk:picture-new-for-pixbuf

Lambda List

gtk:picture-new-for-pixbuf (pixbuf)

Arguments

pixbuf -- a gdk-pixbuf:pixbuf object, or nil

Return Value

The new gtk:picture widget

Details

Creates a new picture displaying pixbuf. This is a utility function that calls the gtk:picture-new-for-paintable function. See that function for details. The pixbuf must not be modified after passing it to this function.

Warning

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

See also

2024-10-13