#desktop #desktop-environment #ime #shell #cjk

ib-ime

A library for controlling input controls' IME (Input Method Editor) behavior on Windows

1 unstable release

Uses new Rust 2024

0.1.0 Mar 8, 2026

#1451 in GUI

MIT license

16KB
191 lines

A library for controlling input controls' IME (Input Method Editor) behavior on Windows.

Usage:

// cargo add ib-ime

// Manually set:
ib_ime::imm::set_ime_state(false);
ib_ime::imm::set_ime_conversion_mode(ib_ime::imm::ImeConversionMode::ALPHANUMERIC);

// Automatically turn off IME by default for a window (or an editor control):
ib_ime::hook::ImeHookConfig::default_off().hook_window(edit_hwnd);

Winio integration example: examples/winio.rs

See also:


ib-ime

crates.io Documentation License

A library for controlling input controls' IME (Input Method Editor) behavior on Windows.

Usage:

// cargo add ib-ime

// Manually set:
ib_ime::imm::set_ime_state(false);
ib_ime::imm::set_ime_conversion_mode(ib_ime::imm::ImeConversionMode::ALPHANUMERIC);

// Automatically turn off IME by default for a window (or an editor control):
ib_ime::hook::ImeHookConfig::default_off().hook_window(edit_hwnd);

Winio integration example: examples/winio.rs

See also:

Dependencies

~7–12MB
~224K SLoC