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

Ancestors

Constructors

pos_input_method_new
No description 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

pos_input_method_get_active
No description available.

since: 0

pos_input_method_get_hint
No description available.

since: 0

pos_input_method_get_purpose
No description available.

since: 0

pos_input_method_get_serial
No description available.

since: 0

pos_input_method_get_surrounding_text
No description available.

since: 0

pos_input_method_get_text_change_cause
No description available.

since: 0

pos_input_method_send_preedit

This sends the given text via a set_preedit_string request.

since: 0

pos_input_method_send_string

This sends the given text via a commit_string request.

since: 0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Pos.InputMethod:active

Whether the input method is active. See activate/deactive in input-method-unstable-v2.xml.

since: 0

Pos.InputMethod:hint

The applied input hint.

since: 0

Pos.InputMethod:manager

A zwp_input_method_v2_manager.

since: 0

Pos.InputMethod:purpose

The applied input purpose.

since: 0

Pos.InputMethod:seat

A wl_seat.

since: 0

Pos.InputMethod:surrounding-text
No description available.

since: 0

Pos.InputMethod:text-change-cause

The applied text change cause.

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

Class structure

struct PosInputMethodClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.