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 |
Synopsis
- data AttrType
- data AttrUnderline
- data BusRequestNameReply
- data BusStartServiceByNameReply
- data Error
- catchError :: IO a -> (Error -> GErrorMessage -> IO a) -> IO a
- handleError :: (Error -> GErrorMessage -> IO a) -> IO a -> IO a
- data InputPurpose
- data Orientation
- data PreeditFocusMode
- data PropState
- data PropType
- data XEventType
Enumerations
AttrType
Type enumeration of IBusText attribute.
AttrTypeUnderline | Decorate with underline. |
AttrTypeForeground | Foreground color. |
AttrTypeBackground | Background color. |
AnotherAttrType Int | Catch-all for unknown values |
Instances
Enum AttrType Source # | |
Defined in GI.IBus.Enums | |
Eq AttrType Source # | |
Ord AttrType Source # | |
Show AttrType Source # | |
BoxedEnum AttrType Source # | |
Defined in GI.IBus.Enums boxedEnumType :: AttrType -> IO GType # |
AttrUnderline
data AttrUnderline Source #
Type of IBusText attribute.
AttrUnderlineNone | No underline. |
AttrUnderlineSingle | Single underline. |
AttrUnderlineDouble | Double underline. |
AttrUnderlineLow | Low underline ? FIXME |
AttrUnderlineError | Error underline |
AnotherAttrUnderline Int | Catch-all for unknown values |
Instances
BusRequestNameReply
data BusRequestNameReply Source #
No description available in the introspection data.
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
BusStartServiceByNameReply
data BusStartServiceByNameReply Source #
No description available in the introspection data.
BusStartServiceByNameReplySuccess | same as DBUS_START_REPLY_SUCCESS |
BusStartServiceByNameReplyAlreadyRunning | same as DBUS_START_REPLY_ALREADY_RUNNING |
AnotherBusStartServiceByNameReply Int | Catch-all for unknown values |
Instances
Error
No description available in the introspection data.
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 |
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'.
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 |
InputPurposePin | Like |
AnotherInputPurpose Int | Catch-all for unknown values |
Instances
Orientation
data Orientation Source #
Orientation of UI.
OrientationHorizontal | Horizontal orientation. |
OrientationVertical | Vertival orientation. |
OrientationSystem | Use ibus global orientation setup. |
AnotherOrientation Int | Catch-all for unknown values |
Instances
PreeditFocusMode
data PreeditFocusMode Source #
Pre-edit commit mode when the focus is lost.
PreeditFocusModeClear | pre-edit text is cleared. |
PreeditFocusModeCommit | pre-edit text is committed. |
AnotherPreeditFocusMode Int | Catch-all for unknown values |
Instances
PropState
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.
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
Enum PropState Source # | |
Defined in GI.IBus.Enums | |
Eq PropState Source # | |
Ord PropState Source # | |
Defined in GI.IBus.Enums | |
Show PropState Source # | |
BoxedEnum PropState Source # | |
Defined in GI.IBus.Enums boxedEnumType :: PropState -> IO GType # |
PropType
Type enumeration of IBusProperty.
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
Enum PropType Source # | |
Defined in GI.IBus.Enums | |
Eq PropType Source # | |
Ord PropType Source # | |
Show PropType Source # | |
BoxedEnum PropType Source # | |
Defined in GI.IBus.Enums boxedEnumType :: PropType -> IO GType # |
XEventType
data XEventType Source #
No description available in the introspection data.
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 |