TextView.setInputPurpose

void setInputPurpose(gtk.types.InputPurpose purpose)

Sets the input-purpose of the [gtk.text_view.TextView].

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

Parameters

purposethe purpose