Emitted when the client application get the focus.
Implement the member function IBusEngineClass:IBusEngine:focus_in in extended class to receive this signal.
object_path is a unique id by input context. client indicates a client type: 'fake': focus is on desktop background
or other programs where no input is possible 'xim': old X11 programs like xterm, emacs, ... GTK3 programs in a Gnome Xorg session when
GTK_IM_MODULE is unset also use xim 'gtk-im:<client-name>': Gtk2 input module is used 'gtk3-im:<client-name&
gt;': Gtk3 input module is used 'gtk4-im:<client-name>': Gtk4 input module is used In case of the Gtk input modules, the
name of the client is also shown after the “:”, for example like 'gtk3-im:firefox', 'gtk4-im:gnome-text-editor', … 'gnome-shell':
Entries handled by gnome-shell (like the command line dialog opened with Alt+F2 or the search field when pressing the Super key.) When
GTK_IM_MODULE is unset in a Gnome Wayland session all programs which would show 'gtk3-im' or 'gtk4-im' with GTK_IM_MODULE=ibus then show
'gnome-shell' instead. 'Qt': Qt4 programs like keepassx-2.0.3 … 'QIBusInputContext': Qt5 programs like keepassxc-2.7.1, anki-2.1.15
telegram-desktop-3.7.3,
You need to set IBusEngine::has-focus-id property to true when you construct an
Engine to use this class method.
See also: focus_in <note><para>Argument user_data
is ignored in this function.</para> </note>
| object_path |
An object path. |
| client |
An client name. |