gi-gio-2.0.14: Gio bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.BytesIcon

Contents

Description

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

Synopsis

Exported types

Methods

getBytes

bytesIconGetBytes Source #

Arguments

:: (HasCallStack, MonadIO m, IsBytesIcon a) 
=> a

icon: a Icon.

-> m Bytes

Returns: a Bytes, or Nothing.

Gets the Bytes associated with the given icon.

Since: 2.38

new

bytesIconNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Bytes

bytes: a Bytes.

-> m BytesIcon

Returns: a Icon for the given bytes, or Nothing on error.

Creates a new icon for a bytes.

Since: 2.38

Properties

bytes