gi-ibus-1.5.2: IBus bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.IBus.Objects.UnicodeBlock

Description

No description available in the introspection data.

Synopsis

Exported types

newtype UnicodeBlock Source #

Memory-managed wrapper type.

Constructors

UnicodeBlock (ManagedPtr UnicodeBlock) 

Instances

Instances details
Eq UnicodeBlock Source # 
Instance details

Defined in GI.IBus.Objects.UnicodeBlock

Methods

(==) :: UnicodeBlock -> UnicodeBlock -> Bool

(/=) :: UnicodeBlock -> UnicodeBlock -> Bool

GObject UnicodeBlock Source # 
Instance details

Defined in GI.IBus.Objects.UnicodeBlock

ManagedPtrNewtype UnicodeBlock Source # 
Instance details

Defined in GI.IBus.Objects.UnicodeBlock

Methods

toManagedPtr :: UnicodeBlock -> ManagedPtr UnicodeBlock

TypedObject UnicodeBlock Source # 
Instance details

Defined in GI.IBus.Objects.UnicodeBlock

Methods

glibType :: IO GType

IsGValue UnicodeBlock Source #

Convert UnicodeBlock to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.IBus.Objects.UnicodeBlock

Methods

toGValue :: UnicodeBlock -> IO GValue

fromGValue :: GValue -> IO UnicodeBlock

HasParentTypes UnicodeBlock Source # 
Instance details

Defined in GI.IBus.Objects.UnicodeBlock

type ParentTypes UnicodeBlock Source # 
Instance details

Defined in GI.IBus.Objects.UnicodeBlock

type ParentTypes UnicodeBlock = '[Serializable, Object, Object]

class (GObject o, IsDescendantOf UnicodeBlock o) => IsUnicodeBlock o Source #

Type class for types which can be safely cast to UnicodeBlock, for instance with toUnicodeBlock.

Instances

Instances details
(GObject o, IsDescendantOf UnicodeBlock o) => IsUnicodeBlock o Source # 
Instance details

Defined in GI.IBus.Objects.UnicodeBlock

toUnicodeBlock :: (MonadIO m, IsUnicodeBlock o) => o -> m UnicodeBlock Source #

Cast to UnicodeBlock, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

getEnd

unicodeBlockGetEnd Source #

Arguments

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

block: An UnicodeData

-> m Char

Returns: end property in UnicodeBlock

Gets the end code point in UnicodeBlock.

getName

unicodeBlockGetName Source #

Arguments

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

block: An UnicodeBlock

-> m Text

Returns: name property in UnicodeBlock

Gets the name in UnicodeBlock. It should not be freed.

getStart

unicodeBlockGetStart Source #

Arguments

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

block: An UnicodeData

-> m Char

Returns: start property in UnicodeBlock

Gets the start code point in UnicodeBlock.

load

unicodeBlockLoad Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

path: A path of the saved dictionary file.

-> m [UnicodeBlock]

Returns: An UnicodeBlock list loaded from the saved cache file.

No description available in the introspection data.

save

unicodeBlockSave Source #

Arguments

:: (HasCallStack, MonadIO m, IsUnicodeBlock a) 
=> Text

path: A path of the saved Unicode block.

-> [a]

list: A list of unicode block.

-> m () 

Save the list of UnicodeBlock to the cache file.

Properties

end

The Uniode end code point

constructUnicodeBlockEnd :: (IsUnicodeBlock o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “end” property. This is rarely needed directly, but it is used by new.

getUnicodeBlockEnd :: (MonadIO m, IsUnicodeBlock o) => o -> m Word32 Source #

Get the value of the “end” property. When overloading is enabled, this is equivalent to

get unicodeBlock #end

name

The Uniode block name

clearUnicodeBlockName :: (MonadIO m, IsUnicodeBlock o) => o -> m () Source #

Set the value of the “name” property to Nothing. When overloading is enabled, this is equivalent to

clear #name

constructUnicodeBlockName :: (IsUnicodeBlock o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “name” property. This is rarely needed directly, but it is used by new.

getUnicodeBlockName :: (MonadIO m, IsUnicodeBlock o) => o -> m Text Source #

Get the value of the “name” property. When overloading is enabled, this is equivalent to

get unicodeBlock #name

setUnicodeBlockName :: (MonadIO m, IsUnicodeBlock o) => o -> Text -> m () Source #

Set the value of the “name” property. When overloading is enabled, this is equivalent to

set unicodeBlock [ #name := value ]

start

The Uniode start code point

constructUnicodeBlockStart :: (IsUnicodeBlock o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “start” property. This is rarely needed directly, but it is used by new.

getUnicodeBlockStart :: (MonadIO m, IsUnicodeBlock o) => o -> m Word32 Source #

Get the value of the “start” property. When overloading is enabled, this is equivalent to

get unicodeBlock #start