ITextInputMethodImpl.cs 454 B

12345678910111213141516171819
  1. using Avalonia.Metadata;
  2. namespace Avalonia.Input.TextInput
  3. {
  4. [Unstable]
  5. public interface ITextInputMethodImpl
  6. {
  7. void SetClient(ITextInputMethodClient? client);
  8. void SetCursorRect(Rect rect);
  9. void SetOptions(TextInputOptions options);
  10. void Reset();
  11. }
  12. [NotClientImplementable]
  13. public interface ITextInputMethodRoot : IInputRoot
  14. {
  15. ITextInputMethodImpl? InputMethod { get; }
  16. }
  17. }