Esc

set_text_input_rect

procedureextensionexperimentalsince 0.36.1Source
  • macOS: set_text_input_rect works on macOS
  • Linux: set_text_input_rect works on Linux
  • Windows: set_text_input_rect works on Windows
  • Wasm: set_text_input_rect is not available on Wasm

Enables composition and positions candidate UI at a caret in top-left window points. Disabling cancels marked text. Linux currently leaves native composition unsupported.

Signature

set_text_input_rect :: (
    window: WT.Window_Type,
    enabled: bool,
    x: float,
    y: float,
    height: float
)

See also