<?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:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="Atk" version="1.0"/>
  <include name="Champlain" version="0.12"/>
  <include name="Clutter" version="1.0"/>
  <include name="Cogl" version="1.0"/>
  <include name="GL" version="1.0"/>
  <include name="GLib" version="2.0"/>
  <include name="GModule" version="2.0"/>
  <include name="GObject" version="2.0"/>
  <include name="Gdk" version="3.0"/>
  <include name="GdkPixbuf" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <include name="Json" version="1.0"/>
  <include name="Pango" version="1.0"/>
  <include name="PangoCairo" version="1.0"/>
  <include name="PangoFT2" version="1.0"/>
  <include name="cairo" version="1.0"/>
  <include name="fontconfig" version="2.0"/>
  <include name="freetype2" version="2.0"/>
  <namespace name="Emerillon"
             version="0.2"
             shared-library=""
             c:identifier-prefixes="Emerillon"
             c:symbol-prefixes="emerillon">
    <class name="Sidebar"
           c:symbol-prefix="sidebar"
           c:type="EmerillonSidebar"
           parent="Gtk.Box"
           glib:type-name="EmerillonSidebar"
           glib:get-type="emerillon_sidebar_get_type"
           glib:type-struct="SidebarClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <implements name="Gtk.Orientable"/>
      <constructor name="new" c:identifier="emerillon_sidebar_new">
        <return-value transfer-ownership="none">
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </constructor>
      <virtual-method name="page_added">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="main_widget" transfer-ownership="none">
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="page_removed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="main_widget" transfer-ownership="none">
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_page" c:identifier="emerillon_sidebar_add_page">
        <doc xml:whitespace="preserve">Adds a new page to the sidebar</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="title" transfer-ownership="none">
            <doc xml:whitespace="preserve">Sidebar title</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="main_widget" transfer-ownership="none">
            <doc xml:whitespace="preserve">A #GtkWidget which should be embedded in the sidebar</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_n_pages" c:identifier="emerillon_sidebar_get_n_pages">
        <doc xml:whitespace="preserve">Returns the number of pages @sidebar has.
an #EmerillonSidebar instance this function returns #TRUE.</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">The number of pages @sidebar has. If @sidebar isn't</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </method>
      <method name="is_empty" c:identifier="emerillon_sidebar_is_empty">
        <doc xml:whitespace="preserve">Checks if the @sidebar is empty
an #EmerillonSidebar instance</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">#TRUE if @sidebar has no pages or isn't</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </method>
      <method name="remove_page" c:identifier="emerillon_sidebar_remove_page">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="main_widget" transfer-ownership="none">
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_page" c:identifier="emerillon_sidebar_set_page">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="main_widget" transfer-ownership="none">
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </method>
      <property name="current-page" writable="1" transfer-ownership="none">
        <type name="Gtk.Widget"/>
      </property>
      <field name="base_instance">
        <type name="Gtk.Box" c:type="GtkBox"/>
      </field>
      <field name="priv">
        <type name="SidebarPrivate" c:type="EmerillonSidebarPrivate*"/>
      </field>
      <glib:signal name="page-added">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Gtk.Widget"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="page-removed">
        <return-value transfer-ownership="none">
          <type name="none"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Gtk.Widget"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="SidebarClass"
            c:type="EmerillonSidebarClass"
            glib:is-gtype-struct-for="Sidebar">
      <field name="base_class">
        <type name="Gtk.BoxClass" c:type="GtkBoxClass"/>
      </field>
      <field name="page_added">
        <callback name="page_added">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="sidebar" transfer-ownership="none">
              <type name="Sidebar" c:type="EmerillonSidebar*"/>
            </parameter>
            <parameter name="main_widget" transfer-ownership="none">
              <type name="Gtk.Widget" c:type="GtkWidget*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="page_removed">
        <callback name="page_removed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="sidebar" transfer-ownership="none">
              <type name="Sidebar" c:type="EmerillonSidebar*"/>
            </parameter>
            <parameter name="main_widget" transfer-ownership="none">
              <type name="Gtk.Widget" c:type="GtkWidget*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="SidebarPrivate"
            c:type="EmerillonSidebarPrivate"
            disguised="1">
    </record>
    <class name="Window"
           c:symbol-prefix="window"
           c:type="EmerillonWindow"
           parent="Gtk.Window"
           glib:type-name="EmerillonWindow"
           glib:get-type="emerillon_window_get_type"
           glib:type-struct="WindowClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <function name="dup_default" c:identifier="emerillon_window_dup_default">
        <doc xml:whitespace="preserve">Retrieves Emerillon's main window</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GtkWidget</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </function>
      <method name="get_map_view" c:identifier="emerillon_window_get_map_view">
        <doc xml:whitespace="preserve">Retrieves Emerillon's map view</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">A #ChamplainView</doc>
          <type name="Champlain.View" c:type="ChamplainView*"/>
        </return-value>
      </method>
      <method name="get_sidebar" c:identifier="emerillon_window_get_sidebar">
        <doc xml:whitespace="preserve">Retrieves Emerillon's sidebar</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GtkWidget containing the current sidebar</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </method>
      <method name="get_statusbar"
              c:identifier="emerillon_window_get_statusbar">
        <doc xml:whitespace="preserve">Retrieves Emerillon's statusbar</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GtkWidget containing the current statusbar</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </method>
      <method name="get_toolbar" c:identifier="emerillon_window_get_toolbar">
        <doc xml:whitespace="preserve">Retrieves Emerillon's toolbar</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GtkWidget containing Emerillon's toolbar</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
      </method>
      <method name="get_ui_manager"
              c:identifier="emerillon_window_get_ui_manager">
        <doc xml:whitespace="preserve">Retrieves Emerillon's UI manager</doc>
        <return-value transfer-ownership="none">
          <doc xml:whitespace="preserve">A #GtkUIManager</doc>
          <type name="Gtk.UIManager" c:type="GtkUIManager*"/>
        </return-value>
      </method>
      <property name="auto-update" writable="1" transfer-ownership="none">
        <doc xml:whitespace="preserve">Toggle automatic update of the map position based on geoclue data.
When enabled also gets the current position.
Since 0.1.2</doc>
        <type name="gboolean"/>
      </property>
      <field name="parent">
        <type name="Gtk.Window" c:type="GtkWindow"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="WindowPrivate" c:type="EmerillonWindowPrivate*"/>
      </field>
    </class>
    <record name="WindowClass"
            c:type="EmerillonWindowClass"
            glib:is-gtype-struct-for="Window">
      <field name="parent_class">
        <type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
      </field>
    </record>
    <record name="WindowPrivate" c:type="EmerillonWindowPrivate" disguised="1">
    </record>
  </namespace>
</repository>
