<?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="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Gtk" version="3.0"/>
  <include name="Peas" version="1.0"/>
  <c:include name="plugin.h"/>
  <namespace name="Budgie"
             version="1.0"
             shared-library="libbudgie-plugin.so.0"
             c:identifier-prefixes="Budgie"
             c:symbol-prefixes="budgie">
    <constant name="APPLET_KEY_ALIGN"
              value="alignment"
              c:type="BUDGIE_APPLET_KEY_ALIGN">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="APPLET_KEY_NAME"
              value="name"
              c:type="BUDGIE_APPLET_KEY_NAME">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="APPLET_KEY_POS"
              value="position"
              c:type="BUDGIE_APPLET_KEY_POS">
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="Applet"
           c:symbol-prefix="applet"
           c:type="BudgieApplet"
           parent="Gtk.EventBox"
           glib:type-name="BudgieApplet"
           glib:get-type="budgie_applet_get_type"
           glib:type-struct="AppletClass">
      <implements name="Atk.ImplementorIface"/>
      <implements name="Gtk.Buildable"/>
      <constructor name="new" c:identifier="budgie_applet_new">
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A new BudgieApplet</doc>
          <type name="Applet" c:type="BudgieApplet*"/>
        </return-value>
      </constructor>
      <virtual-method name="get_settings_ui" invoker="get_settings_ui">
        <doc xml:space="preserve">For applets that need to expose settings, they should both override the
#BudgieApplet::supports_settings method and return a new widget instance
whenever this function is invoked.

This UI will live in the Raven sidebar within the Budgie Desktop, and
will be destroyed as soon as it's not being used. It's advisable to keep
this widget implementation light, and to prefer vertical space.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A GTK Settings UI</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="invoke_action" invoker="invoke_action">
        <doc xml:space="preserve">Invoke the given action on this applet. This action will only be one
that has been declared in supported actions bitmask.

To allow better integration between the Budgie Desktop, and the applets
that live within it, the panel will relay actions to applets that have
set their #BudgieApplet:supported-actions to a matching bitmask.

For example, if we wish to listen for Menu Key events, we can simply do
the following in C:

|[&lt;!-- language="C" --&gt;

     static void my_applet_invoke_action(BudgieApplet *applet, BudgiePanelAction action)
     {
             if (action == BUDGIE_PANEL_ACTION_MENU) {
                     my_applet_do_predict_the_lottery(MY_APPLET(applet));
             }
     }

     static void my_class_init(GObjectClass *class)
     {
             MyClass *mc = MY_CLASS(klass);
             ..
             mc-&gt;invoke_action = my_applet_invoke_action;
     }
]|

Likewise, a Vala implementation might look like the following:
|[&lt;!-- language="Vala" --&gt;

     public override void invoke_action(Budgie.PanelAction action)
     {
         if (action == Budgie.PanelAction.MENU) {
             this.predict_the_lottery();
         }
     }
]|</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">Action to invoke</doc>
            <type name="PanelAction" c:type="BudgiePanelAction"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="panel_size_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="panel_size" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="icon_size" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="small_icon_size" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="supports_settings" invoker="supports_settings">
        <doc xml:space="preserve">Implementations should override this to return TRUE if they support
a settings UI</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">true if this implementation supports a Settings UI</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="update_popovers" invoker="update_popovers">
        <doc xml:space="preserve">This virtual method should be implemented by panel applets that wish
to support #GtkPopover's natively. As each Budgie Panel may house multiple
GtkPopover widgets, each one must be registered with the @manager.

During this call, it is safe to store a reference to the @manager. In
this call you should invoke #BudgiePopoverManager::register_popover to
register your popover with the panel manager.

Each registered popover joins the global menu system of popovers in the
panel. It is a requirement to register, otherwise the panel will not
know when to expand and collapse the main panel harness to accommodate
the GtkPopover.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="applet" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="manager"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_applet_settings"
              c:identifier="budgie_applet_get_applet_settings">
        <doc xml:space="preserve">If your #BudgiePlugin implementation passes the UUID to your BudgieApplet
implementation on construction, you can take advantage of per-instance
settings.

For most applets, global GSettings keys are more than suffice. However,
in some situations, it may be beneficial to enable multiple unique instances
of your applet, each with their own configuration.

To facilitate this, use this function to create a new relocatable settings
instance using your UUID. Make sure you set the #BudgieApplet:settings-schema
and #BudgieApplet:settings-prefix properties first.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A newly created #GSettings for this applet instance</doc>
          <type name="Gio.Settings" c:type="GSettings*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="uuid" transfer-ownership="none">
            <doc xml:space="preserve">UUID for this instance</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_settings_prefix"
              c:identifier="budgie_applet_get_settings_prefix">
        <doc xml:space="preserve">Utility function for Python usage. See: #BudgieApplet:settings-prefix</doc>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_settings_schema"
              c:identifier="budgie_applet_get_settings_schema">
        <doc xml:space="preserve">Utility function for Python usage. See #BudgieApplet:settings-schema</doc>
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_settings_ui"
              c:identifier="budgie_applet_get_settings_ui">
        <doc xml:space="preserve">For applets that need to expose settings, they should both override the
#BudgieApplet::supports_settings method and return a new widget instance
whenever this function is invoked.

This UI will live in the Raven sidebar within the Budgie Desktop, and
will be destroyed as soon as it's not being used. It's advisable to keep
this widget implementation light, and to prefer vertical space.</doc>
        <return-value transfer-ownership="full" nullable="1">
          <doc xml:space="preserve">A GTK Settings UI</doc>
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_supported_actions"
              c:identifier="budgie_applet_get_supported_actions">
        <doc xml:space="preserve">Utility function for Python bindings. See #BudgieApplet:supported-actions</doc>
        <return-value transfer-ownership="none">
          <type name="PanelAction" c:type="BudgiePanelAction"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="invoke_action" c:identifier="budgie_applet_invoke_action">
        <doc xml:space="preserve">Invoke the given action on this applet. This action will only be one
that has been declared in supported actions bitmask.

To allow better integration between the Budgie Desktop, and the applets
that live within it, the panel will relay actions to applets that have
set their #BudgieApplet:supported-actions to a matching bitmask.

For example, if we wish to listen for Menu Key events, we can simply do
the following in C:

|[&lt;!-- language="C" --&gt;

     static void my_applet_invoke_action(BudgieApplet *applet, BudgiePanelAction action)
     {
             if (action == BUDGIE_PANEL_ACTION_MENU) {
                     my_applet_do_predict_the_lottery(MY_APPLET(applet));
             }
     }

     static void my_class_init(GObjectClass *class)
     {
             MyClass *mc = MY_CLASS(klass);
             ..
             mc-&gt;invoke_action = my_applet_invoke_action;
     }
]|

Likewise, a Vala implementation might look like the following:
|[&lt;!-- language="Vala" --&gt;

     public override void invoke_action(Budgie.PanelAction action)
     {
         if (action == Budgie.PanelAction.MENU) {
             this.predict_the_lottery();
         }
     }
]|</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="action" transfer-ownership="none">
            <doc xml:space="preserve">Action to invoke</doc>
            <type name="PanelAction" c:type="BudgiePanelAction"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_settings_prefix"
              c:identifier="budgie_applet_set_settings_prefix">
        <doc xml:space="preserve">Utility function for Python usage. See: #BudgieApplet:settings-prefix</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="prefix" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_settings_schema"
              c:identifier="budgie_applet_set_settings_schema">
        <doc xml:space="preserve">Utility function for Python usage. See #BudgieApplet:settings-schema</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="schema" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="supports_settings"
              c:identifier="budgie_applet_supports_settings">
        <doc xml:space="preserve">Implementations should override this to return TRUE if they support
a settings UI</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">true if this implementation supports a Settings UI</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="update_popovers"
              c:identifier="budgie_applet_update_popovers">
        <doc xml:space="preserve">This virtual method should be implemented by panel applets that wish
to support #GtkPopover's natively. As each Budgie Panel may house multiple
GtkPopover widgets, each one must be registered with the @manager.

During this call, it is safe to store a reference to the @manager. In
this call you should invoke #BudgiePopoverManager::register_popover to
register your popover with the panel manager.

Each registered popover joins the global menu system of popovers in the
panel. It is a requirement to register, otherwise the panel will not
know when to expand and collapse the main panel harness to accommodate
the GtkPopover.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </instance-parameter>
          <parameter name="manager"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </parameter>
        </parameters>
      </method>
      <property name="settings-prefix" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The GSettings schema path prefix for this applet

For applets that require unique instance configuration, the
panel management must know where to initialise the settings
within the tree. The path takes the form:

`$SETTINGS_PREFIX/{$UUID}`

As an example, the Budgie Menu Applet set's the `settings-prefix`
to:
`/com/solus-project/budgie-panel/instance/budgie-menu`.

This results in relocatable schemas being created at:

`/com/solus-project/budgie-panel/instance/budgie-menu/{$UUID}`</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="settings-schema" writable="1" transfer-ownership="none">
        <doc xml:space="preserve">The ID of the GSettings schema used by this applet

This only takes effect when you've also set #BudgieApplet:settings-prefix,
and is used by the panel managemen to both initialise and delete your per-instance
settings, respectively.

As an example, the Budgie Menu Applet uses the schema:

`com.solus-project.budgie-menu`

as defined by the accompanying gschema XML file. Providing an incorrect
schema ID is considered programmer error.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="supported-actions"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The actions supported by this applet instance</doc>
        <type name="PanelAction"/>
      </property>
      <field name="parent_instance">
        <type name="Gtk.EventBox" c:type="GtkEventBox"/>
      </field>
      <field name="priv">
        <type name="AppletPrivate" c:type="BudgieAppletPrivate*"/>
      </field>
      <glib:signal name="panel-size-changed" when="last" action="1">
        <doc xml:space="preserve">Used to notify this applet of a change in the panel size</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="panel_size" transfer-ownership="none">
            <doc xml:space="preserve">The new panel size</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="icon_size" transfer-ownership="none">
            <doc xml:space="preserve">Larget possible icon size for the panel</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="small_icon_size" transfer-ownership="none">
            <doc xml:space="preserve">Smaller icon that will still fit on the panel</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="AppletClass"
            c:type="BudgieAppletClass"
            glib:is-gtype-struct-for="Applet">
      <field name="parent_class">
        <type name="Gtk.EventBoxClass" c:type="GtkEventBoxClass"/>
      </field>
      <field name="invoke_action">
        <callback name="invoke_action">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="Applet" c:type="BudgieApplet*"/>
            </parameter>
            <parameter name="action" transfer-ownership="none">
              <doc xml:space="preserve">Action to invoke</doc>
              <type name="PanelAction" c:type="BudgiePanelAction"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="supports_settings">
        <callback name="supports_settings">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">true if this implementation supports a Settings UI</doc>
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="Applet" c:type="BudgieApplet*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_settings_ui">
        <callback name="get_settings_ui">
          <return-value transfer-ownership="full" nullable="1">
            <doc xml:space="preserve">A GTK Settings UI</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <type name="Applet" c:type="BudgieApplet*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="panel_size_changed">
        <callback name="panel_size_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="applet" transfer-ownership="none">
              <type name="Applet" c:type="BudgieApplet*"/>
            </parameter>
            <parameter name="panel_size" transfer-ownership="none">
              <type name="gint" c:type="int"/>
            </parameter>
            <parameter name="icon_size" transfer-ownership="none">
              <type name="gint" c:type="int"/>
            </parameter>
            <parameter name="small_icon_size" transfer-ownership="none">
              <type name="gint" c:type="int"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="update_popovers">
        <callback name="update_popovers">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="applet" transfer-ownership="none">
              <type name="Applet" c:type="BudgieApplet*"/>
            </parameter>
            <parameter name="manager"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" c:type="gpointer" fixed-size="12">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <class name="AppletInfo"
           c:symbol-prefix="applet_info"
           c:type="BudgieAppletInfo"
           parent="GObject.Object"
           glib:type-name="BudgieAppletInfo"
           glib:get-type="budgie_applet_info_get_type"
           glib:type-struct="AppletInfoClass">
      <doc xml:space="preserve">This type is private to the panel implementation, and is used to monitor, track,
and control each applet instance.</doc>
      <constructor name="new" c:identifier="budgie_applet_info_new">
        <return-value transfer-ownership="full">
          <type name="AppletInfo" c:type="BudgieAppletInfo*"/>
        </return-value>
        <parameters>
          <parameter name="plugin_info" transfer-ownership="none">
            <type name="Peas.PluginInfo" c:type="PeasPluginInfo*"/>
          </parameter>
          <parameter name="uuid" transfer-ownership="none">
            <type name="utf8" c:type="const char*"/>
          </parameter>
          <parameter name="applet" transfer-ownership="none">
            <type name="Applet" c:type="BudgieApplet*"/>
          </parameter>
          <parameter name="settings" transfer-ownership="none">
            <type name="Gio.Settings" c:type="GSettings*"/>
          </parameter>
        </parameters>
      </constructor>
      <property name="alignment" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="applet"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="Applet" c:type="gpointer"/>
      </property>
      <property name="description" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="icon" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="name" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="position" writable="1" transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </property>
      <property name="settings"
                writable="1"
                construct="1"
                transfer-ownership="none">
        <type name="Gio.Settings" c:type="gpointer"/>
      </property>
      <property name="uuid" writable="1" transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="AppletInfoPrivate" c:type="BudgieAppletInfoPrivate*"/>
      </field>
    </class>
    <record name="AppletInfoClass"
            c:type="BudgieAppletInfoClass"
            glib:is-gtype-struct-for="AppletInfo">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="AppletInfoPrivate"
            c:type="BudgieAppletInfoPrivate"
            disguised="1">
    </record>
    <record name="AppletPrivate" c:type="BudgieAppletPrivate" disguised="1">
    </record>
    <bitfield name="PanelAction"
              glib:type-name="BudgiePanelAction"
              glib:get-type="budgie_panel_action_get_type"
              c:type="BudgiePanelAction">
      <doc xml:space="preserve">BudgiePanelAction's are bitwise OR'd so that a #BudgieApplet may expose
the actions that it supports, when the panel is interacted with in
a global fashion (such as via the D-BUS API)</doc>
      <member name="none"
              value="1"
              c:identifier="BUDGIE_PANEL_ACTION_NONE"
              glib:nick="none">
      </member>
      <member name="menu"
              value="2"
              c:identifier="BUDGIE_PANEL_ACTION_MENU"
              glib:nick="menu">
        <doc xml:space="preserve">Invoke the menu action</doc>
      </member>
      <member name="max"
              value="4"
              c:identifier="BUDGIE_PANEL_ACTION_MAX"
              glib:nick="max">
      </member>
    </bitfield>
    <interface name="Plugin"
               c:symbol-prefix="plugin"
               c:type="BudgiePlugin"
               glib:type-name="BudgiePlugin"
               glib:get-type="budgie_plugin_get_type"
               glib:type-struct="PluginIface">
      <virtual-method name="get_panel_widget" invoker="get_panel_widget">
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A newly initialised panel widget</doc>
          <type name="Applet" c:type="BudgieApplet*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">A #BudgiePlugin</doc>
            <type name="Plugin" c:type="BudgiePlugin*"/>
          </instance-parameter>
          <parameter name="uuid" transfer-ownership="none">
            <doc xml:space="preserve">UUID for this new instance</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_panel_widget"
              c:identifier="budgie_plugin_get_panel_widget">
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">A newly initialised panel widget</doc>
          <type name="Applet" c:type="BudgieApplet*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve">A #BudgiePlugin</doc>
            <type name="Plugin" c:type="BudgiePlugin*"/>
          </instance-parameter>
          <parameter name="uuid" transfer-ownership="none">
            <doc xml:space="preserve">UUID for this new instance</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="PluginIface"
            c:type="BudgiePluginIface"
            glib:is-gtype-struct-for="Plugin">
      <field name="parent_iface">
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="get_panel_widget">
        <callback name="get_panel_widget">
          <return-value transfer-ownership="full">
            <doc xml:space="preserve">A newly initialised panel widget</doc>
            <type name="Applet" c:type="BudgieApplet*"/>
          </return-value>
          <parameters>
            <parameter name="self" transfer-ownership="none">
              <doc xml:space="preserve">A #BudgiePlugin</doc>
              <type name="Plugin" c:type="BudgiePlugin*"/>
            </parameter>
            <parameter name="uuid" transfer-ownership="none">
              <doc xml:space="preserve">UUID for this new instance</doc>
              <type name="utf8" c:type="gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
    <interface name="PopoverManager"
               c:symbol-prefix="popover_manager"
               c:type="BudgiePopoverManager"
               glib:type-name="BudgiePopoverManager"
               glib:get-type="budgie_popover_manager_get_type"
               glib:type-struct="PopoverManagerIface">
      <virtual-method name="register_popover" invoker="register_popover">
        <doc xml:space="preserve">Register a popover with this popover manager</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </instance-parameter>
          <parameter name="widget"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Widget that the popover is associated with</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
          <parameter name="popover"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GtkPopover to associated with the @widget</doc>
            <type name="Gtk.Popover" c:type="GtkPopover*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="show_popover" invoker="show_popover">
        <doc xml:space="preserve">Show a popover previously with this popover manager</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </instance-parameter>
          <parameter name="widget"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Widget that the popover is associated with</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="unregister_popover" invoker="unregister_popover">
        <doc xml:space="preserve">Unegister a popover with this popover manager</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </instance-parameter>
          <parameter name="widget"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Widget that the popover is associated with</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="register_popover"
              c:identifier="budgie_popover_manager_register_popover">
        <doc xml:space="preserve">Register a popover with this popover manager</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </instance-parameter>
          <parameter name="widget"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Widget that the popover is associated with</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
          <parameter name="popover"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">A #GtkPopover to associated with the @widget</doc>
            <type name="Gtk.Popover" c:type="GtkPopover*"/>
          </parameter>
        </parameters>
      </method>
      <method name="show_popover"
              c:identifier="budgie_popover_manager_show_popover">
        <doc xml:space="preserve">Show a popover previously with this popover manager</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </instance-parameter>
          <parameter name="widget"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Widget that the popover is associated with</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unregister_popover"
              c:identifier="budgie_popover_manager_unregister_popover">
        <doc xml:space="preserve">Unegister a popover with this popover manager</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="manager" transfer-ownership="none">
            <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
          </instance-parameter>
          <parameter name="widget"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">Widget that the popover is associated with</doc>
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
          </parameter>
        </parameters>
      </method>
    </interface>
    <record name="PopoverManagerIface"
            c:type="BudgiePopoverManagerIface"
            glib:is-gtype-struct-for="PopoverManager">
      <field name="parent_iface">
        <type name="GObject.TypeInterface" c:type="GTypeInterface"/>
      </field>
      <field name="register_popover">
        <callback name="register_popover">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
            </parameter>
            <parameter name="widget"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">Widget that the popover is associated with</doc>
              <type name="Gtk.Widget" c:type="GtkWidget*"/>
            </parameter>
            <parameter name="popover"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">A #GtkPopover to associated with the @widget</doc>
              <type name="Gtk.Popover" c:type="GtkPopover*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="unregister_popover">
        <callback name="unregister_popover">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
            </parameter>
            <parameter name="widget"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">Widget that the popover is associated with</doc>
              <type name="Gtk.Widget" c:type="GtkWidget*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="show_popover">
        <callback name="show_popover">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="manager" transfer-ownership="none">
              <type name="PopoverManager" c:type="BudgiePopoverManager*"/>
            </parameter>
            <parameter name="widget"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve">Widget that the popover is associated with</doc>
              <type name="Gtk.Widget" c:type="GtkWidget*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="padding">
        <array zero-terminated="0" c:type="gpointer" fixed-size="4">
          <type name="gpointer" c:type="gpointer"/>
        </array>
      </field>
    </record>
  </namespace>
</repository>
