Gtk.TextView.prototype.set_input_purpose

function set_input_purpose(purpose:Gtk.InputPurpose):void {
    // Gjs wrapper for gtk_text_view_set_input_purpose()
}

Sets the Gtk.input-purpose property which can be used by on-screen keyboards and other input methods to adjust their behaviour.

Since 3.6

purpose

the purpose