gi-ibus-1.5.8: IBus bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.IBus.Enums

Description

 
Synopsis

Enumerations

AttrPreedit

data AttrPreedit Source #

Type of Pre-edit style as the semantic name. The Wayland specs prefers to express the semantic values rather than RGB values and text-input protocol version 1 defines some values: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/unstable/text-input/text-input-unstable-v1.xml?ref_type=headsL251

IBus compiled the values for major input method engines: https://github.com/ibus/ibus/wiki/Wayland-Colors

Since: 1.5.29

Constructors

AttrPreeditDefault

Default style for composing text.

AttrPreeditNone

Style should be the same as in non-composing text.

AttrPreeditWhole

Most language engines wish to draw underline in the typed whole preedit string except for the prediction string. (Chinese, Japanese, Typing-booster)

AttrPreeditSelection

Modifying an active segment is distinguished against whole the preedit text. (Hangul, Japanese)

AttrPreeditPrediction

A prediction string can be appended after the typed string. (Typing-booster)

AttrPreeditPrefix

A prefix string can be an informative color. (Table)

AttrPreeditSuffix

A suffix string can be an informative color. (Table)

AttrPreeditErrorSpelling

An detected typo could be an error color with a spelling check or the word could not be found in a dictionary. The underline color also might be more visible. (Typing-booster, Table)

AttrPreeditErrorCompose

A wrong compose key could be an error color. (Typing-booster)

AnotherAttrPreedit Int

Catch-all for unknown values

Instances

Instances details
Enum AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

Show AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

Eq AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

Ord AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes AttrPreedit Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes AttrPreedit = '[] :: [Type]

AttrType

data AttrType Source #

Type enumeration of IBusText attribute.

Constructors

AttrTypeUnderline

Decorate with underline.

AttrTypeForeground

Foreground color.

AttrTypeBackground

Background color.

AnotherAttrType Int

Catch-all for unknown values

Instances

Instances details
Enum AttrType Source # 
Instance details

Defined in GI.IBus.Enums

Show AttrType Source # 
Instance details

Defined in GI.IBus.Enums

Eq AttrType Source # 
Instance details

Defined in GI.IBus.Enums

Ord AttrType Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum AttrType Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject AttrType Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes AttrType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes AttrType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes AttrType = '[] :: [Type]

AttrUnderline

data AttrUnderline Source #

Type of IBusText attribute.

Constructors

AttrUnderlineNone

No underline.

AttrUnderlineSingle

Single underline.

AttrUnderlineDouble

Double underline.

AttrUnderlineLow

Low underline ? FIXME

AttrUnderlineError

Error underline

AnotherAttrUnderline Int

Catch-all for unknown values

Instances

Instances details
Enum AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

Show AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

Eq AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

Ord AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes AttrUnderline Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes AttrUnderline = '[] :: [Type]

BusGlobalBindingType

data BusGlobalBindingType Source #

Type enumeration of IBusBusGlobalBindingType.

Since: 1.5.29

Instances

Instances details
Enum BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

Show BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

Eq BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

Ord BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes BusGlobalBindingType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes BusGlobalBindingType = '[] :: [Type]

BusRequestNameReply

data BusRequestNameReply Source #

No description available in the introspection data.

Constructors

BusRequestNameReplyPrimaryOwner

same as DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER

BusRequestNameReplyInQueue

same as DBUS_REQUEST_NAME_REPLY_IN_QUEUE

BusRequestNameReplyExists

same as DBUS_REQUEST_NAME_REPLY_EXISTS

BusRequestNameReplyAlreadyOwner

same as DBUS_REQUEST_NAME_REPLY_ALREADY_OWNER

AnotherBusRequestNameReply Int

Catch-all for unknown values

Instances

Instances details
Enum BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Show BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Eq BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Ord BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes BusRequestNameReply = '[] :: [Type]

BusStartServiceByNameReply

data BusStartServiceByNameReply Source #

No description available in the introspection data.

Constructors

BusStartServiceByNameReplySuccess

same as DBUS_START_REPLY_SUCCESS

BusStartServiceByNameReplyAlreadyRunning

same as DBUS_START_REPLY_ALREADY_RUNNING

AnotherBusStartServiceByNameReply Int

Catch-all for unknown values

Instances

Instances details
Enum BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Show BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Eq BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Ord BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes BusStartServiceByNameReply = '[] :: [Type]

Error

data Error Source #

No description available in the introspection data.

Constructors

ErrorNoEngine

There is no engine associated with input context.

ErrorNoConfig

There is no config module running.

ErrorFailed

General failure.

AnotherError Int

Catch-all for unknown values

Instances

Instances details
Enum Error Source # 
Instance details

Defined in GI.IBus.Enums

Show Error Source # 
Instance details

Defined in GI.IBus.Enums

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Eq Error Source # 
Instance details

Defined in GI.IBus.Enums

Methods

(==) :: Error -> Error -> Bool #

(/=) :: Error -> Error -> Bool #

Ord Error Source # 
Instance details

Defined in GI.IBus.Enums

Methods

compare :: Error -> Error -> Ordering #

(<) :: Error -> Error -> Bool #

(<=) :: Error -> Error -> Bool #

(>) :: Error -> Error -> Bool #

(>=) :: Error -> Error -> Bool #

max :: Error -> Error -> Error #

min :: Error -> Error -> Error #

BoxedEnum Error Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject Error Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

GErrorClass Error Source # 
Instance details

Defined in GI.IBus.Enums

HasParentTypes Error Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes Error Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes Error = '[] :: [Type]

catchError :: IO a -> (Error -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type Error. This is a specialized version of catchGErrorJustDomain.

handleError :: (Error -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type Error. This is a specialized version of handleGErrorJustDomain.

InputPurpose

data InputPurpose Source #

Describes primary purpose of the input context. This information is particularly useful to implement intelligent behavior in engines, such as automatic input-mode switch and text prediction.

Note that the purpose is not meant to impose a totally strict rule about allowed characters, and does not replace input validation. It is fine for an on-screen keyboard to let the user override the character set restriction that is expressed by the purpose. The application is expected to validate the entry contents, even if it specified a purpose.

The difference between iBUSINPUTPURPOSEDIGITS and iBUSINPUTPURPOSENUMBER is that the former accepts only digits while the latter also some punctuation (like commas or points, plus, minus) and “e” or “E” as in 3.14E+000.

This enumeration may be extended in the future; engines should interpret unknown values as 'free form'.

Since: 1.5.4

Constructors

InputPurposeFreeForm

Allow any character

InputPurposeAlpha

Allow only alphabetic characters

InputPurposeDigits

Allow only digits

InputPurposeNumber

Edited field expects numbers

InputPurposePhone

Edited field expects phone number

InputPurposeUrl

Edited field expects URL

InputPurposeEmail

Edited field expects email address

InputPurposeName

Edited field expects the name of a person

InputPurposePassword

Like iBUSINPUTPURPOSEFREEFORM, but characters are hidden

InputPurposePin

Like iBUSINPUTPURPOSEDIGITS, but characters are hidden

InputPurposeTerminal

Allow any character, in addition to control codes. Since 1.5.24

AnotherInputPurpose Int

Catch-all for unknown values

Instances

Instances details
Enum InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

Show InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

Eq InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

Ord InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes InputPurpose Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes InputPurpose = '[] :: [Type]

Orientation

data Orientation Source #

Orientation of UI.

Constructors

OrientationHorizontal

Horizontal orientation.

OrientationVertical

Vertival orientation.

OrientationSystem

Use ibus global orientation setup.

AnotherOrientation Int

Catch-all for unknown values

Instances

Instances details
Enum Orientation Source # 
Instance details

Defined in GI.IBus.Enums

Show Orientation Source # 
Instance details

Defined in GI.IBus.Enums

Eq Orientation Source # 
Instance details

Defined in GI.IBus.Enums

Ord Orientation Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum Orientation Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject Orientation Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes Orientation Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes Orientation Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes Orientation = '[] :: [Type]

PreeditFocusMode

data PreeditFocusMode Source #

Pre-edit commit mode when the focus is lost.

Constructors

PreeditFocusModeClear

pre-edit text is cleared.

PreeditFocusModeCommit

pre-edit text is committed.

AnotherPreeditFocusMode Int

Catch-all for unknown values

Instances

Instances details
Enum PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

Show PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

Eq PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

Ord PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes PreeditFocusMode = '[] :: [Type]

PropState

data PropState Source #

State of Property. The actual effect depends on PropType of the IBusProperty.

<variablelist> <varlistentry> <term>PROP_TYPE_TOGGLE</term> <listitem><para>Emphasized if PROP_STATE_CHECKED, normal otherwise.</para></listitem> </varlistentry> <varlistentry> <term>PROP_TYPE_RADIO</term> <listitem><para>Option checked if PROP_STATE_CHECKED, unchecked otherwise.</para></listitem> </varlistentry> </variablelist> No effect on other types.

Constructors

PropStateUnchecked

Property option is unchecked.

PropStateChecked

Property option is checked.

PropStateInconsistent

The state is inconsistent with the associated IME property.

AnotherPropState Int

Catch-all for unknown values

Instances

Instances details
Enum PropState Source # 
Instance details

Defined in GI.IBus.Enums

Show PropState Source # 
Instance details

Defined in GI.IBus.Enums

Eq PropState Source # 
Instance details

Defined in GI.IBus.Enums

Ord PropState Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum PropState Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject PropState Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes PropState Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes PropState Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes PropState = '[] :: [Type]

PropType

data PropType Source #

Type enumeration of IBusProperty.

Constructors

PropTypeNormal

Property is shown as normal text.

PropTypeToggle

Property is shown as a toggle button.

PropTypeRadio

Property is shown as a radio selection option.

PropTypeMenu

Property is shown as a menu, usually imply it has sub menu items.

PropTypeSeparator

A separator for menu.

AnotherPropType Int

Catch-all for unknown values

Instances

Instances details
Enum PropType Source # 
Instance details

Defined in GI.IBus.Enums

Show PropType Source # 
Instance details

Defined in GI.IBus.Enums

Eq PropType Source # 
Instance details

Defined in GI.IBus.Enums

Ord PropType Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum PropType Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject PropType Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes PropType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes PropType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes PropType = '[] :: [Type]

XEventType

data XEventType Source #

No description available in the introspection data.

Constructors

XEventTypeNothing

No description available in the introspection data.

XEventTypeKeyPress

No description available in the introspection data.

XEventTypeKeyRelease

No description available in the introspection data.

XEventTypeOther

No description available in the introspection data.

XEventTypeEventLast

No description available in the introspection data.

AnotherXEventType Int

Catch-all for unknown values

Instances

Instances details
Enum XEventType Source # 
Instance details

Defined in GI.IBus.Enums

Show XEventType Source # 
Instance details

Defined in GI.IBus.Enums

Eq XEventType Source # 
Instance details

Defined in GI.IBus.Enums

Ord XEventType Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum XEventType Source # 
Instance details

Defined in GI.IBus.Enums

TypedObject XEventType Source # 
Instance details

Defined in GI.IBus.Enums

Methods

glibType :: IO GType

HasParentTypes XEventType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes XEventType Source # 
Instance details

Defined in GI.IBus.Enums

type ParentTypes XEventType = '[] :: [Type]