Crate xim

Source
Expand description

Implements the X Input Method (XIM) protocol.

XIM is the input method framework used for X11 applications. To clarify, it provides a strategy for users of non-English keyboard to type symbols using only keys that are available on the keyboard. XIM involves two processes. One is the server, which waits for keyboard input in order to compose it into a symbol. The other is the client, which is usually a normal X11 application that waits for and acts on XIM events.

This crate provides the following features:

  • An implementation of an XIM client, via the Client trait (requires the client feature).
  • An implementation of an XIM server, via the Server trait (requires the server feature).
  • A wrapper around x11rb, the X rust bindings. See the x11rb module for more information (requires the x11rb-client or x11rb-server feature).
  • A wrapper around x11-dl, the standard X11 library. See the xlib module for more information (requires the xlib-client feature).

Modules§

attrs
x11rb
Provides an implementation of XIM using x11rb as a transport.
xlib
Provides a wrapper around Xlib (through the [x11-dl] crate) that allows to use Xlib as a client for XIM.

Structs§

Attr
Attribute
ErrorFlag
Extension
FontSet
ForwardEventFlag
HotKeyTriggers
InputContext
InputMethod
InputStyle
InputStyleList
Point
PreeditDrawStatus
PreeditStateFlag
Reader
Rectangle
StatusTextContent
TriggerKey
UserInputContext
Writer
XEvent
XimConnection
XimConnections

Enums§

AttrType
AttributeName
CaretDirection
CaretStyle
ClientError
CommitData
Endian
ErrorCode
Feedback
HotKeyState
ReadError
Request
ServerError
StatusContent
TriggerNotifyFlag

Constants§

ALL_LOCALES

Traits§

Client
ClientHandler
Server
ServerCore
ServerHandler
XimRead
XimWrite

Functions§

read
write
write_extend_vec
write_to_vec

Type Aliases§

AHashMap