/* gtkspell3-3.0.vapi generated by vapigen-0.38, do not modify. */

[CCode (cprefix = "GtkSpell", gir_namespace = "GtkSpell", gir_version = "3.0", lower_case_cprefix = "gtk_spell_")]
namespace GtkSpell {
	[CCode (cheader_filename = "gtkspell/gtkspell.h", type_id = "gtk_spell_checker_get_type ()")]
	public class Checker : GLib.InitiallyUnowned {
		[CCode (has_construct_function = false)]
		public Checker ();
		[Version (since = "3.0.9")]
		public void add_to_dictionary (string word);
		public bool attach (Gtk.TextView view);
		[Version (since = "3.0.8")]
		public bool check_word (string word);
		[Version (since = "3.0.3")]
		public static string decode_language_code (string lang);
		public void detach ();
		public static unowned GtkSpell.Checker get_from_text_view (Gtk.TextView view);
		public unowned string get_language ();
		[Version (since = "3.0.3")]
		public static GLib.List<string> get_language_list ();
		[Version (since = "3.0.8")]
		public GLib.List<string> get_suggestions (string word);
		public Gtk.Widget get_suggestions_menu (Gtk.TextIter iter);
		[Version (since = "3.0.9")]
		public void ignore_word (string word);
		public void recheck_all ();
		public bool set_language (string? lang) throws GLib.Error;
		[NoAccessorMethod]
		public bool decode_language_codes { get; set; }
		public virtual signal void language_changed (string new_lang);
	}
	[CCode (cheader_filename = "gtkspell/gtkspell.h", cprefix = "GTK_SPELL_ERROR_")]
	public errordomain Error {
		BACKEND;
		public static GLib.Quark quark ();
	}
}
