Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
Emoji data likes emoji unicode, annotations, description, category. You can get extended values with g_object_get_properties.
Synopsis
- newtype EmojiData = EmojiData (ManagedPtr EmojiData)
- class (GObject o, IsDescendantOf EmojiData o) => IsEmojiData o
- toEmojiData :: (MonadIO m, IsEmojiData o) => o -> m EmojiData
- emojiDataGetAnnotations :: (HasCallStack, MonadIO m, IsEmojiData a) => a -> m [Text]
- emojiDataGetCategory :: (HasCallStack, MonadIO m, IsEmojiData a) => a -> m Text
- emojiDataGetDescription :: (HasCallStack, MonadIO m, IsEmojiData a) => a -> m Text
- emojiDataGetEmoji :: (HasCallStack, MonadIO m, IsEmojiData a) => a -> m Text
- emojiDataLoad :: (HasCallStack, MonadIO m) => Text -> m [EmojiData]
- emojiDataSave :: (HasCallStack, MonadIO m, IsEmojiData a) => Text -> [a] -> m ()
- emojiDataSetAnnotations :: (HasCallStack, MonadIO m, IsEmojiData a) => a -> [Text] -> m ()
- emojiDataSetDescription :: (HasCallStack, MonadIO m, IsEmojiData a) => a -> Text -> m ()
- constructEmojiDataCategory :: (IsEmojiData o, MonadIO m) => Text -> m (GValueConstruct o)
- getEmojiDataCategory :: (MonadIO m, IsEmojiData o) => o -> m Text
- constructEmojiDataDescription :: (IsEmojiData o, MonadIO m) => Text -> m (GValueConstruct o)
- getEmojiDataDescription :: (MonadIO m, IsEmojiData o) => o -> m Text
- setEmojiDataDescription :: (MonadIO m, IsEmojiData o) => o -> Text -> m ()
- constructEmojiDataEmoji :: (IsEmojiData o, MonadIO m) => Text -> m (GValueConstruct o)
- getEmojiDataEmoji :: (MonadIO m, IsEmojiData o) => o -> m Text
Exported types
Memory-managed wrapper type.
Instances
Eq EmojiData Source # | |
GObject EmojiData Source # | |
Defined in GI.IBus.Objects.EmojiData | |
ManagedPtrNewtype EmojiData Source # | |
Defined in GI.IBus.Objects.EmojiData toManagedPtr :: EmojiData -> ManagedPtr EmojiData | |
TypedObject EmojiData Source # | |
Defined in GI.IBus.Objects.EmojiData glibType :: IO GType | |
IsGValue EmojiData Source # | Convert |
Defined in GI.IBus.Objects.EmojiData toGValue :: EmojiData -> IO GValue fromGValue :: GValue -> IO EmojiData | |
HasParentTypes EmojiData Source # | |
Defined in GI.IBus.Objects.EmojiData | |
type ParentTypes EmojiData Source # | |
Defined in GI.IBus.Objects.EmojiData |
class (GObject o, IsDescendantOf EmojiData o) => IsEmojiData o Source #
Type class for types which can be safely cast to EmojiData
, for instance with toEmojiData
.
Instances
(GObject o, IsDescendantOf EmojiData o) => IsEmojiData o Source # | |
Defined in GI.IBus.Objects.EmojiData |
toEmojiData :: (MonadIO m, IsEmojiData o) => o -> m EmojiData Source #
Methods
Overloaded methods
getAnnotations
emojiDataGetAnnotations Source #
:: (HasCallStack, MonadIO m, IsEmojiData a) | |
=> a |
|
-> m [Text] | Returns:
annotation list property in |
Gets the annotation list in EmojiData
. It should not be freed.
getCategory
:: (HasCallStack, MonadIO m, IsEmojiData a) | |
=> a |
|
-> m Text | Returns: category property in |
Gets the emoji category in EmojiData
. It should not be freed.
getDescription
emojiDataGetDescription Source #
:: (HasCallStack, MonadIO m, IsEmojiData a) | |
=> a |
|
-> m Text | Returns: description property in |
Gets the emoji description in EmojiData
. It should not be freed.
getEmoji
:: (HasCallStack, MonadIO m, IsEmojiData a) | |
=> a |
|
-> m Text | Returns: emoji property in |
Gets the emoji character in EmojiData
. It should not be freed.
load
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m [EmojiData] | Returns:
An |
No description available in the introspection data.
save
:: (HasCallStack, MonadIO m, IsEmojiData a) | |
=> Text |
|
-> [a] |
|
-> m () |
Save the list of EmojiData
to the cache file.
setAnnotations
emojiDataSetAnnotations Source #
:: (HasCallStack, MonadIO m, IsEmojiData a) | |
=> a |
|
-> [Text] |
|
-> m () |
Sets the annotation list in EmojiData
.
setDescription
emojiDataSetDescription Source #
:: (HasCallStack, MonadIO m, IsEmojiData a) | |
=> a |
|
-> Text |
|
-> m () |
Sets the description in EmojiData
.
Properties
annotations
category
The emoji category
constructEmojiDataCategory :: (IsEmojiData o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “category
” property. This is rarely needed directly, but it is used by new
.
getEmojiDataCategory :: (MonadIO m, IsEmojiData o) => o -> m Text Source #
Get the value of the “category
” property.
When overloading is enabled, this is equivalent to
get
emojiData #category
description
The emoji description
constructEmojiDataDescription :: (IsEmojiData o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “description
” property. This is rarely needed directly, but it is used by new
.
getEmojiDataDescription :: (MonadIO m, IsEmojiData o) => o -> m Text Source #
Get the value of the “description
” property.
When overloading is enabled, this is equivalent to
get
emojiData #description
setEmojiDataDescription :: (MonadIO m, IsEmojiData o) => o -> Text -> m () Source #
Set the value of the “description
” property.
When overloading is enabled, this is equivalent to
set
emojiData [ #description:=
value ]
emoji
The emoji character
constructEmojiDataEmoji :: (IsEmojiData o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “emoji
” property. This is rarely needed directly, but it is used by new
.
getEmojiDataEmoji :: (MonadIO m, IsEmojiData o) => o -> m Text Source #
Get the value of the “emoji
” property.
When overloading is enabled, this is equivalent to
get
emojiData #emoji