<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:doc="http://www.gtk.org/introspection/doc/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GLib" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <package name="ibus-1.0"/>
  <c:include name="ibus.h"/>
  <doc:format name="unknown"/>
  <namespace name="IBusEmojiDialog"
             version="1.0"
             shared-library="libibus-1.0.so.5"
             c:identifier-prefixes="IBus"
             c:symbol-prefixes="ibus">
    <class name="Emojier"
           c:symbol-prefix="emojier"
           c:type="IBusEmojier"
           parent="Gtk.ApplicationWindow"
           glib:type-name="IBusEmojier"
           glib:get-type="ibus_emojier_get_type"
           glib:type-struct="EmojierClass">
      <source-position filename="ibusemojidialog.h" line="56"/>
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gio.ActionGroup"/>
      <implements name="Gio.ActionMap"/>
      <implements name="Gtk.Buildable"/>
      <constructor name="new" c:identifier="ibus_emojier_new">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="60">Creates a new #IBusEmojier.</doc>
        <source-position filename="ibusemojidialog.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="ibusemojidialog.h"
               line="65">A newly allocated #IBusEmojiier.</doc>
          <type name="Emojier" c:type="IBusEmojier*"/>
        </return-value>
      </constructor>
      <function name="has_loaded_emoji_dict"
                c:identifier="ibus_emojier_has_loaded_emoji_dict">
        <source-position filename="ibusemojidialog.h" line="133"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="ibusemojidialog.h"
               line="131">%TRUE if the emoji dict is loaded, otherwise %FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </function>
      <function name="load_unicode_dict"
                c:identifier="ibus_emojier_load_unicode_dict">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="199">Load the dictionary of #IBusUnicodeData.</doc>
        <source-position filename="ibusemojidialog.h" line="204"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </function>
      <function name="set_annotation_lang"
                c:identifier="ibus_emojier_set_annotation_lang">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="135">Set a language id for emoji annotations. #IBusEmojier will load
$PKGDATADIR/dicts/emoji-@lang.dict. The default is "en".</doc>
        <source-position filename="ibusemojidialog.h" line="142"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="lang" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="137">A langauge id for emoji annotations.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="set_emoji_font"
                c:identifier="ibus_emojier_set_emoji_font">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="144">Set emoji font on the emoji dialog</doc>
        <source-position filename="ibusemojidialog.h" line="150"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="emoji_font" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="146">font name for emoji characters</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="set_favorites" c:identifier="ibus_emojier_set_favorites">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="152">Set custom emojis on the emoji dialog. @favorite_annotations
can be null. If you don't assign an annotation for a specific emoji,
you can pass the annotation as "", e.g.
favorite_annotations = { "", "", "my annotation" };</doc>
        <source-position filename="ibusemojidialog.h" line="166"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="favorites" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="154">A custom emoji list.</doc>
            <array length="1" zero-terminated="0" c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="favorites_length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="155">A length of @favorites</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="favorite_annotations"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="156">
                       A custom annotation listfor @favorites.</doc>
            <array length="3" zero-terminated="0" c:type="gchar**">
              <type name="utf8" c:type="gchar*"/>
            </array>
          </parameter>
          <parameter name="favorite_annotations_length"
                     transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="159">A length of @favorite_annotations</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </function>
      <function name="set_partial_match"
                c:identifier="ibus_emojier_set_partial_match">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="174">Set partial match for emoji annotations.</doc>
        <source-position filename="ibusemojidialog.h" line="180"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="has_partial_match" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="176">Enable the partial match if %TRUE. Otherwise if %FALSE.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <function name="set_partial_match_condition"
                c:identifier="ibus_emojier_set_partial_match_condition">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="191">Set the partial match condition with the integer.</doc>
        <source-position filename="ibusemojidialog.h" line="197"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="condition" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="193">condition id between 0 and 2.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
      <function name="set_partial_match_length"
                c:identifier="ibus_emojier_set_partial_match_length">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="182">Set the minimum length to match partially.</doc>
        <source-position filename="ibusemojidialog.h" line="188"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="length" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="184">minimum length to match partially.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_input_context_path"
              c:identifier="ibus_emojier_get_input_context_path">
        <source-position filename="ibusemojidialog.h" line="100"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="ibusemojidialog.h"
               line="97">an input context path of #IBusInputContext
which is saved in ibus_emojier_run().</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="95">An #IBusEmojier</doc>
            <type name="Emojier" c:type="IBusEmojier*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_string"
              c:identifier="ibus_emojier_get_selected_string">
        <source-position filename="ibusemojidialog.h" line="108"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="ibusemojidialog.h"
               line="106">an selected emoji character on the emoji dialog.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="104">An #IBusEmojier</doc>
            <type name="Emojier" c:type="IBusEmojier*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_running" c:identifier="ibus_emojier_is_running">
        <source-position filename="ibusemojidialog.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="ibusemojidialog.h"
               line="89">boolean if the emoji dialog is running</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="87">An #IBusEmojier</doc>
            <type name="Emojier" c:type="IBusEmojier*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="present_centralize"
              c:identifier="ibus_emojier_present_centralize">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="118">Move the window to the toplevel on the screen and centralize it.</doc>
        <source-position filename="ibusemojidialog.h" line="125"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="120">An #IBusEmojier</doc>
            <type name="Emojier" c:type="IBusEmojier*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="121">A #GdkEventKey for timestamp</doc>
            <type name="Gdk.Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="reset" c:identifier="ibus_emojier_reset">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="110">Reset the selected string and input context path.</doc>
        <source-position filename="ibusemojidialog.h" line="116"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="112">An #IBusEmojier</doc>
            <type name="Emojier" c:type="IBusEmojier*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="run" c:identifier="ibus_emojier_run">
        <doc xml:space="preserve"
             filename="ibusemojidialog.h"
             line="69">Runs emoji dialog to select emoji.</doc>
        <source-position filename="ibusemojidialog.h" line="80"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="ibusemojidialog.h"
               line="78">A selected emoji character.</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="71">An #IBusEmojier</doc>
            <type name="Emojier" c:type="IBusEmojier*"/>
          </instance-parameter>
          <parameter name="input_context_path" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="72">An input context path of #IBusInputContext
                     of the focused application.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="ibusemojidialog.h"
                 line="74">A #GdkEventKey for timestamp</doc>
            <type name="Gdk.Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance" readable="0" private="1">
        <type name="Gtk.Window" c:type="GtkWindow"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="EmojierPrivate" c:type="IBusEmojierPrivate*"/>
      </field>
      <glib:signal name="cancel" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="candidate-clicked" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="p0" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="p1" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="commit-text" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="send-message" when="last" introspectable="0">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="EmojierClass"
            c:type="IBusEmojierClass"
            glib:is-gtype-struct-for="Emojier">
      <source-position filename="ibusemojidialog.h" line="56"/>
      <field name="parent_class" readable="0" private="1">
        <type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
      </field>
    </record>
    <record name="EmojierPrivate"
            c:type="IBusEmojierPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="ibusemojidialog.h" line="39"/>
    </record>
    <docsection name="ibusemojidialog">
      <doc xml:space="preserve"
           filename="ibusemojidialog.h"
           line="28">miscellaneous emoji dialg APIs.</doc>
    </docsection>
  </namespace>
</repository>
