private void OnCommitText(object text) { if (CommitText != null) { CommitText(IBusText.FromObject(text)); } }
private void OnUpdatePreeditText(object text, uint cursor_pos, bool visible) { if (UpdatePreeditText != null && visible) { UpdatePreeditText(IBusText.FromObject(text), (int)cursor_pos); } }
private void OnCommitText(object text) { CommitText?.Invoke(IBusText.FromObject(text)); }