code: func (v *TextView) GetInputPurpose() InputPurpose {
  	c := C.gtk_text_view_get_input_purpose(v.native())
  	return InputPurpose(c)
  }
docs: // GetInputPurpose is a wrapper around gtk_text_view_get_input_purpose().