References
Libraries
Added in version 2.38.
Superclasses: Object
Object
Implemented Interfaces: Icon, LoadableIcon
Icon
LoadableIcon
BytesIcon(**properties) new(bytes:GLib.Bytes) -> Gio.BytesIcon
Creates a new icon for a bytes.
This cannot fail, but loading and interpreting the bytes may fail later on (for example, if load() is called) if the image is invalid.
load()
bytes – a Bytes.
Bytes
Gets the Bytes associated with the given icon.
icon
The bytes containing the icon.
BytesIcon.new()
BytesIcon.get_bytes()
BytesIcon.props.bytes