Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
An IBusEngineSimple provides table-based input method logic.
see_also: Engine
Synopsis
- newtype EngineSimple = EngineSimple (ManagedPtr EngineSimple)
- class (GObject o, IsDescendantOf EngineSimple o) => IsEngineSimple o
- toEngineSimple :: (MonadIO m, IsEngineSimple o) => o -> m EngineSimple
- engineSimpleAddComposeFile :: (HasCallStack, MonadIO m, IsEngineSimple a) => a -> Text -> m Bool
- engineSimpleAddTable :: (HasCallStack, MonadIO m, IsEngineSimple a) => a -> [Word16] -> Int32 -> Int32 -> m ()
- engineSimpleAddTableByLocale :: (HasCallStack, MonadIO m, IsEngineSimple a) => a -> Maybe Text -> m Bool
Exported types
newtype EngineSimple Source #
Memory-managed wrapper type.
EngineSimple (ManagedPtr EngineSimple) |
Instances
Eq EngineSimple Source # | |
Defined in GI.IBus.Objects.EngineSimple (==) :: EngineSimple -> EngineSimple -> Bool # (/=) :: EngineSimple -> EngineSimple -> Bool # | |
GObject EngineSimple Source # | |
Defined in GI.IBus.Objects.EngineSimple | |
ManagedPtrNewtype EngineSimple Source # | |
Defined in GI.IBus.Objects.EngineSimple toManagedPtr :: EngineSimple -> ManagedPtr EngineSimple | |
TypedObject EngineSimple Source # | |
Defined in GI.IBus.Objects.EngineSimple | |
HasParentTypes EngineSimple Source # | |
Defined in GI.IBus.Objects.EngineSimple | |
IsGValue (Maybe EngineSimple) Source # | Convert |
Defined in GI.IBus.Objects.EngineSimple gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe EngineSimple -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe EngineSimple) | |
type ParentTypes EngineSimple Source # | |
Defined in GI.IBus.Objects.EngineSimple |
class (GObject o, IsDescendantOf EngineSimple o) => IsEngineSimple o Source #
Type class for types which can be safely cast to EngineSimple
, for instance with toEngineSimple
.
Instances
(GObject o, IsDescendantOf EngineSimple o) => IsEngineSimple o Source # | |
Defined in GI.IBus.Objects.EngineSimple |
toEngineSimple :: (MonadIO m, IsEngineSimple o) => o -> m EngineSimple Source #
Cast to EngineSimple
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Click to display all available methods, including inherited ones
Methods
addComposeFile, addTable, addTableByLocale, bindProperty, bindPropertyFull, commitText, deleteSurroundingText, destroy, emitSignal, forceFloating, forwardKeyEvent, freezeNotify, getv, hideAuxiliaryText, hideLookupTable, hidePreeditText, isFloating, notify, notifyByPspec, ref, refSink, register, registerProperties, runDispose, showAuxiliaryText, showLookupTable, showPreeditText, stealData, stealQdata, thawNotify, unref, unregister, updateAuxiliaryText, updateLookupTable, updateLookupTableFast, updatePreeditText, updatePreeditTextWithMode, updateProperty, watchClosure.
Getters
getConnection, getContentType, getData, getName, getObjectPath, getProperty, getQdata, getSurroundingText.
Setters
addComposeFile
engineSimpleAddComposeFile Source #
:: (HasCallStack, MonadIO m, IsEngineSimple a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Call engineSimpleAddTable
internally by locale.
addTable
:: (HasCallStack, MonadIO m, IsEngineSimple a) | |
=> a |
|
-> [Word16] |
|
-> Int32 |
|
-> Int32 |
|
-> m () |
Adds an additional table to search to the engine. Each row of the table consists of max_seq_len key symbols followed by two guint16 interpreted as the high and low words of a gunicode value. Tables are searched starting from the last added.
The table must be sorted in dictionary order on the numeric value of the key symbol fields. (Values beyond the length of the sequence should be zero.)
addTableByLocale
engineSimpleAddTableByLocale Source #
:: (HasCallStack, MonadIO m, IsEngineSimple a) | |
=> a |
|
-> Maybe Text |
|
-> m Bool | Returns: |
Call engineSimpleAddTable
internally by locale.