Sets the input purpose of the `GtkText`.
This can be used by on-screen keyboards and other input methods to adjust their behaviour.
a `GtkText`
the purpose