gi-ibus-1.5.1: 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.Enums

Description

 
Synopsis

Enumerations

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

Eq AttrType Source # 
Instance details

Defined in GI.IBus.Enums

Ord AttrType Source # 
Instance details

Defined in GI.IBus.Enums

Show AttrType Source # 
Instance details

Defined in GI.IBus.Enums

Methods

showsPrec :: Int -> AttrType -> ShowS #

show :: AttrType -> String #

showList :: [AttrType] -> ShowS #

BoxedEnum AttrType Source # 
Instance details

Defined in GI.IBus.Enums

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

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

Eq BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Ord BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Show BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Methods

showsPrec :: Int -> BusRequestNameReply -> ShowS #

show :: BusRequestNameReply -> String #

showList :: [BusRequestNameReply] -> ShowS #

BoxedEnum BusRequestNameReply Source # 
Instance details

Defined in GI.IBus.Enums

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

Eq BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Ord BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

Show BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

BoxedEnum BusStartServiceByNameReply Source # 
Instance details

Defined in GI.IBus.Enums

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

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

Show Error Source # 
Instance details

Defined in GI.IBus.Enums

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

GErrorClass Error Source # 
Instance details

Defined in GI.IBus.Enums

Methods

gerrorClassDomain :: Error -> Text #

BoxedEnum Error Source # 
Instance details

Defined in GI.IBus.Enums

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.

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

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

AnotherInputPurpose Int

Catch-all for unknown values

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

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

Eq PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

Ord PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

Show PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

Methods

showsPrec :: Int -> PreeditFocusMode -> ShowS #

show :: PreeditFocusMode -> String #

showList :: [PreeditFocusMode] -> ShowS #

BoxedEnum PreeditFocusMode Source # 
Instance details

Defined in GI.IBus.Enums

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

Eq PropState Source # 
Instance details

Defined in GI.IBus.Enums

Ord PropState Source # 
Instance details

Defined in GI.IBus.Enums

Show PropState Source # 
Instance details

Defined in GI.IBus.Enums

Methods

showsPrec :: Int -> PropState -> ShowS #

show :: PropState -> String #

showList :: [PropState] -> ShowS #

BoxedEnum PropState Source # 
Instance details

Defined in GI.IBus.Enums

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

Eq PropType Source # 
Instance details

Defined in GI.IBus.Enums

Ord PropType Source # 
Instance details

Defined in GI.IBus.Enums

Show PropType Source # 
Instance details

Defined in GI.IBus.Enums

Methods

showsPrec :: Int -> PropType -> ShowS #

show :: PropType -> String #

showList :: [PropType] -> ShowS #

BoxedEnum PropType Source # 
Instance details

Defined in GI.IBus.Enums

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