Vixen
02b45cc4
csharp
public sealed class DesktopTextInput

Text entry and the IME.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (4)

  • public bool IsActive

    Whether text input is running.

  • public bool HasOnScreenKeyboard

    Whether this platform shows an on-screen keyboard when text input starts.

  • public bool IsOnScreenKeyboardVisible

    Whether an on-screen keyboard is showing now.

  • public Rectangle OnScreenKeyboardArea

    Always Empty: no desktop has an on-screen keyboard that covers the window.

Methods (4)

  • public DesktopTextInput(Sdl sdl)

    Text entry and the IME.

  • public void Activate(IWindow window)

    Starts text input for a window.

  • public void Deactivate()

    Stops text input, abandoning any composition in progress.

  • public void SetCandidateArea(IWindow window, Rectangle area)

    Tells the IME where the caret is, so the candidate window can be put near it.

Used by (1)

  • DesktopPlatformVixen.Platform.Desktop