Text.inputPurpose

gtk.types.InputPurpose inputPurpose() @property

Get inputPurpose property.

Returns

The purpose of this text field.

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

Note that setting the purpose to [gtk.types.InputPurpose.Password] or [gtk.types.InputPurpose.Pin] is independent from setting [gtk.text.Text.visibility].

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

Set inputPurpose property.

Parameters

propvalThe purpose of this text field. This property can be used by on-screen keyboards and other input methods to adjust their behaviour. Note that setting the purpose to [gtk.types.InputPurpose.Password] or [gtk.types.InputPurpose.Pin] is independent from setting [gtk.text.Text.visibility].