BytesIcon
open class BytesIcon(pointer: <Error class: unknown class><<Error class: unknown class>>) : Icon, LoadableIcon
GBytesIcon
specifies an image held in memory in a common format (usually PNG) to be used as icon.
Since
2.38
Constructors
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val gioLoadableIconPointer: <Error class: unknown class><<Error class: unknown class>>
Functions
Link copied to clipboard
Loads an icon asynchronously. To finish this function, see g_loadable_icon_load_finish(). For the synchronous, blocking version of this function, see g_loadable_icon_load().
Link copied to clipboard
Serializes a #GIcon into a #GVariant. An equivalent #GIcon can be retrieved back by calling g_icon_deserialize() on the returned value. As serialization will avoid using raw icon data when possible, it only makes sense to transfer the #GVariant between processes on the same machine, (as opposed to over the network), and within the same file system namespace.