gio.bytes_icon

Module for BytesIcon class

Types 3

gio.bytes_icon.BytesIcon specifies an image held in memory in a common format (usually PNG) to be used as icon.

Methods
GType _gType() @property
BytesIcon self()Returns `this`, for use in `with` statements.
BytesIconGidBuilder builder()Get builder for [gio.bytes_icon.BytesIcon] Returns: New builder object
glib.bytes.Bytes bytes() @propertyGet `bytes` property. Returns: The bytes containing the icon.
glib.bytes.Bytes getBytes()Gets the #GBytes associated with the given icon. Returns: a #GBytes.
Constructors
this(void * ptr, Flag!"Take" take)
this(glib.bytes.Bytes bytes)Creates a new icon for a bytes.

Fluent builder implementation template for gio.bytes_icon.BytesIcon

Methods
T bytes(glib.bytes.Bytes propval)Set `bytes` property. Params: propval = The bytes containing the icon. Returns: Builder instance for fluent chaining

Fluent builder for gio.bytes_icon.BytesIcon

Methods
BytesIcon build()Create object from builder. Returns: New object