Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
BytesIcon
specifies an image held in memory in a common format (usually
png) to be used as icon.
- newtype BytesIcon = BytesIcon (ManagedPtr BytesIcon)
- class GObject o => IsBytesIcon o
- toBytesIcon :: IsBytesIcon o => o -> IO BytesIcon
- noBytesIcon :: Maybe BytesIcon
- data BytesIconGetBytesMethodInfo
- bytesIconGetBytes :: (HasCallStack, MonadIO m, IsBytesIcon a) => a -> m Bytes
- bytesIconNew :: (HasCallStack, MonadIO m) => Bytes -> m BytesIcon
- data BytesIconBytesPropertyInfo
- bytesIconBytes :: AttrLabelProxy "bytes"
- constructBytesIconBytes :: IsBytesIcon o => Bytes -> IO (GValueConstruct o)
- getBytesIconBytes :: (MonadIO m, IsBytesIcon o) => o -> m Bytes
Exported types
GObject BytesIcon Source # | |
IsObject BytesIcon Source # | |
IsLoadableIcon BytesIcon Source # | |
IsIcon BytesIcon Source # | |
IsBytesIcon BytesIcon Source # | |
((~) * info (ResolveBytesIconMethod t BytesIcon), MethodInfo * info BytesIcon p) => IsLabel t (BytesIcon -> p) Source # | |
((~) * info (ResolveBytesIconMethod t BytesIcon), MethodInfo * info BytesIcon p) => IsLabelProxy t (BytesIcon -> p) Source # | |
HasAttributeList * BytesIcon Source # | |
type AttributeList BytesIcon Source # | |
type SignalList BytesIcon Source # | |
class GObject o => IsBytesIcon o Source #
toBytesIcon :: IsBytesIcon o => o -> IO BytesIcon Source #
Methods
getBytes
data BytesIconGetBytesMethodInfo Source #
((~) * signature (m Bytes), MonadIO m, IsBytesIcon a) => MethodInfo * BytesIconGetBytesMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsBytesIcon a) | |
=> a |
|
-> m Bytes |
Gets the Bytes
associated with the given icon
.
Since: 2.38
new
:: (HasCallStack, MonadIO m) | |
=> Bytes |
|
-> m BytesIcon |
Creates a new icon for a bytes.
Since: 2.38
Properties
bytes
data BytesIconBytesPropertyInfo Source #
bytesIconBytes :: AttrLabelProxy "bytes" Source #
constructBytesIconBytes :: IsBytesIcon o => Bytes -> IO (GValueConstruct o) Source #
getBytesIconBytes :: (MonadIO m, IsBytesIcon o) => o -> m Bytes Source #