Text.setInputPurpose

void setInputPurpose(gtk.types.InputPurpose purpose)

Sets the input purpose of the [gtk.text.Text].

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

Parameters

purposethe purpose