### Method

# Gtk Text set_input_purpose

#### Declaration [src]

    void
    gtk_text_set_input_purpose (
      GtkText* self,
      GtkInputPurpose purpose
    )

#### Description [src]

Sets the input purpose of the text widget.

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

Sets property | `Gtk.Text:input-purpose`

#### Parameters

`purpose`

  Type: `GtkInputPurpose`

  The input purpose.