Getting current input method language (original) (raw)
- From: Kaganski Mike
- To: "desktop-devel-list gnome org"
- Subject: Getting current input method language
- Date: Thu, 16 Jan 2020 07:55:42 +0000
Hello!
LibreOffice uses GtkIMContext when processing input events [1]. It needs current selected input language to mark text appropriately, e.g. for spell check; this currently not implemented in GTK3 backend [2].
GtkIMContext doesn't seem to provide language information. The question is: if there is a way (using GtkIMContext or otherwise) to retrieve the language information from an input event?
Thank you!
[1] https://opengrok.libreoffice.org/xref/core/vcl/unx/gtk3/gtk3gtkframe.cxx?r=ace72553#3946 [2] https://bugs.documentfoundation.org/show_bug.cgi?id=108151
-- Best regards, Mike Kaganski
[Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index]