<?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="GObject" version="2.0"/>
  <package name="dbusmenu-glib-0.4"/>
  <c:include name="libdbusmenu-glib/client.h"/>
  <c:include name="libdbusmenu-glib/dbusmenu-glib.h"/>
  <c:include name="libdbusmenu-glib/enum-types.h"/>
  <c:include name="libdbusmenu-glib/menuitem-proxy.h"/>
  <c:include name="libdbusmenu-glib/menuitem.h"/>
  <c:include name="libdbusmenu-glib/server.h"/>
  <c:include name="libdbusmenu-glib/types.h"/>
  <doc:format name="unknown"/>
  <namespace name="Dbusmenu"
             version="0.4"
             shared-library="libdbusmenu-glib.so.0.0"
             c:identifier-prefixes="Dbusmenu"
             c:symbol-prefixes="dbusmenu">
    <function-macro name="CLIENT"
                    c:identifier="DBUSMENU_CLIENT"
                    introspectable="0">
      <source-position filename="client.h" line="41"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CLIENT_CLASS"
                    c:identifier="DBUSMENU_CLIENT_CLASS"
                    introspectable="0">
      <source-position filename="client.h" line="42"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CLIENT_GET_CLASS"
                    c:identifier="DBUSMENU_CLIENT_GET_CLASS"
                    introspectable="0">
      <source-position filename="client.h" line="45"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="CLIENT_PROP_DBUS_NAME"
              value="dbus-name"
              c:type="DBUSMENU_CLIENT_PROP_DBUS_NAME">
      <doc xml:space="preserve"
           filename="client.h"
           line="84">String to access property #DbusmenuClient:dbus-name</doc>
      <source-position filename="client.h" line="89"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_PROP_DBUS_OBJECT"
              value="dbus-object"
              c:type="DBUSMENU_CLIENT_PROP_DBUS_OBJECT">
      <doc xml:space="preserve"
           filename="client.h"
           line="90">String to access property #DbusmenuClient:dbus-object</doc>
      <source-position filename="client.h" line="95"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_PROP_GROUP_EVENTS"
              value="group-events"
              c:type="DBUSMENU_CLIENT_PROP_GROUP_EVENTS">
      <doc xml:space="preserve"
           filename="client.h"
           line="108">String to access property #DbusmenuClient:group-events</doc>
      <source-position filename="client.h" line="113"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_PROP_STATUS"
              value="status"
              c:type="DBUSMENU_CLIENT_PROP_STATUS">
      <doc xml:space="preserve"
           filename="client.h"
           line="96">String to access property #DbusmenuClient:status</doc>
      <source-position filename="client.h" line="101"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_PROP_TEXT_DIRECTION"
              value="text-direction"
              c:type="DBUSMENU_CLIENT_PROP_TEXT_DIRECTION">
      <doc xml:space="preserve"
           filename="client.h"
           line="102">String to access property #DbusmenuClient:text-direction</doc>
      <source-position filename="client.h" line="107"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_SIGNAL_EVENT_RESULT"
              value="event-result"
              c:type="DBUSMENU_CLIENT_SIGNAL_EVENT_RESULT">
      <doc xml:space="preserve"
           filename="client.h"
           line="71">String to attach to signal #DbusmenuClient::event-result</doc>
      <source-position filename="client.h" line="76"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_SIGNAL_ICON_THEME_DIRS_CHANGED"
              value="icon-theme-dirs-changed"
              c:type="DBUSMENU_CLIENT_SIGNAL_ICON_THEME_DIRS_CHANGED">
      <doc xml:space="preserve"
           filename="client.h"
           line="77">String to attach to signal #DbusmenuClient::icon-theme-dirs-changed</doc>
      <source-position filename="client.h" line="82"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_SIGNAL_ITEM_ACTIVATE"
              value="item-activate"
              c:type="DBUSMENU_CLIENT_SIGNAL_ITEM_ACTIVATE">
      <doc xml:space="preserve"
           filename="client.h"
           line="65">String to attach to signal #DbusmenuClient::item-activate</doc>
      <source-position filename="client.h" line="70"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_SIGNAL_LAYOUT_UPDATED"
              value="layout-updated"
              c:type="DBUSMENU_CLIENT_SIGNAL_LAYOUT_UPDATED">
      <doc xml:space="preserve"
           filename="client.h"
           line="47">String to attach to signal #DbusmenuClient::layout-updated</doc>
      <source-position filename="client.h" line="52"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_SIGNAL_NEW_MENUITEM"
              value="new-menuitem"
              c:type="DBUSMENU_CLIENT_SIGNAL_NEW_MENUITEM">
      <doc xml:space="preserve"
           filename="client.h"
           line="59">String to attach to signal #DbusmenuClient::new-menuitem</doc>
      <source-position filename="client.h" line="64"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_SIGNAL_ROOT_CHANGED"
              value="root-changed"
              c:type="DBUSMENU_CLIENT_SIGNAL_ROOT_CHANGED">
      <doc xml:space="preserve"
           filename="client.h"
           line="53">String to attach to signal #DbusmenuClient::root-changed</doc>
      <source-position filename="client.h" line="58"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_TYPES_DEFAULT"
              value="standard"
              c:type="DBUSMENU_CLIENT_TYPES_DEFAULT">
      <doc xml:space="preserve"
           filename="client.h"
           line="115">Used to set the 'type' property on a menu item to create
a standard menu item.</doc>
      <source-position filename="client.h" line="121"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_TYPES_IMAGE"
              value="standard"
              c:type="DBUSMENU_CLIENT_TYPES_IMAGE">
      <doc xml:space="preserve"
           filename="client.h"
           line="129">Used to set the 'type' property on a menu item to create
an image menu item.  Deprecated as standard menu items now
support images as well.</doc>
      <source-position filename="client.h" line="136"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="CLIENT_TYPES_SEPARATOR"
              value="separator"
              c:type="DBUSMENU_CLIENT_TYPES_SEPARATOR">
      <doc xml:space="preserve"
           filename="client.h"
           line="122">Used to set the 'type' property on a menu item to create
a separator menu item.</doc>
      <source-position filename="client.h" line="128"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="Client"
           c:symbol-prefix="client"
           c:type="DbusmenuClient"
           parent="GObject.Object"
           glib:type-name="DbusmenuClient"
           glib:get-type="dbusmenu_client_get_type"
           glib:type-struct="ClientClass">
      <doc xml:space="preserve"
           filename="client.h"
           line="178">The client for a #DbusmenuServer creating a shared
	object set of #DbusmenuMenuitem objects.</doc>
      <source-position filename="client.h" line="176"/>
      <constructor name="new" c:identifier="dbusmenu_client_new">
        <doc xml:space="preserve"
             filename="client.c"
             line="2463">This function creates a new client that connects to a specific
server on DBus.  That server is at a specific location sharing
a known object.  The interface is assumed by the code to be
the DBus menu interface.  The newly created client will start
sending out events as it syncs up with the server.</doc>
        <source-position filename="client.h" line="209"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="client.c"
               line="2474">A brand new #DbusmenuClient</doc>
          <type name="Client" c:type="DbusmenuClient*"/>
        </return-value>
        <parameters>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2465">The DBus name for the server to connect to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2466">The object on the server to monitor</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="add_type_handler"
              c:identifier="dbusmenu_client_add_type_handler">
        <doc xml:space="preserve"
             filename="client.c"
             line="2533">This function connects into the type handling of the #DbusmenuClient.
Every new menuitem that comes in immediately gets asked for its
properties.  When we get those properties we check the 'type'
property and look to see if it matches a handler that is known
by the client.  If so, the @newfunc function is executed on that
#DbusmenuMenuitem.  If not, then the DbusmenuClient::new-menuitem
signal is sent.

In the future the known types will be sent to the server so that it
can make choices about the menu item types availble.</doc>
        <source-position filename="client.h" line="212"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="client.c"
               line="2552">If registering the new type was successful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2535">Client where we're getting types coming in</doc>
            <type name="Client" c:type="DbusmenuClient*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2536">A text string that will be matched with the 'type'
    property on incoming menu items</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="newfunc" transfer-ownership="none" scope="notified">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2538">The function that will be executed with those new
    items when they come in.</doc>
            <type name="ClientTypeHandler" c:type="DbusmenuClientTypeHandler"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_type_handler_full"
              c:identifier="dbusmenu_client_add_type_handler_full">
        <doc xml:space="preserve"
             filename="client.c"
             line="2560">This function connects into the type handling of the #DbusmenuClient.
Every new menuitem that comes in immediately gets asked for its
properties.  When we get those properties we check the 'type'
property and look to see if it matches a handler that is known
by the client.  If so, the @newfunc function is executed on that
#DbusmenuMenuitem.  If not, then the DbusmenuClient::new-menuitem
signal is sent.

In the future the known types will be sent to the server so that it
can make choices about the menu item types availble.</doc>
        <source-position filename="client.h" line="215"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="client.c"
               line="2583">If registering the new type was successful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2562">Client where we're getting types coming in</doc>
            <type name="Client" c:type="DbusmenuClient*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2563">A text string that will be matched with the 'type'
    property on incoming menu items</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="newfunc"
                     transfer-ownership="none"
                     scope="notified"
                     closure="2"
                     destroy="3">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2565">The function that will be executed with those new
    items when they come in.</doc>
            <type name="ClientTypeHandler" c:type="DbusmenuClientTypeHandler"/>
          </parameter>
          <parameter name="user_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2567">Data passed to @newfunc when it is called</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_func"
                     transfer-ownership="none"
                     scope="async">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2568">A function that is called when the type handler is
	removed (usually on client destruction) which will free
	the resources in @user_data.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_icon_paths"
              c:identifier="dbusmenu_client_get_icon_paths">
        <doc xml:space="preserve"
             filename="client.c"
             line="2657">Gets the stored and exported icon paths from the client.</doc>
        <source-position filename="client.h" line="222"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="client.c"
               line="2663">A NULL-terminated list of icon paths with
  memory managed by the client.  Duplicate if you want
  to keep them.</doc>
          <array c:type="GStrv">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2659">The #DbusmenuClient to get the icon paths from</doc>
            <type name="Client" c:type="DbusmenuClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_root" c:identifier="dbusmenu_client_get_root">
        <doc xml:space="preserve"
             filename="client.c"
             line="2490">Grabs the root node for the specified client @client.  This
function may block.  It will block if there is currently a
call to update the layout, it will block on that layout
updated and then return the newly updated layout.  Chances
are that this update is in the queue for the mainloop as
it would have been requested some time ago, but in theory
it could block longer.</doc>
        <source-position filename="client.h" line="211"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="client.c"
               line="2502">A #DbusmenuMenuitem representing the root of
	menu on the server.  If there is no server or there is
	an error receiving its layout it'll return #NULL.</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2492">The #DbusmenuClient to get the root node from</doc>
            <type name="Client" c:type="DbusmenuClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_status" c:identifier="dbusmenu_client_get_status">
        <doc xml:space="preserve"
             filename="client.c"
             line="2637">Gets the recommended current status that the server
	is exporting for the menus.  In situtations where the
	value is #DBUSMENU_STATUS_NOTICE it is recommended that
	the client show the menus to the user an a more noticible
	way.

	Return value: Status being exported.</doc>
        <source-position filename="client.h" line="221"/>
        <return-value transfer-ownership="none">
          <type name="Status" c:type="DbusmenuStatus"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2639">#DbusmenuClient to check the status on</doc>
            <type name="Client" c:type="DbusmenuClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_text_direction"
              c:identifier="dbusmenu_client_get_text_direction">
        <doc xml:space="preserve"
             filename="client.c"
             line="2619">Gets the text direction that the server is exporting.  If
	the server is not exporting a direction then the value
	#DBUSMENU_TEXT_DIRECTION_NONE will be returned.

	Return value: Text direction being exported.</doc>
        <source-position filename="client.h" line="220"/>
        <return-value transfer-ownership="none">
          <type name="TextDirection" c:type="DbusmenuTextDirection"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="2621">#DbusmenuClient to check the text direction on</doc>
            <type name="Client" c:type="DbusmenuClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="dbus-name"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="dbus-object"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="NULL">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="group-events"
                writable="1"
                transfer-ownership="none"
                default-value="FALSE">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="status"
                introspectable="0"
                transfer-ownership="none"
                default-value="DBUSMENU_STATUS_NORMAL">
        <type/>
      </property>
      <property name="text-direction"
                introspectable="0"
                transfer-ownership="none"
                default-value="DBUSMENU_TEXT_DIRECTION_NONE">
        <type/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="ClientPrivate" c:type="DbusmenuClientPrivate*"/>
      </field>
      <glib:signal name="event-result" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="GObject.Object"/>
          </parameter>
          <parameter name="p0" transfer-ownership="none">
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="p1" transfer-ownership="none">
            <type name="GLib.Variant"/>
          </parameter>
          <parameter name="p2" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="p3"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="icon-theme-dirs-changed" when="last">
        <doc xml:space="preserve"
             filename="client.c"
             line="294">Signaled when the theme directories are changed by the server.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="297">A #GStrv of theme directories</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="item-activate" when="last">
        <doc xml:space="preserve"
             filename="client.c"
             line="259">Signaled when the server wants to activate an item in
		order to display the menu.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="262">The #DbusmenuMenuitem activated</doc>
            <type name="GObject.Object"/>
          </parameter>
          <parameter name="arg2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="263">A timestamp that the event happened at</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="layout-updated" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="new-menuitem" when="last">
        <doc xml:space="preserve"
             filename="client.c"
             line="242">Signaled when the client creates a new menuitem.  This
		doesn't mean that it's placed anywhere.  The parent that
		it's applied to will signal #DbusmenuMenuitem::child-added
		when it gets parented.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="245">The new #DbusmenuMenuitem created</doc>
            <type name="GObject.Object"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="root-changed" when="last">
        <doc xml:space="preserve"
             filename="client.c"
             line="226">The layout has changed in a way that can not be
		represented by the individual items changing as the
		root of this client has changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="client.c"
                 line="229">The new root #DbusmenuMenuitem</doc>
            <type name="GObject.Object"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ClientClass"
            c:type="DbusmenuClientClass"
            glib:is-gtype-struct-for="Client">
      <doc xml:space="preserve"
           filename="client.h"
           line="140">A simple class that takes all of the information from a
	#DbusmenuServer over DBus and makes the same set of
	#DbusmenuMenuitem objects appear on the other side.</doc>
      <source-position filename="client.h" line="176"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="client.h"
             line="142">#GObjectClass</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="layout_updated">
        <doc xml:space="preserve"
             filename="client.h"
             line="143">Slot for #DbusmenuClient::layout-updated.</doc>
        <callback name="layout_updated">
          <source-position filename="client.h" line="163"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="root_changed">
        <doc xml:space="preserve"
             filename="client.h"
             line="144">Slot for #DbusmenuClient::root-changed.</doc>
        <callback name="root_changed">
          <source-position filename="client.h" line="164"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="newroot" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="new_menuitem">
        <doc xml:space="preserve"
             filename="client.h"
             line="145">Slot for #DbusmenuClient::new-menuitem.</doc>
        <callback name="new_menuitem">
          <source-position filename="client.h" line="165"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="newitem" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="item_activate">
        <doc xml:space="preserve"
             filename="client.h"
             line="146">Slot for #DbusmenuClient::item-activate.</doc>
        <callback name="item_activate">
          <source-position filename="client.h" line="166"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="item" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="event_result">
        <doc xml:space="preserve"
             filename="client.h"
             line="147">Slot for #DbusmenuClient::event-error.</doc>
        <callback name="event_result">
          <source-position filename="client.h" line="167"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="item" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="event" transfer-ownership="none">
              <type name="utf8" c:type="gchar*"/>
            </parameter>
            <parameter name="data" transfer-ownership="none">
              <type name="GLib.Variant" c:type="GVariant*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="error" transfer-ownership="none">
              <type name="GLib.Error" c:type="GError*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="icon_theme_dirs">
        <doc xml:space="preserve"
             filename="client.h"
             line="148">Slot for #DbusmenuClient::icon-theme-dirs-changed.</doc>
        <callback name="icon_theme_dirs">
          <source-position filename="client.h" line="168"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="item" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="theme_dirs" transfer-ownership="none">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
            <parameter name="error" transfer-ownership="none">
              <type name="GLib.Error" c:type="GError*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reserved1">
        <doc xml:space="preserve"
             filename="client.h"
             line="149">Reserved for future use.</doc>
        <callback name="reserved1">
          <source-position filename="client.h" line="171"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved2">
        <doc xml:space="preserve"
             filename="client.h"
             line="150">Reserved for future use.</doc>
        <callback name="reserved2">
          <source-position filename="client.h" line="172"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved3">
        <doc xml:space="preserve"
             filename="client.h"
             line="151">Reserved for future use.</doc>
        <callback name="reserved3">
          <source-position filename="client.h" line="173"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved4">
        <doc xml:space="preserve"
             filename="client.h"
             line="152">Reserved for future use.</doc>
        <callback name="reserved4">
          <source-position filename="client.h" line="174"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved5">
        <doc xml:space="preserve"
             filename="client.h"
             line="153">Reserved for future use.</doc>
        <callback name="reserved5">
          <source-position filename="client.h" line="175"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="ClientPrivate"
            c:type="DbusmenuClientPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="client.h" line="138"/>
    </record>
    <callback name="ClientTypeHandler" c:type="DbusmenuClientTypeHandler">
      <doc xml:space="preserve"
           filename="client.h"
           line="193">The type handler is called when a dbusmenu item is created
	with a matching type as setup in #dbusmenu_client_add_type_handler

	Return value: #TRUE if the type has been handled.  #FALSE if this
		function was somehow unable to handle it.</doc>
      <source-position filename="client.h" line="206"/>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="newitem" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="client.h"
               line="195">The #DbusmenuMenuitem that was created</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </parameter>
        <parameter name="parent" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="client.h"
               line="196">The parent of @newitem or #NULL if none</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </parameter>
        <parameter name="client" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="client.h"
               line="197">A pointer to the #DbusmenuClient</doc>
          <type name="Client" c:type="DbusmenuClient*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="3">
          <doc xml:space="preserve"
               filename="client.h"
               line="198">The data you gave us</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <function-macro name="IS_CLIENT"
                    c:identifier="DBUSMENU_IS_CLIENT"
                    introspectable="0">
      <source-position filename="client.h" line="43"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_CLIENT_CLASS"
                    c:identifier="DBUSMENU_IS_CLIENT_CLASS"
                    introspectable="0">
      <source-position filename="client.h" line="44"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MENUITEM"
                    c:identifier="DBUSMENU_IS_MENUITEM"
                    introspectable="0">
      <source-position filename="menuitem.h" line="40"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MENUITEM_CLASS"
                    c:identifier="DBUSMENU_IS_MENUITEM_CLASS"
                    introspectable="0">
      <source-position filename="menuitem.h" line="41"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MENUITEM_PROXY"
                    c:identifier="DBUSMENU_IS_MENUITEM_PROXY"
                    introspectable="0">
      <source-position filename="menuitem-proxy.h" line="41"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_MENUITEM_PROXY_CLASS"
                    c:identifier="DBUSMENU_IS_MENUITEM_PROXY_CLASS"
                    introspectable="0">
      <source-position filename="menuitem-proxy.h" line="42"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SERVER"
                    c:identifier="DBUSMENU_IS_SERVER"
                    introspectable="0">
      <source-position filename="server.h" line="43"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_SERVER_CLASS"
                    c:identifier="DBUSMENU_IS_SERVER_CLASS"
                    introspectable="0">
      <source-position filename="server.h" line="44"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MENUITEM"
                    c:identifier="DBUSMENU_MENUITEM"
                    introspectable="0">
      <source-position filename="menuitem.h" line="38"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="MENUITEM_CHILD_DISPLAY_SUBMENU"
              value="submenu"
              c:type="DBUSMENU_MENUITEM_CHILD_DISPLAY_SUBMENU">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="301">Used in #DBUSMENU_MENUITEM_PROP_CHILD_DISPLAY to have the
subitems displayed as a submenu.</doc>
      <source-position filename="menuitem.h" line="307"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="MENUITEM_CLASS"
                    c:identifier="DBUSMENU_MENUITEM_CLASS"
                    introspectable="0">
      <source-position filename="menuitem.h" line="39"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="MENUITEM_DISPOSITION_ALERT"
              value="alert"
              c:type="DBUSMENU_MENUITEM_DISPOSITION_ALERT">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="335">Used in #DBUSMENU_MENUITEM_PROP_DISPOSITION to have a menu
item displayed in a way that conveys it's giving an alert
to the user.</doc>
      <source-position filename="menuitem.h" line="342"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_DISPOSITION_INFORMATIVE"
              value="informative"
              c:type="DBUSMENU_MENUITEM_DISPOSITION_INFORMATIVE">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="319">Used in #DBUSMENU_MENUITEM_PROP_DISPOSITION to have a menu
item displayed in a way that conveys it's giving additional
information to the user.</doc>
      <source-position filename="menuitem.h" line="326"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_DISPOSITION_NORMAL"
              value="normal"
              c:type="DBUSMENU_MENUITEM_DISPOSITION_NORMAL">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="312">Used in #DBUSMENU_MENUITEM_PROP_DISPOSITION to have a menu
item displayed in the normal manner.  Default value.</doc>
      <source-position filename="menuitem.h" line="318"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_DISPOSITION_WARNING"
              value="warning"
              c:type="DBUSMENU_MENUITEM_DISPOSITION_WARNING">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="327">Used in #DBUSMENU_MENUITEM_PROP_DISPOSITION to have a menu
item displayed in a way that conveys it's giving a warning
to the user.</doc>
      <source-position filename="menuitem.h" line="334"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_EVENT_ACTIVATED"
              value="clicked"
              c:type="DBUSMENU_MENUITEM_EVENT_ACTIVATED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="347">String for the event identifier when a menu item is clicked
on by the user.</doc>
      <source-position filename="menuitem.h" line="353"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_EVENT_CLOSED"
              value="closed"
              c:type="DBUSMENU_MENUITEM_EVENT_CLOSED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="364">String for the event identifier when a menu is closed and
displayed to the user.  Only valid for items that contain
submenus.</doc>
      <source-position filename="menuitem.h" line="371"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_EVENT_OPENED"
              value="opened"
              c:type="DBUSMENU_MENUITEM_EVENT_OPENED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="355">String for the event identifier when a menu is opened and
displayed to the user.  Only valid for items that contain
submenus.</doc>
      <source-position filename="menuitem.h" line="362"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="MENUITEM_GET_CLASS"
                    c:identifier="DBUSMENU_MENUITEM_GET_CLASS"
                    introspectable="0">
      <source-position filename="menuitem.h" line="42"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="MENUITEM_ICON_NAME_BLANK"
              value="blank-icon"
              c:type="DBUSMENU_MENUITEM_ICON_NAME_BLANK">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="258">Used to set #DBUSMENU_MENUITEM_PROP_TOGGLE_STATE so that the menu's
toggle item is undecided.</doc>
      <source-position filename="menuitem.h" line="264"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_ACCESSIBLE_DESC"
              value="accessible-desc"
              c:type="DBUSMENU_MENUITEM_PROP_ACCESSIBLE_DESC">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="156">#DbusmenuMenuitem property used to provide a textual description of any
information that the icon may convey. The contents of this property are
passed through to assistive technologies such as the Orca screen reader.
The contents of this property will not be visible in the menu item. If
this property is set, Orca will use this property instead of the label
property.</doc>
      <source-position filename="menuitem.h" line="167"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_CHILD_DISPLAY"
              value="children-display"
              c:type="DBUSMENU_MENUITEM_PROP_CHILD_DISPLAY">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="196">#DbusmenuMenuitem property that tells how the children of this menuitem
should be displayed.  Most likely this will be unset or of the value
#DBUSMENU_MENUITEM_CHILD_DISPLAY_SUBMENU.  Type: #G_VARIANT_TYPE_STRING</doc>
      <source-position filename="menuitem.h" line="203"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_DISPOSITION"
              value="disposition"
              c:type="DBUSMENU_MENUITEM_PROP_DISPOSITION">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="204">#DbusmenuMenuitem property to tell what type of information that the
menu item is displaying to the user.  Type: #G_VARIANT_TYPE_STRING</doc>
      <source-position filename="menuitem.h" line="210"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_ENABLED"
              value="enabled"
              c:type="DBUSMENU_MENUITEM_PROP_ENABLED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="125">#DbusmenuMenuitem property used to represent whether the menuitem
is clickable or not.  Type: #G_VARIANT_TYPE_BOOLEAN.</doc>
      <source-position filename="menuitem.h" line="131"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_ICON_DATA"
              value="icon-data"
              c:type="DBUSMENU_MENUITEM_PROP_ICON_DATA">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="146">#DbusmenuMenuitem property that is the raw data of a custom icon
used in the application.  Type: #G_VARIANT_TYPE_VARIANT

It is recommended that this is not set directly but instead the
libdbusmenu-gtk library is used with the function dbusmenu_menuitem_property_set_image()</doc>
      <source-position filename="menuitem.h" line="155"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_ICON_NAME"
              value="icon-name"
              c:type="DBUSMENU_MENUITEM_PROP_ICON_NAME">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="139">#DbusmenuMenuitem property that is the name of the icon under the
Freedesktop.org icon naming spec.  Type: #G_VARIANT_TYPE_STRING</doc>
      <source-position filename="menuitem.h" line="145"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_LABEL"
              value="label"
              c:type="DBUSMENU_MENUITEM_PROP_LABEL">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="132">#DbusmenuMenuitem property used for the text on the menu item.</doc>
      <source-position filename="menuitem.h" line="138"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_SHORTCUT"
              value="shortcut"
              c:type="DBUSMENU_MENUITEM_PROP_SHORTCUT">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="185">#DbusmenuMenuitem property that is the entries that represent a shortcut
to activate the menuitem.  It is an array of arrays of strings.

It is recommended that this is not set directly but instead the
libdbusmenu-gtk library is used with the function dbusmenu_menuitem_property_set_shortcut()</doc>
      <source-position filename="menuitem.h" line="195"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_TOGGLE_STATE"
              value="toggle-state"
              c:type="DBUSMENU_MENUITEM_PROP_TOGGLE_STATE">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="176">#DbusmenuMenuitem property that says what state a toggle entry should
be shown as the menu.  Should be either #DBUSMENU_MENUITEM_TOGGLE_STATE_UNCHECKED
#DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED or #DBUSMENU_MENUITEM_TOGGLE_STATUE_UNKNOWN.</doc>
      <source-position filename="menuitem.h" line="184"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_TOGGLE_TYPE"
              value="toggle-type"
              c:type="DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="168">#DbusmenuMenuitem property that says what type of toggle entry should
be shown in the menu.  Should be either #DBUSMENU_MENUITEM_TOGGLE_CHECK
or #DBUSMENU_MENUITEM_TOGGLE_RADIO.  Type: #G_VARIANT_TYPE_STRING</doc>
      <source-position filename="menuitem.h" line="175"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_TYPE"
              value="type"
              c:type="DBUSMENU_MENUITEM_PROP_TYPE">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="111">#DbusmenuMenuitem property used to represent what type of menuitem
this object represents.  Type: #G_VARIANT_TYPE_STRING.</doc>
      <source-position filename="menuitem.h" line="117"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_PROP_VISIBLE"
              value="visible"
              c:type="DBUSMENU_MENUITEM_PROP_VISIBLE">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="118">#DbusmenuMenuitem property used to represent whether the menuitem
should be shown or not.  Type: #G_VARIANT_TYPE_BOOLEAN.</doc>
      <source-position filename="menuitem.h" line="124"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <function-macro name="MENUITEM_PROXY"
                    c:identifier="DBUSMENU_MENUITEM_PROXY"
                    introspectable="0">
      <source-position filename="menuitem-proxy.h" line="39"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MENUITEM_PROXY_CLASS"
                    c:identifier="DBUSMENU_MENUITEM_PROXY_CLASS"
                    introspectable="0">
      <source-position filename="menuitem-proxy.h" line="40"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="MENUITEM_PROXY_GET_CLASS"
                    c:identifier="DBUSMENU_MENUITEM_PROXY_GET_CLASS"
                    introspectable="0">
      <source-position filename="menuitem-proxy.h" line="43"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="MENUITEM_SHORTCUT_ALT"
              value="Alt"
              c:type="DBUSMENU_MENUITEM_SHORTCUT_ALT">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="276">Used in #DBUSMENU_MENUITEM_PROP_SHORTCUT to represent the
alternate key.</doc>
      <source-position filename="menuitem.h" line="282"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SHORTCUT_CONTROL"
              value="Control"
              c:type="DBUSMENU_MENUITEM_SHORTCUT_CONTROL">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="269">Used in #DBUSMENU_MENUITEM_PROP_SHORTCUT to represent the
control key.</doc>
      <source-position filename="menuitem.h" line="275"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SHORTCUT_SHIFT"
              value="Shift"
              c:type="DBUSMENU_MENUITEM_SHORTCUT_SHIFT">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="283">Used in #DBUSMENU_MENUITEM_PROP_SHORTCUT to represent the
shift key.</doc>
      <source-position filename="menuitem.h" line="289"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SHORTCUT_SUPER"
              value="Super"
              c:type="DBUSMENU_MENUITEM_SHORTCUT_SUPER">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="290">Used in #DBUSMENU_MENUITEM_PROP_SHORTCUT to represent the
super key.</doc>
      <source-position filename="menuitem.h" line="296"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_ABOUT_TO_SHOW"
              value="about-to-show"
              c:type="DBUSMENU_MENUITEM_SIGNAL_ABOUT_TO_SHOW">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="95">String to attach to signal #DbusmenuServer::about-to-show</doc>
      <source-position filename="menuitem.h" line="100"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_CHILD_ADDED"
              value="child-added"
              c:type="DBUSMENU_MENUITEM_SIGNAL_CHILD_ADDED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="59">String to attach to signal #DbusmenuServer::child-added</doc>
      <source-position filename="menuitem.h" line="64"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_CHILD_MOVED"
              value="child-moved"
              c:type="DBUSMENU_MENUITEM_SIGNAL_CHILD_MOVED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="71">String to attach to signal #DbusmenuServer::child-moved</doc>
      <source-position filename="menuitem.h" line="76"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_CHILD_REMOVED"
              value="child-removed"
              c:type="DBUSMENU_MENUITEM_SIGNAL_CHILD_REMOVED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="65">String to attach to signal #DbusmenuServer::child-removed</doc>
      <source-position filename="menuitem.h" line="70"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_EVENT"
              value="event"
              c:type="DBUSMENU_MENUITEM_SIGNAL_EVENT">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="101">String to attach to signal #DbusmenuServer::event</doc>
      <source-position filename="menuitem.h" line="106"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_ITEM_ACTIVATED"
              value="item-activated"
              c:type="DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="53">String to attach to signal #DbusmenuServer::item-activated</doc>
      <source-position filename="menuitem.h" line="58"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_PROPERTY_CHANGED"
              value="property-changed"
              c:type="DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="47">String to attach to signal #DbusmenuServer::property-changed</doc>
      <source-position filename="menuitem.h" line="52"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_REALIZED"
              value="realized"
              c:type="DBUSMENU_MENUITEM_SIGNAL_REALIZED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="77">String to attach to signal #DbusmenuServer::realized</doc>
      <source-position filename="menuitem.h" line="82"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_SIGNAL_SHOW_TO_USER"
              value="show-to-user"
              c:type="DBUSMENU_MENUITEM_SIGNAL_SHOW_TO_USER">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="89">String to attach to signal #DbusmenuServer::show-to-user</doc>
      <source-position filename="menuitem.h" line="94"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_TOGGLE_CHECK"
              value="checkmark"
              c:type="DBUSMENU_MENUITEM_TOGGLE_CHECK">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="215">Used to set #DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE to be a standard
check mark item.</doc>
      <source-position filename="menuitem.h" line="221"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_TOGGLE_RADIO"
              value="radio"
              c:type="DBUSMENU_MENUITEM_TOGGLE_RADIO">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="222">Used to set #DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE to be a standard
radio item.</doc>
      <source-position filename="menuitem.h" line="228"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="MENUITEM_TOGGLE_STATE_CHECKED"
              value="1"
              c:type="DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="240">Used to set #DBUSMENU_MENUITEM_PROP_TOGGLE_STATE so that the menu's
toggle item is filled.</doc>
      <source-position filename="menuitem.h" line="246"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MENUITEM_TOGGLE_STATE_UNCHECKED"
              value="0"
              c:type="DBUSMENU_MENUITEM_TOGGLE_STATE_UNCHECKED">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="233">Used to set #DBUSMENU_MENUITEM_PROP_TOGGLE_STATE so that the menu's
toggle item is empty.</doc>
      <source-position filename="menuitem.h" line="239"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MENUITEM_TOGGLE_STATE_UNKNOWN"
              value="-1"
              c:type="DBUSMENU_MENUITEM_TOGGLE_STATE_UNKNOWN">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="247">Used to set #DBUSMENU_MENUITEM_PROP_TOGGLE_STATE so that the menu's
toggle item is undecided.</doc>
      <source-position filename="menuitem.h" line="253"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <class name="Menuitem"
           c:symbol-prefix="menuitem"
           c:type="DbusmenuMenuitem"
           parent="GObject.Object"
           glib:type-name="DbusmenuMenuitem"
           glib:get-type="dbusmenu_menuitem_get_type"
           glib:type-struct="MenuitemClass">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="375">This is the #GObject based object that represents a menu
item.  It gets created the same on both the client and
the server side and libdbusmenu-glib does the work of making
this object model appear on both sides of DBus.  Simple
really, though through updates and people coming on and off
the bus it can lead to lots of fun complex scenarios.</doc>
      <source-position filename="menuitem.h" line="471"/>
      <constructor name="new" c:identifier="dbusmenu_menuitem_new">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="487">Create a new #DbusmenuMenuitem with all default values.</doc>
        <source-position filename="menuitem.h" line="475"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="492">A newly allocated #DbusmenuMenuitem.</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </return-value>
      </constructor>
      <constructor name="new_with_id"
                   c:identifier="dbusmenu_menuitem_new_with_id">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="500">This creates a blank #DbusmenuMenuitem with a specific ID.</doc>
        <source-position filename="menuitem.h" line="476"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="506">A newly allocated #DbusmenuMenuitem.</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </return-value>
        <parameters>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="502">ID to use for this menuitem</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="child_added">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="423">Slot for #DbusmenuMenuitem::child-added.</doc>
        <source-position filename="menuitem.h" line="450"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="child" transfer-ownership="none">
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="position" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="child_moved">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="425">Slot for #DbusmenuMenuitem::child-moved.</doc>
        <source-position filename="menuitem.h" line="452"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="child" transfer-ownership="none">
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="newpos" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="oldpos" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="child_removed">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="424">Slot for #DbusmenuMenuitem::child-removed.</doc>
        <source-position filename="menuitem.h" line="451"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="child" transfer-ownership="none">
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="handle_event" invoker="handle_event">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1729">This function is called to create an event.  It is likely
to be overrided by subclasses.  The default menu item
will respond to the activate signal and do:

Emits the #DbusmenuMenuitem::item-activate signal on this
menu item.  Called by server objects when they get the
appropriate DBus signals from the client.

If you subclass this function you should really think
about calling the parent function unless you have a good
reason not to.</doc>
        <source-position filename="menuitem.h" line="457"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1731">The #DbusmenuMenuitem to send the signal on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1732">The name of the signal</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="variant" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1733">A value that could be set for the event</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1734">The timestamp of when the event happened</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="send_about_to_show"
                      invoker="send_about_to_show"
                      introspectable="0">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1773">This function is used to send the even that the submenu
of this item is about to be shown.  Callers to this event
should delay showing the menu until their callback is
called if possible.</doc>
        <source-position filename="menuitem.h" line="458"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1775">The #DbusmenuMenuitem to send the signal on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="cb" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1776">Callback to call when the call has returned.</doc>
            <type c:type="dbusmenu_menuitem_about_to_show_cb"/>
          </parameter>
          <parameter name="cb_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1777">Data to pass to the callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="show_to_user">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="431">Slot for #DbusmenuMenuitem::show-to-user.</doc>
        <source-position filename="menuitem.h" line="460"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cb_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="child_add_position"
              c:identifier="dbusmenu_menuitem_child_add_position">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="832">Puts @child in the list of children for @mi at the location
specified in @position.  If there is not enough entires available
then @child will be placed at the end of the list.</doc>
        <source-position filename="menuitem.h" line="487"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="842">Whether @child was added successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="834">The #DbusmenuMenuitem that we're adding the child @child to.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="835">The #DbusmenuMenuitem to make a child of @mi.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="836">Where in @mi object's list of chidren @child should be placed.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="child_append"
              c:identifier="dbusmenu_menuitem_child_append">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="722">This function adds @child to the list of children on @mi at
the end of that list.</doc>
        <source-position filename="menuitem.h" line="484"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="730">Whether the child has been added successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="724">The #DbusmenuMenuitem which will become a new parent</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="725">The #DbusmenMenuitem that will be a child</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </method>
      <method name="child_delete"
              c:identifier="dbusmenu_menuitem_child_delete">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="794">This function removes @child from the children list of @mi.  It does
not call #g_object_unref on @child.</doc>
        <source-position filename="menuitem.h" line="486"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="803">If we were able to delete @child.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="796">The #DbusmenuMenuitem which has @child as a child</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="797">The child #DbusmenuMenuitem that you want to no longer
    be a child of @mi.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </method>
      <method name="child_find" c:identifier="dbusmenu_menuitem_child_find">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="910">Search the children of @mi to find one with the ID of @id.
If it doesn't exist then we return #NULL.</doc>
        <source-position filename="menuitem.h" line="489"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="918">The menu item with the ID @id or #NULL if it
   can't be found.</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="912">The #DbusmenuMenuitem who's children to look on</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="913">The ID of the child that we're looking for.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="child_prepend"
              c:identifier="dbusmenu_menuitem_child_prepend">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="758">This function adds @child to the list of children on @mi at
the beginning of that list.</doc>
        <source-position filename="menuitem.h" line="485"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="766">Whether the child has been added successfully.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="760">The #DbusmenuMenuitem which will become a new parent</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="761">The #DbusmenMenuitem that will be a child</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </method>
      <method name="child_reorder"
              c:identifier="dbusmenu_menuitem_child_reorder">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="870">This function moves a child on the list of children.  It is
for a child that is already in the list, but simply needs a
new location.</doc>
        <source-position filename="menuitem.h" line="488"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="880">Whether the move was successful.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="872">The #DbusmenuMenuitem that has children needing realignment</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="873">The #DbusmenuMenuitem that is a child needing to be moved</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
          <parameter name="position" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="874">The position in the list to place it in</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="find_id" c:identifier="dbusmenu_menuitem_find_id">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="963">This function searchs the whole tree of children that
are attached to @mi.  This could be quite a few nodes, all
the way down the tree.  It is a depth first search.</doc>
        <source-position filename="menuitem.h" line="490"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="972">The #DbusmenuMenuitem with the ID of @id
	or #NULL if there isn't such a menu item in the tree
	represented by @mi.</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="965">#DbusmenuMenuitem at the top of the tree to search</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="966">ID of the #DbusmenuMenuitem to search for</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="foreach" c:identifier="dbusmenu_menuitem_foreach">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1705">This calls the function @func on this menu item and all
of the children of this item.  And their children.  And
their children.  And... you get the point.  It will get
called on the whole tree.</doc>
        <source-position filename="menuitem.h" line="514"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1707">The #DbusmenItem to start from</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="func"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1708">Function to call on every node in the tree</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
          <parameter name="data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1709">User data to pass to the function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_children"
              c:identifier="dbusmenu_menuitem_get_children">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="579">Returns simply the list of children that this menu item
has.  The list is valid until another child related function
is called, where it might be changed.</doc>
        <source-position filename="menuitem.h" line="479"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="587">A #GList of pointers to #DbusmenuMenuitem objects.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Menuitem"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="581">The #DbusmenuMenuitem to query.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="dbusmenu_menuitem_get_id"
              glib:get-property="id">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="516">Gets the unique ID for @mi.</doc>
        <source-position filename="menuitem.h" line="477"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="522">The ID of the @mi.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="518">The #DbusmenuMenuitem to query.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parent" c:identifier="dbusmenu_menuitem_get_parent">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1052">This function looks up the parent of @mi</doc>
        <source-position filename="menuitem.h" line="494"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1058">The parent of this menu item</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1054">The #DbusmenuMenuitem for which to inspect the parent</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_position"
              c:identifier="dbusmenu_menuitem_get_position">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="639">This function returns the position of the menu item @mi
in the children of @parent.  It will return zero if the
menu item can't be found.</doc>
        <source-position filename="menuitem.h" line="481"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="648">The position of @mi in the children of @parent.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="641">The #DbusmenuMenuitem to find the position of</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="642">The #DbusmenuMenuitem who's children contain @mi</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_position_realized"
              c:identifier="dbusmenu_menuitem_get_position_realized">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="678">This function is very similar to #dbusmenu_menuitem_get_position
except that it only counts in the children that have been realized.</doc>
        <source-position filename="menuitem.h" line="482"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="686">The position of @mi in the realized children of @parent.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="680">The #DbusmenuMenuitem to find the position of</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="681">The #DbusmenuMenuitem who's children contain @mi</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_root" c:identifier="dbusmenu_menuitem_get_root">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1612">This function returns the internal value of whether this is a
root node or not.</doc>
        <source-position filename="menuitem.h" line="512"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1619">#TRUE if this is a root node</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1614">#DbusmenuMenuitem to see whether it's root</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="handle_event"
              c:identifier="dbusmenu_menuitem_handle_event">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1729">This function is called to create an event.  It is likely
to be overrided by subclasses.  The default menu item
will respond to the activate signal and do:

Emits the #DbusmenuMenuitem::item-activate signal on this
menu item.  Called by server objects when they get the
appropriate DBus signals from the client.

If you subclass this function you should really think
about calling the parent function unless you have a good
reason not to.</doc>
        <source-position filename="menuitem.h" line="515"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1731">The #DbusmenuMenuitem to send the signal on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1732">The name of the signal</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="variant" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1733">A value that could be set for the event</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1734">The timestamp of when the event happened</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="properties_copy"
              c:identifier="dbusmenu_menuitem_properties_copy">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1500">This function takes the properties of a #DbusmenuMenuitem
and puts them into a #GHashTable that is referenced by the
key of a string and has the value of a string.  The hash
table may not have any entries if there aren't any or there
is an error in processing.  It is the caller's responsibility
to destroy the created #GHashTable.</doc>
        <source-position filename="menuitem.h" line="508"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1511">A brand new #GHashTable that contains all of
   theroperties that are on this #DbusmenuMenuitem @mi.</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1502">#DbusmenuMenuitem that we're interested in the properties of</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="properties_list"
              c:identifier="dbusmenu_menuitem_properties_list">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1465">This functiong gets a list of the names of all the properties
that are set on this menu item.  This data on the list is owned
by the menuitem but the list is not and should be freed using
g_list_free() when the calling function is done with it.</doc>
        <source-position filename="menuitem.h" line="507"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1474">A list of
strings or NULL if there are none.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="utf8"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1467">#DbusmenuMenuitem to list the properties on</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="property_exist"
              c:identifier="dbusmenu_menuitem_property_exist">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1424">Checkes to see if a particular property exists on @mi and
returns #TRUE if so.</doc>
        <source-position filename="menuitem.h" line="506"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1432">A boolean checking to see if the property is available</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1426">The #DbusmenuMenuitem to look for the property on.</doc>
            <type name="Menuitem" c:type="const DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1427">The property to look for.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_get"
              c:identifier="dbusmenu_menuitem_property_get">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1285">Look up a property on @mi and return the value of it if
it exits.  #NULL will be returned if the property doesn't
exist.</doc>
        <source-position filename="menuitem.h" line="501"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1294">A string with the value of the property
	that shouldn't be free'd.  Or #NULL if the property
	is not set or is not a string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1287">The #DbusmenuMenuitem to look for the property on.</doc>
            <type name="Menuitem" c:type="const DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1288">The property to grab.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_get_bool"
              c:identifier="dbusmenu_menuitem_property_get_bool">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1335">Look up a property on @mi and return the value of it if
it exits.  Returns #FALSE if the property doesn't exist.</doc>
        <source-position filename="menuitem.h" line="503"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1343">The value of the property or #FALSE.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1337">The #DbusmenuMenuitem to look for the property on.</doc>
            <type name="Menuitem" c:type="const DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1338">The property to grab.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_get_byte_array"
              c:identifier="dbusmenu_menuitem_property_get_byte_array">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1398">Look up a property on @mi and return the value of it if
it exits.  #NULL will be returned if the property doesn't
exist.</doc>
        <source-position filename="menuitem.h" line="505"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1408">A byte array with the
	value of the property that shouldn't be free'd.  Or #NULL if the property
	is not set or is not a byte array.</doc>
          <array length="1" zero-terminated="0" c:type="const guchar*">
            <type name="guint8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1400">The #DbusmenuMenuitem to look for the property on.</doc>
            <type name="Menuitem" c:type="const DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1401">The property to grab.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="nelements"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1402">A pointer to the location to store the number of items (out)</doc>
            <type name="gsize" c:type="gsize*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_get_int"
              c:identifier="dbusmenu_menuitem_property_get_int">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1369">Look up a property on @mi and return the value of it if
it exits.  Returns zero if the property doesn't exist.</doc>
        <source-position filename="menuitem.h" line="504"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1377">The value of the property or zero.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1371">The #DbusmenuMenuitem to look for the property on.</doc>
            <type name="Menuitem" c:type="const DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1372">The property to grab.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_get_variant"
              c:identifier="dbusmenu_menuitem_property_get_variant">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1307">Look up a property on @mi and return the value of it if
it exits.  #NULL will be returned if the property doesn't
exist.</doc>
        <source-position filename="menuitem.h" line="502"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1316">A GVariant for the property.</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1309">The #DbusmenuMenuitem to look for the property on.</doc>
            <type name="Menuitem" c:type="const DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1310">The property to grab.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_remove"
              c:identifier="dbusmenu_menuitem_property_remove">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1447">Removes a property from the menuitem.</doc>
        <source-position filename="menuitem.h" line="509"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1449">The #DbusmenuMenuitem to remove the property on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1450">The property to look for.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_set"
              c:identifier="dbusmenu_menuitem_property_set">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1069">Takes the pair of @property and @value and places them as a
property on @mi.  If a property already exists by that name,
then the value is set to the new value.  If not, the property
is added.  If the value is changed or the property was previously
unset then the signal #DbusmenuMenuitem::prop-changed will be
emitted by this function.</doc>
        <source-position filename="menuitem.h" line="496"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1082">A boolean representing if the property value was set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1071">The #DbusmenuMenuitem to set the property on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1072">Name of the property to set.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1073">The value of the property.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_set_bool"
              c:identifier="dbusmenu_menuitem_property_set_bool">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1094">Takes a boolean @value and sets it on @property as a
property on @mi.  If a property already exists by that name,
then the value is set to the new value.  If not, the property
is added.  If the value is changed or the property was previously
unset then the signal #DbusmenuMenuitem::prop-changed will be
emitted by this function.</doc>
        <source-position filename="menuitem.h" line="498"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1107">A boolean representing if the property value was set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1096">The #DbusmenuMenuitem to set the property on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1097">Name of the property to set.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1098">The value of the property.</doc>
            <type name="gboolean" c:type="const gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_set_byte_array"
              c:identifier="dbusmenu_menuitem_property_set_byte_array">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1138">Takes a byte array @value and sets it on @property as a
property on @mi.  If a property already exists by that name,
then the value is set to the new value.  If not, the property
is added.  If the value is changed or the property was previously
unset then the signal #DbusmenuMenuitem::prop-changed will be
emitted by this function.</doc>
        <source-position filename="menuitem.h" line="500"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1152">A boolean representing if the property value was set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1140">The #DbusmenuMenuitem to set the property on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1141">Name of the property to set.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1142">The byte array.</doc>
            <type name="guint8" c:type="const guchar*"/>
          </parameter>
          <parameter name="nelements" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1143">The number of elements in the byte array.</doc>
            <type name="gsize" c:type="gsize"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_set_int"
              c:identifier="dbusmenu_menuitem_property_set_int">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1116">Takes a boolean @value and sets it on @property as a
property on @mi.  If a property already exists by that name,
then the value is set to the new value.  If not, the property
is added.  If the value is changed or the property was previously
unset then the signal #DbusmenuMenuitem::prop-changed will be
emitted by this function.</doc>
        <source-position filename="menuitem.h" line="499"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1129">A boolean representing if the property value was set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1118">The #DbusmenuMenuitem to set the property on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1119">Name of the property to set.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1120">The value of the property.</doc>
            <type name="gint" c:type="const gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="property_set_variant"
              c:identifier="dbusmenu_menuitem_property_set_variant">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1164">Takes the pair of @property and @value and places them as a
property on @mi.  If a property already exists by that name,
then the value is set to the new value.  If not, the property
is added.  If the value is changed or the property was previously
unset then the signal #DbusmenuMenuitem::prop-changed will be
emitted by this function.</doc>
        <source-position filename="menuitem.h" line="497"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1177">A boolean representing if the property value was set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1166">The #DbusmenuMenuitem to set the property on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="property" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1167">Name of the property to set.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1168">The value of the property.</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_about_to_show"
              c:identifier="dbusmenu_menuitem_send_about_to_show">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1773">This function is used to send the even that the submenu
of this item is about to be shown.  Callers to this event
should delay showing the menu until their callback is
called if possible.</doc>
        <source-position filename="menuitem.h" line="516"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1775">The #DbusmenuMenuitem to send the signal on.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="cb"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1776">Callback to call when the call has returned.</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
          <parameter name="cb_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1777">Data to pass to the callback.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent" c:identifier="dbusmenu_menuitem_set_parent">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="991">Sets the parent of @mi to @parent. If @mi already
has a parent, then this call will fail. The parent will
be set automatically when using the usual methods to add a
child menuitem, so this function should not normally be
called directly</doc>
        <source-position filename="menuitem.h" line="492"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1002">Whether the parent was set successfully</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="993">The #DbusmenuMenuitem for which to set the parent</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="994">The new parent #DbusmenuMenuitem</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_root" c:identifier="dbusmenu_menuitem_set_root">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1595">This function sets the internal value of whether this is a
root node or not.</doc>
        <source-position filename="menuitem.h" line="511"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1597">#DbusmenuMenuitem to set whether it's root</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="root" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1598">Whether @mi is a root node or not</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="show_to_user"
              c:identifier="dbusmenu_menuitem_show_to_user">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1802">Signals that this menu item should be shown to the user.  If this is
server side the server will then take it and send it over the
bus.</doc>
        <source-position filename="menuitem.h" line="518"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1804">#DbusmenuMenuitem to show</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1805">The time that the user requested it to be shown</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="take_children"
              c:identifier="dbusmenu_menuitem_take_children">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="611">While the name sounds devious that's exactly what this function
does.  It takes the list of children from the @mi and clears the
internal list.  The calling function is now in charge of the ref's
on the children it has taken.  A lot of responsibility involved
in taking children.</doc>
        <source-position filename="menuitem.h" line="480"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="621">
   A #GList of pointers to #DbusmenuMenuitem objects.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Menuitem"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="613">The #DbusmenMenuitem to take the children from.</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unparent" c:identifier="dbusmenu_menuitem_unparent">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="1023">Unparents the menu item @mi. If @mi doesn't have a
parent, then this call will fail. The menuitem will
be unparented automatically when using the usual methods
to delete a child menuitem, so this function should not
normally be called directly</doc>
        <source-position filename="menuitem.h" line="493"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.c"
               line="1033">Whether the menu item was unparented successfully</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="1025">The #DbusmenuMenuitem to unparent</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="id"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                getter="get_id"
                default-value="-1">
        <type name="gint" c:type="gint"/>
      </property>
      <field name="parent">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="377">Parent object</doc>
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="378">Private data</doc>
        <type name="MenuitemPrivate" c:type="DbusmenuMenuitemPrivate*"/>
      </field>
      <glib:signal name="about-to-show" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="238">Emitted when the submenu for this item
		is about to be shown</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
      </glib:signal>
      <glib:signal name="child-added" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="155">Signaled when the child menuitem has been added to
		the parent.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="158">The #DbusmenuMenuitem which is the child.</doc>
            <type name="GObject.Object"/>
          </parameter>
          <parameter name="arg2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="159">The position that the child is being added in.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="child-moved" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="188">Signaled when the child menuitem has had its location
		in the list change.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="191">The #DbusmenuMenuitem which is the child.</doc>
            <type name="GObject.Object"/>
          </parameter>
          <parameter name="arg2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="192">The position that the child is being moved to.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="arg3" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="193">The position that the child is was in.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="child-removed" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="171">Signaled when the child menuitem has been requested to
		be removed from the parent.  This signal is called when
		it has been removed from the list but not yet had
		#g_object_unref called on it.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="174">The #DbusmenuMenuitem which was the child.</doc>
            <type name="GObject.Object"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="event" when="last" detailed="1">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="252">Emitted when an event is passed through.  The event is signalled
		after handle_event is called.</doc>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="255">Name of the event</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="arg2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="256">Information passed along with the event</doc>
            <type name="GLib.Variant"/>
          </parameter>
          <parameter name="arg3" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="257">X11 timestamp of when the event happened</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="item-activated" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="140">Emitted on the objects on the server side when
		they are signaled on the client side.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="143">The timestamp of when it was activated</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="property-changed" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="124">Emitted everytime a property on a menuitem is either
		updated or added.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="127">The name of the property that changed</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="arg2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="128">The new value of the property</doc>
            <type name="GLib.Variant"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="realized" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="205">Emitted when the initial request for properties
		is complete on the item.  If there is a type
		handler configured for the "type" parameter
		that will be executed before this is signaled.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="show-to-user" when="last">
        <doc xml:space="preserve"
             filename="menuitem.c"
             line="221">Signaled when the application would like the visualization
		of this menu item shown to the user.  This usually requires
		going over the bus to get it done.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem.c"
                 line="224">Timestamp the event happened at</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="MenuitemClass"
            c:type="DbusmenuMenuitemClass"
            glib:is-gtype-struct-for="Menuitem">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="418">Functions and signals that every menuitem should know something
about.</doc>
      <source-position filename="menuitem.h" line="471"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="420">Functions and signals from our parent</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="property_changed">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="421">Slot for #DbusmenuMenuitem::property-changed.</doc>
        <callback name="property_changed">
          <source-position filename="menuitem.h" line="448"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="property" transfer-ownership="none">
              <type name="utf8" c:type="gchar*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <type name="GLib.Variant" c:type="GVariant*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="item_activated">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="422">Slot for #DbusmenuMenuitem::item-activated.</doc>
        <callback name="item_activated">
          <source-position filename="menuitem.h" line="449"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="timestamp" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="child_added">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="423">Slot for #DbusmenuMenuitem::child-added.</doc>
        <callback name="child_added">
          <source-position filename="menuitem.h" line="450"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="child" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="position" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="child_removed">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="424">Slot for #DbusmenuMenuitem::child-removed.</doc>
        <callback name="child_removed">
          <source-position filename="menuitem.h" line="451"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="child" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="child_moved">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="425">Slot for #DbusmenuMenuitem::child-moved.</doc>
        <callback name="child_moved">
          <source-position filename="menuitem.h" line="452"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="child" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="newpos" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="oldpos" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="realized">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="426">Slot for #DbusmenuMenuitem::realized.</doc>
        <callback name="realized">
          <source-position filename="menuitem.h" line="453"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="buildvariant" introspectable="0">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="428">Virtual function that appends the strings required to represent this menu item in the menu variant.</doc>
        <type c:type="dbusmenu_menuitem_buildvariant_slot_t"/>
      </field>
      <field name="handle_event">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="429">This function is to override how events are handled by subclasses.  Look at #dbusmenu_menuitem_handle_event for lots of good information.</doc>
        <callback name="handle_event">
          <source-position filename="menuitem.h" line="457"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="mi" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="menuitem.c"
                   line="1731">The #DbusmenuMenuitem to send the signal on.</doc>
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="name" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="menuitem.c"
                   line="1732">The name of the signal</doc>
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="variant" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="menuitem.c"
                   line="1733">A value that could be set for the event</doc>
              <type name="GLib.Variant" c:type="GVariant*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="menuitem.c"
                   line="1734">The timestamp of when the event happened</doc>
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="send_about_to_show" introspectable="0">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="430">Virtual function that notifies server that the client is about to show a menu.</doc>
        <callback name="send_about_to_show" introspectable="0">
          <source-position filename="menuitem.h" line="458"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="mi" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="menuitem.c"
                   line="1775">The #DbusmenuMenuitem to send the signal on.</doc>
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="cb" transfer-ownership="none">
              <doc xml:space="preserve"
                   filename="menuitem.c"
                   line="1776">Callback to call when the call has returned.</doc>
              <type c:type="dbusmenu_menuitem_about_to_show_cb"/>
            </parameter>
            <parameter name="cb_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <doc xml:space="preserve"
                   filename="menuitem.c"
                   line="1777">Data to pass to the callback.</doc>
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="show_to_user">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="431">Slot for #DbusmenuMenuitem::show-to-user.</doc>
        <callback name="show_to_user">
          <source-position filename="menuitem.h" line="460"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="mi" transfer-ownership="none">
              <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
            <parameter name="cb_data"
                       transfer-ownership="none"
                       nullable="1"
                       allow-none="1">
              <type name="gpointer" c:type="gpointer"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="about_to_show">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="427">Slot for #DbusmenuMenuitem::about-to-show.</doc>
        <callback name="about_to_show">
          <source-position filename="menuitem.h" line="461"/>
          <return-value transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </return-value>
        </callback>
      </field>
      <field name="event">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="432">Slot for #DbsumenuMenuitem::event.</doc>
        <callback name="event">
          <source-position filename="menuitem.h" line="463"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="name" transfer-ownership="none">
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <type name="GLib.Variant" c:type="GVariant*"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reserved1">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="433">Reserved for future use.</doc>
        <callback name="reserved1">
          <source-position filename="menuitem.h" line="466"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved2">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="434">Reserved for future use.</doc>
        <callback name="reserved2">
          <source-position filename="menuitem.h" line="467"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved3">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="435">Reserved for future use.</doc>
        <callback name="reserved3">
          <source-position filename="menuitem.h" line="468"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved4">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="436">Reserved for future use.</doc>
        <callback name="reserved4">
          <source-position filename="menuitem.h" line="469"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved5">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="437">Reserved for future use.</doc>
        <callback name="reserved5">
          <source-position filename="menuitem.h" line="470"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="MenuitemPrivate"
            c:type="DbusmenuMenuitemPrivate"
            disguised="1"
            opaque="1">
      <doc xml:space="preserve"
           filename="menuitem.c"
           line="44">These are the little secrets that we don't want getting
	out of data that we have.  They can still be gotten using
	accessor functions, but are protected appropriately.</doc>
      <source-position filename="menuitem.h" line="373"/>
    </record>
    <class name="MenuitemProxy"
           c:symbol-prefix="menuitem_proxy"
           c:type="DbusmenuMenuitemProxy"
           parent="Menuitem"
           glib:type-name="DbusmenuMenuitemProxy"
           glib:get-type="dbusmenu_menuitem_proxy_get_type"
           glib:type-struct="MenuitemProxyClass">
      <doc xml:space="preserve"
           filename="menuitem-proxy.h"
           line="69">Public instance data for a #DbusmenuMenuitemProxy.</doc>
      <source-position filename="menuitem-proxy.h" line="67"/>
      <constructor name="new" c:identifier="dbusmenu_menuitem_proxy_new">
        <doc xml:space="preserve"
             filename="menuitem-proxy.c"
             line="329">Builds a new #DbusmenuMenuitemProxy object that proxies
all of the values for @mi.</doc>
        <source-position filename="menuitem-proxy.h" line="83"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="menuitem-proxy.c"
               line="336">A new #DbusmenuMenuitemProxy object.</doc>
          <type name="MenuitemProxy" c:type="DbusmenuMenuitemProxy*"/>
        </return-value>
        <parameters>
          <parameter name="mi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem-proxy.c"
                 line="331">The #DbusmenuMenuitem to proxy</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_wrapped"
              c:identifier="dbusmenu_menuitem_proxy_get_wrapped">
        <doc xml:space="preserve"
             filename="menuitem-proxy.c"
             line="348">Accesses the private variable of which #DbusmenuMenuitem
we are doing the proxying for.</doc>
        <source-position filename="menuitem-proxy.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem-proxy.c"
               line="355">A #DbusmenuMenuitem object or a #NULL if we
	don't have one or there is an error.</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </return-value>
        <parameters>
          <instance-parameter name="pmi" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="menuitem-proxy.c"
                 line="350">#DbusmenuMenuitemProxy to look into</doc>
            <type name="MenuitemProxy" c:type="DbusmenuMenuitemProxy*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="menu-item"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Menuitem"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="Menuitem" c:type="DbusmenuMenuitem"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="MenuitemProxyPrivate"
              c:type="DbusmenuMenuitemProxyPrivate*"/>
      </field>
    </class>
    <record name="MenuitemProxyClass"
            c:type="DbusmenuMenuitemProxyClass"
            glib:is-gtype-struct-for="MenuitemProxy">
      <doc xml:space="preserve"
           filename="menuitem-proxy.h"
           line="49">Functions and signal slots for #DbusmenuMenuitemProxy.</doc>
      <source-position filename="menuitem-proxy.h" line="67"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="menuitem-proxy.h"
             line="51">The Class of #DbusmeneMenuitem</doc>
        <type name="MenuitemClass" c:type="DbusmenuMenuitemClass"/>
      </field>
      <field name="reserved1">
        <doc xml:space="preserve"
             filename="menuitem-proxy.h"
             line="52">Reserved for future use.</doc>
        <callback name="reserved1">
          <source-position filename="menuitem-proxy.h" line="63"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved2">
        <doc xml:space="preserve"
             filename="menuitem-proxy.h"
             line="53">Reserved for future use.</doc>
        <callback name="reserved2">
          <source-position filename="menuitem-proxy.h" line="64"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved3">
        <doc xml:space="preserve"
             filename="menuitem-proxy.h"
             line="54">Reserved for future use.</doc>
        <callback name="reserved3">
          <source-position filename="menuitem-proxy.h" line="65"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved4">
        <doc xml:space="preserve"
             filename="menuitem-proxy.h"
             line="55">Reserved for future use.</doc>
        <callback name="reserved4">
          <source-position filename="menuitem-proxy.h" line="66"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="MenuitemProxyPrivate"
            c:type="DbusmenuMenuitemProxyPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="menuitem-proxy.h" line="47"/>
    </record>
    <function-macro name="SERVER"
                    c:identifier="DBUSMENU_SERVER"
                    introspectable="0">
      <source-position filename="server.h" line="41"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SERVER_CLASS"
                    c:identifier="DBUSMENU_SERVER_CLASS"
                    introspectable="0">
      <source-position filename="server.h" line="42"/>
      <parameters>
        <parameter name="klass">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="SERVER_GET_CLASS"
                    c:identifier="DBUSMENU_SERVER_GET_CLASS"
                    introspectable="0">
      <source-position filename="server.h" line="45"/>
      <parameters>
        <parameter name="obj">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="SERVER_PROP_DBUS_OBJECT"
              value="dbus-object"
              c:type="DBUSMENU_SERVER_PROP_DBUS_OBJECT">
      <doc xml:space="preserve"
           filename="server.h"
           line="78">String to access property #DbusmenuServer:dbus-object</doc>
      <source-position filename="server.h" line="83"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_PROP_ROOT_NODE"
              value="root-node"
              c:type="DBUSMENU_SERVER_PROP_ROOT_NODE">
      <doc xml:space="preserve"
           filename="server.h"
           line="84">String to access property #DbusmenuServer:root-node</doc>
      <source-position filename="server.h" line="89"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_PROP_STATUS"
              value="status"
              c:type="DBUSMENU_SERVER_PROP_STATUS">
      <doc xml:space="preserve"
           filename="server.h"
           line="102">String to access property #DbusmenuServer:status</doc>
      <source-position filename="server.h" line="107"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_PROP_TEXT_DIRECTION"
              value="text-direction"
              c:type="DBUSMENU_SERVER_PROP_TEXT_DIRECTION">
      <doc xml:space="preserve"
           filename="server.h"
           line="96">String to access property #DbusmenuServer:text-direction</doc>
      <source-position filename="server.h" line="101"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_PROP_VERSION"
              value="version"
              c:type="DBUSMENU_SERVER_PROP_VERSION">
      <doc xml:space="preserve"
           filename="server.h"
           line="90">String to access property #DbusmenuServer:version</doc>
      <source-position filename="server.h" line="95"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_SIGNAL_ID_PROP_UPDATE"
              value="item-property-updated"
              c:type="DBUSMENU_SERVER_SIGNAL_ID_PROP_UPDATE">
      <doc xml:space="preserve"
           filename="server.h"
           line="47">String to attach to signal #DbusmenuServer::item-property-updated</doc>
      <source-position filename="server.h" line="52"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_SIGNAL_ID_UPDATE"
              value="item-updated"
              c:type="DBUSMENU_SERVER_SIGNAL_ID_UPDATE">
      <doc xml:space="preserve"
           filename="server.h"
           line="53">String to attach to signal #DbusmenuServer::item-updated</doc>
      <source-position filename="server.h" line="58"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_SIGNAL_ITEM_ACTIVATION"
              value="item-activation-requested"
              c:type="DBUSMENU_SERVER_SIGNAL_ITEM_ACTIVATION">
      <doc xml:space="preserve"
           filename="server.h"
           line="65">String to attach to signal #DbusmenuServer::item-activation-requested</doc>
      <source-position filename="server.h" line="70"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SERVER_SIGNAL_LAYOUT_UPDATED"
              value="layout-updated"
              c:type="DBUSMENU_SERVER_SIGNAL_LAYOUT_UPDATED">
      <doc xml:space="preserve"
           filename="server.h"
           line="59">String to attach to signal #DbusmenuServer::layout-updated</doc>
      <source-position filename="server.h" line="64"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="Server"
           c:symbol-prefix="server"
           c:type="DbusmenuServer"
           parent="GObject.Object"
           glib:type-name="DbusmenuServer"
           glib:get-type="dbusmenu_server_get_type"
           glib:type-struct="ServerClass">
      <doc xml:space="preserve"
           filename="server.h"
           line="146">A server which represents a sharing of a set of
	#DbusmenuMenuitems across DBus to a #DbusmenuClient.</doc>
      <source-position filename="server.h" line="144"/>
      <constructor name="new" c:identifier="dbusmenu_server_new">
        <doc xml:space="preserve"
             filename="server.c"
             line="1901">Creates a new #DbusmenuServer object with a specific object
	path on DBus.  If @object is set to NULL the default object
	name of "/com/canonical/dbusmenu" will be used.

	Return value: A brand new #DbusmenuServer</doc>
        <source-position filename="server.h" line="162"/>
        <return-value transfer-ownership="full">
          <type name="Server" c:type="DbusmenuServer*"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="1903">The object name to show for this menu structure
		on DBus.  May be NULL.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_icon_paths"
              c:identifier="dbusmenu_server_get_icon_paths">
        <doc xml:space="preserve"
             filename="server.c"
             line="2045">Gets the stored and exported icon paths from the server.</doc>
        <source-position filename="server.h" line="171"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="server.c"
               line="2051">A NULL-terminated list of icon paths with
  memory managed by the server.  Duplicate if you want
  to keep them.</doc>
          <array c:type="GStrv">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="server" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="2047">The #DbusmenuServer to get the icon paths from</doc>
            <type name="Server" c:type="DbusmenuServer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_status" c:identifier="dbusmenu_server_get_status">
        <doc xml:space="preserve"
             filename="server.c"
             line="2000">Gets the current statust hat the server is sending out over
	DBus.

	Return value: The current status the server is sending</doc>
        <source-position filename="server.h" line="168"/>
        <return-value transfer-ownership="none">
          <type name="Status" c:type="DbusmenuStatus"/>
        </return-value>
        <parameters>
          <instance-parameter name="server" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="2002">The #DbusmenuServer to get the status from</doc>
            <type name="Server" c:type="DbusmenuServer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_text_direction"
              c:identifier="dbusmenu_server_get_text_direction">
        <doc xml:space="preserve"
             filename="server.c"
             line="1950">Returns the value of the text direction that is being exported
	over DBus for this server.  It should relate to the direction
	of the labels and other text fields that are being exported by
	this server.

	Return value: Text direction exported for this server.</doc>
        <source-position filename="server.h" line="165"/>
        <return-value transfer-ownership="none">
          <type name="TextDirection" c:type="DbusmenuTextDirection"/>
        </return-value>
        <parameters>
          <instance-parameter name="server" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="1952">The #DbusmenuServer object to get the text direction from</doc>
            <type name="Server" c:type="DbusmenuServer*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_icon_paths"
              c:identifier="dbusmenu_server_set_icon_paths">
        <doc xml:space="preserve"
             filename="server.c"
             line="2063">Sets the icon paths for the server.  This will replace previously
	set icon theme paths.</doc>
        <source-position filename="server.h" line="172"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="server" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="2065">The #DbusmenuServer to set the icon paths on</doc>
            <type name="Server" c:type="DbusmenuServer*"/>
          </instance-parameter>
          <parameter name="icon_paths" transfer-ownership="none">
            <array c:type="GStrv">
              <type name="utf8"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="set_root" c:identifier="dbusmenu_server_set_root">
        <doc xml:space="preserve"
             filename="server.c"
             line="1926">This function contains all of the #GValue wrapping
	required to set the property #DbusmenuServer:root-node
	on the server @self.</doc>
        <source-position filename="server.h" line="163"/>
        <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="server.c"
                 line="1928">The #DbusmenuServer object to set the root on</doc>
            <type name="Server" c:type="DbusmenuServer*"/>
          </instance-parameter>
          <parameter name="root" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="1929">The new root #DbusmenuMenuitem tree</doc>
            <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_status" c:identifier="dbusmenu_server_set_status">
        <doc xml:space="preserve"
             filename="server.c"
             line="2024">Changes the status of the server.</doc>
        <source-position filename="server.h" line="169"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="server" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="2026">The #DbusmenuServer to set the status on</doc>
            <type name="Server" c:type="DbusmenuServer*"/>
          </instance-parameter>
          <parameter name="status" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="2027">Status value to set on the server</doc>
            <type name="Status" c:type="DbusmenuStatus"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_text_direction"
              c:identifier="dbusmenu_server_set_text_direction">
        <doc xml:space="preserve"
             filename="server.c"
             line="1976">Sets the text direction that should be exported over DBus for
	this server.  If the value is set to #DBUSMENU_TEXT_DIRECTION_NONE
	the default detection will be used for setting the value and
	exported over DBus.</doc>
        <source-position filename="server.h" line="166"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="server" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="1978">The #DbusmenuServer object to set the text direction on</doc>
            <type name="Server" c:type="DbusmenuServer*"/>
          </instance-parameter>
          <parameter name="dir" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="1979">Direction of the text</doc>
            <type name="TextDirection" c:type="DbusmenuTextDirection"/>
          </parameter>
        </parameters>
      </method>
      <property name="dbus-object"
                writable="1"
                construct-only="1"
                transfer-ownership="none"
                default-value="/com/canonical/dbusmenu">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="root-node" writable="1" transfer-ownership="none">
        <type name="Menuitem"/>
      </property>
      <property name="status"
                introspectable="0"
                writable="1"
                transfer-ownership="none"
                default-value="DBUSMENU_STATUS_NORMAL">
        <type/>
      </property>
      <property name="text-direction"
                introspectable="0"
                writable="1"
                transfer-ownership="none"
                default-value="DBUSMENU_TEXT_DIRECTION_NONE">
        <type/>
      </property>
      <property name="version" transfer-ownership="none" default-value="3">
        <type name="guint" c:type="guint"/>
      </property>
      <field name="parent" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="ServerPrivate" c:type="DbusmenuServerPrivate*"/>
      </field>
      <glib:signal name="item-activation-requested" when="last">
        <doc xml:space="preserve"
             filename="server.c"
             line="288">This is signaled when a menuitem under this server
		sends its activate signal.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="291">The ID of the parent for this update.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="arg2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="292">The timestamp of when the event happened</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="item-property-updated" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="p0" transfer-ownership="none">
            <type name="utf8" c:type="gchar*"/>
          </parameter>
          <parameter name="p1" transfer-ownership="none">
            <type name="GLib.Variant"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="item-updated" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="layout-updated" when="last">
        <doc xml:space="preserve"
             filename="server.c"
             line="271">This signal is emitted any time the layout of the
		menuitems under this server is changed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="arg1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="274">A revision number representing which revision the update
		       represents itself as.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="arg2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="server.c"
                 line="276">The ID of the parent for this update.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ServerClass"
            c:type="DbusmenuServerClass"
            glib:is-gtype-struct-for="Server">
      <doc xml:space="preserve"
           filename="server.h"
           line="111">The class implementing the virtual functions for #DbusmenuServer.</doc>
      <source-position filename="server.h" line="144"/>
      <field name="parent_class">
        <doc xml:space="preserve"
             filename="server.h"
             line="113">#GObjectClass</doc>
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="id_prop_update">
        <doc xml:space="preserve"
             filename="server.h"
             line="114">Slot for #DbusmenuServer::id-prop-update.</doc>
        <callback name="id_prop_update">
          <source-position filename="server.h" line="132"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="id" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="property" transfer-ownership="none">
              <type name="utf8" c:type="gchar*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <type name="utf8" c:type="gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="id_update">
        <doc xml:space="preserve"
             filename="server.h"
             line="115">Slot for #DbusmenuServer::id-update.</doc>
        <callback name="id_update">
          <source-position filename="server.h" line="133"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="id" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="layout_updated">
        <doc xml:space="preserve"
             filename="server.h"
             line="116">Slot for #DbusmenuServer::layout-update.</doc>
        <callback name="layout_updated">
          <source-position filename="server.h" line="134"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="revision" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="item_activation">
        <doc xml:space="preserve"
             filename="server.h"
             line="117">Slot for #DbusmenuServer::item-activation-requested.</doc>
        <callback name="item_activation">
          <source-position filename="server.h" line="135"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="id" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="timestamp" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="reserved1">
        <doc xml:space="preserve"
             filename="server.h"
             line="118">Reserved for future use.</doc>
        <callback name="reserved1">
          <source-position filename="server.h" line="138"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved2">
        <doc xml:space="preserve"
             filename="server.h"
             line="119">Reserved for future use.</doc>
        <callback name="reserved2">
          <source-position filename="server.h" line="139"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved3">
        <doc xml:space="preserve"
             filename="server.h"
             line="120">Reserved for future use.</doc>
        <callback name="reserved3">
          <source-position filename="server.h" line="140"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved4">
        <doc xml:space="preserve"
             filename="server.h"
             line="121">Reserved for future use.</doc>
        <callback name="reserved4">
          <source-position filename="server.h" line="141"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved5">
        <doc xml:space="preserve"
             filename="server.h"
             line="122">Reserved for future use.</doc>
        <callback name="reserved5">
          <source-position filename="server.h" line="142"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="reserved6">
        <doc xml:space="preserve"
             filename="server.h"
             line="123">Reserved for future use.</doc>
        <callback name="reserved6">
          <source-position filename="server.h" line="143"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="ServerPrivate"
            c:type="DbusmenuServerPrivate"
            disguised="1"
            opaque="1">
      <source-position filename="server.h" line="109"/>
    </record>
    <enumeration name="Status" c:type="DbusmenuStatus">
      <doc xml:space="preserve"
           filename="types.h"
           line="50">Tracks how the menus should be presented to the user.</doc>
      <source-position filename="types.h" line="60"/>
      <member name="normal" value="0" c:identifier="DBUSMENU_STATUS_NORMAL">
        <doc xml:space="preserve"
             filename="types.h"
             line="52">Everything is normal</doc>
      </member>
      <member name="notice" value="1" c:identifier="DBUSMENU_STATUS_NOTICE">
        <doc xml:space="preserve"
             filename="types.h"
             line="53">The menus should be shown at a higher priority</doc>
      </member>
    </enumeration>
    <enumeration name="TextDirection" c:type="DbusmenuTextDirection">
      <doc xml:space="preserve"
           filename="types.h"
           line="35">The direction of text that the strings that this server
	will be sending strings as.</doc>
      <source-position filename="types.h" line="48"/>
      <member name="none"
              value="0"
              c:identifier="DBUSMENU_TEXT_DIRECTION_NONE">
        <doc xml:space="preserve"
             filename="types.h"
             line="37">Unspecified text direction</doc>
      </member>
      <member name="ltr" value="1" c:identifier="DBUSMENU_TEXT_DIRECTION_LTR">
        <doc xml:space="preserve"
             filename="types.h"
             line="38">Left-to-right text direction</doc>
      </member>
      <member name="rtl" value="2" c:identifier="DBUSMENU_TEXT_DIRECTION_RTL">
        <doc xml:space="preserve"
             filename="types.h"
             line="39">Right-to-left text direction</doc>
      </member>
    </enumeration>
    <docsection name="client">
      <doc xml:space="preserve"
           filename="client.h"
           line="224">The client exists as a mirror to the server.  For most folks
	all they will do with a client is set it up to connect to
	a server and then watch as the menu items on their side
	of the bus change.  This is all they should need to know about
	the client, that it magically makes their menuitems dance.

	It does this by setting up signal watchers and adjusting
	the menuitems appropriately.  Most users should watch the
	menu items and the signal #DbusmenuClient::layout-changed for
	larger events so that they can be optimized.  It is possible
	with that signal that even the root node would change.  If
	that doesn't happen the normal signals on the individual
	nodes should be enough for most users.</doc>
    </docsection>
    <docsection name="menuitem">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="520">A #DbusmenuMenuitem is the lowest level of represenation of a
single item in a menu.  It gets created on the server side
and copied over to the client side where it gets rendered.  As
the server starts to change it, and grow it, and do all kinds
of fun stuff that information is transfered over DBus and the
client updates its understanding of the object model.

Most people using either the client or the server should be
able to deal mostly with #DbusmenuMenuitem objects.  These
are simple, but then they can be attached to more complex
objects and handled appropriately.</doc>
    </docsection>
    <docsection name="menuitem-proxy">
      <doc xml:space="preserve"
           filename="menuitem-proxy.h"
           line="86">This small object allows for proxying all the properties from a remote
menuitem to a new object that can be moved around appropriately within
the new menu structure.</doc>
    </docsection>
    <callback name="menuitem_about_to_show_cb"
              c:type="dbusmenu_menuitem_about_to_show_cb">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="396">Callback prototype for a callback that is called when the
menu should be shown.</doc>
      <source-position filename="menuitem.h" line="404"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="mi" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.h"
               line="398">Menu item that should be shown</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </parameter>
        <parameter name="user_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   closure="1">
          <doc xml:space="preserve"
               filename="menuitem.h"
               line="399">Extra user data sent with the function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <callback name="menuitem_buildvariant_slot_t"
              c:type="dbusmenu_menuitem_buildvariant_slot_t">
      <doc xml:space="preserve"
           filename="menuitem.h"
           line="406">This is the function that is called to represent this menu item
as a variant.  Should call its own children.</doc>
      <source-position filename="menuitem.h" line="416"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="menuitem.h"
             line="414">A variant representing this item and its children</doc>
        <type name="GLib.Variant" c:type="GVariant*"/>
      </return-value>
      <parameters>
        <parameter name="mi" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="menuitem.h"
               line="408">Menu item that should be built from</doc>
          <type name="Menuitem" c:type="DbusmenuMenuitem*"/>
        </parameter>
        <parameter name="properties"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="menuitem.h"
               line="409">A list of properties that should be the only ones in the resulting variant structure</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
      </parameters>
    </callback>
    <docsection name="server">
      <doc xml:space="preserve"
           filename="server.h"
           line="175">A #DbusmenuServer is the object that represents the local
	tree of #DbusmenuMenuitem objects on DBus.  It watches the
	various signals that those objects emit and correctly
	represents them across DBus to a #DbusmenuClient so that
	the same tree can be maintained in another process.

	The server needs to have the root set of #DbusmenuMenuitem
	objects set via #dbusmenu_server_set_root but it will query
	all of the objects in that tree automatically.  After setting
	the root there should be no other maintence required by
	users of the server class.</doc>
    </docsection>
    <docsection name="types">
      <doc xml:space="preserve"
           filename="types.h"
           line="62">Enums that are used to describe states of the server across the
	bus.  They are sent over dbus using their nicks but then turned
	back into enums by the client.</doc>
    </docsection>
  </namespace>
</repository>
