<?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="Champlain" version="0.12"/>
  <include name="GObject" version="2.0"/>
  <include name="Gtk" version="3.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>
          <instance-parameter name="sidebar" transfer-ownership="none">
            <type name="Sidebar" c:type="EmerillonSidebar*"/>
          </instance-parameter>
          <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>
          <instance-parameter name="sidebar" transfer-ownership="none">
            <type name="Sidebar" c:type="EmerillonSidebar*"/>
          </instance-parameter>
          <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:space="preserve">Adds a new page to the sidebar

See: emerillon_window_get_sidebar()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="sidebar" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonSidebar instance</doc>
            <type name="Sidebar" c:type="EmerillonSidebar*"/>
          </instance-parameter>
          <parameter name="title" transfer-ownership="none">
            <doc xml:space="preserve">Sidebar title</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="main_widget" transfer-ownership="none">
            <doc xml:space="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:space="preserve">Returns the number of pages @sidebar has.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of pages @sidebar has. If @sidebar isn't
an #EmerillonSidebar instance this function returns #TRUE.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="sidebar" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonSidebar instance</doc>
            <type name="Sidebar" c:type="EmerillonSidebar*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_empty" c:identifier="emerillon_sidebar_is_empty">
        <doc xml:space="preserve">Checks if the @sidebar is empty</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">#TRUE if @sidebar has no pages or isn't
an #EmerillonSidebar instance</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="sidebar" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonSidebar instance</doc>
            <type name="Sidebar" c:type="EmerillonSidebar*"/>
          </instance-parameter>
        </parameters>
      </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>
          <instance-parameter name="sidebar" transfer-ownership="none">
            <type name="Sidebar" c:type="EmerillonSidebar*"/>
          </instance-parameter>
          <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>
          <instance-parameter name="sidebar" transfer-ownership="none">
            <type name="Sidebar" c:type="EmerillonSidebar*"/>
          </instance-parameter>
          <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" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="Gtk.Widget"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="page-removed" when="first">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </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:space="preserve">Retrieves Emerillon's main window</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="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:space="preserve">Retrieves Emerillon's map view</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #ChamplainView</doc>
          <type name="Champlain.View" c:type="ChamplainView*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonWindow instance</doc>
            <type name="Window" c:type="EmerillonWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_sidebar" c:identifier="emerillon_window_get_sidebar">
        <doc xml:space="preserve">Retrieves Emerillon's sidebar</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GtkWidget containing the current sidebar</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonWindow instance</doc>
            <type name="Window" c:type="EmerillonWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_statusbar"
              c:identifier="emerillon_window_get_statusbar">
        <doc xml:space="preserve">Retrieves Emerillon's statusbar</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GtkWidget containing the current statusbar</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonWindow instance</doc>
            <type name="Window" c:type="EmerillonWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_toolbar" c:identifier="emerillon_window_get_toolbar">
        <doc xml:space="preserve">Retrieves Emerillon's toolbar</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GtkWidget containing Emerillon's toolbar</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonWindow instance</doc>
            <type name="Window" c:type="EmerillonWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_ui_manager"
              c:identifier="emerillon_window_get_ui_manager">
        <doc xml:space="preserve">Retrieves Emerillon's UI manager</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GtkUIManager</doc>
          <type name="Gtk.UIManager" c:type="GtkUIManager*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">An #EmerillonWindow instance</doc>
            <type name="Window" c:type="EmerillonWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="auto-update" writable="1" transfer-ownership="none">
        <doc xml:space="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" c:type="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>
