Recovered from decompiled OpenMaui.Controls.Linux.dll: - SkiaShell.cs: FlyoutHeader, FlyoutFooter, scroll support (918 -> 1325 lines) - X11Window.cs: Cursor support (XCreateFontCursor, XDefineCursor) - All handlers with dark mode support - All services with latest implementations - LinuxApplication with theme change handling
19 lines
336 B
C#
19 lines
336 B
C#
namespace Microsoft.Maui.Platform.Linux.Services;
|
|
|
|
public interface IInputContext
|
|
{
|
|
string Text { get; set; }
|
|
|
|
int CursorPosition { get; set; }
|
|
|
|
int SelectionStart { get; }
|
|
|
|
int SelectionLength { get; }
|
|
|
|
void OnTextCommitted(string text);
|
|
|
|
void OnPreEditChanged(string preEditText, int cursorPosition);
|
|
|
|
void OnPreEditEnded();
|
|
}
|