Class
PosInputMethod
since: 0
Description [src]
final class Pos.InputMethod : GObject.Object
{
/* No available fields */
}
A Wayland input method handler. This wraps the zwp_input_method_v2 protocol easing things like double buffering state.
The properties reflect applied state which is only updated
when the input method receives the done
event form the compositor.
Available since: 0
Instance methods
pos_input_method_commit
Sends a commit
request to the compositor so that any pending
commit_string
, set_preedit_string
and delete_surrounding_text
.
changes get applied.
since: 0
pos_input_method_delete_surrounding_text
This deletes text around the cursor using the delete_surrounding_text
request.
since: 0
Properties
Pos.InputMethod:active
Whether the input method is active. See activate/deactive in input-method-unstable-v2.xml.
since: 0
Signals
Pos.InputMethod::done
The done signal is sent when the state changes sent by the compositor
should be applied. The active
, surrounding-text
, text-change-cause
,
purpose
and hint
properties are then guaranteed to have the values
sent by the compositor.
since: 0
Pos.InputMethod::pending-changed
The pending state changed. Tracking pending state changes is only
useful for debugging as only applied
state matters for the OSK.
since: 0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
unstable since: 2.0