get_pixbuf


Description:

[ Version ( since = "2.6" ) ]
public Pixbuf? get_pixbuf ()

Gets the contents of the selection data as a Pixbuf.

Parameters:

this

a SelectionData

Returns:

if the selection data contained a recognized image type and it could be converted to a Pixbuf, a newly allocated pixbuf is returned, otherwise null. If the result is non- null it must be freed with unref.




2022 vala-language.org