IMContext.inputPurpose

gtk.types.InputPurpose inputPurpose() @property

Get inputPurpose property.

Returns

The purpose of the text field that the `GtkIMContext is connected to.

This property can be used by on-screen keyboards and other input methods to adjust their behaviour.

void inputPurpose(gtk.types.InputPurpose propval) @property

Set inputPurpose property.

Parameters

propvalThe purpose of the text field that the `GtkIMContext is connected to. This property can be used by on-screen keyboards and other input methods to adjust their behaviour.