BytesIcon.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(glib.bytes.Bytes bytes)

Creates a new icon for a bytes.

This cannot fail, but loading and interpreting the bytes may fail later on (for example, if [gio.loadable_icon.LoadableIcon.load] is called) if the image is invalid.

Parameters

bytesa #GBytes.

Returns

a #GIcon for the given

bytes.