csharp
public sealed class DesktopTextInputText 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 IsActiveWhether text input is running.
public bool HasOnScreenKeyboardWhether this platform shows an on-screen keyboard when text input starts.
public bool IsOnScreenKeyboardVisibleWhether an on-screen keyboard is showing now.
public Rectangle OnScreenKeyboardAreaAlways 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