/* gucharmap-2.90.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Gucharmap", gir_namespace = "Gucharmap", gir_version = "2.90", lower_case_cprefix = "gucharmap_")]
namespace Gucharmap {
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_block_chapters_model_get_type ()")]
	public class BlockChaptersModel : Gucharmap.ChaptersModel, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
		[CCode (has_construct_function = false, type = "GucharmapChaptersModel*")]
		public BlockChaptersModel ();
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_block_codepoint_list_get_type ()")]
	public class BlockCodepointList : Gucharmap.CodepointList {
		[CCode (has_construct_function = false, type = "GucharmapCodepointList*")]
		public BlockCodepointList (unichar start, unichar end);
		[NoAccessorMethod]
		public uint first_codepoint { get; construct; }
		[NoAccessorMethod]
		public uint last_codepoint { get; construct; }
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_chapters_model_get_type ()")]
	public class ChaptersModel : Gtk.ListStore, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
		[CCode (has_construct_function = false)]
		protected ChaptersModel ();
		public virtual bool character_to_iter (unichar wc, Gtk.TreeIter iter);
		public unowned string get_title ();
		public bool id_to_iter (string id, Gtk.TreeIter _iter);
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_chapters_view_get_type ()")]
	public class ChaptersView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public ChaptersView ();
		public string get_selected ();
		public void next ();
		public void previous ();
		public bool select_character (unichar wc);
		public bool select_locale ();
		public void set_model (Gucharmap.ChaptersModel model);
		public bool set_selected (string name);
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_charmap_get_type ()")]
	public class Charmap : Gtk.Paned, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public Charmap ();
		public string get_active_chapter ();
		public unichar get_active_character ();
		public int get_active_page ();
		public bool get_chapters_visible ();
		public Pango.FontDescription get_font_desc ();
		public bool get_font_fallback ();
		public bool get_page_visible (int page);
		public bool get_snap_pow2 ();
		public void next_chapter ();
		public void previous_chapter ();
		public void set_active_chapter (string chapter);
		public void set_active_character (unichar uc);
		public void set_active_page (int page);
		public void set_chapters_model (Gucharmap.ChaptersModel model);
		public void set_chapters_visible (bool visible);
		public void set_font_desc (Pango.FontDescription font_desc);
		public void set_font_fallback (bool enable_font_fallback);
		public void set_page_visible (int page, bool visible);
		public void set_snap_pow2 (bool snap);
		public string active_chapter { owned get; set; }
		public uint active_character { get; set; }
		[NoAccessorMethod]
		public Gucharmap.CodepointList active_codepoint_list { owned get; }
		public uint active_page { get; set; }
		public Gucharmap.ChaptersModel chapters_model { set construct; }
		public Pango.FontDescription font_desc { owned get; set; }
		public bool font_fallback { get; set; }
		[NoAccessorMethod]
		public bool snap_power_2 { get; set; }
		public virtual signal void link_clicked (uint old_character, uint new_character);
		public virtual signal void status_message (string message);
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_chartable_get_type ()")]
	public class Chartable : Gtk.DrawingArea, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
		[CCode (has_construct_function = false, type = "GtkWidget*")]
		public Chartable ();
		public unichar get_active_character ();
		public Pango.FontDescription get_font_desc ();
		public bool get_font_fallback ();
		public bool get_snap_pow2 ();
		public bool get_zoom_enabled ();
		[NoWrapper]
		public virtual void set_active_char (uint ch);
		public void set_active_character (unichar wc);
		public void set_codepoint_list (Gucharmap.CodepointList codepoint_list);
		public void set_font_desc (Pango.FontDescription font_desc);
		public void set_font_fallback (bool enable_font_fallback);
		[NoWrapper]
		public virtual void set_scroll_adjustments (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
		public void set_snap_pow2 (bool snap);
		public void set_zoom_enabled (bool enabled);
		public uint active_character { get; set; }
		[NoAccessorMethod]
		public Gucharmap.CodepointList codepoint_list { owned get; set; }
		public Pango.FontDescription font_desc { owned get; set; }
		public bool font_fallback { get; set; }
		[NoAccessorMethod]
		public bool snap_power_2 { get; set; }
		public bool zoom_enabled { get; set; }
		[NoAccessorMethod]
		public bool zoom_showing { get; }
		public virtual signal void activate ();
		public virtual signal void copy_clipboard ();
		public virtual signal bool move_cursor (Gtk.MovementStep step, int count);
		public virtual signal void paste_clipboard ();
		public virtual signal void status_message (string message);
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_codepoint_list_get_type ()")]
	public abstract class CodepointList : GLib.Object {
		[CCode (has_construct_function = false)]
		protected CodepointList ();
		public virtual unichar get_char (int index);
		public virtual int get_index (unichar wc);
		public virtual int get_last_index ();
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_script_chapters_model_get_type ()")]
	public class ScriptChaptersModel : Gucharmap.ChaptersModel, Gtk.Buildable, Gtk.TreeDragDest, Gtk.TreeDragSource, Gtk.TreeModel, Gtk.TreeSortable {
		[CCode (has_construct_function = false, type = "GucharmapChaptersModel*")]
		public ScriptChaptersModel ();
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", type_id = "gucharmap_script_codepoint_list_get_type ()")]
	public class ScriptCodepointList : Gucharmap.CodepointList {
		[CCode (has_construct_function = false, type = "GucharmapCodepointList*")]
		public ScriptCodepointList ();
		public bool append_script (string script);
		public bool set_script (string script);
		public bool set_scripts (string scripts);
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", cprefix = "GUCHARMAP_CHARMAP_PAGE_", type_id = "gucharmap_charmap_page_type_get_type ()")]
	public enum CharmapPageType {
		CHARTABLE,
		DETAILS
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", cprefix = "GUCHARMAP_UNICODE_VERSION_", type_id = "gucharmap_unicode_version_get_type ()")]
	public enum UnicodeVersion {
		UNASSIGNED,
		@1_1,
		@2_0,
		@2_1,
		@3_0,
		@3_1,
		@3_2,
		@4_0,
		@4_1,
		@5_0,
		@5_1,
		@5_2,
		@6_0,
		@6_1,
		@6_2,
		@6_3,
		@7_0,
		@8_0,
		@9_0,
		@10_0,
		@11_0,
		@12_0,
		@12_1,
		@13_0,
		@14_0,
		@15_0,
		@15_1,
		@16_0,
		@17_0,
		LATEST;
		public unowned string to_string ();
	}
	[CCode (cheader_filename = "gucharmap/gucharmap.h", cname = "GUCHARMAP_VERSION_MAJOR")]
	public const int VERSION_MAJOR;
	[CCode (cheader_filename = "gucharmap/gucharmap.h", cname = "GUCHARMAP_VERSION_MICRO")]
	public const int VERSION_MICRO;
	[CCode (cheader_filename = "gucharmap/gucharmap.h", cname = "GUCHARMAP_VERSION_MINOR")]
	public const int VERSION_MINOR;
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unichar get_nameslist_exes (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_category_name (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_data_name (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static int get_unicode_data_name_count ();
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kCantonese (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kDefinition (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kHangul (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kJapaneseKun (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kJapaneseOn (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kKorean (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kMandarin (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kTang (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_kVietnamese (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string get_unicode_name (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static Gucharmap.UnicodeVersion get_unicode_version (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static int get_unihan_count ();
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static bool unichar_isdefined (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static bool unichar_isgraph (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static int unichar_to_printable_utf8 (unichar uc, string outbuf);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static bool unichar_validate (unichar uc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unichar unicode_get_locale_character ();
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	public static unowned string unicode_get_script_for_char (unichar wc);
	[CCode (cheader_filename = "gucharmap/gucharmap.h")]
	[Version (replacement = "UnicodeVersion.to_string")]
	public static unowned string unicode_version_to_string (Gucharmap.UnicodeVersion version);
}
