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 _getGType() static nothrow
GType _gType() @property nothrow
BytesIcon self() nothrowReturns `this`, for use in `with` statements.
BytesIconGidBuilder builder() static nothrowGet builder for [gio.bytes_icon.BytesIcon] Returns: New builder object
glib.bytes.Bytes bytes() @property nothrowGet `bytes` property. Returns: The bytes containing the icon.
glib.bytes.Bytes getBytes() nothrowGets 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) nothrowSet `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() nothrowCreate object from builder. Returns: New object