getInputPurpose

Gets the input purpose of the GtkText.