getInputPurpose

Gets the input-purpose of the GtkTextView.