| 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 |
GI.IBus.Enums
Description
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.
Constructors
| 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 | |
| TypedObject AttrType Source # | |
Defined in GI.IBus.Enums Methods glibType :: IO GType | |
| HasParentTypes AttrType Source # | |
Defined in GI.IBus.Enums | |
| type ParentTypes AttrType Source # | |
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
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
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
Error
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
| Enum Error Source # | |
| Eq Error Source # | |
| Ord Error Source # | |
| Show Error Source # | |
| BoxedEnum Error Source # | |
Defined in GI.IBus.Enums | |
| TypedObject Error Source # | |
Defined in GI.IBus.Enums Methods glibType :: IO GType | |
| GErrorClass Error Source # | |
Defined in GI.IBus.Enums Methods gerrorClassDomain :: Error -> Text | |
| HasParentTypes Error Source # | |
Defined in GI.IBus.Enums | |
| type ParentTypes Error Source # | |
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.
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 |
| InputPurposePin | Like |
| AnotherInputPurpose Int | Catch-all for unknown values |
Instances
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
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
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.
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
| 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 | |
| TypedObject PropState Source # | |
Defined in GI.IBus.Enums Methods glibType :: IO GType | |
| HasParentTypes PropState Source # | |
Defined in GI.IBus.Enums | |
| type ParentTypes PropState Source # | |
Defined in GI.IBus.Enums type ParentTypes PropState = '[] :: [Type] | |
PropType
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
| 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 | |
| TypedObject PropType Source # | |
Defined in GI.IBus.Enums Methods glibType :: IO GType | |
| HasParentTypes PropType Source # | |
Defined in GI.IBus.Enums | |
| type ParentTypes PropType Source # | |
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 |