Current File : //usr/share/gir-1.0/Gdk-2.0.gir
<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GdkPixbuf" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Pango" version="1.0"/>
  <include name="cairo" version="1.0"/>
  <package name="gdk-2.0"/>
  <c:include name="gdk/gdk.h"/>
  <namespace name="Gdk"
             version="2.0"
             shared-library="libgdk-x11-2.0.so.0"
             c:identifier-prefixes="Gdk"
             c:symbol-prefixes="gdk">
    <alias name="NativeWindow" c:type="GdkNativeWindow">
      <type name="guint32" c:type="guint32"/>
    </alias>
    <alias name="Selection" c:type="GdkSelection">
      <type name="Atom" c:type="GdkAtom"/>
    </alias>
    <alias name="SelectionType" c:type="GdkSelectionType">
      <type name="Atom" c:type="GdkAtom"/>
    </alias>
    <alias name="Target" c:type="GdkTarget">
      <type name="Atom" c:type="GdkAtom"/>
    </alias>
    <alias name="WChar" c:type="GdkWChar">
      <type name="guint32" c:type="guint32"/>
    </alias>
    <alias name="XEvent" c:type="GdkXEvent">
      <type name="gpointer" c:type="gpointer"/>
    </alias>
    <class name="AppLaunchContext"
           c:symbol-prefix="app_launch_context"
           c:type="GdkAppLaunchContext"
           parent="Gio.AppLaunchContext"
           glib:type-name="GdkAppLaunchContext"
           glib:get-type="gdk_app_launch_context_get_type"
           glib:type-struct="AppLaunchContextClass">
      <constructor name="new"
                   c:identifier="gdk_app_launch_context_new"
                   version="2.14">
        <doc xml:space="preserve">Creates a new #GdkAppLaunchContext.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GdkAppLaunchContext</doc>
          <type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
        </return-value>
      </constructor>
      <method name="set_desktop"
              c:identifier="gdk_app_launch_context_set_desktop"
              version="2.14">
        <doc xml:space="preserve">Sets the workspace on which applications will be launched when
using this context when running under a window manager that
supports multiple workspaces, as described in the
&lt;ulink url="http://www.freedesktop.org/Standards/wm-spec"&gt;Extended
Window Manager Hints&lt;/ulink&gt;.

When the workspace is not specified or @desktop is set to -1,
it is up to the window manager to pick one, typically it will
be the current workspace.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkAppLaunchContext</doc>
            <type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
          </instance-parameter>
          <parameter name="desktop" transfer-ownership="none">
            <doc xml:space="preserve">the number of a workspace, or -1</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_display"
              c:identifier="gdk_app_launch_context_set_display"
              version="2.14">
        <doc xml:space="preserve">Sets the display on which applications will be launched when
using this context. See also gdk_app_launch_context_set_screen().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkAppLaunchContext</doc>
            <type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
          </instance-parameter>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon"
              c:identifier="gdk_app_launch_context_set_icon"
              version="2.14">
        <doc xml:space="preserve">Sets the icon for applications that are launched with this
context.

Window Managers can use this information when displaying startup
notification.

See also gdk_app_launch_context_set_icon_name().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkAppLaunchContext</doc>
            <type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
          </instance-parameter>
          <parameter name="icon"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GIcon, or %NULL</doc>
            <type name="Gio.Icon" c:type="GIcon*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon_name"
              c:identifier="gdk_app_launch_context_set_icon_name"
              version="2.14">
        <doc xml:space="preserve">Sets the icon for applications that are launched with this context.
The @icon_name will be interpreted in the same way as the Icon field
in desktop files. See also gdk_app_launch_context_set_icon().

If both @icon and @icon_name are set, the @icon_name takes priority.
If neither @icon or @icon_name is set, the icon is taken from either
the file that is passed to launched application or from the #GAppInfo
for the launched application itself.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkAppLaunchContext</doc>
            <type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
          </instance-parameter>
          <parameter name="icon_name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">an icon name, or %NULL</doc>
            <type name="utf8" c:type="const char*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_screen"
              c:identifier="gdk_app_launch_context_set_screen"
              version="2.14">
        <doc xml:space="preserve">Sets the screen on which applications will be launched when
using this context. See also gdk_app_launch_context_set_display().

If both @screen and @display are set, the @screen takes priority.
If neither @screen or @display are set, the default screen and
display are used.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkAppLaunchContext</doc>
            <type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
          </instance-parameter>
          <parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_timestamp"
              c:identifier="gdk_app_launch_context_set_timestamp"
              version="2.14">
        <doc xml:space="preserve">Sets the timestamp of @context. The timestamp should ideally
be taken from the event that triggered the launch.

Window managers can use this information to avoid moving the
focus to the newly launched application when the user is busy
typing in another window. This is also known as 'focus stealing
prevention'.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkAppLaunchContext</doc>
            <type name="AppLaunchContext" c:type="GdkAppLaunchContext*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">a timestamp</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="Gio.AppLaunchContext" c:type="GAppLaunchContext"/>
      </field>
      <field name="priv">
        <type name="AppLaunchContextPrivate"
              c:type="GdkAppLaunchContextPrivate*"/>
      </field>
    </class>
    <record name="AppLaunchContextClass"
            c:type="GdkAppLaunchContextClass"
            glib:is-gtype-struct-for="AppLaunchContext">
      <field name="parent_class">
        <type name="Gio.AppLaunchContextClass"
              c:type="GAppLaunchContextClass"/>
      </field>
    </record>
    <record name="AppLaunchContextPrivate"
            c:type="GdkAppLaunchContextPrivate"
            disguised="1">
    </record>
    <record name="Atom" c:type="GdkAtom" disguised="1">
      <method name="name" c:identifier="gdk_atom_name">
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="atom" transfer-ownership="none">
            <type name="Atom" c:type="GdkAtom"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="intern"
                c:identifier="gdk_atom_intern"
                introspectable="0">
        <return-value>
          <type name="Atom" c:type="GdkAtom"/>
        </return-value>
        <parameters>
          <parameter name="atom_name" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="only_if_exists" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
      <function name="intern_static_string"
                c:identifier="gdk_atom_intern_static_string"
                version="2.10"
                introspectable="0">
        <doc xml:space="preserve">Finds or creates an atom corresponding to a given string.

Note that this function is identical to gdk_atom_intern() except
that if a new #GdkAtom is created the string itself is used rather
than a copy. This saves memory, but can only be used if the string
will &lt;emphasis&gt;always&lt;/emphasis&gt; exist. It can be used with statically
allocated strings in the main program, but not with statically
allocated memory in dynamically loaded modules, if you expect to
ever unload the module again (e.g. do not use this function in
GTK+ theme engines).</doc>
        <return-value>
          <doc xml:space="preserve">the atom corresponding to @atom_name</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </return-value>
        <parameters>
          <parameter name="atom_name" transfer-ownership="none">
            <doc xml:space="preserve">a static string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <enumeration name="AxisUse"
                 glib:type-name="GdkAxisUse"
                 glib:get-type="gdk_axis_use_get_type"
                 c:type="GdkAxisUse">
      <member name="ignore"
              value="0"
              c:identifier="GDK_AXIS_IGNORE"
              glib:nick="ignore">
      </member>
      <member name="x" value="1" c:identifier="GDK_AXIS_X" glib:nick="x">
      </member>
      <member name="y" value="2" c:identifier="GDK_AXIS_Y" glib:nick="y">
      </member>
      <member name="pressure"
              value="3"
              c:identifier="GDK_AXIS_PRESSURE"
              glib:nick="pressure">
      </member>
      <member name="xtilt"
              value="4"
              c:identifier="GDK_AXIS_XTILT"
              glib:nick="xtilt">
      </member>
      <member name="ytilt"
              value="5"
              c:identifier="GDK_AXIS_YTILT"
              glib:nick="ytilt">
      </member>
      <member name="wheel"
              value="6"
              c:identifier="GDK_AXIS_WHEEL"
              glib:nick="wheel">
      </member>
      <member name="last"
              value="7"
              c:identifier="GDK_AXIS_LAST"
              glib:nick="last">
      </member>
    </enumeration>
    <record name="Bitmap" c:type="GdkBitmap">
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <function name="create_from_data"
                c:identifier="gdk_bitmap_create_from_data"
                introspectable="0">
        <return-value>
          <type name="Bitmap" c:type="GdkBitmap*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <enumeration name="ByteOrder"
                 glib:type-name="GdkByteOrder"
                 glib:get-type="gdk_byte_order_get_type"
                 c:type="GdkByteOrder">
      <member name="lsb_first"
              value="0"
              c:identifier="GDK_LSB_FIRST"
              glib:nick="lsb-first">
      </member>
      <member name="msb_first"
              value="1"
              c:identifier="GDK_MSB_FIRST"
              glib:nick="msb-first">
      </member>
    </enumeration>
    <constant name="CURRENT_TIME" value="0" c:type="GDK_CURRENT_TIME">
      <type name="gint" c:type="gint"/>
    </constant>
    <enumeration name="CapStyle"
                 glib:type-name="GdkCapStyle"
                 glib:get-type="gdk_cap_style_get_type"
                 c:type="GdkCapStyle">
      <member name="not_last"
              value="0"
              c:identifier="GDK_CAP_NOT_LAST"
              glib:nick="not-last">
      </member>
      <member name="butt"
              value="1"
              c:identifier="GDK_CAP_BUTT"
              glib:nick="butt">
      </member>
      <member name="round"
              value="2"
              c:identifier="GDK_CAP_ROUND"
              glib:nick="round">
      </member>
      <member name="projecting"
              value="3"
              c:identifier="GDK_CAP_PROJECTING"
              glib:nick="projecting">
      </member>
    </enumeration>
    <record name="Color"
            c:type="GdkColor"
            glib:type-name="GdkColor"
            glib:get-type="gdk_color_get_type"
            c:symbol-prefix="color">
      <field name="pixel" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="red" writable="1">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="green" writable="1">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="blue" writable="1">
        <type name="guint16" c:type="guint16"/>
      </field>
      <method name="copy" c:identifier="gdk_color_copy">
        <doc xml:space="preserve">Makes a copy of a color structure. The result
must be freed using gdk_color_free().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a copy of @color.</doc>
          <type name="Color" c:type="GdkColor*"/>
        </return-value>
        <parameters>
          <instance-parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColor.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="equal" c:identifier="gdk_color_equal">
        <doc xml:space="preserve">Compares two colors.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the two colors compare equal</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="colora" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColor.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </instance-parameter>
          <parameter name="colorb" transfer-ownership="none">
            <doc xml:space="preserve">another #GdkColor.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gdk_color_free">
        <doc xml:space="preserve">Frees a color structure created with
gdk_color_copy().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColor.</doc>
            <type name="Color" c:type="GdkColor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="hash" c:identifier="gdk_color_hash">
        <doc xml:space="preserve">A hash function suitable for using for a hash
table that stores #GdkColor's.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The hash function applied to @colora</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="colora" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColor.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="gdk_color_to_string"
              version="2.12">
        <doc xml:space="preserve">Returns a textual specification of @color in the hexadecimal form
&lt;literal&gt;&amp;num;rrrrggggbbbb&lt;/literal&gt;, where &lt;literal&gt;r&lt;/literal&gt;,
&lt;literal&gt;g&lt;/literal&gt; and &lt;literal&gt;b&lt;/literal&gt; are hex digits
representing the red, green and blue components respectively.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly-allocated text string</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColor</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="alloc"
                c:identifier="gdk_color_alloc"
                deprecated="1"
                deprecated-version="2.2">
        <doc xml:space="preserve">Allocates a single color from a colormap.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_colormap_alloc_color() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the allocation succeeded.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">The color to allocate. On return, the
   &lt;structfield&gt;pixel&lt;/structfield&gt; field will be filled in.</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
        </parameters>
      </function>
      <function name="black" c:identifier="gdk_color_black">
        <doc xml:space="preserve">Returns the black color for a given colormap. The resulting
value has already been allocated.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the allocation succeeded.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">the location to store the color.</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
        </parameters>
      </function>
      <function name="change" c:identifier="gdk_color_change">
        <doc xml:space="preserve">Changes the value of a color that has already
been allocated. If @colormap is not a private
colormap, then the color must have been allocated
using gdk_colormap_alloc_colors() with the
@writeable set to %TRUE.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the color was successfully changed.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColor, with the color to change
in the &lt;structfield&gt;pixel&lt;/structfield&gt; field,
and the new value in the remaining fields.</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
        </parameters>
      </function>
      <function name="parse" c:identifier="gdk_color_parse">
        <doc xml:space="preserve">Parses a textual specification of a color and fill in the
&lt;structfield&gt;red&lt;/structfield&gt;, &lt;structfield&gt;green&lt;/structfield&gt;,
and &lt;structfield&gt;blue&lt;/structfield&gt; fields of a #GdkColor
structure. The color is &lt;emphasis&gt;not&lt;/emphasis&gt; allocated, you
must call gdk_colormap_alloc_color() yourself. The string can
either one of a large set of standard names. (Taken from the X11
&lt;filename&gt;rgb.txt&lt;/filename&gt; file), or it can be a hex value in the
form '&amp;num;rgb' '&amp;num;rrggbb' '&amp;num;rrrgggbbb' or
'&amp;num;rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the
red, green, and blue components of the color, respectively. (White
in the four forms is '&amp;num;fff' '&amp;num;ffffff' '&amp;num;fffffffff' and
'&amp;num;ffffffffffff')</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the parsing succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="spec" transfer-ownership="none">
            <doc xml:space="preserve">the string specifying the color.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="color"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">the #GdkColor to fill in</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
        </parameters>
      </function>
      <function name="white" c:identifier="gdk_color_white">
        <doc xml:space="preserve">Returns the white color for a given colormap. The resulting
value has already allocated been allocated.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the allocation succeeded.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">the location to store the color.</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <class name="Colormap"
           c:symbol-prefix="colormap"
           c:type="GdkColormap"
           parent="GObject.Object"
           glib:type-name="GdkColormap"
           glib:get-type="gdk_colormap_get_type"
           glib:type-struct="ColormapClass">
      <constructor name="new" c:identifier="gdk_colormap_new">
        <doc xml:space="preserve">Creates a new colormap for the given visual.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkVisual.</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </parameter>
          <parameter name="allocate" transfer-ownership="none">
            <doc xml:space="preserve">if %TRUE, the newly created colormap will be
a private colormap, and all colors in it will be
allocated for the applications use.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="get_system"
                c:identifier="gdk_colormap_get_system"
                introspectable="0">
        <doc xml:space="preserve">Gets the system's default colormap for the default screen. (See
gdk_colormap_get_system_for_screen ())</doc>
        <return-value>
          <doc xml:space="preserve">the default colormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
      </function>
      <function name="get_system_size"
                c:identifier="gdk_colormap_get_system_size">
        <doc xml:space="preserve">Returns the size of the system's default colormap.
(See the description of struct #GdkColormap for an
explanation of the size of a colormap.)</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the size of the system's default colormap.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </function>
      <method name="alloc_color" c:identifier="gdk_colormap_alloc_color">
        <doc xml:space="preserve">Allocates a single color from a colormap.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the allocation succeeded.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">the color to allocate. On return the
   &lt;structfield&gt;pixel&lt;/structfield&gt; field will be
   filled in if allocation succeeds.</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
          <parameter name="writeable" transfer-ownership="none">
            <doc xml:space="preserve">If %TRUE, the color is allocated writeable
   (their values can later be changed using gdk_color_change()).
   Writeable colors cannot be shared between applications.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="best_match" transfer-ownership="none">
            <doc xml:space="preserve">If %TRUE, GDK will attempt to do matching against
   existing colors if the color cannot be allocated as requested.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="alloc_colors" c:identifier="gdk_colormap_alloc_colors">
        <doc xml:space="preserve">Allocates colors from a colormap.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of colors that were not successfully
allocated.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
          <parameter name="colors" transfer-ownership="none">
            <doc xml:space="preserve">The color values to allocate. On return, the pixel
   values for allocated colors will be filled in.</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
          <parameter name="n_colors" transfer-ownership="none">
            <doc xml:space="preserve">The number of colors in @colors.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="writeable" transfer-ownership="none">
            <doc xml:space="preserve">If %TRUE, the colors are allocated writeable
   (their values can later be changed using gdk_color_change()).
   Writeable colors cannot be shared between applications.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="best_match" transfer-ownership="none">
            <doc xml:space="preserve">If %TRUE, GDK will attempt to do matching against
   existing colors if the colors cannot be allocated as requested.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="success" transfer-ownership="none">
            <doc xml:space="preserve">An array of length @ncolors. On return, this
  indicates whether the corresponding color in @colors was
  successfully allocated or not.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </method>
      <method name="change" c:identifier="gdk_colormap_change">
        <doc xml:space="preserve">Changes the value of the first @ncolors in a private colormap
to match the values in the &lt;structfield&gt;colors&lt;/structfield&gt;
array in the colormap. This function is obsolete and
should not be used. See gdk_color_change().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
          <parameter name="ncolors" transfer-ownership="none">
            <doc xml:space="preserve">the number of colors to change.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="free_colors" c:identifier="gdk_colormap_free_colors">
        <doc xml:space="preserve">Frees previously allocated colors.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
          <parameter name="colors" transfer-ownership="none">
            <doc xml:space="preserve">the colors to free.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="n_colors" transfer-ownership="none">
            <doc xml:space="preserve">the number of colors in @colors.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_screen"
              c:identifier="gdk_colormap_get_screen"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Gets the screen for which this colormap was created.</doc>
        <return-value>
          <doc xml:space="preserve">the screen for which this colormap was created.</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cmap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_visual"
              c:identifier="gdk_colormap_get_visual"
              introspectable="0">
        <doc xml:space="preserve">Returns the visual for which a given colormap was created.</doc>
        <return-value>
          <doc xml:space="preserve">the visual of the colormap.</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="query_color" c:identifier="gdk_colormap_query_color">
        <doc xml:space="preserve">Locates the RGB color in @colormap corresponding to the given
hardware pixel @pixel. @pixel must be a valid pixel in the
colormap; it's a programmer error to call this function with a
pixel which is not in the colormap. Hardware pixels are normally
obtained from gdk_colormap_alloc_colors(), or from a #GdkImage. (A
#GdkImage contains image data in hardware format, a #GdkPixbuf
contains image data in a canonical 24-bit RGB format.)

This function is rarely useful; it's used for example to
implement the eyedropper feature in #GtkColorSelection.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
          <parameter name="pixel" transfer-ownership="none">
            <doc xml:space="preserve">pixel value in hardware display format</doc>
            <type name="gulong" c:type="gulong"/>
          </parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve">#GdkColor with red, green, blue fields initialized</doc>
            <type name="Color" c:type="GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="ref"
              c:identifier="gdk_colormap_ref"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Deprecated function; use g_object_ref() instead.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_ref() instead.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the colormap</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cmap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref"
              c:identifier="gdk_colormap_unref"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Deprecated function; use g_object_unref() instead.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_unref() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cmap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance" readable="0" private="1">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="size">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="colors">
        <type name="Color" c:type="GdkColor*"/>
      </field>
      <field name="visual" readable="0" private="1">
        <type name="Visual" c:type="GdkVisual*"/>
      </field>
      <field name="windowing_data" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
    </class>
    <record name="ColormapClass"
            c:type="GdkColormapClass"
            glib:is-gtype-struct-for="Colormap">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="CrossingMode"
                 glib:type-name="GdkCrossingMode"
                 glib:get-type="gdk_crossing_mode_get_type"
                 c:type="GdkCrossingMode">
      <member name="normal"
              value="0"
              c:identifier="GDK_CROSSING_NORMAL"
              glib:nick="normal">
      </member>
      <member name="grab"
              value="1"
              c:identifier="GDK_CROSSING_GRAB"
              glib:nick="grab">
      </member>
      <member name="ungrab"
              value="2"
              c:identifier="GDK_CROSSING_UNGRAB"
              glib:nick="ungrab">
      </member>
      <member name="gtk_grab"
              value="3"
              c:identifier="GDK_CROSSING_GTK_GRAB"
              glib:nick="gtk-grab">
      </member>
      <member name="gtk_ungrab"
              value="4"
              c:identifier="GDK_CROSSING_GTK_UNGRAB"
              glib:nick="gtk-ungrab">
      </member>
      <member name="state_changed"
              value="5"
              c:identifier="GDK_CROSSING_STATE_CHANGED"
              glib:nick="state-changed">
      </member>
    </enumeration>
    <record name="Cursor"
            c:type="GdkCursor"
            glib:type-name="GdkCursor"
            glib:get-type="gdk_cursor_get_type"
            c:symbol-prefix="cursor">
      <field name="type" writable="1">
        <type name="CursorType" c:type="GdkCursorType"/>
      </field>
      <field name="ref_count" readable="0" private="1">
        <type name="guint" c:type="guint"/>
      </field>
      <constructor name="new" c:identifier="gdk_cursor_new">
        <doc xml:space="preserve">Creates a new cursor from the set of builtin cursors for the default display.
See gdk_cursor_new_for_display().

To make the cursor invisible, use %GDK_BLANK_CURSOR.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GdkCursor</doc>
          <type name="Cursor" c:type="GdkCursor*"/>
        </return-value>
        <parameters>
          <parameter name="cursor_type" transfer-ownership="none">
            <doc xml:space="preserve">cursor to create</doc>
            <type name="CursorType" c:type="GdkCursorType"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_for_display"
                   c:identifier="gdk_cursor_new_for_display"
                   version="2.2">
        <doc xml:space="preserve">Creates a new cursor from the set of builtin cursors.
Some useful ones are:
&lt;itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;
 &lt;inlinegraphic format="PNG" fileref="right_ptr.png"&gt;&lt;/inlinegraphic&gt; #GDK_RIGHT_PTR (right-facing arrow)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
 &lt;inlinegraphic format="PNG" fileref="crosshair.png"&gt;&lt;/inlinegraphic&gt; #GDK_CROSSHAIR (crosshair)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
 &lt;inlinegraphic format="PNG" fileref="xterm.png"&gt;&lt;/inlinegraphic&gt; #GDK_XTERM (I-beam)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="watch.png"&gt;&lt;/inlinegraphic&gt; #GDK_WATCH (busy)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="fleur.png"&gt;&lt;/inlinegraphic&gt; #GDK_FLEUR (for moving objects)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="hand1.png"&gt;&lt;/inlinegraphic&gt; #GDK_HAND1 (a right-pointing hand)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="hand2.png"&gt;&lt;/inlinegraphic&gt; #GDK_HAND2 (a left-pointing hand)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="left_side.png"&gt;&lt;/inlinegraphic&gt; #GDK_LEFT_SIDE (resize left side)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="right_side.png"&gt;&lt;/inlinegraphic&gt; #GDK_RIGHT_SIDE (resize right side)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="top_left_corner.png"&gt;&lt;/inlinegraphic&gt; #GDK_TOP_LEFT_CORNER (resize northwest corner)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="top_right_corner.png"&gt;&lt;/inlinegraphic&gt; #GDK_TOP_RIGHT_CORNER (resize northeast corner)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="bottom_left_corner.png"&gt;&lt;/inlinegraphic&gt; #GDK_BOTTOM_LEFT_CORNER (resize southwest corner)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="bottom_right_corner.png"&gt;&lt;/inlinegraphic&gt; #GDK_BOTTOM_RIGHT_CORNER (resize southeast corner)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="top_side.png"&gt;&lt;/inlinegraphic&gt; #GDK_TOP_SIDE (resize top side)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="bottom_side.png"&gt;&lt;/inlinegraphic&gt; #GDK_BOTTOM_SIDE (resize bottom side)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="sb_h_double_arrow.png"&gt;&lt;/inlinegraphic&gt; #GDK_SB_H_DOUBLE_ARROW (move vertical splitter)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
&lt;inlinegraphic format="PNG" fileref="sb_v_double_arrow.png"&gt;&lt;/inlinegraphic&gt; #GDK_SB_V_DOUBLE_ARROW (move horizontal splitter)
&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;
#GDK_BLANK_CURSOR (Blank cursor). Since 2.16
&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GdkCursor</doc>
          <type name="Cursor" c:type="GdkCursor*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay for which the cursor will be created</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="cursor_type" transfer-ownership="none">
            <doc xml:space="preserve">cursor to create</doc>
            <type name="CursorType" c:type="GdkCursorType"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_name"
                   c:identifier="gdk_cursor_new_from_name"
                   version="2.8">
        <doc xml:space="preserve">Creates a new cursor by looking up @name in the current cursor
theme.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GdkCursor, or %NULL if there is no cursor with
  the given name</doc>
          <type name="Cursor" c:type="GdkCursor*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay for which the cursor will be created</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the cursor</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_pixbuf"
                   c:identifier="gdk_cursor_new_from_pixbuf"
                   version="2.4">
        <doc xml:space="preserve">Creates a new cursor from a pixbuf.

Not all GDK backends support RGBA cursors. If they are not
supported, a monochrome approximation will be displayed.
The functions gdk_display_supports_cursor_alpha() and
gdk_display_supports_cursor_color() can be used to determine
whether RGBA cursors are supported;
gdk_display_get_default_cursor_size() and
gdk_display_get_maximal_cursor_size() give information about
cursor sizes.

If @x or @y are &lt;literal&gt;-1&lt;/literal&gt;, the pixbuf must have
options named "x_hot" and "y_hot", resp., containing
integer values between %0 and the width resp. height of
the pixbuf. (Since: 3.0)

On the X backend, support for RGBA cursors requires a
sufficently new version of the X Render extension.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GdkCursor.</doc>
          <type name="Cursor" c:type="GdkCursor*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay for which the cursor will be created</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="pixbuf" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkPixbuf containing the cursor image</doc>
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">the horizontal offset of the 'hotspot' of the cursor.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">the vertical offset of the 'hotspot' of the cursor.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_from_pixmap"
                   c:identifier="gdk_cursor_new_from_pixmap">
        <doc xml:space="preserve">Creates a new cursor from a given pixmap and mask. Both the pixmap and mask
must have a depth of 1 (i.e. each pixel has only 2 values - on or off).
The standard cursor size is 16 by 16 pixels. You can create a bitmap
from inline data as in the below example.

&lt;example&gt;&lt;title&gt;Creating a custom cursor&lt;/title&gt;
&lt;programlisting&gt;
/&lt;!-- --&gt;* This data is in X bitmap format, and can be created with the 'bitmap'
   utility. *&lt;!-- --&gt;/
&amp;num;define cursor1_width 16
&amp;num;define cursor1_height 16
static unsigned char cursor1_bits[] = {
  0x80, 0x01, 0x40, 0x02, 0x20, 0x04, 0x10, 0x08, 0x08, 0x10, 0x04, 0x20,
  0x82, 0x41, 0x41, 0x82, 0x41, 0x82, 0x82, 0x41, 0x04, 0x20, 0x08, 0x10,
  0x10, 0x08, 0x20, 0x04, 0x40, 0x02, 0x80, 0x01};
 
static unsigned char cursor1mask_bits[] = {
  0x80, 0x01, 0xc0, 0x03, 0x60, 0x06, 0x30, 0x0c, 0x18, 0x18, 0x8c, 0x31,
  0xc6, 0x63, 0x63, 0xc6, 0x63, 0xc6, 0xc6, 0x63, 0x8c, 0x31, 0x18, 0x18,
  0x30, 0x0c, 0x60, 0x06, 0xc0, 0x03, 0x80, 0x01};
 
 
 GdkCursor *cursor;
 GdkPixmap *source, *mask;
 GdkColor fg = { 0, 65535, 0, 0 }; /&lt;!-- --&gt;* Red. *&lt;!-- --&gt;/
 GdkColor bg = { 0, 0, 0, 65535 }; /&lt;!-- --&gt;* Blue. *&lt;!-- --&gt;/
 
 
 source = gdk_bitmap_create_from_data (NULL, cursor1_bits,
                                       cursor1_width, cursor1_height);
 mask = gdk_bitmap_create_from_data (NULL, cursor1mask_bits,
                                     cursor1_width, cursor1_height);
 cursor = gdk_cursor_new_from_pixmap (source, mask, &amp;amp;fg, &amp;amp;bg, 8, 8);
 g_object_unref (source);
 g_object_unref (mask);
 
 
 gdk_window_set_cursor (widget-&gt;window, cursor);
&lt;/programlisting&gt;
&lt;/example&gt;</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a new #GdkCursor.</doc>
          <type name="Cursor" c:type="GdkCursor*"/>
        </return-value>
        <parameters>
          <parameter name="source" transfer-ownership="none">
            <doc xml:space="preserve">the pixmap specifying the cursor.</doc>
            <type name="Pixmap" c:type="GdkPixmap*"/>
          </parameter>
          <parameter name="mask" transfer-ownership="none">
            <doc xml:space="preserve">the pixmap specifying the mask, which must be the same size as
   @source.</doc>
            <type name="Pixmap" c:type="GdkPixmap*"/>
          </parameter>
          <parameter name="fg" transfer-ownership="none">
            <doc xml:space="preserve">the foreground color, used for the bits in the source which are 1.
   The color does not have to be allocated first.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="bg" transfer-ownership="none">
            <doc xml:space="preserve">the background color, used for the bits in the source which are 0.
   The color does not have to be allocated first.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">the horizontal offset of the 'hotspot' of the cursor.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">the vertical offset of the 'hotspot' of the cursor.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="get_cursor_type"
              c:identifier="gdk_cursor_get_cursor_type"
              version="2.22">
        <doc xml:space="preserve">Returns the cursor type for this cursor.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkCursorType</doc>
          <type name="CursorType" c:type="GdkCursorType"/>
        </return-value>
        <parameters>
          <instance-parameter name="cursor" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkCursor</doc>
            <type name="Cursor" c:type="GdkCursor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_display"
              c:identifier="gdk_cursor_get_display"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Returns the display on which the #GdkCursor is defined.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkDisplay associated to @cursor</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cursor" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkCursor.</doc>
            <type name="Cursor" c:type="GdkCursor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_image"
              c:identifier="gdk_cursor_get_image"
              version="2.8"
              introspectable="0">
        <doc xml:space="preserve">Returns a #GdkPixbuf with the image used to display the cursor.

Note that depending on the capabilities of the windowing system and
on the cursor, GDK may not be able to obtain the image data. In this
case, %NULL is returned.</doc>
        <return-value>
          <doc xml:space="preserve">a #GdkPixbuf representing @cursor, or %NULL</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cursor" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkCursor</doc>
            <type name="Cursor" c:type="GdkCursor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gdk_cursor_ref">
        <doc xml:space="preserve">Adds a reference to @cursor.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">Same @cursor that was passed in</doc>
          <type name="Cursor" c:type="GdkCursor*"/>
        </return-value>
        <parameters>
          <instance-parameter name="cursor" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkCursor</doc>
            <type name="Cursor" c:type="GdkCursor*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref" c:identifier="gdk_cursor_unref">
        <doc xml:space="preserve">Removes a reference from @cursor, deallocating the cursor
if no references remain.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cursor" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkCursor</doc>
            <type name="Cursor" c:type="GdkCursor*"/>
          </instance-parameter>
        </parameters>
      </method>
    </record>
    <enumeration name="CursorType"
                 glib:type-name="GdkCursorType"
                 glib:get-type="gdk_cursor_type_get_type"
                 c:type="GdkCursorType">
      <member name="x_cursor"
              value="0"
              c:identifier="GDK_X_CURSOR"
              glib:nick="x-cursor">
      </member>
      <member name="arrow"
              value="2"
              c:identifier="GDK_ARROW"
              glib:nick="arrow">
      </member>
      <member name="based_arrow_down"
              value="4"
              c:identifier="GDK_BASED_ARROW_DOWN"
              glib:nick="based-arrow-down">
      </member>
      <member name="based_arrow_up"
              value="6"
              c:identifier="GDK_BASED_ARROW_UP"
              glib:nick="based-arrow-up">
      </member>
      <member name="boat" value="8" c:identifier="GDK_BOAT" glib:nick="boat">
      </member>
      <member name="bogosity"
              value="10"
              c:identifier="GDK_BOGOSITY"
              glib:nick="bogosity">
      </member>
      <member name="bottom_left_corner"
              value="12"
              c:identifier="GDK_BOTTOM_LEFT_CORNER"
              glib:nick="bottom-left-corner">
      </member>
      <member name="bottom_right_corner"
              value="14"
              c:identifier="GDK_BOTTOM_RIGHT_CORNER"
              glib:nick="bottom-right-corner">
      </member>
      <member name="bottom_side"
              value="16"
              c:identifier="GDK_BOTTOM_SIDE"
              glib:nick="bottom-side">
      </member>
      <member name="bottom_tee"
              value="18"
              c:identifier="GDK_BOTTOM_TEE"
              glib:nick="bottom-tee">
      </member>
      <member name="box_spiral"
              value="20"
              c:identifier="GDK_BOX_SPIRAL"
              glib:nick="box-spiral">
      </member>
      <member name="center_ptr"
              value="22"
              c:identifier="GDK_CENTER_PTR"
              glib:nick="center-ptr">
      </member>
      <member name="circle"
              value="24"
              c:identifier="GDK_CIRCLE"
              glib:nick="circle">
      </member>
      <member name="clock"
              value="26"
              c:identifier="GDK_CLOCK"
              glib:nick="clock">
      </member>
      <member name="coffee_mug"
              value="28"
              c:identifier="GDK_COFFEE_MUG"
              glib:nick="coffee-mug">
      </member>
      <member name="cross"
              value="30"
              c:identifier="GDK_CROSS"
              glib:nick="cross">
      </member>
      <member name="cross_reverse"
              value="32"
              c:identifier="GDK_CROSS_REVERSE"
              glib:nick="cross-reverse">
      </member>
      <member name="crosshair"
              value="34"
              c:identifier="GDK_CROSSHAIR"
              glib:nick="crosshair">
      </member>
      <member name="diamond_cross"
              value="36"
              c:identifier="GDK_DIAMOND_CROSS"
              glib:nick="diamond-cross">
      </member>
      <member name="dot" value="38" c:identifier="GDK_DOT" glib:nick="dot">
      </member>
      <member name="dotbox"
              value="40"
              c:identifier="GDK_DOTBOX"
              glib:nick="dotbox">
      </member>
      <member name="double_arrow"
              value="42"
              c:identifier="GDK_DOUBLE_ARROW"
              glib:nick="double-arrow">
      </member>
      <member name="draft_large"
              value="44"
              c:identifier="GDK_DRAFT_LARGE"
              glib:nick="draft-large">
      </member>
      <member name="draft_small"
              value="46"
              c:identifier="GDK_DRAFT_SMALL"
              glib:nick="draft-small">
      </member>
      <member name="draped_box"
              value="48"
              c:identifier="GDK_DRAPED_BOX"
              glib:nick="draped-box">
      </member>
      <member name="exchange"
              value="50"
              c:identifier="GDK_EXCHANGE"
              glib:nick="exchange">
      </member>
      <member name="fleur"
              value="52"
              c:identifier="GDK_FLEUR"
              glib:nick="fleur">
      </member>
      <member name="gobbler"
              value="54"
              c:identifier="GDK_GOBBLER"
              glib:nick="gobbler">
      </member>
      <member name="gumby"
              value="56"
              c:identifier="GDK_GUMBY"
              glib:nick="gumby">
      </member>
      <member name="hand1"
              value="58"
              c:identifier="GDK_HAND1"
              glib:nick="hand1">
      </member>
      <member name="hand2"
              value="60"
              c:identifier="GDK_HAND2"
              glib:nick="hand2">
      </member>
      <member name="heart"
              value="62"
              c:identifier="GDK_HEART"
              glib:nick="heart">
      </member>
      <member name="icon" value="64" c:identifier="GDK_ICON" glib:nick="icon">
      </member>
      <member name="iron_cross"
              value="66"
              c:identifier="GDK_IRON_CROSS"
              glib:nick="iron-cross">
      </member>
      <member name="left_ptr"
              value="68"
              c:identifier="GDK_LEFT_PTR"
              glib:nick="left-ptr">
      </member>
      <member name="left_side"
              value="70"
              c:identifier="GDK_LEFT_SIDE"
              glib:nick="left-side">
      </member>
      <member name="left_tee"
              value="72"
              c:identifier="GDK_LEFT_TEE"
              glib:nick="left-tee">
      </member>
      <member name="leftbutton"
              value="74"
              c:identifier="GDK_LEFTBUTTON"
              glib:nick="leftbutton">
      </member>
      <member name="ll_angle"
              value="76"
              c:identifier="GDK_LL_ANGLE"
              glib:nick="ll-angle">
      </member>
      <member name="lr_angle"
              value="78"
              c:identifier="GDK_LR_ANGLE"
              glib:nick="lr-angle">
      </member>
      <member name="man" value="80" c:identifier="GDK_MAN" glib:nick="man">
      </member>
      <member name="middlebutton"
              value="82"
              c:identifier="GDK_MIDDLEBUTTON"
              glib:nick="middlebutton">
      </member>
      <member name="mouse"
              value="84"
              c:identifier="GDK_MOUSE"
              glib:nick="mouse">
      </member>
      <member name="pencil"
              value="86"
              c:identifier="GDK_PENCIL"
              glib:nick="pencil">
      </member>
      <member name="pirate"
              value="88"
              c:identifier="GDK_PIRATE"
              glib:nick="pirate">
      </member>
      <member name="plus" value="90" c:identifier="GDK_PLUS" glib:nick="plus">
      </member>
      <member name="question_arrow"
              value="92"
              c:identifier="GDK_QUESTION_ARROW"
              glib:nick="question-arrow">
      </member>
      <member name="right_ptr"
              value="94"
              c:identifier="GDK_RIGHT_PTR"
              glib:nick="right-ptr">
      </member>
      <member name="right_side"
              value="96"
              c:identifier="GDK_RIGHT_SIDE"
              glib:nick="right-side">
      </member>
      <member name="right_tee"
              value="98"
              c:identifier="GDK_RIGHT_TEE"
              glib:nick="right-tee">
      </member>
      <member name="rightbutton"
              value="100"
              c:identifier="GDK_RIGHTBUTTON"
              glib:nick="rightbutton">
      </member>
      <member name="rtl_logo"
              value="102"
              c:identifier="GDK_RTL_LOGO"
              glib:nick="rtl-logo">
      </member>
      <member name="sailboat"
              value="104"
              c:identifier="GDK_SAILBOAT"
              glib:nick="sailboat">
      </member>
      <member name="sb_down_arrow"
              value="106"
              c:identifier="GDK_SB_DOWN_ARROW"
              glib:nick="sb-down-arrow">
      </member>
      <member name="sb_h_double_arrow"
              value="108"
              c:identifier="GDK_SB_H_DOUBLE_ARROW"
              glib:nick="sb-h-double-arrow">
      </member>
      <member name="sb_left_arrow"
              value="110"
              c:identifier="GDK_SB_LEFT_ARROW"
              glib:nick="sb-left-arrow">
      </member>
      <member name="sb_right_arrow"
              value="112"
              c:identifier="GDK_SB_RIGHT_ARROW"
              glib:nick="sb-right-arrow">
      </member>
      <member name="sb_up_arrow"
              value="114"
              c:identifier="GDK_SB_UP_ARROW"
              glib:nick="sb-up-arrow">
      </member>
      <member name="sb_v_double_arrow"
              value="116"
              c:identifier="GDK_SB_V_DOUBLE_ARROW"
              glib:nick="sb-v-double-arrow">
      </member>
      <member name="shuttle"
              value="118"
              c:identifier="GDK_SHUTTLE"
              glib:nick="shuttle">
      </member>
      <member name="sizing"
              value="120"
              c:identifier="GDK_SIZING"
              glib:nick="sizing">
      </member>
      <member name="spider"
              value="122"
              c:identifier="GDK_SPIDER"
              glib:nick="spider">
      </member>
      <member name="spraycan"
              value="124"
              c:identifier="GDK_SPRAYCAN"
              glib:nick="spraycan">
      </member>
      <member name="star" value="126" c:identifier="GDK_STAR" glib:nick="star">
      </member>
      <member name="target"
              value="128"
              c:identifier="GDK_TARGET"
              glib:nick="target">
      </member>
      <member name="tcross"
              value="130"
              c:identifier="GDK_TCROSS"
              glib:nick="tcross">
      </member>
      <member name="top_left_arrow"
              value="132"
              c:identifier="GDK_TOP_LEFT_ARROW"
              glib:nick="top-left-arrow">
      </member>
      <member name="top_left_corner"
              value="134"
              c:identifier="GDK_TOP_LEFT_CORNER"
              glib:nick="top-left-corner">
      </member>
      <member name="top_right_corner"
              value="136"
              c:identifier="GDK_TOP_RIGHT_CORNER"
              glib:nick="top-right-corner">
      </member>
      <member name="top_side"
              value="138"
              c:identifier="GDK_TOP_SIDE"
              glib:nick="top-side">
      </member>
      <member name="top_tee"
              value="140"
              c:identifier="GDK_TOP_TEE"
              glib:nick="top-tee">
      </member>
      <member name="trek" value="142" c:identifier="GDK_TREK" glib:nick="trek">
      </member>
      <member name="ul_angle"
              value="144"
              c:identifier="GDK_UL_ANGLE"
              glib:nick="ul-angle">
      </member>
      <member name="umbrella"
              value="146"
              c:identifier="GDK_UMBRELLA"
              glib:nick="umbrella">
      </member>
      <member name="ur_angle"
              value="148"
              c:identifier="GDK_UR_ANGLE"
              glib:nick="ur-angle">
      </member>
      <member name="watch"
              value="150"
              c:identifier="GDK_WATCH"
              glib:nick="watch">
      </member>
      <member name="xterm"
              value="152"
              c:identifier="GDK_XTERM"
              glib:nick="xterm">
      </member>
      <member name="last_cursor"
              value="153"
              c:identifier="GDK_LAST_CURSOR"
              glib:nick="last-cursor">
      </member>
      <member name="blank_cursor"
              value="-2"
              c:identifier="GDK_BLANK_CURSOR"
              glib:nick="blank-cursor">
      </member>
      <member name="cursor_is_pixmap"
              value="-1"
              c:identifier="GDK_CURSOR_IS_PIXMAP"
              glib:nick="cursor-is-pixmap">
      </member>
    </enumeration>
    <callback name="DestroyNotify" c:type="GdkDestroyNotify">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="data" transfer-ownership="none">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <class name="Device"
           c:symbol-prefix="device"
           c:type="GdkDevice"
           parent="GObject.Object"
           glib:type-name="GdkDevice"
           glib:get-type="gdk_device_get_type"
           glib:type-struct="DeviceClass">
      <function name="free_history" c:identifier="gdk_device_free_history">
        <doc xml:space="preserve">Frees an array of #GdkTimeCoord that was returned by gdk_device_get_history().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="events"
                     direction="inout"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">an array of #GdkTimeCoord.</doc>
            <type name="TimeCoord" c:type="GdkTimeCoord**"/>
          </parameter>
          <parameter name="n_events" transfer-ownership="none">
            <doc xml:space="preserve">the length of the array.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_core_pointer"
                c:identifier="gdk_device_get_core_pointer"
                introspectable="0">
        <doc xml:space="preserve">Returns the core pointer device for the default display.</doc>
        <return-value>
          <doc xml:space="preserve">the core pointer device; this is owned by the
  display and should not be freed.</doc>
          <type name="Device" c:type="GdkDevice*"/>
        </return-value>
      </function>
      <method name="get_axis" c:identifier="gdk_device_get_axis">
        <doc xml:space="preserve">Interprets an array of double as axis values for a given device,
and locates the value in the array for a given axis use.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the given axis use was found, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="axes" transfer-ownership="none">
            <doc xml:space="preserve">pointer to an array of axes</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="use" transfer-ownership="none">
            <doc xml:space="preserve">the use to look for</doc>
            <type name="AxisUse" c:type="GdkAxisUse"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve">location to store the found value.</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_axis_use"
              c:identifier="gdk_device_get_axis_use"
              version="2.22">
        <doc xml:space="preserve">Returns the axis use for @index.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkAxisUse specifying how the axis is used.</doc>
          <type name="AxisUse" c:type="GdkAxisUse"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice.</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the index of the axis.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_has_cursor"
              c:identifier="gdk_device_get_has_cursor"
              version="2.22">
        <doc xml:space="preserve">Determines whether the pointer follows device motion.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the pointer follows device motion</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_history" c:identifier="gdk_device_get_history">
        <doc xml:space="preserve">Obtains the motion history for a device; given a starting and
ending timestamp, return all events in the motion history for
the device in the given range of time. Some windowing systems
do not support motion history, in which case, %FALSE will
be returned. (This is not distinguishable from the case where
motion history is supported and no events were found.)</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the windowing system supports motion history and
 at least one event was found.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">the window with respect to which which the event coordinates will be reported</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
          <parameter name="start" transfer-ownership="none">
            <doc xml:space="preserve">starting timestamp for range of events to return</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
          <parameter name="stop" transfer-ownership="none">
            <doc xml:space="preserve">ending timestamp for the range of events to return</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
          <parameter name="events"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="none">
            <doc xml:space="preserve">location to store a newly-allocated array of #GdkTimeCoord, or %NULL</doc>
            <array length="4" zero-terminated="0" c:type="GdkTimeCoord***">
              <type name="TimeCoord" c:type="GdkTimeCoord**"/>
            </array>
          </parameter>
          <parameter name="n_events"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the length of @events, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_key" c:identifier="gdk_device_get_key" version="2.22">
        <doc xml:space="preserve">If @index has a valid keyval, this function will
fill in @keyval and @modifiers with the keyval settings.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice.</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="index" transfer-ownership="none">
            <doc xml:space="preserve">the index of the macro button to get.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="keyval" transfer-ownership="none">
            <doc xml:space="preserve">return value for the keyval.</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="modifiers" transfer-ownership="none">
            <doc xml:space="preserve">return value for modifiers.</doc>
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_mode"
              c:identifier="gdk_device_get_mode"
              version="2.22">
        <doc xml:space="preserve">Determines the mode of the device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkInputSource</doc>
          <type name="InputMode" c:type="GdkInputMode"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_n_axes"
              c:identifier="gdk_device_get_n_axes"
              version="2.22">
        <doc xml:space="preserve">Gets the number of axes of a device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of axes of @device</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice.</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_n_keys"
              c:identifier="gdk_device_get_n_keys"
              version="2.24">
        <doc xml:space="preserve">Gets the number of keys of a device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the number of keys of @device</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice.</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="gdk_device_get_name"
              version="2.22">
        <doc xml:space="preserve">Determines the name of the device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_source"
              c:identifier="gdk_device_get_source"
              version="2.22">
        <doc xml:space="preserve">Determines the type of the device.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkInputSource</doc>
          <type name="InputSource" c:type="GdkInputSource"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDevice</doc>
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_state" c:identifier="gdk_device_get_state">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="window" transfer-ownership="none">
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
          <parameter name="axes" transfer-ownership="none">
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="mask" transfer-ownership="none">
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_axis_use" c:identifier="gdk_device_set_axis_use">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="index_" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="use" transfer-ownership="none">
            <type name="AxisUse" c:type="GdkAxisUse"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_key" c:identifier="gdk_device_set_key">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="index_" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="keyval" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="modifiers" transfer-ownership="none">
            <type name="ModifierType" c:type="GdkModifierType"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mode" c:identifier="gdk_device_set_mode">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <type name="InputMode" c:type="GdkInputMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_source" c:identifier="gdk_device_set_source">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <type name="Device" c:type="GdkDevice*"/>
          </instance-parameter>
          <parameter name="source" transfer-ownership="none">
            <type name="InputSource" c:type="GdkInputSource"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="name">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="source">
        <type name="InputSource" c:type="GdkInputSource"/>
      </field>
      <field name="mode">
        <type name="InputMode" c:type="GdkInputMode"/>
      </field>
      <field name="has_cursor">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="num_axes">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="axes">
        <type name="DeviceAxis" c:type="GdkDeviceAxis*"/>
      </field>
      <field name="num_keys">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="keys">
        <type name="DeviceKey" c:type="GdkDeviceKey*"/>
      </field>
    </class>
    <record name="DeviceAxis" c:type="GdkDeviceAxis">
      <field name="use" writable="1">
        <type name="AxisUse" c:type="GdkAxisUse"/>
      </field>
      <field name="min" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="max" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
    </record>
    <record name="DeviceClass"
            c:type="GdkDeviceClass"
            disguised="1"
            glib:is-gtype-struct-for="Device">
    </record>
    <record name="DeviceKey" c:type="GdkDeviceKey">
      <field name="keyval" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="modifiers" writable="1">
        <type name="ModifierType" c:type="GdkModifierType"/>
      </field>
    </record>
    <class name="Display"
           c:symbol-prefix="display"
           c:type="GdkDisplay"
           parent="GObject.Object"
           glib:type-name="GdkDisplay"
           glib:get-type="gdk_display_get_type"
           glib:type-struct="DisplayClass">
      <function name="get_default"
                c:identifier="gdk_display_get_default"
                version="2.2">
        <doc xml:space="preserve">Gets the default #GdkDisplay. This is a convenience
function for
&lt;literal&gt;gdk_display_manager_get_default_display (gdk_display_manager_get ())&lt;/literal&gt;.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDisplay, or %NULL if there is no default
  display.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
      </function>
      <function name="open"
                c:identifier="gdk_display_open"
                version="2.2"
                introspectable="0">
        <doc xml:space="preserve">Opens a display.</doc>
        <return-value>
          <doc xml:space="preserve">a #GdkDisplay, or %NULL if the display
 could not be opened.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
        <parameters>
          <parameter name="display_name" transfer-ownership="none">
            <doc xml:space="preserve">the name of the display to open</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="open_default_libgtk_only"
                c:identifier="gdk_display_open_default_libgtk_only"
                introspectable="0">
        <doc xml:space="preserve">Opens the default display specified by command line arguments or
environment variables, sets it as the default display, and returns
it.  gdk_parse_args must have been called first. If the default
display has previously been set, simply returns that. An internal
function that should not be used by applications.</doc>
        <return-value>
          <doc xml:space="preserve">the default display, if it could be opened,
  otherwise %NULL.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
      </function>
      <virtual-method name="closed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="is_error" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_default_screen"
                      invoker="get_default_screen"
                      version="2.2"
                      introspectable="0">
        <doc xml:space="preserve">Get the default #GdkScreen for @display.</doc>
        <return-value>
          <doc xml:space="preserve">the default #GdkScreen object for @display</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_display_name">
        <return-value transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_n_screens"
                      invoker="get_n_screens"
                      version="2.2">
        <doc xml:space="preserve">Gets the number of screen managed by the @display.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">number of screens.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_screen"
                      invoker="get_screen"
                      version="2.2"
                      introspectable="0">
        <doc xml:space="preserve">Returns a screen object for one of the screens of the display.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkScreen object</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="screen_num" transfer-ownership="none">
            <doc xml:space="preserve">the screen number</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="add_client_message_filter"
              c:identifier="gdk_display_add_client_message_filter"
              introspectable="0">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="message_type" transfer-ownership="none">
            <type name="Atom" c:type="GdkAtom"/>
          </parameter>
          <parameter name="func" transfer-ownership="none" closure="2">
            <type name="FilterFunc" c:type="GdkFilterFunc"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="beep" c:identifier="gdk_display_beep" version="2.2">
        <doc xml:space="preserve">Emits a short beep on @display</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="close" c:identifier="gdk_display_close" version="2.2">
        <doc xml:space="preserve">Closes the connection to the windowing system for the given display,
and cleans up associated resources.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="flush" c:identifier="gdk_display_flush" version="2.4">
        <doc xml:space="preserve">Flushes any requests queued for the windowing system; this happens automatically
when the main loop blocks waiting for new events, but if your application
is drawing without returning control to the main loop, you may need
to call this function explicitely. A common case where this function
needs to be called is when an application is executing drawing commands
from a thread other than the thread where the main loop is running.

This is most useful for X11. On windowing systems where requests are
handled synchronously, this function will do nothing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_core_pointer"
              c:identifier="gdk_display_get_core_pointer"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Returns the core pointer device for the given display</doc>
        <return-value>
          <doc xml:space="preserve">the core pointer device; this is owned by the
  display and should not be freed.</doc>
          <type name="Device" c:type="GdkDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_default_cursor_size"
              c:identifier="gdk_display_get_default_cursor_size"
              version="2.4">
        <doc xml:space="preserve">Returns the default size to use for cursors on @display.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the default cursor size.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_default_group"
              c:identifier="gdk_display_get_default_group"
              version="2.4"
              introspectable="0">
        <doc xml:space="preserve">Returns the default group leader window for all toplevel windows
on @display. This window is implicitly created by GDK.
See gdk_window_set_group().</doc>
        <return-value>
          <doc xml:space="preserve">The default group leader window for @display</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_default_screen"
              c:identifier="gdk_display_get_default_screen"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Get the default #GdkScreen for @display.</doc>
        <return-value>
          <doc xml:space="preserve">the default #GdkScreen object for @display</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_event"
              c:identifier="gdk_display_get_event"
              version="2.2">
        <doc xml:space="preserve">Gets the next #GdkEvent to be processed for @display, fetching events from the
windowing system if necessary.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the next #GdkEvent to be processed, or %NULL if no events
are pending. The returned #GdkEvent should be freed with gdk_event_free().</doc>
          <type name="Event" c:type="GdkEvent*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_maximal_cursor_size"
              c:identifier="gdk_display_get_maximal_cursor_size"
              version="2.4">
        <doc xml:space="preserve">Gets the maximal size to use for cursors on @display.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">the return location for the maximal cursor width</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">the return location for the maximal cursor height</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_n_screens"
              c:identifier="gdk_display_get_n_screens"
              version="2.2">
        <doc xml:space="preserve">Gets the number of screen managed by the @display.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">number of screens.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="gdk_display_get_name"
              version="2.2">
        <doc xml:space="preserve">Gets the name of the display.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a string representing the display name. This string is owned
by GDK and should not be modified or freed.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pointer"
              c:identifier="gdk_display_get_pointer"
              version="2.2">
        <doc xml:space="preserve">Gets the current location of the pointer and the current modifier
mask for a given display.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="screen"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store the screen that the
         cursor is on, or %NULL.</doc>
            <type name="Screen" c:type="GdkScreen**"/>
          </parameter>
          <parameter name="x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store root window X coordinate of pointer, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store root window Y coordinate of pointer, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store current modifier mask, or %NULL</doc>
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_screen"
              c:identifier="gdk_display_get_screen"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Returns a screen object for one of the screens of the display.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkScreen object</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="screen_num" transfer-ownership="none">
            <doc xml:space="preserve">the screen number</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_window_at_pointer"
              c:identifier="gdk_display_get_window_at_pointer"
              version="2.2">
        <doc xml:space="preserve">Obtains the window underneath the mouse pointer, returning the location
of the pointer in that window in @win_x, @win_y for @screen. Returns %NULL
if the window under the mouse pointer is not known to GDK (for example,
belongs to another application).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the window under the mouse pointer, or %NULL</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="win_x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for x coordinate of the pointer location relative
   to the window origin, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="win_y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for y coordinate of the pointer location relative
 &amp;    to the window origin, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_closed"
              c:identifier="gdk_display_is_closed"
              version="2.22">
        <doc xml:space="preserve">Finds out if the display has been closed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the display is closed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="keyboard_ungrab"
              c:identifier="gdk_display_keyboard_ungrab"
              version="2.2">
        <doc xml:space="preserve">Release any keyboard grab</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay.</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="time_" transfer-ownership="none">
            <doc xml:space="preserve">a timestap (e.g #GDK_CURRENT_TIME).</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="list_devices"
              c:identifier="gdk_display_list_devices"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Returns the list of available input devices attached to @display.
The list is statically allocated and should not be freed.</doc>
        <return-value>
          <doc xml:space="preserve">a list of #GdkDevice</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="peek_event"
              c:identifier="gdk_display_peek_event"
              version="2.2">
        <doc xml:space="preserve">Gets a copy of the first #GdkEvent in the @display's event queue, without
removing the event from the queue.  (Note that this function will
not get more events from the windowing system.  It only checks the events
that have already been moved to the GDK event queue.)</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a copy of the first #GdkEvent on the event queue, or %NULL
if no events are in the queue. The returned #GdkEvent should be freed with
gdk_event_free().</doc>
          <type name="Event" c:type="GdkEvent*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pointer_is_grabbed"
              c:identifier="gdk_display_pointer_is_grabbed"
              version="2.2">
        <doc xml:space="preserve">Test if the pointer is grabbed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if an active X pointer grab is in effect</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="pointer_ungrab"
              c:identifier="gdk_display_pointer_ungrab"
              version="2.2">
        <doc xml:space="preserve">Release any pointer grab.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay.</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="time_" transfer-ownership="none">
            <doc xml:space="preserve">a timestap (e.g. %GDK_CURRENT_TIME).</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="put_event"
              c:identifier="gdk_display_put_event"
              version="2.2">
        <doc xml:space="preserve">Appends a copy of the given event onto the front of the event
queue for @display.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent.</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="request_selection_notification"
              c:identifier="gdk_display_request_selection_notification"
              version="2.6">
        <doc xml:space="preserve">Request #GdkEventOwnerChange events for ownership changes
of the selection named by the given atom.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether #GdkEventOwnerChange events will
              be sent.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="selection" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkAtom naming the selection for which
            ownership change notification is requested</doc>
            <type name="Atom" c:type="GdkAtom"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_double_click_distance"
              c:identifier="gdk_display_set_double_click_distance"
              version="2.4">
        <doc xml:space="preserve">Sets the double click distance (two clicks within this distance
count as a double click and result in a #GDK_2BUTTON_PRESS event).
See also gdk_display_set_double_click_time().
Applications should &lt;emphasis&gt;not&lt;/emphasis&gt; set this, it is a global
user-configured setting.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="distance" transfer-ownership="none">
            <doc xml:space="preserve">distance in pixels</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_double_click_time"
              c:identifier="gdk_display_set_double_click_time"
              version="2.2">
        <doc xml:space="preserve">Sets the double click time (two clicks within this time interval
count as a double click and result in a #GDK_2BUTTON_PRESS event).
Applications should &lt;emphasis&gt;not&lt;/emphasis&gt; set this, it is a global
user-configured setting.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="msec" transfer-ownership="none">
            <doc xml:space="preserve">double click time in milliseconds (thousandths of a second)</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_pointer_hooks"
              c:identifier="gdk_display_set_pointer_hooks"
              version="2.2"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
        <doc xml:space="preserve">This function allows for hooking into the operation
of getting the current location of the pointer on a particular
display. This is only useful for such low-level tools as an
event recorder. Applications should never have any
reason to use this facility.</doc>
        <doc-deprecated xml:space="preserve">This function will go away in GTK 3 for lack of use cases.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the previous pointer hook table</doc>
          <type name="DisplayPointerHooks" c:type="GdkDisplayPointerHooks*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="new_hooks" transfer-ownership="none">
            <doc xml:space="preserve">a table of pointers to functions for getting
  quantities related to the current pointer position,
  or %NULL to restore the default table.</doc>
            <type name="DisplayPointerHooks"
                  c:type="const GdkDisplayPointerHooks*"/>
          </parameter>
        </parameters>
      </method>
      <method name="store_clipboard"
              c:identifier="gdk_display_store_clipboard"
              version="2.6">
        <doc xml:space="preserve">Issues a request to the clipboard manager to store the
clipboard data. On X11, this is a special program that works
according to the freedesktop clipboard specification, available at
&lt;ulink url="http://www.freedesktop.org/Standards/clipboard-manager-spec"&gt;
http://www.freedesktop.org/Standards/clipboard-manager-spec&lt;/ulink&gt;.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="clipboard_window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow belonging to the clipboard owner</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
          <parameter name="time_" transfer-ownership="none">
            <doc xml:space="preserve">a timestamp</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
          <parameter name="targets" transfer-ownership="none">
            <doc xml:space="preserve">an array of targets that should be saved, or %NULL
                   if all available targets should be saved.</doc>
            <type name="Atom" c:type="const GdkAtom*"/>
          </parameter>
          <parameter name="n_targets" transfer-ownership="none">
            <doc xml:space="preserve">length of the @targets array</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="supports_clipboard_persistence"
              c:identifier="gdk_display_supports_clipboard_persistence"
              version="2.6">
        <doc xml:space="preserve">Returns whether the speicifed display supports clipboard
persistance; i.e. if it's possible to store the clipboard data after an
application has quit. On X11 this checks if a clipboard daemon is
running.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the display supports clipboard persistance.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="supports_composite"
              c:identifier="gdk_display_supports_composite"
              version="2.12">
        <doc xml:space="preserve">Returns %TRUE if gdk_window_set_composited() can be used
to redirect drawing on the window using compositing.

Currently this only works on X11 with XComposite and
XDamage extensions available.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if windows may be composited.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="supports_cursor_alpha"
              c:identifier="gdk_display_supports_cursor_alpha"
              version="2.4">
        <doc xml:space="preserve">Returns %TRUE if cursors can use an 8bit alpha channel
on @display. Otherwise, cursors are restricted to bilevel
alpha (i.e. a mask).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether cursors can have alpha channels.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="supports_cursor_color"
              c:identifier="gdk_display_supports_cursor_color"
              version="2.4">
        <doc xml:space="preserve">Returns %TRUE if multicolored cursors are supported
on @display. Otherwise, cursors have only a forground
and a background color.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether cursors can have multiple colors.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="supports_input_shapes"
              c:identifier="gdk_display_supports_input_shapes"
              version="2.10">
        <doc xml:space="preserve">Returns %TRUE if gdk_window_input_shape_combine_mask() can
be used to modify the input shape of windows on @display.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if windows with modified input shape are supported</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="supports_selection_notification"
              c:identifier="gdk_display_supports_selection_notification"
              version="2.6">
        <doc xml:space="preserve">Returns whether #GdkEventOwnerChange events will be
sent when the owner of a selection changes.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether #GdkEventOwnerChange events will
              be sent.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="supports_shapes"
              c:identifier="gdk_display_supports_shapes"
              version="2.10">
        <doc xml:space="preserve">Returns %TRUE if gdk_window_shape_combine_mask() can
be used to create shaped windows on @display.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if shaped windows are supported</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="sync" c:identifier="gdk_display_sync" version="2.2">
        <doc xml:space="preserve">Flushes any requests queued for the windowing system and waits until all
requests have been handled. This is often used for making sure that the
display is synchronized with the current state of the program. Calling
gdk_display_sync() before gdk_error_trap_pop() makes sure that any errors
generated from earlier requests are handled before the error trap is
removed.

This is most useful for X11. On windowing systems where requests are
handled synchronously, this function will do nothing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="warp_pointer"
              c:identifier="gdk_display_warp_pointer"
              version="2.8">
        <doc xml:space="preserve">Warps the pointer of @display to the point @x,@y on
the screen @screen, unless the pointer is confined
to a window by a grab, in which case it will be moved
as far as allowed by the grab. Warping the pointer
creates events as if the user had moved the mouse
instantaneously to the destination.

Note that the pointer should normally be under the
control of the user. This function was added to cover
some rare use cases like keyboard navigation support
for the color picker in the #GtkColorSelectionDialog.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </instance-parameter>
          <parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">the screen of @display to warp the pointer to</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">the x coordinate of the destination</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">the y coordinate of the destination</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="queued_events" readable="0" private="1">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="queued_tail" readable="0" private="1">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="button_click_time" readable="0" private="1">
        <array zero-terminated="0" c:type="guint32" fixed-size="2">
          <type name="guint32" c:type="guint32"/>
        </array>
      </field>
      <field name="button_window" readable="0" private="1">
        <array zero-terminated="0" c:type="GdkWindow" fixed-size="2">
          <type name="Window" c:type="GdkWindow*"/>
        </array>
      </field>
      <field name="button_number" readable="0" private="1">
        <array zero-terminated="0" c:type="gint" fixed-size="2">
          <type name="gint" c:type="gint"/>
        </array>
      </field>
      <field name="double_click_time" readable="0" private="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="core_pointer" readable="0" private="1">
        <type name="Device" c:type="GdkDevice*"/>
      </field>
      <field name="pointer_hooks" readable="0" private="1">
        <type name="DisplayPointerHooks"
              c:type="const GdkDisplayPointerHooks*"/>
      </field>
      <field name="closed" readable="0" bits="1" private="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="ignore_core_events" readable="0" bits="1" private="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="double_click_distance" readable="0" private="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="button_x" readable="0" private="1">
        <array zero-terminated="0" c:type="gint" fixed-size="2">
          <type name="gint" c:type="gint"/>
        </array>
      </field>
      <field name="button_y" readable="0" private="1">
        <array zero-terminated="0" c:type="gint" fixed-size="2">
          <type name="gint" c:type="gint"/>
        </array>
      </field>
      <field name="pointer_grabs" readable="0" private="1">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="keyboard_grab" readable="0" private="1">
        <type name="KeyboardGrabInfo" c:type="GdkKeyboardGrabInfo"/>
      </field>
      <field name="pointer_info" readable="0" private="1">
        <type name="PointerWindowInfo" c:type="GdkPointerWindowInfo"/>
      </field>
      <field name="last_event_time" readable="0" private="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <glib:signal name="closed" when="last" version="2.2">
        <doc xml:space="preserve">The ::closed signal is emitted when the connection to the windowing
system for @display is closed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="is_error" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the display was closed due to an error</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="DisplayClass"
            c:type="GdkDisplayClass"
            glib:is-gtype-struct-for="Display">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="get_display_name">
        <callback name="get_display_name">
          <return-value transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_n_screens">
        <callback name="get_n_screens">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">number of screens.</doc>
            <type name="gint" c:type="gint"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDisplay</doc>
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_screen" introspectable="0">
        <callback name="get_screen" introspectable="0">
          <return-value>
            <doc xml:space="preserve">the #GdkScreen object</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDisplay</doc>
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
            <parameter name="screen_num" transfer-ownership="none">
              <doc xml:space="preserve">the screen number</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_default_screen" introspectable="0">
        <callback name="get_default_screen" introspectable="0">
          <return-value>
            <doc xml:space="preserve">the default #GdkScreen object for @display</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDisplay</doc>
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="closed">
        <callback name="closed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
            <parameter name="is_error" transfer-ownership="none">
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <class name="DisplayManager"
           c:symbol-prefix="display_manager"
           c:type="GdkDisplayManager"
           parent="GObject.Object"
           glib:type-name="GdkDisplayManager"
           glib:get-type="gdk_display_manager_get_type"
           glib:type-struct="DisplayManagerClass">
      <function name="get"
                c:identifier="gdk_display_manager_get"
                version="2.2">
        <doc xml:space="preserve">Gets the singleton #GdkDisplayManager object.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The global #GdkDisplayManager singleton; gdk_parse_pargs(),
gdk_init(), or gdk_init_check() must have been called first.</doc>
          <type name="DisplayManager" c:type="GdkDisplayManager*"/>
        </return-value>
      </function>
      <virtual-method name="display_opened">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display_manager" transfer-ownership="none">
            <type name="DisplayManager" c:type="GdkDisplayManager*"/>
          </instance-parameter>
          <parameter name="display" transfer-ownership="none">
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_default_display"
              c:identifier="gdk_display_manager_get_default_display"
              version="2.2">
        <doc xml:space="preserve">Gets the default #GdkDisplay.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDisplay, or %NULL if there is no default
  display.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
        <parameters>
          <instance-parameter name="display_manager" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplayManager</doc>
            <type name="DisplayManager" c:type="GdkDisplayManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_displays"
              c:identifier="gdk_display_manager_list_displays"
              version="2.2">
        <doc xml:space="preserve">List all currently open displays.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">a newly allocated
#GSList of #GdkDisplay objects. Free this list with g_slist_free() when you
are done with it.</doc>
          <type name="GLib.SList" c:type="GSList*">
            <type name="Display"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="display_manager" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplayManager</doc>
            <type name="DisplayManager" c:type="GdkDisplayManager*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_default_display"
              c:identifier="gdk_display_manager_set_default_display"
              version="2.2">
        <doc xml:space="preserve">Sets @display as the default display.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="display_manager" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplayManager</doc>
            <type name="DisplayManager" c:type="GdkDisplayManager*"/>
          </instance-parameter>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDisplay</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
        </parameters>
      </method>
      <property name="default-display" writable="1" transfer-ownership="none">
        <type name="Display"/>
      </property>
      <glib:signal name="display-opened" when="last" version="2.2">
        <doc xml:space="preserve">The ::display_opened signal is emitted when a display is opened.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the opened display</doc>
            <type name="Display"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="DisplayManagerClass"
            c:type="GdkDisplayManagerClass"
            glib:is-gtype-struct-for="DisplayManager">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="display_opened">
        <callback name="display_opened">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="display_manager" transfer-ownership="none">
              <type name="DisplayManager" c:type="GdkDisplayManager*"/>
            </parameter>
            <parameter name="display" transfer-ownership="none">
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="DisplayPointerHooks" c:type="GdkDisplayPointerHooks">
      <field name="get_pointer">
        <callback name="get_pointer">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
            <parameter name="screen" transfer-ownership="none">
              <type name="Screen" c:type="GdkScreen**"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="mask" transfer-ownership="none">
              <type name="ModifierType" c:type="GdkModifierType*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="window_get_pointer" introspectable="0">
        <callback name="window_get_pointer" introspectable="0">
          <return-value>
            <type name="Window" c:type="GdkWindow*"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
            <parameter name="window" transfer-ownership="none">
              <type name="Window" c:type="GdkWindow*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="mask" transfer-ownership="none">
              <type name="ModifierType" c:type="GdkModifierType*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="window_at_pointer" introspectable="0">
        <callback name="window_at_pointer" introspectable="0">
          <return-value>
            <type name="Window" c:type="GdkWindow*"/>
          </return-value>
          <parameters>
            <parameter name="display" transfer-ownership="none">
              <type name="Display" c:type="GdkDisplay*"/>
            </parameter>
            <parameter name="win_x" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="win_y" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <bitfield name="DragAction"
              glib:type-name="GdkDragAction"
              glib:get-type="gdk_drag_action_get_type"
              c:type="GdkDragAction">
      <member name="default"
              value="1"
              c:identifier="GDK_ACTION_DEFAULT"
              glib:nick="default">
      </member>
      <member name="copy"
              value="2"
              c:identifier="GDK_ACTION_COPY"
              glib:nick="copy">
      </member>
      <member name="move"
              value="4"
              c:identifier="GDK_ACTION_MOVE"
              glib:nick="move">
      </member>
      <member name="link"
              value="8"
              c:identifier="GDK_ACTION_LINK"
              glib:nick="link">
      </member>
      <member name="private"
              value="16"
              c:identifier="GDK_ACTION_PRIVATE"
              glib:nick="private">
      </member>
      <member name="ask"
              value="32"
              c:identifier="GDK_ACTION_ASK"
              glib:nick="ask">
      </member>
    </bitfield>
    <class name="DragContext"
           c:symbol-prefix="drag_context"
           c:type="GdkDragContext"
           parent="GObject.Object"
           glib:type-name="GdkDragContext"
           glib:get-type="gdk_drag_context_get_type"
           glib:type-struct="DragContextClass">
      <constructor name="new"
                   c:identifier="gdk_drag_context_new"
                   deprecated="1"
                   deprecated-version="2.24">
        <doc xml:space="preserve">Creates a new #GdkDragContext.</doc>
        <doc-deprecated xml:space="preserve">This function is not useful, you always
  obtain drag contexts by gdk_drag_begin() or similar.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly created #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </return-value>
      </constructor>
      <method name="get_actions"
              c:identifier="gdk_drag_context_get_actions"
              version="2.22">
        <doc xml:space="preserve">Determines the bitmask of actions proposed by the source if
gdk_drag_context_suggested_action() returns GDK_ACTION_ASK.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDragAction flags</doc>
          <type name="DragAction" c:type="GdkDragAction"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_dest_window"
              c:identifier="gdk_drag_context_get_dest_window"
              version="2.24">
        <doc xml:space="preserve">Returns the destination windw for the DND operation.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_protocol"
              c:identifier="gdk_drag_context_get_protocol"
              version="2.24">
        <doc xml:space="preserve">Returns the drag protocol thats used by this context.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the drag protocol</doc>
          <type name="DragProtocol" c:type="GdkDragProtocol"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_selected_action"
              c:identifier="gdk_drag_context_get_selected_action"
              version="2.22">
        <doc xml:space="preserve">Determines the action chosen by the drag destination.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragAction value</doc>
          <type name="DragAction" c:type="GdkDragAction"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_source_window"
              c:identifier="gdk_drag_context_get_source_window"
              version="2.22">
        <doc xml:space="preserve">Returns the #GdkWindow where the DND operation started.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_suggested_action"
              c:identifier="gdk_drag_context_get_suggested_action"
              version="2.22">
        <doc xml:space="preserve">Determines the suggested drag action of the context.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragAction value</doc>
          <type name="DragAction" c:type="GdkDragAction"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_targets"
              c:identifier="gdk_drag_context_list_targets"
              version="2.22">
        <doc xml:space="preserve">Retrieves the list of targets of the context.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GList of targets</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Atom"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref"
              c:identifier="gdk_drag_context_ref"
              deprecated="1"
              deprecated-version="2.2">
        <doc xml:space="preserve">Deprecated function; use g_object_ref() instead.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_ref() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext.</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref"
              c:identifier="gdk_drag_context_unref"
              deprecated="1"
              deprecated-version="2.2">
        <doc xml:space="preserve">Deprecated function; use g_object_unref() instead.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_unref() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="context" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDragContext.</doc>
            <type name="DragContext" c:type="GdkDragContext*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="protocol">
        <type name="DragProtocol" c:type="GdkDragProtocol"/>
      </field>
      <field name="is_source">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="source_window">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="dest_window">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="targets">
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <field name="actions">
        <type name="DragAction" c:type="GdkDragAction"/>
      </field>
      <field name="suggested_action">
        <type name="DragAction" c:type="GdkDragAction"/>
      </field>
      <field name="action">
        <type name="DragAction" c:type="GdkDragAction"/>
      </field>
      <field name="start_time">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="windowing_data" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
    </class>
    <record name="DragContextClass"
            c:type="GdkDragContextClass"
            glib:is-gtype-struct-for="DragContext">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="DragProtocol"
                 glib:type-name="GdkDragProtocol"
                 glib:get-type="gdk_drag_protocol_get_type"
                 c:type="GdkDragProtocol">
      <member name="motif"
              value="0"
              c:identifier="GDK_DRAG_PROTO_MOTIF"
              glib:nick="motif">
      </member>
      <member name="xdnd"
              value="1"
              c:identifier="GDK_DRAG_PROTO_XDND"
              glib:nick="xdnd">
      </member>
      <member name="rootwin"
              value="2"
              c:identifier="GDK_DRAG_PROTO_ROOTWIN"
              glib:nick="rootwin">
      </member>
      <member name="none"
              value="3"
              c:identifier="GDK_DRAG_PROTO_NONE"
              glib:nick="none">
      </member>
      <member name="win32_dropfiles"
              value="4"
              c:identifier="GDK_DRAG_PROTO_WIN32_DROPFILES"
              glib:nick="win32-dropfiles">
      </member>
      <member name="ole2"
              value="5"
              c:identifier="GDK_DRAG_PROTO_OLE2"
              glib:nick="ole2">
      </member>
      <member name="local"
              value="6"
              c:identifier="GDK_DRAG_PROTO_LOCAL"
              glib:nick="local">
      </member>
    </enumeration>
    <class name="Drawable"
           c:symbol-prefix="drawable"
           c:type="GdkDrawable"
           parent="GObject.Object"
           abstract="1"
           glib:type-name="GdkDrawable"
           glib:get-type="gdk_drawable_get_type"
           glib:type-struct="DrawableClass">
      <virtual-method name="_copy_to_image" introspectable="0">
        <return-value>
          <type name="Image" c:type="GdkImage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="image" transfer-ownership="none">
            <type name="Image" c:type="GdkImage*"/>
          </parameter>
          <parameter name="src_x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="src_y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="create_cairo_surface">
        <return-value transfer-ownership="full">
          <type name="cairo.Surface" c:type="cairo_surface_t*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="create_gc" introspectable="0">
        <return-value>
          <type name="GC" c:type="GdkGC*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="values" transfer-ownership="none">
            <type name="GCValues" c:type="GdkGCValues*"/>
          </parameter>
          <parameter name="mask" transfer-ownership="none">
            <type name="GCValuesMask" c:type="GdkGCValuesMask"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_arc">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="filled" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="angle1" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="angle2" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_drawable">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="src" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="xsrc" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="ysrc" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="xdest" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="ydest" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_drawable_with_src">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="src" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="xsrc" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="ysrc" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="xdest" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="ydest" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="original_src" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_glyphs">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="font" transfer-ownership="none">
            <type name="Pango.Font" c:type="PangoFont*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="glyphs" transfer-ownership="none">
            <type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_glyphs_transformed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="matrix" transfer-ownership="none">
            <type name="Pango.Matrix" c:type="PangoMatrix*"/>
          </parameter>
          <parameter name="font" transfer-ownership="none">
            <type name="Pango.Font" c:type="PangoFont*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="glyphs" transfer-ownership="none">
            <type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_image">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="image" transfer-ownership="none">
            <type name="Image" c:type="GdkImage*"/>
          </parameter>
          <parameter name="xsrc" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="ysrc" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="xdest" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="ydest" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_lines">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="points" transfer-ownership="none">
            <type name="Point" c:type="GdkPoint*"/>
          </parameter>
          <parameter name="npoints" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_pixbuf">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="pixbuf" transfer-ownership="none">
            <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
          </parameter>
          <parameter name="src_x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="src_y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dither" transfer-ownership="none">
            <type name="RgbDither" c:type="GdkRgbDither"/>
          </parameter>
          <parameter name="x_dither" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y_dither" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_points">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="points" transfer-ownership="none">
            <type name="Point" c:type="GdkPoint*"/>
          </parameter>
          <parameter name="npoints" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_polygon">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="filled" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="points" transfer-ownership="none">
            <type name="Point" c:type="GdkPoint*"/>
          </parameter>
          <parameter name="npoints" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_rectangle">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="filled" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_segments">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="segs" transfer-ownership="none">
            <type name="Segment" c:type="GdkSegment*"/>
          </parameter>
          <parameter name="nsegs" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_text">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="font" transfer-ownership="none">
            <type name="Font" c:type="GdkFont*"/>
          </parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="text" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="text_length" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_text_wc">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="font" transfer-ownership="none">
            <type name="Font" c:type="GdkFont*"/>
          </parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="text" transfer-ownership="none">
            <type name="WChar" c:type="const GdkWChar*"/>
          </parameter>
          <parameter name="text_length" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="draw_trapezoids">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="gc" transfer-ownership="none">
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
          <parameter name="trapezoids" transfer-ownership="none">
            <type name="Trapezoid" c:type="GdkTrapezoid*"/>
          </parameter>
          <parameter name="n_trapezoids" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_clip_region"
                      invoker="get_clip_region"
                      introspectable="0">
        <doc xml:space="preserve">Computes the region of a drawable that potentially can be written
to by drawing primitives. This region will not take into account
the clip region for the GC, and may also not take into account
other factors such as if the window is obscured by other windows,
but no area outside of this region will be affected by drawing
primitives.</doc>
        <return-value>
          <doc xml:space="preserve">a #GdkRegion. This must be freed with gdk_region_destroy()
         when you are done.</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_colormap"
                      invoker="get_colormap"
                      introspectable="0">
        <doc xml:space="preserve">Gets the colormap for @drawable, if one is set; returns
%NULL otherwise.</doc>
        <return-value>
          <doc xml:space="preserve">the colormap, or %NULL</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_composite_drawable" introspectable="0">
        <return-value>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="composite_x_offset" transfer-ownership="none">
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="composite_y_offset" transfer-ownership="none">
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_depth" invoker="get_depth">
        <doc xml:space="preserve">Obtains the bit depth of the drawable, that is, the number of bits
that make up a pixel in the drawable's visual. Examples are 8 bits
per pixel, 24 bits per pixel, etc.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">number of bits per pixel</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_image"
                      invoker="get_image"
                      introspectable="0"
                      deprecated="1"
                      deprecated-version="2.22">
        <doc xml:space="preserve">A #GdkImage stores client-side image data (pixels). In contrast,
#GdkPixmap and #GdkWindow are server-side
objects. gdk_drawable_get_image() obtains the pixels from a
server-side drawable as a client-side #GdkImage.  The format of a
#GdkImage depends on the #GdkVisual of the current display, which
makes manipulating #GdkImage extremely difficult; therefore, in
most cases you should use gdk_pixbuf_get_from_drawable() instead of
this lower-level function. A #GdkPixbuf contains image data in a
canonicalized RGB format, rather than a display-dependent format.
Of course, there's a convenience vs. speed tradeoff here, so you'll
want to think about what makes sense for your application.

@x, @y, @width, and @height define the region of @drawable to
obtain as an image.

You would usually copy image data to the client side if you intend
to examine the values of individual pixels, for example to darken
an image or add a red tint. It would be prohibitively slow to
make a round-trip request to the windowing system for each pixel,
so instead you get all of them at once, modify them, then copy
them all back at once.

If the X server or other windowing system backend is on the local
machine, this function may use shared memory to avoid copying
the image data.

If the source drawable is a #GdkWindow and partially offscreen
or obscured, then the obscured portions of the returned image
will contain undefined data.</doc>
        <doc-deprecated xml:space="preserve">Use @drawable as the source and draw to a Cairo image
surface if you want to download contents to the client.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">a #GdkImage containing the contents of @drawable</doc>
          <type name="Image" c:type="GdkImage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate on @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate on @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of region to get</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height or region to get</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_screen"
                      invoker="get_screen"
                      version="2.2"
                      introspectable="0"
                      deprecated="1"
                      deprecated-version="2.24">
        <doc xml:space="preserve">Gets the #GdkScreen associated with a #GdkDrawable.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_get_screen() instead</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the #GdkScreen associated with @drawable</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_size"
                      invoker="get_size"
                      deprecated="1"
                      deprecated-version="2.24">
        <doc xml:space="preserve">Fills *@width and *@height with the size of @drawable.
@width or @height can be %NULL if you only want the other one.

On the X11 platform, if @drawable is a #GdkWindow, the returned
size is the size reported in the most-recently-processed configure
event, rather than the current size on the X server.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_get_width() and gdk_window_get_height() for
            #GdkWindows. Use gdk_pixmap_get_size() for #GdkPixmaps.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store drawable's width, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store drawable's height, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_source_drawable" introspectable="0">
        <return-value>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_visible_region"
                      invoker="get_visible_region"
                      introspectable="0">
        <doc xml:space="preserve">Computes the region of a drawable that is potentially visible.
This does not necessarily take into account if the window is
obscured by other windows, but no area outside of this region
is visible.</doc>
        <return-value>
          <doc xml:space="preserve">a #GdkRegion. This must be freed with gdk_region_destroy()
         when you are done.</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="get_visual"
                      invoker="get_visual"
                      introspectable="0"
                      deprecated="1"
                      deprecated-version="2.24">
        <doc xml:space="preserve">Gets the #GdkVisual describing the pixel format of @drawable.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_get_visual()</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">a #GdkVisual</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="ref_cairo_surface">
        <return-value transfer-ownership="full">
          <type name="cairo.Surface" c:type="cairo_surface_t*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_cairo_clip">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="cr" transfer-ownership="none">
            <type name="cairo.Context" c:type="cairo_t*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_colormap" invoker="set_colormap">
        <doc xml:space="preserve">Sets the colormap associated with @drawable. Normally this will
happen automatically when the drawable is created; you only need to
use this function if the drawable-creating function did not have a
way to determine the colormap, and you then use drawable operations
that require a colormap. The colormap for all drawables and
graphics contexts you intend to use together should match. i.e.
when using a #GdkGC to draw to a drawable, or copying one drawable
to another, the colormaps should match.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="cmap" transfer-ownership="none">
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="copy_to_image"
              c:identifier="gdk_drawable_copy_to_image"
              version="2.4"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Copies a portion of @drawable into the client side image structure
@image. If @image is %NULL, creates a new image of size @width x @height
and copies into that. See gdk_drawable_get_image() for further details.</doc>
        <doc-deprecated xml:space="preserve">Use @drawable as the source and draw to a Cairo image
surface if you want to download contents to the client.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">@image, or a new a #GdkImage containing the contents
              of @drawable</doc>
          <type name="Image" c:type="GdkImage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="image"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GdkDrawable, or %NULL if a new @image should be created.</doc>
            <type name="Image" c:type="GdkImage*"/>
          </parameter>
          <parameter name="src_x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate on @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="src_y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate on @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate within @image. Must be 0 if @image is %NULL</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate within @image. Must be 0 if @image is %NULL</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of region to get</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height or region to get</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_clip_region"
              c:identifier="gdk_drawable_get_clip_region"
              introspectable="0">
        <doc xml:space="preserve">Computes the region of a drawable that potentially can be written
to by drawing primitives. This region will not take into account
the clip region for the GC, and may also not take into account
other factors such as if the window is obscured by other windows,
but no area outside of this region will be affected by drawing
primitives.</doc>
        <return-value>
          <doc xml:space="preserve">a #GdkRegion. This must be freed with gdk_region_destroy()
         when you are done.</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_colormap"
              c:identifier="gdk_drawable_get_colormap"
              introspectable="0">
        <doc xml:space="preserve">Gets the colormap for @drawable, if one is set; returns
%NULL otherwise.</doc>
        <return-value>
          <doc xml:space="preserve">the colormap, or %NULL</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_data"
              c:identifier="gdk_drawable_get_data"
              introspectable="0">
        <doc xml:space="preserve">Equivalent to g_object_get_data(); the #GObject variant should be
used instead.</doc>
        <return-value>
          <doc xml:space="preserve">the data stored at @key</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">name the data was stored under</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_depth" c:identifier="gdk_drawable_get_depth">
        <doc xml:space="preserve">Obtains the bit depth of the drawable, that is, the number of bits
that make up a pixel in the drawable's visual. Examples are 8 bits
per pixel, 24 bits per pixel, etc.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">number of bits per pixel</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_display"
              c:identifier="gdk_drawable_get_display"
              version="2.2"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
        <doc xml:space="preserve">Gets the #GdkDisplay associated with a #GdkDrawable.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_get_display() instead</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the #GdkDisplay associated with @drawable</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_image"
              c:identifier="gdk_drawable_get_image"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">A #GdkImage stores client-side image data (pixels). In contrast,
#GdkPixmap and #GdkWindow are server-side
objects. gdk_drawable_get_image() obtains the pixels from a
server-side drawable as a client-side #GdkImage.  The format of a
#GdkImage depends on the #GdkVisual of the current display, which
makes manipulating #GdkImage extremely difficult; therefore, in
most cases you should use gdk_pixbuf_get_from_drawable() instead of
this lower-level function. A #GdkPixbuf contains image data in a
canonicalized RGB format, rather than a display-dependent format.
Of course, there's a convenience vs. speed tradeoff here, so you'll
want to think about what makes sense for your application.

@x, @y, @width, and @height define the region of @drawable to
obtain as an image.

You would usually copy image data to the client side if you intend
to examine the values of individual pixels, for example to darken
an image or add a red tint. It would be prohibitively slow to
make a round-trip request to the windowing system for each pixel,
so instead you get all of them at once, modify them, then copy
them all back at once.

If the X server or other windowing system backend is on the local
machine, this function may use shared memory to avoid copying
the image data.

If the source drawable is a #GdkWindow and partially offscreen
or obscured, then the obscured portions of the returned image
will contain undefined data.</doc>
        <doc-deprecated xml:space="preserve">Use @drawable as the source and draw to a Cairo image
surface if you want to download contents to the client.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">a #GdkImage containing the contents of @drawable</doc>
          <type name="Image" c:type="GdkImage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate on @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate on @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of region to get</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height or region to get</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_screen"
              c:identifier="gdk_drawable_get_screen"
              version="2.2"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
        <doc xml:space="preserve">Gets the #GdkScreen associated with a #GdkDrawable.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_get_screen() instead</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the #GdkScreen associated with @drawable</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="gdk_drawable_get_size"
              deprecated="1"
              deprecated-version="2.24">
        <doc xml:space="preserve">Fills *@width and *@height with the size of @drawable.
@width or @height can be %NULL if you only want the other one.

On the X11 platform, if @drawable is a #GdkWindow, the returned
size is the size reported in the most-recently-processed configure
event, rather than the current size on the X server.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_get_width() and gdk_window_get_height() for
            #GdkWindows. Use gdk_pixmap_get_size() for #GdkPixmaps.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store drawable's width, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store drawable's height, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_visible_region"
              c:identifier="gdk_drawable_get_visible_region"
              introspectable="0">
        <doc xml:space="preserve">Computes the region of a drawable that is potentially visible.
This does not necessarily take into account if the window is
obscured by other windows, but no area outside of this region
is visible.</doc>
        <return-value>
          <doc xml:space="preserve">a #GdkRegion. This must be freed with gdk_region_destroy()
         when you are done.</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_visual"
              c:identifier="gdk_drawable_get_visual"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
        <doc xml:space="preserve">Gets the #GdkVisual describing the pixel format of @drawable.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_window_get_visual()</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">a #GdkVisual</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref"
              c:identifier="gdk_drawable_ref"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Deprecated equivalent of calling g_object_ref() on @drawable.
(Drawables were not objects in previous versions of GDK.)</doc>
        <doc-deprecated xml:space="preserve">Use g_object_ref() instead.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the same @drawable passed in</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_colormap" c:identifier="gdk_drawable_set_colormap">
        <doc xml:space="preserve">Sets the colormap associated with @drawable. Normally this will
happen automatically when the drawable is created; you only need to
use this function if the drawable-creating function did not have a
way to determine the colormap, and you then use drawable operations
that require a colormap. The colormap for all drawables and
graphics contexts you intend to use together should match. i.e.
when using a #GdkGC to draw to a drawable, or copying one drawable
to another, the colormaps should match.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_data" c:identifier="gdk_drawable_set_data">
        <doc xml:space="preserve">This function is equivalent to g_object_set_data(),
the #GObject variant should be used instead.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">name to store the data under</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">arbitrary data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="destroy_func"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async">
            <doc xml:space="preserve">function to free @data, or %NULL</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </method>
      <method name="unref"
              c:identifier="gdk_drawable_unref"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Deprecated equivalent of calling g_object_unref() on @drawable.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_unref() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="DrawableClass"
            c:type="GdkDrawableClass"
            glib:is-gtype-struct-for="Drawable">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="create_gc" introspectable="0">
        <callback name="create_gc" introspectable="0">
          <return-value>
            <type name="GC" c:type="GdkGC*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="values" transfer-ownership="none">
              <type name="GCValues" c:type="GdkGCValues*"/>
            </parameter>
            <parameter name="mask" transfer-ownership="none">
              <type name="GCValuesMask" c:type="GdkGCValuesMask"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_rectangle">
        <callback name="draw_rectangle">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="filled" transfer-ownership="none">
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_arc">
        <callback name="draw_arc">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="filled" transfer-ownership="none">
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="angle1" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="angle2" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_polygon">
        <callback name="draw_polygon">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="filled" transfer-ownership="none">
              <type name="gboolean" c:type="gboolean"/>
            </parameter>
            <parameter name="points" transfer-ownership="none">
              <type name="Point" c:type="GdkPoint*"/>
            </parameter>
            <parameter name="npoints" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_text">
        <callback name="draw_text">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="font" transfer-ownership="none">
              <type name="Font" c:type="GdkFont*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="text" transfer-ownership="none">
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
            <parameter name="text_length" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_text_wc">
        <callback name="draw_text_wc">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="font" transfer-ownership="none">
              <type name="Font" c:type="GdkFont*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="text" transfer-ownership="none">
              <type name="WChar" c:type="const GdkWChar*"/>
            </parameter>
            <parameter name="text_length" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_drawable">
        <callback name="draw_drawable">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="src" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="xsrc" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="ysrc" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="xdest" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="ydest" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_points">
        <callback name="draw_points">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="points" transfer-ownership="none">
              <type name="Point" c:type="GdkPoint*"/>
            </parameter>
            <parameter name="npoints" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_segments">
        <callback name="draw_segments">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="segs" transfer-ownership="none">
              <type name="Segment" c:type="GdkSegment*"/>
            </parameter>
            <parameter name="nsegs" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_lines">
        <callback name="draw_lines">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="points" transfer-ownership="none">
              <type name="Point" c:type="GdkPoint*"/>
            </parameter>
            <parameter name="npoints" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_glyphs">
        <callback name="draw_glyphs">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="font" transfer-ownership="none">
              <type name="Pango.Font" c:type="PangoFont*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="glyphs" transfer-ownership="none">
              <type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_image">
        <callback name="draw_image">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="image" transfer-ownership="none">
              <type name="Image" c:type="GdkImage*"/>
            </parameter>
            <parameter name="xsrc" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="ysrc" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="xdest" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="ydest" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_depth">
        <callback name="get_depth">
          <return-value transfer-ownership="none">
            <doc xml:space="preserve">number of bits per pixel</doc>
            <type name="gint" c:type="gint"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_size">
        <callback name="get_size">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="width"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full"
                       optional="1"
                       allow-none="1">
              <doc xml:space="preserve">location to store drawable's width, or %NULL</doc>
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="height"
                       direction="out"
                       caller-allocates="0"
                       transfer-ownership="full"
                       optional="1"
                       allow-none="1">
              <doc xml:space="preserve">location to store drawable's height, or %NULL</doc>
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_colormap">
        <callback name="set_colormap">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="cmap" transfer-ownership="none">
              <type name="Colormap" c:type="GdkColormap*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_colormap" introspectable="0">
        <callback name="get_colormap" introspectable="0">
          <return-value>
            <doc xml:space="preserve">the colormap, or %NULL</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_visual" introspectable="0">
        <callback name="get_visual" introspectable="0">
          <return-value>
            <doc xml:space="preserve">a #GdkVisual</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_screen" introspectable="0">
        <callback name="get_screen" introspectable="0">
          <return-value>
            <doc xml:space="preserve">the #GdkScreen associated with @drawable</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_image" introspectable="0">
        <callback name="get_image" introspectable="0">
          <return-value>
            <doc xml:space="preserve">a #GdkImage containing the contents of @drawable</doc>
            <type name="Image" c:type="GdkImage*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <doc xml:space="preserve">x coordinate on @drawable</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <doc xml:space="preserve">y coordinate on @drawable</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <doc xml:space="preserve">width of region to get</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <doc xml:space="preserve">height or region to get</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_clip_region" introspectable="0">
        <callback name="get_clip_region" introspectable="0">
          <return-value>
            <doc xml:space="preserve">a #GdkRegion. This must be freed with gdk_region_destroy()
         when you are done.</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_visible_region" introspectable="0">
        <callback name="get_visible_region" introspectable="0">
          <return-value>
            <doc xml:space="preserve">a #GdkRegion. This must be freed with gdk_region_destroy()
         when you are done.</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkDrawable</doc>
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_composite_drawable" introspectable="0">
        <callback name="get_composite_drawable" introspectable="0">
          <return-value>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="composite_x_offset" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="composite_y_offset" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_pixbuf">
        <callback name="draw_pixbuf">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="pixbuf" transfer-ownership="none">
              <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
            </parameter>
            <parameter name="src_x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="src_y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="dest_x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="dest_y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="dither" transfer-ownership="none">
              <type name="RgbDither" c:type="GdkRgbDither"/>
            </parameter>
            <parameter name="x_dither" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y_dither" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_copy_to_image" introspectable="0">
        <callback name="_copy_to_image" introspectable="0">
          <return-value>
            <type name="Image" c:type="GdkImage*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="image" transfer-ownership="none">
              <type name="Image" c:type="GdkImage*"/>
            </parameter>
            <parameter name="src_x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="src_y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="dest_x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="dest_y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_glyphs_transformed">
        <callback name="draw_glyphs_transformed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="matrix" transfer-ownership="none">
              <type name="Pango.Matrix" c:type="PangoMatrix*"/>
            </parameter>
            <parameter name="font" transfer-ownership="none">
              <type name="Pango.Font" c:type="PangoFont*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="glyphs" transfer-ownership="none">
              <type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_trapezoids">
        <callback name="draw_trapezoids">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="trapezoids" transfer-ownership="none">
              <type name="Trapezoid" c:type="GdkTrapezoid*"/>
            </parameter>
            <parameter name="n_trapezoids" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="ref_cairo_surface">
        <callback name="ref_cairo_surface">
          <return-value transfer-ownership="full">
            <type name="cairo.Surface" c:type="cairo_surface_t*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="get_source_drawable" introspectable="0">
        <callback name="get_source_drawable" introspectable="0">
          <return-value>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_cairo_clip">
        <callback name="set_cairo_clip">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="cr" transfer-ownership="none">
              <type name="cairo.Context" c:type="cairo_t*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="create_cairo_surface">
        <callback name="create_cairo_surface">
          <return-value transfer-ownership="full">
            <type name="cairo.Surface" c:type="cairo_surface_t*"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="int"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="int"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="draw_drawable_with_src">
        <callback name="draw_drawable_with_src">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="drawable" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="gc" transfer-ownership="none">
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="src" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
            <parameter name="xsrc" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="ysrc" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="xdest" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="ydest" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="width" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="height" transfer-ownership="none">
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="original_src" transfer-ownership="none">
              <type name="Drawable" c:type="GdkDrawable*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gdk_reserved7" introspectable="0">
        <callback name="_gdk_reserved7">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved9" introspectable="0">
        <callback name="_gdk_reserved9">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved10" introspectable="0">
        <callback name="_gdk_reserved10">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved11" introspectable="0">
        <callback name="_gdk_reserved11">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved12" introspectable="0">
        <callback name="_gdk_reserved12">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved13" introspectable="0">
        <callback name="_gdk_reserved13">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved14" introspectable="0">
        <callback name="_gdk_reserved14">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved15" introspectable="0">
        <callback name="_gdk_reserved15">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <union name="Event"
           c:type="GdkEvent"
           glib:type-name="GdkEvent"
           glib:get-type="gdk_event_get_type"
           c:symbol-prefix="event">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="any" writable="1">
        <type name="EventAny" c:type="GdkEventAny"/>
      </field>
      <field name="expose" writable="1">
        <type name="EventExpose" c:type="GdkEventExpose"/>
      </field>
      <field name="no_expose" writable="1">
        <type name="EventNoExpose" c:type="GdkEventNoExpose"/>
      </field>
      <field name="visibility" writable="1">
        <type name="EventVisibility" c:type="GdkEventVisibility"/>
      </field>
      <field name="motion" writable="1">
        <type name="EventMotion" c:type="GdkEventMotion"/>
      </field>
      <field name="button" writable="1">
        <type name="EventButton" c:type="GdkEventButton"/>
      </field>
      <field name="scroll" writable="1">
        <type name="EventScroll" c:type="GdkEventScroll"/>
      </field>
      <field name="key" writable="1">
        <type name="EventKey" c:type="GdkEventKey"/>
      </field>
      <field name="crossing" writable="1">
        <type name="EventCrossing" c:type="GdkEventCrossing"/>
      </field>
      <field name="focus_change" writable="1">
        <type name="EventFocus" c:type="GdkEventFocus"/>
      </field>
      <field name="configure" writable="1">
        <type name="EventConfigure" c:type="GdkEventConfigure"/>
      </field>
      <field name="property" writable="1">
        <type name="EventProperty" c:type="GdkEventProperty"/>
      </field>
      <field name="selection" writable="1">
        <type name="EventSelection" c:type="GdkEventSelection"/>
      </field>
      <field name="owner_change" writable="1">
        <type name="EventOwnerChange" c:type="GdkEventOwnerChange"/>
      </field>
      <field name="proximity" writable="1">
        <type name="EventProximity" c:type="GdkEventProximity"/>
      </field>
      <field name="client" writable="1">
        <type name="EventClient" c:type="GdkEventClient"/>
      </field>
      <field name="dnd" writable="1">
        <type name="EventDND" c:type="GdkEventDND"/>
      </field>
      <field name="window_state" writable="1">
        <type name="EventWindowState" c:type="GdkEventWindowState"/>
      </field>
      <field name="setting" writable="1">
        <type name="EventSetting" c:type="GdkEventSetting"/>
      </field>
      <field name="grab_broken" writable="1">
        <type name="EventGrabBroken" c:type="GdkEventGrabBroken"/>
      </field>
      <constructor name="new" c:identifier="gdk_event_new" version="2.2">
        <doc xml:space="preserve">Creates a new event of the given type. All fields are set to 0.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly-allocated #GdkEvent. The returned #GdkEvent
should be freed with gdk_event_free().</doc>
          <type name="Event" c:type="GdkEvent*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEventType</doc>
            <type name="EventType" c:type="GdkEventType"/>
          </parameter>
        </parameters>
      </constructor>
      <method name="copy" c:identifier="gdk_event_copy">
        <doc xml:space="preserve">Copies a #GdkEvent, copying or incrementing the reference count of the
resources associated with it (e.g. #GdkWindow's and strings).</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a copy of @event. The returned #GdkEvent should be freed with
gdk_event_free().</doc>
          <type name="Event" c:type="GdkEvent*"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="free" c:identifier="gdk_event_free">
        <doc xml:space="preserve">Frees a #GdkEvent, freeing or decrementing any resources associated with it.
Note that this function should only be called with events returned from
functions such as gdk_event_peek(), gdk_event_get(),
gdk_event_get_graphics_expose() and gdk_event_copy() and gdk_event_new().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent.</doc>
            <type name="Event" c:type="GdkEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_axis" c:identifier="gdk_event_get_axis">
        <doc xml:space="preserve">Extract the axis value for a particular axis use from
an event structure.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the specified axis was found, otherwise %FALSE</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
          <parameter name="axis_use" transfer-ownership="none">
            <doc xml:space="preserve">the axis use to look for</doc>
            <type name="AxisUse" c:type="GdkAxisUse"/>
          </parameter>
          <parameter name="value"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the value found</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_coords" c:identifier="gdk_event_get_coords">
        <doc xml:space="preserve">Extract the event window relative x/y coordinates from an event.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event delivered event window coordinates</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
          <parameter name="x_win"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to put event window x coordinate</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="y_win"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to put event window y coordinate</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_root_coords" c:identifier="gdk_event_get_root_coords">
        <doc xml:space="preserve">Extract the root window relative x/y coordinates from an event.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the event delivered root window coordinates</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
          <parameter name="x_root"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to put root window x coordinate</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="y_root"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to put root window y coordinate</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_screen"
              c:identifier="gdk_event_get_screen"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Returns the screen for the event. The screen is
typically the screen for &lt;literal&gt;event-&gt;any.window&lt;/literal&gt;, but
for events such as mouse events, it is the screen
where the pointer was when the event occurs -
that is, the screen which has the root window
to which &lt;literal&gt;event-&gt;motion.x_root&lt;/literal&gt; and
&lt;literal&gt;event-&gt;motion.y_root&lt;/literal&gt; are relative.</doc>
        <return-value>
          <doc xml:space="preserve">the screen for the event</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_state" c:identifier="gdk_event_get_state">
        <doc xml:space="preserve">If the event contains a "state" field, puts that field in @state. Otherwise
stores an empty state (0). Returns %TRUE if there was a state field
in the event. @event may be %NULL, in which case it's treated
as if the event had no state field.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if there was a state field in the event</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent or NULL</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
          <parameter name="state"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for state</doc>
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_time" c:identifier="gdk_event_get_time">
        <doc xml:space="preserve">Returns the time stamp from @event, if there is one; otherwise
returns #GDK_CURRENT_TIME. If @event is %NULL, returns #GDK_CURRENT_TIME.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">time stamp field from @event</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="put" c:identifier="gdk_event_put">
        <doc xml:space="preserve">Appends a copy of the given event onto the front of the event
queue for event-&gt;any.window's display, or the default event
queue if event-&gt;any.window is %NULL. See gdk_display_put_event().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent.</doc>
            <type name="Event" c:type="const GdkEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="send_client_message"
              c:identifier="gdk_event_send_client_message">
        <doc xml:space="preserve">Sends an X ClientMessage event to a given window (which must be
on the default #GdkDisplay.)
This could be used for communicating between different applications,
though the amount of data is limited to 20 bytes.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">non-zero on success.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkEvent to send, which should be a #GdkEventClient.</doc>
            <type name="Event" c:type="GdkEvent*"/>
          </instance-parameter>
          <parameter name="winid" transfer-ownership="none">
            <doc xml:space="preserve">the window to send the X ClientMessage event to.</doc>
            <type name="NativeWindow" c:type="GdkNativeWindow"/>
          </parameter>
        </parameters>
      </method>
      <method name="send_clientmessage_toall"
              c:identifier="gdk_event_send_clientmessage_toall">
        <doc xml:space="preserve">Sends an X ClientMessage event to all toplevel windows on the default
#GdkScreen.

Toplevel windows are determined by checking for the WM_STATE property, as
described in the Inter-Client Communication Conventions Manual (ICCCM).
If no windows are found with the WM_STATE property set, the message is sent
to all children of the root window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkEvent to send, which should be a #GdkEventClient.</doc>
            <type name="Event" c:type="GdkEvent*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_screen"
              c:identifier="gdk_event_set_screen"
              version="2.2">
        <doc xml:space="preserve">Sets the screen for @event to @screen. The event must
have been allocated by GTK+, for instance, by
gdk_event_copy().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkEvent</doc>
            <type name="Event" c:type="GdkEvent*"/>
          </instance-parameter>
          <parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </parameter>
        </parameters>
      </method>
      <function name="get" c:identifier="gdk_event_get">
        <doc xml:space="preserve">Checks all open displays for a #GdkEvent to process,to be processed
on, fetching events from the windowing system if necessary.
See gdk_display_get_event().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the next #GdkEvent to be processed, or %NULL if no events
are pending. The returned #GdkEvent should be freed with gdk_event_free().</doc>
          <type name="Event" c:type="GdkEvent*"/>
        </return-value>
      </function>
      <function name="get_graphics_expose"
                c:identifier="gdk_event_get_graphics_expose">
        <return-value transfer-ownership="full">
          <type name="Event" c:type="GdkEvent*"/>
        </return-value>
        <parameters>
          <parameter name="window" transfer-ownership="none">
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
        </parameters>
      </function>
      <function name="handler_set" c:identifier="gdk_event_handler_set">
        <doc xml:space="preserve">Sets the function to call to handle all events from GDK.

Note that GTK+ uses this to install its own event handler, so it is
usually not useful for GTK+ applications. (Although an application
can call this function then call gtk_main_do_event() to pass
events to GTK+.)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="func"
                     transfer-ownership="none"
                     scope="notified"
                     closure="1"
                     destroy="2">
            <doc xml:space="preserve">the function to call to handle events from GDK.</doc>
            <type name="EventFunc" c:type="GdkEventFunc"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">user data to pass to the function.</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
          <parameter name="notify" transfer-ownership="none" scope="async">
            <doc xml:space="preserve">the function to call when the handler function is removed, i.e. when
         gdk_event_handler_set() is called with another event handler.</doc>
            <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
          </parameter>
        </parameters>
      </function>
      <function name="peek" c:identifier="gdk_event_peek">
        <doc xml:space="preserve">If there is an event waiting in the event queue of some open
display, returns a copy of it. See gdk_display_peek_event().</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a copy of the first #GdkEvent on some event queue, or %NULL if no
events are in any queues. The returned #GdkEvent should be freed with
gdk_event_free().</doc>
          <type name="Event" c:type="GdkEvent*"/>
        </return-value>
      </function>
      <function name="request_motions"
                c:identifier="gdk_event_request_motions"
                version="2.12">
        <doc xml:space="preserve">Request more motion notifies if @event is a motion notify hint event.
This function should be used instead of gdk_window_get_pointer() to
request further motion notifies, because it also works for extension
events where motion notifies are provided for devices other than the
core pointer. Coordinate extraction, processing and requesting more
motion events from a %GDK_MOTION_NOTIFY event usually works like this:

|[
{
  /&amp;ast; motion_event handler &amp;ast;/
  x = motion_event-&gt;x;
  y = motion_event-&gt;y;
  /&amp;ast; handle (x,y) motion &amp;ast;/
  gdk_event_request_motions (motion_event); /&amp;ast; handles is_hint events &amp;ast;/
}
]|</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="event" transfer-ownership="none">
            <doc xml:space="preserve">a valid #GdkEvent</doc>
            <type name="EventMotion" c:type="const GdkEventMotion*"/>
          </parameter>
        </parameters>
      </function>
      <function name="send_client_message_for_display"
                c:identifier="gdk_event_send_client_message_for_display">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="event" transfer-ownership="none">
            <type name="Event" c:type="GdkEvent*"/>
          </parameter>
          <parameter name="winid" transfer-ownership="none">
            <type name="NativeWindow" c:type="GdkNativeWindow"/>
          </parameter>
        </parameters>
      </function>
    </union>
    <record name="EventAny" c:type="GdkEventAny">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
    </record>
    <record name="EventButton" c:type="GdkEventButton">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="axes" writable="1">
        <type name="gdouble" c:type="gdouble*"/>
      </field>
      <field name="state" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="button" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="device" writable="1">
        <type name="Device" c:type="GdkDevice*"/>
      </field>
      <field name="x_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
    </record>
    <record name="EventClient" c:type="GdkEventClient">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="message_type" writable="1">
        <type name="Atom" c:type="GdkAtom"/>
      </field>
      <field name="data_format" writable="1">
        <type name="gushort" c:type="gushort"/>
      </field>
      <union name="data" c:type="data">
        <field name="b" writable="1">
          <array zero-terminated="0" c:type="char" fixed-size="20">
            <type name="gchar" c:type="char"/>
          </array>
        </field>
        <field name="s" writable="1">
          <array zero-terminated="0" c:type="short" fixed-size="10">
            <type name="gshort" c:type="short"/>
          </array>
        </field>
        <field name="l" writable="1">
          <array zero-terminated="0" c:type="long" fixed-size="5">
            <type name="glong" c:type="long"/>
          </array>
        </field>
      </union>
    </record>
    <record name="EventConfigure" c:type="GdkEventConfigure">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="x" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="y" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="height" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <record name="EventCrossing" c:type="GdkEventCrossing">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="subwindow" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="x_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="mode" writable="1">
        <type name="CrossingMode" c:type="GdkCrossingMode"/>
      </field>
      <field name="detail" writable="1">
        <type name="NotifyType" c:type="GdkNotifyType"/>
      </field>
      <field name="focus" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="state" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
    </record>
    <record name="EventDND" c:type="GdkEventDND">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="context" writable="1">
        <type name="DragContext" c:type="GdkDragContext*"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="x_root" writable="1">
        <type name="gshort" c:type="gshort"/>
      </field>
      <field name="y_root" writable="1">
        <type name="gshort" c:type="gshort"/>
      </field>
    </record>
    <record name="EventExpose" c:type="GdkEventExpose">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="area" writable="1">
        <type name="Rectangle" c:type="GdkRectangle"/>
      </field>
      <field name="region" writable="1">
        <type name="Region" c:type="GdkRegion*"/>
      </field>
      <field name="count" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <record name="EventFocus" c:type="GdkEventFocus">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="in" writable="1">
        <type name="gint16" c:type="gint16"/>
      </field>
    </record>
    <callback name="EventFunc" c:type="GdkEventFunc">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="event" transfer-ownership="none">
          <type name="Event" c:type="GdkEvent*"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <record name="EventGrabBroken" c:type="GdkEventGrabBroken">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="keyboard" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="implicit" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="grab_window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
    </record>
    <record name="EventKey" c:type="GdkEventKey">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="state" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="keyval" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="length" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="string" writable="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="hardware_keycode" writable="1">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="group" writable="1">
        <type name="guint8" c:type="guint8"/>
      </field>
      <field name="is_modifier" writable="1" bits="1">
        <type name="guint" c:type="guint"/>
      </field>
    </record>
    <bitfield name="EventMask"
              glib:type-name="GdkEventMask"
              glib:get-type="gdk_event_mask_get_type"
              c:type="GdkEventMask">
      <member name="exposure_mask"
              value="2"
              c:identifier="GDK_EXPOSURE_MASK"
              glib:nick="exposure-mask">
      </member>
      <member name="pointer_motion_mask"
              value="4"
              c:identifier="GDK_POINTER_MOTION_MASK"
              glib:nick="pointer-motion-mask">
      </member>
      <member name="pointer_motion_hint_mask"
              value="8"
              c:identifier="GDK_POINTER_MOTION_HINT_MASK"
              glib:nick="pointer-motion-hint-mask">
      </member>
      <member name="button_motion_mask"
              value="16"
              c:identifier="GDK_BUTTON_MOTION_MASK"
              glib:nick="button-motion-mask">
      </member>
      <member name="button1_motion_mask"
              value="32"
              c:identifier="GDK_BUTTON1_MOTION_MASK"
              glib:nick="button1-motion-mask">
      </member>
      <member name="button2_motion_mask"
              value="64"
              c:identifier="GDK_BUTTON2_MOTION_MASK"
              glib:nick="button2-motion-mask">
      </member>
      <member name="button3_motion_mask"
              value="128"
              c:identifier="GDK_BUTTON3_MOTION_MASK"
              glib:nick="button3-motion-mask">
      </member>
      <member name="button_press_mask"
              value="256"
              c:identifier="GDK_BUTTON_PRESS_MASK"
              glib:nick="button-press-mask">
      </member>
      <member name="button_release_mask"
              value="512"
              c:identifier="GDK_BUTTON_RELEASE_MASK"
              glib:nick="button-release-mask">
      </member>
      <member name="key_press_mask"
              value="1024"
              c:identifier="GDK_KEY_PRESS_MASK"
              glib:nick="key-press-mask">
      </member>
      <member name="key_release_mask"
              value="2048"
              c:identifier="GDK_KEY_RELEASE_MASK"
              glib:nick="key-release-mask">
      </member>
      <member name="enter_notify_mask"
              value="4096"
              c:identifier="GDK_ENTER_NOTIFY_MASK"
              glib:nick="enter-notify-mask">
      </member>
      <member name="leave_notify_mask"
              value="8192"
              c:identifier="GDK_LEAVE_NOTIFY_MASK"
              glib:nick="leave-notify-mask">
      </member>
      <member name="focus_change_mask"
              value="16384"
              c:identifier="GDK_FOCUS_CHANGE_MASK"
              glib:nick="focus-change-mask">
      </member>
      <member name="structure_mask"
              value="32768"
              c:identifier="GDK_STRUCTURE_MASK"
              glib:nick="structure-mask">
      </member>
      <member name="property_change_mask"
              value="65536"
              c:identifier="GDK_PROPERTY_CHANGE_MASK"
              glib:nick="property-change-mask">
      </member>
      <member name="visibility_notify_mask"
              value="131072"
              c:identifier="GDK_VISIBILITY_NOTIFY_MASK"
              glib:nick="visibility-notify-mask">
      </member>
      <member name="proximity_in_mask"
              value="262144"
              c:identifier="GDK_PROXIMITY_IN_MASK"
              glib:nick="proximity-in-mask">
      </member>
      <member name="proximity_out_mask"
              value="524288"
              c:identifier="GDK_PROXIMITY_OUT_MASK"
              glib:nick="proximity-out-mask">
      </member>
      <member name="substructure_mask"
              value="1048576"
              c:identifier="GDK_SUBSTRUCTURE_MASK"
              glib:nick="substructure-mask">
      </member>
      <member name="scroll_mask"
              value="2097152"
              c:identifier="GDK_SCROLL_MASK"
              glib:nick="scroll-mask">
      </member>
      <member name="all_events_mask"
              value="4194302"
              c:identifier="GDK_ALL_EVENTS_MASK"
              glib:nick="all-events-mask">
      </member>
    </bitfield>
    <record name="EventMotion" c:type="GdkEventMotion">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="axes" writable="1">
        <type name="gdouble" c:type="gdouble*"/>
      </field>
      <field name="state" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="is_hint" writable="1">
        <type name="gint16" c:type="gint16"/>
      </field>
      <field name="device" writable="1">
        <type name="Device" c:type="GdkDevice*"/>
      </field>
      <field name="x_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
    </record>
    <record name="EventNoExpose" c:type="GdkEventNoExpose">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
    </record>
    <record name="EventOwnerChange" c:type="GdkEventOwnerChange">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="owner" writable="1">
        <type name="NativeWindow" c:type="GdkNativeWindow"/>
      </field>
      <field name="reason" writable="1">
        <type name="OwnerChange" c:type="GdkOwnerChange"/>
      </field>
      <field name="selection" writable="1">
        <type name="Atom" c:type="GdkAtom"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="selection_time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
    </record>
    <record name="EventProperty" c:type="GdkEventProperty">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="atom" writable="1">
        <type name="Atom" c:type="GdkAtom"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="state" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
    </record>
    <record name="EventProximity" c:type="GdkEventProximity">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="device" writable="1">
        <type name="Device" c:type="GdkDevice*"/>
      </field>
    </record>
    <record name="EventScroll" c:type="GdkEventScroll">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="state" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="direction" writable="1">
        <type name="ScrollDirection" c:type="GdkScrollDirection"/>
      </field>
      <field name="device" writable="1">
        <type name="Device" c:type="GdkDevice*"/>
      </field>
      <field name="x_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="y_root" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
    </record>
    <record name="EventSelection" c:type="GdkEventSelection">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="selection" writable="1">
        <type name="Atom" c:type="GdkAtom"/>
      </field>
      <field name="target" writable="1">
        <type name="Atom" c:type="GdkAtom"/>
      </field>
      <field name="property" writable="1">
        <type name="Atom" c:type="GdkAtom"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="requestor" writable="1">
        <type name="NativeWindow" c:type="GdkNativeWindow"/>
      </field>
    </record>
    <record name="EventSetting" c:type="GdkEventSetting">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="action" writable="1">
        <type name="SettingAction" c:type="GdkSettingAction"/>
      </field>
      <field name="name" writable="1">
        <type name="utf8" c:type="char*"/>
      </field>
    </record>
    <enumeration name="EventType"
                 glib:type-name="GdkEventType"
                 glib:get-type="gdk_event_type_get_type"
                 c:type="GdkEventType">
      <member name="nothing"
              value="-1"
              c:identifier="GDK_NOTHING"
              glib:nick="nothing">
      </member>
      <member name="delete"
              value="0"
              c:identifier="GDK_DELETE"
              glib:nick="delete">
      </member>
      <member name="destroy"
              value="1"
              c:identifier="GDK_DESTROY"
              glib:nick="destroy">
      </member>
      <member name="expose"
              value="2"
              c:identifier="GDK_EXPOSE"
              glib:nick="expose">
      </member>
      <member name="motion_notify"
              value="3"
              c:identifier="GDK_MOTION_NOTIFY"
              glib:nick="motion-notify">
      </member>
      <member name="button_press"
              value="4"
              c:identifier="GDK_BUTTON_PRESS"
              glib:nick="button-press">
      </member>
      <member name="2button_press"
              value="5"
              c:identifier="GDK_2BUTTON_PRESS"
              glib:nick="2button-press">
      </member>
      <member name="3button_press"
              value="6"
              c:identifier="GDK_3BUTTON_PRESS"
              glib:nick="3button-press">
      </member>
      <member name="button_release"
              value="7"
              c:identifier="GDK_BUTTON_RELEASE"
              glib:nick="button-release">
      </member>
      <member name="key_press"
              value="8"
              c:identifier="GDK_KEY_PRESS"
              glib:nick="key-press">
      </member>
      <member name="key_release"
              value="9"
              c:identifier="GDK_KEY_RELEASE"
              glib:nick="key-release">
      </member>
      <member name="enter_notify"
              value="10"
              c:identifier="GDK_ENTER_NOTIFY"
              glib:nick="enter-notify">
      </member>
      <member name="leave_notify"
              value="11"
              c:identifier="GDK_LEAVE_NOTIFY"
              glib:nick="leave-notify">
      </member>
      <member name="focus_change"
              value="12"
              c:identifier="GDK_FOCUS_CHANGE"
              glib:nick="focus-change">
      </member>
      <member name="configure"
              value="13"
              c:identifier="GDK_CONFIGURE"
              glib:nick="configure">
      </member>
      <member name="map" value="14" c:identifier="GDK_MAP" glib:nick="map">
      </member>
      <member name="unmap"
              value="15"
              c:identifier="GDK_UNMAP"
              glib:nick="unmap">
      </member>
      <member name="property_notify"
              value="16"
              c:identifier="GDK_PROPERTY_NOTIFY"
              glib:nick="property-notify">
      </member>
      <member name="selection_clear"
              value="17"
              c:identifier="GDK_SELECTION_CLEAR"
              glib:nick="selection-clear">
      </member>
      <member name="selection_request"
              value="18"
              c:identifier="GDK_SELECTION_REQUEST"
              glib:nick="selection-request">
      </member>
      <member name="selection_notify"
              value="19"
              c:identifier="GDK_SELECTION_NOTIFY"
              glib:nick="selection-notify">
      </member>
      <member name="proximity_in"
              value="20"
              c:identifier="GDK_PROXIMITY_IN"
              glib:nick="proximity-in">
      </member>
      <member name="proximity_out"
              value="21"
              c:identifier="GDK_PROXIMITY_OUT"
              glib:nick="proximity-out">
      </member>
      <member name="drag_enter"
              value="22"
              c:identifier="GDK_DRAG_ENTER"
              glib:nick="drag-enter">
      </member>
      <member name="drag_leave"
              value="23"
              c:identifier="GDK_DRAG_LEAVE"
              glib:nick="drag-leave">
      </member>
      <member name="drag_motion"
              value="24"
              c:identifier="GDK_DRAG_MOTION"
              glib:nick="drag-motion">
      </member>
      <member name="drag_status"
              value="25"
              c:identifier="GDK_DRAG_STATUS"
              glib:nick="drag-status">
      </member>
      <member name="drop_start"
              value="26"
              c:identifier="GDK_DROP_START"
              glib:nick="drop-start">
      </member>
      <member name="drop_finished"
              value="27"
              c:identifier="GDK_DROP_FINISHED"
              glib:nick="drop-finished">
      </member>
      <member name="client_event"
              value="28"
              c:identifier="GDK_CLIENT_EVENT"
              glib:nick="client-event">
      </member>
      <member name="visibility_notify"
              value="29"
              c:identifier="GDK_VISIBILITY_NOTIFY"
              glib:nick="visibility-notify">
      </member>
      <member name="no_expose"
              value="30"
              c:identifier="GDK_NO_EXPOSE"
              glib:nick="no-expose">
      </member>
      <member name="scroll"
              value="31"
              c:identifier="GDK_SCROLL"
              glib:nick="scroll">
      </member>
      <member name="window_state"
              value="32"
              c:identifier="GDK_WINDOW_STATE"
              glib:nick="window-state">
      </member>
      <member name="setting"
              value="33"
              c:identifier="GDK_SETTING"
              glib:nick="setting">
      </member>
      <member name="owner_change"
              value="34"
              c:identifier="GDK_OWNER_CHANGE"
              glib:nick="owner-change">
      </member>
      <member name="grab_broken"
              value="35"
              c:identifier="GDK_GRAB_BROKEN"
              glib:nick="grab-broken">
      </member>
      <member name="damage"
              value="36"
              c:identifier="GDK_DAMAGE"
              glib:nick="damage">
      </member>
      <member name="event_last"
              value="37"
              c:identifier="GDK_EVENT_LAST"
              glib:nick="event-last">
      </member>
    </enumeration>
    <record name="EventVisibility" c:type="GdkEventVisibility">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="state" writable="1">
        <type name="VisibilityState" c:type="GdkVisibilityState"/>
      </field>
    </record>
    <record name="EventWindowState" c:type="GdkEventWindowState">
      <field name="type" writable="1">
        <type name="EventType" c:type="GdkEventType"/>
      </field>
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="send_event" writable="1">
        <type name="gint8" c:type="gint8"/>
      </field>
      <field name="changed_mask" writable="1">
        <type name="WindowState" c:type="GdkWindowState"/>
      </field>
      <field name="new_window_state" writable="1">
        <type name="WindowState" c:type="GdkWindowState"/>
      </field>
    </record>
    <enumeration name="ExtensionMode"
                 glib:type-name="GdkExtensionMode"
                 glib:get-type="gdk_extension_mode_get_type"
                 c:type="GdkExtensionMode">
      <member name="none"
              value="0"
              c:identifier="GDK_EXTENSION_EVENTS_NONE"
              glib:nick="none">
      </member>
      <member name="all"
              value="1"
              c:identifier="GDK_EXTENSION_EVENTS_ALL"
              glib:nick="all">
      </member>
      <member name="cursor"
              value="2"
              c:identifier="GDK_EXTENSION_EVENTS_CURSOR"
              glib:nick="cursor">
      </member>
    </enumeration>
    <enumeration name="Fill"
                 glib:type-name="GdkFill"
                 glib:get-type="gdk_fill_get_type"
                 c:type="GdkFill">
      <member name="solid"
              value="0"
              c:identifier="GDK_SOLID"
              glib:nick="solid">
      </member>
      <member name="tiled"
              value="1"
              c:identifier="GDK_TILED"
              glib:nick="tiled">
      </member>
      <member name="stippled"
              value="2"
              c:identifier="GDK_STIPPLED"
              glib:nick="stippled">
      </member>
      <member name="opaque_stippled"
              value="3"
              c:identifier="GDK_OPAQUE_STIPPLED"
              glib:nick="opaque-stippled">
      </member>
    </enumeration>
    <enumeration name="FillRule"
                 glib:type-name="GdkFillRule"
                 glib:get-type="gdk_fill_rule_get_type"
                 c:type="GdkFillRule">
      <member name="even_odd_rule"
              value="0"
              c:identifier="GDK_EVEN_ODD_RULE"
              glib:nick="even-odd-rule">
      </member>
      <member name="winding_rule"
              value="1"
              c:identifier="GDK_WINDING_RULE"
              glib:nick="winding-rule">
      </member>
    </enumeration>
    <callback name="FilterFunc" c:type="GdkFilterFunc">
      <return-value transfer-ownership="none">
        <type name="FilterReturn" c:type="GdkFilterReturn"/>
      </return-value>
      <parameters>
        <parameter name="xevent" transfer-ownership="none">
          <type name="XEvent" c:type="GdkXEvent*"/>
        </parameter>
        <parameter name="event" transfer-ownership="none">
          <type name="Event" c:type="GdkEvent*"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="FilterReturn"
                 glib:type-name="GdkFilterReturn"
                 glib:get-type="gdk_filter_return_get_type"
                 c:type="GdkFilterReturn">
      <member name="continue"
              value="0"
              c:identifier="GDK_FILTER_CONTINUE"
              glib:nick="continue">
      </member>
      <member name="translate"
              value="1"
              c:identifier="GDK_FILTER_TRANSLATE"
              glib:nick="translate">
      </member>
      <member name="remove"
              value="2"
              c:identifier="GDK_FILTER_REMOVE"
              glib:nick="remove">
      </member>
    </enumeration>
    <record name="Font"
            c:type="GdkFont"
            glib:type-name="GdkFont"
            glib:get-type="gdk_font_get_type"
            c:symbol-prefix="font">
      <field name="type" writable="1">
        <type name="FontType" c:type="GdkFontType"/>
      </field>
      <field name="ascent" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="descent" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <method name="equal" c:identifier="gdk_font_equal">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="fonta" transfer-ownership="none">
            <type name="Font" c:type="const GdkFont*"/>
          </instance-parameter>
          <parameter name="fontb" transfer-ownership="none">
            <type name="Font" c:type="const GdkFont*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_display"
              c:identifier="gdk_font_get_display"
              introspectable="0">
        <return-value>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
        <parameters>
          <instance-parameter name="font" transfer-ownership="none">
            <type name="Font" c:type="GdkFont*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="id" c:identifier="gdk_font_id">
        <return-value transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="font" transfer-ownership="none">
            <type name="Font" c:type="const GdkFont*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ref" c:identifier="gdk_font_ref">
        <doc xml:space="preserve">Increases the reference count of a font by one.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">@font</doc>
          <type name="Font" c:type="GdkFont*"/>
        </return-value>
        <parameters>
          <instance-parameter name="font" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkFont</doc>
            <type name="Font" c:type="GdkFont*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unref" c:identifier="gdk_font_unref">
        <doc xml:space="preserve">Decreases the reference count of a font by one.
If the result is zero, destroys the font.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="font" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkFont</doc>
            <type name="Font" c:type="GdkFont*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="from_description"
                c:identifier="gdk_font_from_description">
        <doc xml:space="preserve">Load a #GdkFont based on a Pango font description. This font will
only be an approximation of the Pango font, and
internationalization will not be handled correctly. This function
should only be used for legacy code that cannot be easily converted
to use Pango. Using Pango directly will produce better results.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly loaded font, or %NULL if the font
cannot be loaded.</doc>
          <type name="Font" c:type="GdkFont*"/>
        </return-value>
        <parameters>
          <parameter name="font_desc" transfer-ownership="none">
            <doc xml:space="preserve">a #PangoFontDescription.</doc>
            <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_description_for_display"
                c:identifier="gdk_font_from_description_for_display">
        <return-value transfer-ownership="full">
          <type name="Font" c:type="GdkFont*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="font_desc" transfer-ownership="none">
            <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
          </parameter>
        </parameters>
      </function>
      <function name="load" c:identifier="gdk_font_load">
        <doc xml:space="preserve">Loads a font.

The font may be newly loaded or looked up the font in a cache.
You should make no assumptions about the initial reference count.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a #GdkFont, or %NULL if the font could not be loaded.</doc>
          <type name="Font" c:type="GdkFont*"/>
        </return-value>
        <parameters>
          <parameter name="font_name" transfer-ownership="none">
            <doc xml:space="preserve">a XLFD describing the font to load.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="load_for_display"
                c:identifier="gdk_font_load_for_display">
        <return-value transfer-ownership="full">
          <type name="Font" c:type="GdkFont*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="font_name" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <enumeration name="FontType"
                 glib:type-name="GdkFontType"
                 glib:get-type="gdk_font_type_get_type"
                 c:type="GdkFontType">
      <member name="font"
              value="0"
              c:identifier="GDK_FONT_FONT"
              glib:nick="font">
      </member>
      <member name="fontset"
              value="1"
              c:identifier="GDK_FONT_FONTSET"
              glib:nick="fontset">
      </member>
    </enumeration>
    <enumeration name="Function"
                 glib:type-name="GdkFunction"
                 glib:get-type="gdk_function_get_type"
                 c:type="GdkFunction">
      <member name="copy" value="0" c:identifier="GDK_COPY" glib:nick="copy">
      </member>
      <member name="invert"
              value="1"
              c:identifier="GDK_INVERT"
              glib:nick="invert">
      </member>
      <member name="xor" value="2" c:identifier="GDK_XOR" glib:nick="xor">
      </member>
      <member name="clear"
              value="3"
              c:identifier="GDK_CLEAR"
              glib:nick="clear">
      </member>
      <member name="and" value="4" c:identifier="GDK_AND" glib:nick="and">
      </member>
      <member name="and_reverse"
              value="5"
              c:identifier="GDK_AND_REVERSE"
              glib:nick="and-reverse">
      </member>
      <member name="and_invert"
              value="6"
              c:identifier="GDK_AND_INVERT"
              glib:nick="and-invert">
      </member>
      <member name="noop" value="7" c:identifier="GDK_NOOP" glib:nick="noop">
      </member>
      <member name="or" value="8" c:identifier="GDK_OR" glib:nick="or">
      </member>
      <member name="equiv"
              value="9"
              c:identifier="GDK_EQUIV"
              glib:nick="equiv">
      </member>
      <member name="or_reverse"
              value="10"
              c:identifier="GDK_OR_REVERSE"
              glib:nick="or-reverse">
      </member>
      <member name="copy_invert"
              value="11"
              c:identifier="GDK_COPY_INVERT"
              glib:nick="copy-invert">
      </member>
      <member name="or_invert"
              value="12"
              c:identifier="GDK_OR_INVERT"
              glib:nick="or-invert">
      </member>
      <member name="nand" value="13" c:identifier="GDK_NAND" glib:nick="nand">
      </member>
      <member name="nor" value="14" c:identifier="GDK_NOR" glib:nick="nor">
      </member>
      <member name="set" value="15" c:identifier="GDK_SET" glib:nick="set">
      </member>
    </enumeration>
    <class name="GC"
           c:symbol-prefix="gc"
           c:type="GdkGC"
           parent="GObject.Object"
           glib:type-name="GdkGC"
           glib:get-type="gdk_gc_get_type"
           glib:type-struct="GCClass">
      <constructor name="new"
                   c:identifier="gdk_gc_new"
                   deprecated="1"
                   deprecated-version="2.22">
        <doc xml:space="preserve">Create a new graphics context with default values.</doc>
        <doc-deprecated xml:space="preserve">Use Cairo for rendering.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new graphics context.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable. The created GC must always be used
  with drawables of the same depth as this one.</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new_with_values"
                   c:identifier="gdk_gc_new_with_values"
                   deprecated="1"
                   deprecated-version="2.22">
        <doc xml:space="preserve">Create a new GC with the given initial values.</doc>
        <doc-deprecated xml:space="preserve">Use Cairo for rendering.</doc-deprecated>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the new graphics context.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable. The created GC must always be used
  with drawables of the same depth as this one.</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">a structure containing initial values for the GC.</doc>
            <type name="GCValues" c:type="GdkGCValues*"/>
          </parameter>
          <parameter name="values_mask" transfer-ownership="none">
            <doc xml:space="preserve">a bit mask indicating which fields in @values
  are set.</doc>
            <type name="GCValuesMask" c:type="GdkGCValuesMask"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="get_values"
                      invoker="get_values"
                      deprecated="1"
                      deprecated-version="2.22">
        <doc xml:space="preserve">Retrieves the current values from a graphics context. Note that
only the pixel values of the @values-&gt;foreground and @values-&gt;background
are filled, use gdk_colormap_query_color() to obtain the rgb values
if you need them.</doc>
        <doc-deprecated xml:space="preserve">Use Cairo for rendering.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkGCValues structure in which to store the results.</doc>
            <type name="GCValues" c:type="GdkGCValues*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_dashes"
                      invoker="set_dashes"
                      deprecated="1"
                      deprecated-version="2.22">
        <doc xml:space="preserve">Sets the way dashed-lines are drawn. Lines will be
drawn with alternating on and off segments of the
lengths specified in @dash_list. The manner in
which the on and off segments are drawn is determined
by the @line_style value of the GC. (This can
be changed with gdk_gc_set_line_attributes().)

The @dash_offset defines the phase of the pattern,
specifying how many pixels into the dash-list the pattern
should actually begin.</doc>
        <doc-deprecated xml:space="preserve">Use cairo_set_dash() to set the dash in Cairo.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="dash_offset" transfer-ownership="none">
            <doc xml:space="preserve">the phase of the dash pattern.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dash_list" transfer-ownership="none">
            <doc xml:space="preserve">an array of dash lengths.</doc>
            <type name="gint8" c:type="gint8"/>
          </parameter>
          <parameter name="n" transfer-ownership="none">
            <doc xml:space="preserve">the number of elements in @dash_list.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="set_values"
                      invoker="set_values"
                      deprecated="1"
                      deprecated-version="2.22">
        <doc xml:space="preserve">Sets attributes of a graphics context in bulk. For each flag set in
@values_mask, the corresponding field will be read from @values and
set as the new value for @gc. If you're only setting a few values
on @gc, calling individual "setter" functions is likely more
convenient.</doc>
        <doc-deprecated xml:space="preserve">Use Cairo for rendering.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">struct containing the new values</doc>
            <type name="GCValues" c:type="GdkGCValues*"/>
          </parameter>
          <parameter name="mask" transfer-ownership="none">
            <type name="GCValuesMask" c:type="GdkGCValuesMask"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="copy"
              c:identifier="gdk_gc_copy"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Copy the set of values from one graphics context
onto another graphics context.</doc>
        <doc-deprecated xml:space="preserve">Use Cairo for drawing. cairo_save() and cairo_restore()
can be helpful in cases where you'd have copied a #GdkGC.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="dst_gc" transfer-ownership="none">
            <doc xml:space="preserve">the destination graphics context.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="src_gc" transfer-ownership="none">
            <doc xml:space="preserve">the source graphics context.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_colormap"
              c:identifier="gdk_gc_get_colormap"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Retrieves the colormap for a given GC, if it exists.
A GC will have a colormap if the drawable for which it was created
has a colormap, or if a colormap was set explicitely with
gdk_gc_set_colormap.</doc>
        <doc-deprecated xml:space="preserve">There is no replacement. Cairo handles colormaps
automatically, so there is no need to care about them.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the colormap of @gc, or %NULL if @gc doesn't have one.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_screen"
              c:identifier="gdk_gc_get_screen"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Gets the #GdkScreen for which @gc was created</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkScreen for @gc.</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_values"
              c:identifier="gdk_gc_get_values"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Retrieves the current values from a graphics context. Note that
only the pixel values of the @values-&gt;foreground and @values-&gt;background
are filled, use gdk_colormap_query_color() to obtain the rgb values
if you need them.</doc>
        <doc-deprecated xml:space="preserve">Use Cairo for rendering.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkGCValues structure in which to store the results.</doc>
            <type name="GCValues" c:type="GdkGCValues*"/>
          </parameter>
        </parameters>
      </method>
      <method name="offset"
              c:identifier="gdk_gc_offset"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Offset attributes such as the clip and tile-stipple origins
of the GC so that drawing at x - x_offset, y - y_offset with
the offset GC  has the same effect as drawing at x, y with the original
GC.</doc>
        <doc-deprecated xml:space="preserve">There is no direct replacement, as this is just a
convenience function for gdk_gc_set_ts_origin and gdk_gc_set_clip_origin().</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="x_offset" transfer-ownership="none">
            <doc xml:space="preserve">amount by which to offset the GC in the X direction</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y_offset" transfer-ownership="none">
            <doc xml:space="preserve">amount by which to offset the GC in the Y direction</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="ref"
              c:identifier="gdk_gc_ref"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Deprecated function; use g_object_ref() instead.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_ref() instead.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the gc.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_background"
              c:identifier="gdk_gc_set_background"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the background color for a graphics context.
Note that this function uses @color-&gt;pixel, use
gdk_gc_set_rgb_bg_color() to specify the background
color as red, green, blue components.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_cairo_set_source_color() to use a #GdkColor
as the source in Cairo. Note that if you want to draw a background and a
foreground in Cairo, you need to call drawing functions (like cairo_fill())
twice.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">the new background color.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_clip_mask"
              c:identifier="gdk_gc_set_clip_mask"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the clip mask for a graphics context from a bitmap.
The clip mask is interpreted relative to the clip
origin. (See gdk_gc_set_clip_origin()).</doc>
        <doc-deprecated xml:space="preserve">Use cairo_mask() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="mask" transfer-ownership="none">
            <doc xml:space="preserve">a bitmap.</doc>
            <type name="Bitmap" c:type="GdkBitmap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_clip_origin"
              c:identifier="gdk_gc_set_clip_origin"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the origin of the clip mask. The coordinates are
interpreted relative to the upper-left corner of
the destination drawable of the current operation.</doc>
        <doc-deprecated xml:space="preserve">Use cairo_translate() before applying the clip path in
Cairo.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">the x-coordinate of the origin.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">the y-coordinate of the origin.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_clip_rectangle"
              c:identifier="gdk_gc_set_clip_rectangle"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the clip mask for a graphics context from a
rectangle. The clip mask is interpreted relative to the clip
origin. (See gdk_gc_set_clip_origin()).</doc>
        <doc-deprecated xml:space="preserve">Use cairo_rectangle() and cairo_clip() in Cairo.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="rectangle" transfer-ownership="none">
            <doc xml:space="preserve">the rectangle to clip to.</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_clip_region"
              c:identifier="gdk_gc_set_clip_region"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the clip mask for a graphics context from a region structure.
The clip mask is interpreted relative to the clip origin. (See
gdk_gc_set_clip_origin()).</doc>
        <doc-deprecated xml:space="preserve">Use gdk_cairo_region() and cairo_clip() in Cairo.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkRegion.</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_colormap"
              c:identifier="gdk_gc_set_colormap"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the colormap for the GC to the given colormap. The depth
of the colormap's visual must match the depth of the drawable
for which the GC was created.</doc>
        <doc-deprecated xml:space="preserve">There is no replacement. Cairo handles colormaps
automatically, so there is no need to care about them.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_dashes"
              c:identifier="gdk_gc_set_dashes"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the way dashed-lines are drawn. Lines will be
drawn with alternating on and off segments of the
lengths specified in @dash_list. The manner in
which the on and off segments are drawn is determined
by the @line_style value of the GC. (This can
be changed with gdk_gc_set_line_attributes().)

The @dash_offset defines the phase of the pattern,
specifying how many pixels into the dash-list the pattern
should actually begin.</doc>
        <doc-deprecated xml:space="preserve">Use cairo_set_dash() to set the dash in Cairo.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="dash_offset" transfer-ownership="none">
            <doc xml:space="preserve">the phase of the dash pattern.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dash_list" transfer-ownership="none">
            <doc xml:space="preserve">an array of dash lengths.</doc>
            <type name="gint8" c:type="gint8"/>
          </parameter>
          <parameter name="n" transfer-ownership="none">
            <doc xml:space="preserve">the number of elements in @dash_list.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_exposures"
              c:identifier="gdk_gc_set_exposures"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets whether copying non-visible portions of a drawable
using this graphics context generate exposure events
for the corresponding regions of the destination
drawable. (See gdk_draw_drawable()).</doc>
        <doc-deprecated xml:space="preserve">There is no replacement. If you need to control
exposures, you must use drawing operations of the underlying window
system or use gdk_window_invalidate_rect(). Cairo will never
generate exposures.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="exposures" transfer-ownership="none">
            <doc xml:space="preserve">if %TRUE, exposure events will be generated.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_fill"
              c:identifier="gdk_gc_set_fill"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Set the fill mode for a graphics context.</doc>
        <doc-deprecated xml:space="preserve">You can achieve tiling in Cairo by using
cairo_pattern_set_extend() on the source. For stippling, see the
deprecation comments on gdk_gc_set_stipple().</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="fill" transfer-ownership="none">
            <doc xml:space="preserve">the new fill mode.</doc>
            <type name="Fill" c:type="GdkFill"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_font" c:identifier="gdk_gc_set_font">
        <doc xml:space="preserve">Sets the font for a graphics context. (Note that
all text-drawing functions in GDK take a @font
argument; the value set here is used when that
argument is %NULL.)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="font" transfer-ownership="none">
            <doc xml:space="preserve">the new font.</doc>
            <type name="Font" c:type="GdkFont*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_foreground"
              c:identifier="gdk_gc_set_foreground"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the foreground color for a graphics context.
Note that this function uses @color-&gt;pixel, use
gdk_gc_set_rgb_fg_color() to specify the foreground
color as red, green, blue components.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_cairo_set_source_color() to use a #GdkColor
as the source in Cairo.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">the new foreground color.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_function"
              c:identifier="gdk_gc_set_function"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines how the current pixel values and the
pixel values being drawn are combined to produce
the final pixel values.</doc>
        <doc-deprecated xml:space="preserve">Use cairo_set_operator() with Cairo.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="function" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkFunction to use</doc>
            <type name="Function" c:type="GdkFunction"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_line_attributes"
              c:identifier="gdk_gc_set_line_attributes"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets various attributes of how lines are drawn. See
the corresponding members of #GdkGCValues for full
explanations of the arguments.</doc>
        <doc-deprecated xml:space="preserve">Use the Cairo functions cairo_set_line_width(),
cairo_set_line_join(), cairo_set_line_cap() and cairo_set_dash()
to affect the stroking behavior in Cairo. Keep in mind that the default
attributes of a #cairo_t are different from the default attributes of
a #GdkGC.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="line_width" transfer-ownership="none">
            <doc xml:space="preserve">the width of lines.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="line_style" transfer-ownership="none">
            <doc xml:space="preserve">the dash-style for lines.</doc>
            <type name="LineStyle" c:type="GdkLineStyle"/>
          </parameter>
          <parameter name="cap_style" transfer-ownership="none">
            <doc xml:space="preserve">the manner in which the ends of lines are drawn.</doc>
            <type name="CapStyle" c:type="GdkCapStyle"/>
          </parameter>
          <parameter name="join_style" transfer-ownership="none">
            <doc xml:space="preserve">the in which lines are joined together.</doc>
            <type name="JoinStyle" c:type="GdkJoinStyle"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_rgb_bg_color"
              c:identifier="gdk_gc_set_rgb_bg_color"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Set the background color of a GC using an unallocated color. The
pixel value for the color will be determined using GdkRGB. If the
colormap for the GC has not previously been initialized for GdkRGB,
then for pseudo-color colormaps (colormaps with a small modifiable
number of colors), a colorcube will be allocated in the colormap.

Calling this function for a GC without a colormap is an error.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_cairo_set_source_color() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">an unallocated #GdkColor.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_rgb_fg_color"
              c:identifier="gdk_gc_set_rgb_fg_color"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Set the foreground color of a GC using an unallocated color. The
pixel value for the color will be determined using GdkRGB. If the
colormap for the GC has not previously been initialized for GdkRGB,
then for pseudo-color colormaps (colormaps with a small modifiable
number of colors), a colorcube will be allocated in the colormap.

Calling this function for a GC without a colormap is an error.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_cairo_set_source_color() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">an unallocated #GdkColor.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_stipple"
              c:identifier="gdk_gc_set_stipple"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Set the stipple bitmap for a graphics context. The
stipple will only be used if the fill mode is
%GDK_STIPPLED or %GDK_OPAQUE_STIPPLED.</doc>
        <doc-deprecated xml:space="preserve">Stippling has no direct replacement in Cairo. If you
want to achieve an identical look, you can use the stipple bitmap as a
mask. Most likely, this involves rendering the source to an intermediate
surface using cairo_push_group() first, so that you can then use
cairo_mask() to achieve the stippled look.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="stipple" transfer-ownership="none">
            <doc xml:space="preserve">the new stipple bitmap.</doc>
            <type name="Pixmap" c:type="GdkPixmap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_subwindow"
              c:identifier="gdk_gc_set_subwindow"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets how drawing with this GC on a window will affect child
windows of that window.</doc>
        <doc-deprecated xml:space="preserve">There is no replacement. If you need to control
subwindows, you must use drawing operations of the underlying window
system manually. Cairo will always use %GDK_INCLUDE_INFERIORS on sources
and masks and %GDK_CLIP_BY_CHILDREN on targets.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="mode" transfer-ownership="none">
            <doc xml:space="preserve">the subwindow mode.</doc>
            <type name="SubwindowMode" c:type="GdkSubwindowMode"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_tile"
              c:identifier="gdk_gc_set_tile"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Set a tile pixmap for a graphics context.
This will only be used if the fill mode
is %GDK_TILED.</doc>
        <doc-deprecated xml:space="preserve">The following code snippet sets a tiling #GdkPixmap
as the source in Cairo:
|[gdk_cairo_set_source_pixmap (cr, tile, ts_origin_x, ts_origin_y);
cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT);]|</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="tile" transfer-ownership="none">
            <doc xml:space="preserve">the new tile pixmap.</doc>
            <type name="Pixmap" c:type="GdkPixmap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_ts_origin"
              c:identifier="gdk_gc_set_ts_origin"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Set the origin when using tiles or stipples with
the GC. The tile or stipple will be aligned such
that the upper left corner of the tile or stipple
will coincide with this point.</doc>
        <doc-deprecated xml:space="preserve">You can set the origin for tiles and stipples in Cairo
by changing the source's matrix using cairo_pattern_set_matrix(). Or you
can specify it with gdk_cairo_set_source_pixmap() as shown in the example
for gdk_gc_set_tile().</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC.</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">the x-coordinate of the origin.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">the y-coordinate of the origin.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_values"
              c:identifier="gdk_gc_set_values"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets attributes of a graphics context in bulk. For each flag set in
@values_mask, the corresponding field will be read from @values and
set as the new value for @gc. If you're only setting a few values
on @gc, calling individual "setter" functions is likely more
convenient.</doc>
        <doc-deprecated xml:space="preserve">Use Cairo for rendering.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
          <parameter name="values" transfer-ownership="none">
            <doc xml:space="preserve">struct containing the new values</doc>
            <type name="GCValues" c:type="GdkGCValues*"/>
          </parameter>
          <parameter name="values_mask" transfer-ownership="none">
            <doc xml:space="preserve">mask indicating which struct fields are to be used</doc>
            <type name="GCValuesMask" c:type="GdkGCValuesMask"/>
          </parameter>
        </parameters>
      </method>
      <method name="unref"
              c:identifier="gdk_gc_unref"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Decrement the reference count of @gc.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_unref() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gc" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkGC</doc>
            <type name="GC" c:type="GdkGC*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="clip_x_origin">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="clip_y_origin">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="ts_x_origin">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="ts_y_origin">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="colormap">
        <type name="Colormap" c:type="GdkColormap*"/>
      </field>
    </class>
    <record name="GCClass" c:type="GdkGCClass" glib:is-gtype-struct-for="GC">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="get_values">
        <callback name="get_values">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="gc" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkGC.</doc>
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="values" transfer-ownership="none">
              <doc xml:space="preserve">the #GdkGCValues structure in which to store the results.</doc>
              <type name="GCValues" c:type="GdkGCValues*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_values">
        <callback name="set_values">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="gc" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkGC</doc>
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="values" transfer-ownership="none">
              <doc xml:space="preserve">struct containing the new values</doc>
              <type name="GCValues" c:type="GdkGCValues*"/>
            </parameter>
            <parameter name="mask" transfer-ownership="none">
              <type name="GCValuesMask" c:type="GdkGCValuesMask"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="set_dashes">
        <callback name="set_dashes">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="gc" transfer-ownership="none">
              <doc xml:space="preserve">a #GdkGC.</doc>
              <type name="GC" c:type="GdkGC*"/>
            </parameter>
            <parameter name="dash_offset" transfer-ownership="none">
              <doc xml:space="preserve">the phase of the dash pattern.</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
            <parameter name="dash_list" transfer-ownership="none">
              <doc xml:space="preserve">an array of dash lengths.</doc>
              <type name="gint8" c:type="gint8"/>
            </parameter>
            <parameter name="n" transfer-ownership="none">
              <doc xml:space="preserve">the number of elements in @dash_list.</doc>
              <type name="gint" c:type="gint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_gdk_reserved1" introspectable="0">
        <callback name="_gdk_reserved1">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved2" introspectable="0">
        <callback name="_gdk_reserved2">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved3" introspectable="0">
        <callback name="_gdk_reserved3">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_gdk_reserved4" introspectable="0">
        <callback name="_gdk_reserved4">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="GCValues" c:type="GdkGCValues">
      <field name="foreground" writable="1">
        <type name="Color" c:type="GdkColor"/>
      </field>
      <field name="background" writable="1">
        <type name="Color" c:type="GdkColor"/>
      </field>
      <field name="font" writable="1">
        <type name="Font" c:type="GdkFont*"/>
      </field>
      <field name="function" writable="1">
        <type name="Function" c:type="GdkFunction"/>
      </field>
      <field name="fill" writable="1">
        <type name="Fill" c:type="GdkFill"/>
      </field>
      <field name="tile" writable="1">
        <type name="Pixmap" c:type="GdkPixmap*"/>
      </field>
      <field name="stipple" writable="1">
        <type name="Pixmap" c:type="GdkPixmap*"/>
      </field>
      <field name="clip_mask" writable="1">
        <type name="Pixmap" c:type="GdkPixmap*"/>
      </field>
      <field name="subwindow_mode" writable="1">
        <type name="SubwindowMode" c:type="GdkSubwindowMode"/>
      </field>
      <field name="ts_x_origin" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="ts_y_origin" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="clip_x_origin" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="clip_y_origin" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="graphics_exposures" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="line_width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="line_style" writable="1">
        <type name="LineStyle" c:type="GdkLineStyle"/>
      </field>
      <field name="cap_style" writable="1">
        <type name="CapStyle" c:type="GdkCapStyle"/>
      </field>
      <field name="join_style" writable="1">
        <type name="JoinStyle" c:type="GdkJoinStyle"/>
      </field>
    </record>
    <bitfield name="GCValuesMask"
              glib:type-name="GdkGCValuesMask"
              glib:get-type="gdk_gc_values_mask_get_type"
              c:type="GdkGCValuesMask">
      <member name="foreground"
              value="1"
              c:identifier="GDK_GC_FOREGROUND"
              glib:nick="foreground">
      </member>
      <member name="background"
              value="2"
              c:identifier="GDK_GC_BACKGROUND"
              glib:nick="background">
      </member>
      <member name="font"
              value="4"
              c:identifier="GDK_GC_FONT"
              glib:nick="font">
      </member>
      <member name="function"
              value="8"
              c:identifier="GDK_GC_FUNCTION"
              glib:nick="function">
      </member>
      <member name="fill"
              value="16"
              c:identifier="GDK_GC_FILL"
              glib:nick="fill">
      </member>
      <member name="tile"
              value="32"
              c:identifier="GDK_GC_TILE"
              glib:nick="tile">
      </member>
      <member name="stipple"
              value="64"
              c:identifier="GDK_GC_STIPPLE"
              glib:nick="stipple">
      </member>
      <member name="clip_mask"
              value="128"
              c:identifier="GDK_GC_CLIP_MASK"
              glib:nick="clip-mask">
      </member>
      <member name="subwindow"
              value="256"
              c:identifier="GDK_GC_SUBWINDOW"
              glib:nick="subwindow">
      </member>
      <member name="ts_x_origin"
              value="512"
              c:identifier="GDK_GC_TS_X_ORIGIN"
              glib:nick="ts-x-origin">
      </member>
      <member name="ts_y_origin"
              value="1024"
              c:identifier="GDK_GC_TS_Y_ORIGIN"
              glib:nick="ts-y-origin">
      </member>
      <member name="clip_x_origin"
              value="2048"
              c:identifier="GDK_GC_CLIP_X_ORIGIN"
              glib:nick="clip-x-origin">
      </member>
      <member name="clip_y_origin"
              value="4096"
              c:identifier="GDK_GC_CLIP_Y_ORIGIN"
              glib:nick="clip-y-origin">
      </member>
      <member name="exposures"
              value="8192"
              c:identifier="GDK_GC_EXPOSURES"
              glib:nick="exposures">
      </member>
      <member name="line_width"
              value="16384"
              c:identifier="GDK_GC_LINE_WIDTH"
              glib:nick="line-width">
      </member>
      <member name="line_style"
              value="32768"
              c:identifier="GDK_GC_LINE_STYLE"
              glib:nick="line-style">
      </member>
      <member name="cap_style"
              value="65536"
              c:identifier="GDK_GC_CAP_STYLE"
              glib:nick="cap-style">
      </member>
      <member name="join_style"
              value="131072"
              c:identifier="GDK_GC_JOIN_STYLE"
              glib:nick="join-style">
      </member>
    </bitfield>
    <record name="Geometry" c:type="GdkGeometry">
      <field name="min_width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="min_height" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="max_width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="max_height" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="base_width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="base_height" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="width_inc" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="height_inc" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="min_aspect" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="max_aspect" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="win_gravity" writable="1">
        <type name="Gravity" c:type="GdkGravity"/>
      </field>
    </record>
    <enumeration name="GrabStatus"
                 glib:type-name="GdkGrabStatus"
                 glib:get-type="gdk_grab_status_get_type"
                 c:type="GdkGrabStatus">
      <member name="success"
              value="0"
              c:identifier="GDK_GRAB_SUCCESS"
              glib:nick="success">
      </member>
      <member name="already_grabbed"
              value="1"
              c:identifier="GDK_GRAB_ALREADY_GRABBED"
              glib:nick="already-grabbed">
      </member>
      <member name="invalid_time"
              value="2"
              c:identifier="GDK_GRAB_INVALID_TIME"
              glib:nick="invalid-time">
      </member>
      <member name="not_viewable"
              value="3"
              c:identifier="GDK_GRAB_NOT_VIEWABLE"
              glib:nick="not-viewable">
      </member>
      <member name="frozen"
              value="4"
              c:identifier="GDK_GRAB_FROZEN"
              glib:nick="frozen">
      </member>
    </enumeration>
    <enumeration name="Gravity"
                 glib:type-name="GdkGravity"
                 glib:get-type="gdk_gravity_get_type"
                 c:type="GdkGravity">
      <member name="north_west"
              value="1"
              c:identifier="GDK_GRAVITY_NORTH_WEST"
              glib:nick="north-west">
      </member>
      <member name="north"
              value="2"
              c:identifier="GDK_GRAVITY_NORTH"
              glib:nick="north">
      </member>
      <member name="north_east"
              value="3"
              c:identifier="GDK_GRAVITY_NORTH_EAST"
              glib:nick="north-east">
      </member>
      <member name="west"
              value="4"
              c:identifier="GDK_GRAVITY_WEST"
              glib:nick="west">
      </member>
      <member name="center"
              value="5"
              c:identifier="GDK_GRAVITY_CENTER"
              glib:nick="center">
      </member>
      <member name="east"
              value="6"
              c:identifier="GDK_GRAVITY_EAST"
              glib:nick="east">
      </member>
      <member name="south_west"
              value="7"
              c:identifier="GDK_GRAVITY_SOUTH_WEST"
              glib:nick="south-west">
      </member>
      <member name="south"
              value="8"
              c:identifier="GDK_GRAVITY_SOUTH"
              glib:nick="south">
      </member>
      <member name="south_east"
              value="9"
              c:identifier="GDK_GRAVITY_SOUTH_EAST"
              glib:nick="south-east">
      </member>
      <member name="static"
              value="10"
              c:identifier="GDK_GRAVITY_STATIC"
              glib:nick="static">
      </member>
    </enumeration>
    <class name="Image"
           c:symbol-prefix="image"
           c:type="GdkImage"
           parent="GObject.Object"
           glib:type-name="GdkImage"
           glib:get-type="gdk_image_get_type"
           glib:type-struct="ImageClass">
      <constructor name="new" c:identifier="gdk_image_new">
        <return-value transfer-ownership="full">
          <type name="Image" c:type="GdkImage*"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <type name="ImageType" c:type="GdkImageType"/>
          </parameter>
          <parameter name="visual" transfer-ownership="none">
            <type name="Visual" c:type="GdkVisual*"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="get" c:identifier="gdk_image_get" introspectable="0">
        <doc xml:space="preserve">This is a deprecated wrapper for gdk_drawable_get_image();
gdk_drawable_get_image() should be used instead. Or even better: in
most cases gdk_pixbuf_get_from_drawable() is the most convenient
choice.</doc>
        <return-value>
          <doc xml:space="preserve">a new #GdkImage or %NULL</doc>
          <type name="Image" c:type="GdkImage*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate in @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate in @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of area in @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height of area in @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_bits_per_pixel"
              c:identifier="gdk_image_get_bits_per_pixel"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the number of bits per pixel of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the bits per pixel</doc>
          <type name="guint16" c:type="guint16"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_byte_order"
              c:identifier="gdk_image_get_byte_order"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the byte order of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkVisual</doc>
          <type name="ByteOrder" c:type="GdkByteOrder"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bytes_per_line"
              c:identifier="gdk_image_get_bytes_per_line"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the number of bytes per line of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the bytes per line</doc>
          <type name="guint16" c:type="guint16"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bytes_per_pixel"
              c:identifier="gdk_image_get_bytes_per_pixel"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the number of bytes per pixel of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the bytes per pixel</doc>
          <type name="guint16" c:type="guint16"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_colormap"
              c:identifier="gdk_image_get_colormap"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Retrieves the colormap for a given image, if it exists.  An image
will have a colormap if the drawable from which it was created has
a colormap, or if a colormap was set explicitely with
gdk_image_set_colormap().</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">colormap for the image</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_depth"
              c:identifier="gdk_image_get_depth"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the depth of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the depth</doc>
          <type name="guint16" c:type="guint16"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_height"
              c:identifier="gdk_image_get_height"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the height of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the height</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_image_type"
              c:identifier="gdk_image_get_image_type"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the type of a given image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkImageType of the image</doc>
          <type name="ImageType" c:type="GdkImageType"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pixel" c:identifier="gdk_image_get_pixel">
        <return-value transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_pixels"
              c:identifier="gdk_image_get_pixels"
              version="2.22"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Returns a pointer to the pixel data of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the pixel data of the image</doc>
          <type name="gpointer" c:type="gpointer"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_visual"
              c:identifier="gdk_image_get_visual"
              version="2.22"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the visual that was used to create the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">a #GdkVisual</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_width"
              c:identifier="gdk_image_get_width"
              version="2.22"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Determines the width of the image.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the width</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="put_pixel" c:identifier="gdk_image_put_pixel">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="pixel" transfer-ownership="none">
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="ref"
              c:identifier="gdk_image_ref"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Deprecated function; use g_object_ref() instead.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_ref() instead.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">the image</doc>
          <type name="Image" c:type="GdkImage*"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_colormap"
              c:identifier="gdk_image_set_colormap"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Sets the colormap for the image to the given colormap.  Normally
there's no need to use this function, images are created with the
correct colormap if you get the image from a drawable. If you
create the image from scratch, use the colormap of the drawable you
intend to render the image to.</doc>
        <doc-deprecated xml:space="preserve">#GdkImage should not be used anymore.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unref"
              c:identifier="gdk_image_unref"
              deprecated="1"
              deprecated-version="2.0">
        <doc xml:space="preserve">Deprecated function; use g_object_unref() instead.</doc>
        <doc-deprecated xml:space="preserve">Use g_object_unref() instead.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="image" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkImage</doc>
            <type name="Image" c:type="GdkImage*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="type">
        <type name="ImageType" c:type="GdkImageType"/>
      </field>
      <field name="visual">
        <type name="Visual" c:type="GdkVisual*"/>
      </field>
      <field name="byte_order">
        <type name="ByteOrder" c:type="GdkByteOrder"/>
      </field>
      <field name="width">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="height">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="depth">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="bpp">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="bpl">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="bits_per_pixel">
        <type name="guint16" c:type="guint16"/>
      </field>
      <field name="mem">
        <type name="gpointer" c:type="gpointer"/>
      </field>
      <field name="colormap">
        <type name="Colormap" c:type="GdkColormap*"/>
      </field>
      <field name="windowing_data" readable="0" private="1">
        <type name="gpointer" c:type="gpointer"/>
      </field>
    </class>
    <record name="ImageClass"
            c:type="GdkImageClass"
            glib:is-gtype-struct-for="Image">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <enumeration name="ImageType"
                 glib:type-name="GdkImageType"
                 glib:get-type="gdk_image_type_get_type"
                 c:type="GdkImageType">
      <member name="normal"
              value="0"
              c:identifier="GDK_IMAGE_NORMAL"
              glib:nick="normal">
      </member>
      <member name="shared"
              value="1"
              c:identifier="GDK_IMAGE_SHARED"
              glib:nick="shared">
      </member>
      <member name="fastest"
              value="2"
              c:identifier="GDK_IMAGE_FASTEST"
              glib:nick="fastest">
      </member>
    </enumeration>
    <bitfield name="InputCondition"
              glib:type-name="GdkInputCondition"
              glib:get-type="gdk_input_condition_get_type"
              c:type="GdkInputCondition">
      <member name="read"
              value="1"
              c:identifier="GDK_INPUT_READ"
              glib:nick="read">
      </member>
      <member name="write"
              value="2"
              c:identifier="GDK_INPUT_WRITE"
              glib:nick="write">
      </member>
      <member name="exception"
              value="4"
              c:identifier="GDK_INPUT_EXCEPTION"
              glib:nick="exception">
      </member>
    </bitfield>
    <callback name="InputFunction" c:type="GdkInputFunction">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="data" transfer-ownership="none">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="source" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="condition" transfer-ownership="none">
          <type name="InputCondition" c:type="GdkInputCondition"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="InputMode"
                 glib:type-name="GdkInputMode"
                 glib:get-type="gdk_input_mode_get_type"
                 c:type="GdkInputMode">
      <member name="disabled"
              value="0"
              c:identifier="GDK_MODE_DISABLED"
              glib:nick="disabled">
      </member>
      <member name="screen"
              value="1"
              c:identifier="GDK_MODE_SCREEN"
              glib:nick="screen">
      </member>
      <member name="window"
              value="2"
              c:identifier="GDK_MODE_WINDOW"
              glib:nick="window">
      </member>
    </enumeration>
    <enumeration name="InputSource"
                 glib:type-name="GdkInputSource"
                 glib:get-type="gdk_input_source_get_type"
                 c:type="GdkInputSource">
      <member name="mouse"
              value="0"
              c:identifier="GDK_SOURCE_MOUSE"
              glib:nick="mouse">
      </member>
      <member name="pen"
              value="1"
              c:identifier="GDK_SOURCE_PEN"
              glib:nick="pen">
      </member>
      <member name="eraser"
              value="2"
              c:identifier="GDK_SOURCE_ERASER"
              glib:nick="eraser">
      </member>
      <member name="cursor"
              value="3"
              c:identifier="GDK_SOURCE_CURSOR"
              glib:nick="cursor">
      </member>
    </enumeration>
    <enumeration name="JoinStyle"
                 glib:type-name="GdkJoinStyle"
                 glib:get-type="gdk_join_style_get_type"
                 c:type="GdkJoinStyle">
      <member name="miter"
              value="0"
              c:identifier="GDK_JOIN_MITER"
              glib:nick="miter">
      </member>
      <member name="round"
              value="1"
              c:identifier="GDK_JOIN_ROUND"
              glib:nick="round">
      </member>
      <member name="bevel"
              value="2"
              c:identifier="GDK_JOIN_BEVEL"
              glib:nick="bevel">
      </member>
    </enumeration>
    <constant name="KEY_0" value="48" c:type="GDK_KEY_0">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_1" value="49" c:type="GDK_KEY_1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_2" value="50" c:type="GDK_KEY_2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3" value="51" c:type="GDK_KEY_3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_AltCursor"
              value="64784"
              c:type="GDK_KEY_3270_AltCursor">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Attn" value="64782" c:type="GDK_KEY_3270_Attn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_BackTab"
              value="64773"
              c:type="GDK_KEY_3270_BackTab">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_ChangeScreen"
              value="64793"
              c:type="GDK_KEY_3270_ChangeScreen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Copy" value="64789" c:type="GDK_KEY_3270_Copy">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_CursorBlink"
              value="64783"
              c:type="GDK_KEY_3270_CursorBlink">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_CursorSelect"
              value="64796"
              c:type="GDK_KEY_3270_CursorSelect">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_DeleteWord"
              value="64794"
              c:type="GDK_KEY_3270_DeleteWord">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Duplicate"
              value="64769"
              c:type="GDK_KEY_3270_Duplicate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Enter" value="64798" c:type="GDK_KEY_3270_Enter">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_EraseEOF"
              value="64774"
              c:type="GDK_KEY_3270_EraseEOF">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_EraseInput"
              value="64775"
              c:type="GDK_KEY_3270_EraseInput">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_ExSelect"
              value="64795"
              c:type="GDK_KEY_3270_ExSelect">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_FieldMark"
              value="64770"
              c:type="GDK_KEY_3270_FieldMark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Ident" value="64787" c:type="GDK_KEY_3270_Ident">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Jump" value="64786" c:type="GDK_KEY_3270_Jump">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_KeyClick"
              value="64785"
              c:type="GDK_KEY_3270_KeyClick">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Left2" value="64772" c:type="GDK_KEY_3270_Left2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_PA1" value="64778" c:type="GDK_KEY_3270_PA1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_PA2" value="64779" c:type="GDK_KEY_3270_PA2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_PA3" value="64780" c:type="GDK_KEY_3270_PA3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Play" value="64790" c:type="GDK_KEY_3270_Play">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_PrintScreen"
              value="64797"
              c:type="GDK_KEY_3270_PrintScreen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Quit" value="64777" c:type="GDK_KEY_3270_Quit">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Record"
              value="64792"
              c:type="GDK_KEY_3270_Record">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Reset" value="64776" c:type="GDK_KEY_3270_Reset">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Right2"
              value="64771"
              c:type="GDK_KEY_3270_Right2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Rule" value="64788" c:type="GDK_KEY_3270_Rule">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Setup" value="64791" c:type="GDK_KEY_3270_Setup">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_3270_Test" value="64781" c:type="GDK_KEY_3270_Test">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_4" value="52" c:type="GDK_KEY_4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_5" value="53" c:type="GDK_KEY_5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_6" value="54" c:type="GDK_KEY_6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_7" value="55" c:type="GDK_KEY_7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_8" value="56" c:type="GDK_KEY_8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_9" value="57" c:type="GDK_KEY_9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_A" value="65" c:type="GDK_KEY_A">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AE" value="198" c:type="GDK_KEY_AE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Aacute" value="193" c:type="GDK_KEY_Aacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Abelowdot" value="16785056" c:type="GDK_KEY_Abelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Abreve" value="451" c:type="GDK_KEY_Abreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Abreveacute"
              value="16785070"
              c:type="GDK_KEY_Abreveacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Abrevebelowdot"
              value="16785078"
              c:type="GDK_KEY_Abrevebelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Abrevegrave"
              value="16785072"
              c:type="GDK_KEY_Abrevegrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Abrevehook"
              value="16785074"
              c:type="GDK_KEY_Abrevehook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Abrevetilde"
              value="16785076"
              c:type="GDK_KEY_Abrevetilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AccessX_Enable"
              value="65136"
              c:type="GDK_KEY_AccessX_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AccessX_Feedback_Enable"
              value="65137"
              c:type="GDK_KEY_AccessX_Feedback_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Acircumflex" value="194" c:type="GDK_KEY_Acircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Acircumflexacute"
              value="16785060"
              c:type="GDK_KEY_Acircumflexacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Acircumflexbelowdot"
              value="16785068"
              c:type="GDK_KEY_Acircumflexbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Acircumflexgrave"
              value="16785062"
              c:type="GDK_KEY_Acircumflexgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Acircumflexhook"
              value="16785064"
              c:type="GDK_KEY_Acircumflexhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Acircumflextilde"
              value="16785066"
              c:type="GDK_KEY_Acircumflextilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AddFavorite"
              value="269025081"
              c:type="GDK_KEY_AddFavorite">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Adiaeresis" value="196" c:type="GDK_KEY_Adiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Agrave" value="192" c:type="GDK_KEY_Agrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ahook" value="16785058" c:type="GDK_KEY_Ahook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Alt_L" value="65513" c:type="GDK_KEY_Alt_L">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Alt_R" value="65514" c:type="GDK_KEY_Alt_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Amacron" value="960" c:type="GDK_KEY_Amacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Aogonek" value="417" c:type="GDK_KEY_Aogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ApplicationLeft"
              value="269025104"
              c:type="GDK_KEY_ApplicationLeft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ApplicationRight"
              value="269025105"
              c:type="GDK_KEY_ApplicationRight">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_0" value="16778848" c:type="GDK_KEY_Arabic_0">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_1" value="16778849" c:type="GDK_KEY_Arabic_1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_2" value="16778850" c:type="GDK_KEY_Arabic_2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_3" value="16778851" c:type="GDK_KEY_Arabic_3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_4" value="16778852" c:type="GDK_KEY_Arabic_4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_5" value="16778853" c:type="GDK_KEY_Arabic_5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_6" value="16778854" c:type="GDK_KEY_Arabic_6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_7" value="16778855" c:type="GDK_KEY_Arabic_7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_8" value="16778856" c:type="GDK_KEY_Arabic_8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_9" value="16778857" c:type="GDK_KEY_Arabic_9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_ain" value="1497" c:type="GDK_KEY_Arabic_ain">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_alef" value="1479" c:type="GDK_KEY_Arabic_alef">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_alefmaksura"
              value="1513"
              c:type="GDK_KEY_Arabic_alefmaksura">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_beh" value="1480" c:type="GDK_KEY_Arabic_beh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_comma"
              value="1452"
              c:type="GDK_KEY_Arabic_comma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_dad" value="1494" c:type="GDK_KEY_Arabic_dad">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_dal" value="1487" c:type="GDK_KEY_Arabic_dal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_damma"
              value="1519"
              c:type="GDK_KEY_Arabic_damma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_dammatan"
              value="1516"
              c:type="GDK_KEY_Arabic_dammatan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_ddal"
              value="16778888"
              c:type="GDK_KEY_Arabic_ddal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_farsi_yeh"
              value="16778956"
              c:type="GDK_KEY_Arabic_farsi_yeh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_fatha"
              value="1518"
              c:type="GDK_KEY_Arabic_fatha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_fathatan"
              value="1515"
              c:type="GDK_KEY_Arabic_fathatan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_feh" value="1505" c:type="GDK_KEY_Arabic_feh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_fullstop"
              value="16778964"
              c:type="GDK_KEY_Arabic_fullstop">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_gaf"
              value="16778927"
              c:type="GDK_KEY_Arabic_gaf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_ghain"
              value="1498"
              c:type="GDK_KEY_Arabic_ghain">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_ha" value="1511" c:type="GDK_KEY_Arabic_ha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hah" value="1485" c:type="GDK_KEY_Arabic_hah">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hamza"
              value="1473"
              c:type="GDK_KEY_Arabic_hamza">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hamza_above"
              value="16778836"
              c:type="GDK_KEY_Arabic_hamza_above">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hamza_below"
              value="16778837"
              c:type="GDK_KEY_Arabic_hamza_below">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hamzaonalef"
              value="1475"
              c:type="GDK_KEY_Arabic_hamzaonalef">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hamzaonwaw"
              value="1476"
              c:type="GDK_KEY_Arabic_hamzaonwaw">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hamzaonyeh"
              value="1478"
              c:type="GDK_KEY_Arabic_hamzaonyeh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_hamzaunderalef"
              value="1477"
              c:type="GDK_KEY_Arabic_hamzaunderalef">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_heh" value="1511" c:type="GDK_KEY_Arabic_heh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_heh_doachashmee"
              value="16778942"
              c:type="GDK_KEY_Arabic_heh_doachashmee">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_heh_goal"
              value="16778945"
              c:type="GDK_KEY_Arabic_heh_goal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_jeem" value="1484" c:type="GDK_KEY_Arabic_jeem">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_jeh"
              value="16778904"
              c:type="GDK_KEY_Arabic_jeh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_kaf" value="1507" c:type="GDK_KEY_Arabic_kaf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_kasra"
              value="1520"
              c:type="GDK_KEY_Arabic_kasra">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_kasratan"
              value="1517"
              c:type="GDK_KEY_Arabic_kasratan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_keheh"
              value="16778921"
              c:type="GDK_KEY_Arabic_keheh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_khah" value="1486" c:type="GDK_KEY_Arabic_khah">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_lam" value="1508" c:type="GDK_KEY_Arabic_lam">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_madda_above"
              value="16778835"
              c:type="GDK_KEY_Arabic_madda_above">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_maddaonalef"
              value="1474"
              c:type="GDK_KEY_Arabic_maddaonalef">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_meem" value="1509" c:type="GDK_KEY_Arabic_meem">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_noon" value="1510" c:type="GDK_KEY_Arabic_noon">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_noon_ghunna"
              value="16778938"
              c:type="GDK_KEY_Arabic_noon_ghunna">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_peh"
              value="16778878"
              c:type="GDK_KEY_Arabic_peh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_percent"
              value="16778858"
              c:type="GDK_KEY_Arabic_percent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_qaf" value="1506" c:type="GDK_KEY_Arabic_qaf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_question_mark"
              value="1471"
              c:type="GDK_KEY_Arabic_question_mark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_ra" value="1489" c:type="GDK_KEY_Arabic_ra">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_rreh"
              value="16778897"
              c:type="GDK_KEY_Arabic_rreh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_sad" value="1493" c:type="GDK_KEY_Arabic_sad">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_seen" value="1491" c:type="GDK_KEY_Arabic_seen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_semicolon"
              value="1467"
              c:type="GDK_KEY_Arabic_semicolon">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_shadda"
              value="1521"
              c:type="GDK_KEY_Arabic_shadda">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_sheen"
              value="1492"
              c:type="GDK_KEY_Arabic_sheen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_sukun"
              value="1522"
              c:type="GDK_KEY_Arabic_sukun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_superscript_alef"
              value="16778864"
              c:type="GDK_KEY_Arabic_superscript_alef">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_switch"
              value="65406"
              c:type="GDK_KEY_Arabic_switch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_tah" value="1495" c:type="GDK_KEY_Arabic_tah">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_tatweel"
              value="1504"
              c:type="GDK_KEY_Arabic_tatweel">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_tcheh"
              value="16778886"
              c:type="GDK_KEY_Arabic_tcheh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_teh" value="1482" c:type="GDK_KEY_Arabic_teh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_tehmarbuta"
              value="1481"
              c:type="GDK_KEY_Arabic_tehmarbuta">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_thal" value="1488" c:type="GDK_KEY_Arabic_thal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_theh" value="1483" c:type="GDK_KEY_Arabic_theh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_tteh"
              value="16778873"
              c:type="GDK_KEY_Arabic_tteh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_veh"
              value="16778916"
              c:type="GDK_KEY_Arabic_veh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_waw" value="1512" c:type="GDK_KEY_Arabic_waw">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_yeh" value="1514" c:type="GDK_KEY_Arabic_yeh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_yeh_baree"
              value="16778962"
              c:type="GDK_KEY_Arabic_yeh_baree">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_zah" value="1496" c:type="GDK_KEY_Arabic_zah">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Arabic_zain" value="1490" c:type="GDK_KEY_Arabic_zain">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Aring" value="197" c:type="GDK_KEY_Aring">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_AT"
              value="16778552"
              c:type="GDK_KEY_Armenian_AT">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_AYB"
              value="16778545"
              c:type="GDK_KEY_Armenian_AYB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_BEN"
              value="16778546"
              c:type="GDK_KEY_Armenian_BEN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_CHA"
              value="16778569"
              c:type="GDK_KEY_Armenian_CHA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_DA"
              value="16778548"
              c:type="GDK_KEY_Armenian_DA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_DZA"
              value="16778561"
              c:type="GDK_KEY_Armenian_DZA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_E"
              value="16778551"
              c:type="GDK_KEY_Armenian_E">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_FE"
              value="16778582"
              c:type="GDK_KEY_Armenian_FE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_GHAT"
              value="16778562"
              c:type="GDK_KEY_Armenian_GHAT">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_GIM"
              value="16778547"
              c:type="GDK_KEY_Armenian_GIM">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_HI"
              value="16778565"
              c:type="GDK_KEY_Armenian_HI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_HO"
              value="16778560"
              c:type="GDK_KEY_Armenian_HO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_INI"
              value="16778555"
              c:type="GDK_KEY_Armenian_INI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_JE"
              value="16778571"
              c:type="GDK_KEY_Armenian_JE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_KE"
              value="16778580"
              c:type="GDK_KEY_Armenian_KE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_KEN"
              value="16778559"
              c:type="GDK_KEY_Armenian_KEN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_KHE"
              value="16778557"
              c:type="GDK_KEY_Armenian_KHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_LYUN"
              value="16778556"
              c:type="GDK_KEY_Armenian_LYUN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_MEN"
              value="16778564"
              c:type="GDK_KEY_Armenian_MEN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_NU"
              value="16778566"
              c:type="GDK_KEY_Armenian_NU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_O"
              value="16778581"
              c:type="GDK_KEY_Armenian_O">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_PE"
              value="16778570"
              c:type="GDK_KEY_Armenian_PE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_PYUR"
              value="16778579"
              c:type="GDK_KEY_Armenian_PYUR">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_RA"
              value="16778572"
              c:type="GDK_KEY_Armenian_RA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_RE"
              value="16778576"
              c:type="GDK_KEY_Armenian_RE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_SE"
              value="16778573"
              c:type="GDK_KEY_Armenian_SE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_SHA"
              value="16778567"
              c:type="GDK_KEY_Armenian_SHA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_TCHE"
              value="16778563"
              c:type="GDK_KEY_Armenian_TCHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_TO"
              value="16778553"
              c:type="GDK_KEY_Armenian_TO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_TSA"
              value="16778558"
              c:type="GDK_KEY_Armenian_TSA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_TSO"
              value="16778577"
              c:type="GDK_KEY_Armenian_TSO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_TYUN"
              value="16778575"
              c:type="GDK_KEY_Armenian_TYUN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_VEV"
              value="16778574"
              c:type="GDK_KEY_Armenian_VEV">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_VO"
              value="16778568"
              c:type="GDK_KEY_Armenian_VO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_VYUN"
              value="16778578"
              c:type="GDK_KEY_Armenian_VYUN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_YECH"
              value="16778549"
              c:type="GDK_KEY_Armenian_YECH">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ZA"
              value="16778550"
              c:type="GDK_KEY_Armenian_ZA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ZHE"
              value="16778554"
              c:type="GDK_KEY_Armenian_ZHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_accent"
              value="16778587"
              c:type="GDK_KEY_Armenian_accent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_amanak"
              value="16778588"
              c:type="GDK_KEY_Armenian_amanak">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_apostrophe"
              value="16778586"
              c:type="GDK_KEY_Armenian_apostrophe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_at"
              value="16778600"
              c:type="GDK_KEY_Armenian_at">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ayb"
              value="16778593"
              c:type="GDK_KEY_Armenian_ayb">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ben"
              value="16778594"
              c:type="GDK_KEY_Armenian_ben">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_but"
              value="16778589"
              c:type="GDK_KEY_Armenian_but">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_cha"
              value="16778617"
              c:type="GDK_KEY_Armenian_cha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_da"
              value="16778596"
              c:type="GDK_KEY_Armenian_da">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_dza"
              value="16778609"
              c:type="GDK_KEY_Armenian_dza">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_e"
              value="16778599"
              c:type="GDK_KEY_Armenian_e">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_exclam"
              value="16778588"
              c:type="GDK_KEY_Armenian_exclam">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_fe"
              value="16778630"
              c:type="GDK_KEY_Armenian_fe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_full_stop"
              value="16778633"
              c:type="GDK_KEY_Armenian_full_stop">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ghat"
              value="16778610"
              c:type="GDK_KEY_Armenian_ghat">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_gim"
              value="16778595"
              c:type="GDK_KEY_Armenian_gim">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_hi"
              value="16778613"
              c:type="GDK_KEY_Armenian_hi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ho"
              value="16778608"
              c:type="GDK_KEY_Armenian_ho">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_hyphen"
              value="16778634"
              c:type="GDK_KEY_Armenian_hyphen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ini"
              value="16778603"
              c:type="GDK_KEY_Armenian_ini">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_je"
              value="16778619"
              c:type="GDK_KEY_Armenian_je">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ke"
              value="16778628"
              c:type="GDK_KEY_Armenian_ke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ken"
              value="16778607"
              c:type="GDK_KEY_Armenian_ken">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_khe"
              value="16778605"
              c:type="GDK_KEY_Armenian_khe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ligature_ew"
              value="16778631"
              c:type="GDK_KEY_Armenian_ligature_ew">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_lyun"
              value="16778604"
              c:type="GDK_KEY_Armenian_lyun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_men"
              value="16778612"
              c:type="GDK_KEY_Armenian_men">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_nu"
              value="16778614"
              c:type="GDK_KEY_Armenian_nu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_o"
              value="16778629"
              c:type="GDK_KEY_Armenian_o">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_paruyk"
              value="16778590"
              c:type="GDK_KEY_Armenian_paruyk">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_pe"
              value="16778618"
              c:type="GDK_KEY_Armenian_pe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_pyur"
              value="16778627"
              c:type="GDK_KEY_Armenian_pyur">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_question"
              value="16778590"
              c:type="GDK_KEY_Armenian_question">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_ra"
              value="16778620"
              c:type="GDK_KEY_Armenian_ra">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_re"
              value="16778624"
              c:type="GDK_KEY_Armenian_re">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_se"
              value="16778621"
              c:type="GDK_KEY_Armenian_se">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_separation_mark"
              value="16778589"
              c:type="GDK_KEY_Armenian_separation_mark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_sha"
              value="16778615"
              c:type="GDK_KEY_Armenian_sha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_shesht"
              value="16778587"
              c:type="GDK_KEY_Armenian_shesht">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_tche"
              value="16778611"
              c:type="GDK_KEY_Armenian_tche">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_to"
              value="16778601"
              c:type="GDK_KEY_Armenian_to">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_tsa"
              value="16778606"
              c:type="GDK_KEY_Armenian_tsa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_tso"
              value="16778625"
              c:type="GDK_KEY_Armenian_tso">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_tyun"
              value="16778623"
              c:type="GDK_KEY_Armenian_tyun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_verjaket"
              value="16778633"
              c:type="GDK_KEY_Armenian_verjaket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_vev"
              value="16778622"
              c:type="GDK_KEY_Armenian_vev">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_vo"
              value="16778616"
              c:type="GDK_KEY_Armenian_vo">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_vyun"
              value="16778626"
              c:type="GDK_KEY_Armenian_vyun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_yech"
              value="16778597"
              c:type="GDK_KEY_Armenian_yech">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_yentamna"
              value="16778634"
              c:type="GDK_KEY_Armenian_yentamna">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_za"
              value="16778598"
              c:type="GDK_KEY_Armenian_za">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Armenian_zhe"
              value="16778602"
              c:type="GDK_KEY_Armenian_zhe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Atilde" value="195" c:type="GDK_KEY_Atilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudibleBell_Enable"
              value="65146"
              c:type="GDK_KEY_AudibleBell_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioCycleTrack"
              value="269025179"
              c:type="GDK_KEY_AudioCycleTrack">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioForward"
              value="269025175"
              c:type="GDK_KEY_AudioForward">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioLowerVolume"
              value="269025041"
              c:type="GDK_KEY_AudioLowerVolume">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioMedia"
              value="269025074"
              c:type="GDK_KEY_AudioMedia">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioMute"
              value="269025042"
              c:type="GDK_KEY_AudioMute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioNext"
              value="269025047"
              c:type="GDK_KEY_AudioNext">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioPause"
              value="269025073"
              c:type="GDK_KEY_AudioPause">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioPlay"
              value="269025044"
              c:type="GDK_KEY_AudioPlay">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioPrev"
              value="269025046"
              c:type="GDK_KEY_AudioPrev">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioRaiseVolume"
              value="269025043"
              c:type="GDK_KEY_AudioRaiseVolume">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioRandomPlay"
              value="269025177"
              c:type="GDK_KEY_AudioRandomPlay">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioRecord"
              value="269025052"
              c:type="GDK_KEY_AudioRecord">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioRepeat"
              value="269025176"
              c:type="GDK_KEY_AudioRepeat">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioRewind"
              value="269025086"
              c:type="GDK_KEY_AudioRewind">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_AudioStop"
              value="269025045"
              c:type="GDK_KEY_AudioStop">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Away" value="269025165" c:type="GDK_KEY_Away">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_B" value="66" c:type="GDK_KEY_B">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Babovedot" value="16784898" c:type="GDK_KEY_Babovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Back" value="269025062" c:type="GDK_KEY_Back">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_BackForward"
              value="269025087"
              c:type="GDK_KEY_BackForward">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_BackSpace" value="65288" c:type="GDK_KEY_BackSpace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Battery" value="269025171" c:type="GDK_KEY_Battery">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Begin" value="65368" c:type="GDK_KEY_Begin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Blue" value="269025190" c:type="GDK_KEY_Blue">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Bluetooth"
              value="269025172"
              c:type="GDK_KEY_Bluetooth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Book" value="269025106" c:type="GDK_KEY_Book">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_BounceKeys_Enable"
              value="65140"
              c:type="GDK_KEY_BounceKeys_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Break" value="65387" c:type="GDK_KEY_Break">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_BrightnessAdjust"
              value="269025083"
              c:type="GDK_KEY_BrightnessAdjust">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Byelorussian_SHORTU"
              value="1726"
              c:type="GDK_KEY_Byelorussian_SHORTU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Byelorussian_shortu"
              value="1710"
              c:type="GDK_KEY_Byelorussian_shortu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_C" value="67" c:type="GDK_KEY_C">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_CD" value="269025107" c:type="GDK_KEY_CD">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cabovedot" value="709" c:type="GDK_KEY_Cabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cacute" value="454" c:type="GDK_KEY_Cacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Calculator"
              value="269025053"
              c:type="GDK_KEY_Calculator">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Calendar" value="269025056" c:type="GDK_KEY_Calendar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cancel" value="65385" c:type="GDK_KEY_Cancel">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Caps_Lock" value="65509" c:type="GDK_KEY_Caps_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ccaron" value="456" c:type="GDK_KEY_Ccaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ccedilla" value="199" c:type="GDK_KEY_Ccedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ccircumflex" value="710" c:type="GDK_KEY_Ccircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Clear" value="65291" c:type="GDK_KEY_Clear">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ClearGrab"
              value="269024801"
              c:type="GDK_KEY_ClearGrab">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Close" value="269025110" c:type="GDK_KEY_Close">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Codeinput" value="65335" c:type="GDK_KEY_Codeinput">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ColonSign" value="16785569" c:type="GDK_KEY_ColonSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Community"
              value="269025085"
              c:type="GDK_KEY_Community">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ContrastAdjust"
              value="269025058"
              c:type="GDK_KEY_ContrastAdjust">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Control_L" value="65507" c:type="GDK_KEY_Control_L">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Control_R" value="65508" c:type="GDK_KEY_Control_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Copy" value="269025111" c:type="GDK_KEY_Copy">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_CruzeiroSign"
              value="16785570"
              c:type="GDK_KEY_CruzeiroSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cut" value="269025112" c:type="GDK_KEY_Cut">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_CycleAngle"
              value="269025180"
              c:type="GDK_KEY_CycleAngle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_A" value="1761" c:type="GDK_KEY_Cyrillic_A">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_BE" value="1762" c:type="GDK_KEY_Cyrillic_BE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_CHE"
              value="1790"
              c:type="GDK_KEY_Cyrillic_CHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_CHE_descender"
              value="16778422"
              c:type="GDK_KEY_Cyrillic_CHE_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_CHE_vertstroke"
              value="16778424"
              c:type="GDK_KEY_Cyrillic_CHE_vertstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_DE" value="1764" c:type="GDK_KEY_Cyrillic_DE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_DZHE"
              value="1727"
              c:type="GDK_KEY_Cyrillic_DZHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_E" value="1788" c:type="GDK_KEY_Cyrillic_E">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_EF" value="1766" c:type="GDK_KEY_Cyrillic_EF">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_EL" value="1772" c:type="GDK_KEY_Cyrillic_EL">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_EM" value="1773" c:type="GDK_KEY_Cyrillic_EM">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_EN" value="1774" c:type="GDK_KEY_Cyrillic_EN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_EN_descender"
              value="16778402"
              c:type="GDK_KEY_Cyrillic_EN_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ER" value="1778" c:type="GDK_KEY_Cyrillic_ER">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ES" value="1779" c:type="GDK_KEY_Cyrillic_ES">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_GHE"
              value="1767"
              c:type="GDK_KEY_Cyrillic_GHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_GHE_bar"
              value="16778386"
              c:type="GDK_KEY_Cyrillic_GHE_bar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_HA" value="1768" c:type="GDK_KEY_Cyrillic_HA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_HARDSIGN"
              value="1791"
              c:type="GDK_KEY_Cyrillic_HARDSIGN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_HA_descender"
              value="16778418"
              c:type="GDK_KEY_Cyrillic_HA_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_I" value="1769" c:type="GDK_KEY_Cyrillic_I">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_IE" value="1765" c:type="GDK_KEY_Cyrillic_IE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_IO" value="1715" c:type="GDK_KEY_Cyrillic_IO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_I_macron"
              value="16778466"
              c:type="GDK_KEY_Cyrillic_I_macron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_JE" value="1720" c:type="GDK_KEY_Cyrillic_JE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_KA" value="1771" c:type="GDK_KEY_Cyrillic_KA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_KA_descender"
              value="16778394"
              c:type="GDK_KEY_Cyrillic_KA_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_KA_vertstroke"
              value="16778396"
              c:type="GDK_KEY_Cyrillic_KA_vertstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_LJE"
              value="1721"
              c:type="GDK_KEY_Cyrillic_LJE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_NJE"
              value="1722"
              c:type="GDK_KEY_Cyrillic_NJE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_O" value="1775" c:type="GDK_KEY_Cyrillic_O">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_O_bar"
              value="16778472"
              c:type="GDK_KEY_Cyrillic_O_bar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_PE" value="1776" c:type="GDK_KEY_Cyrillic_PE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_SCHWA"
              value="16778456"
              c:type="GDK_KEY_Cyrillic_SCHWA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_SHA"
              value="1787"
              c:type="GDK_KEY_Cyrillic_SHA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_SHCHA"
              value="1789"
              c:type="GDK_KEY_Cyrillic_SHCHA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_SHHA"
              value="16778426"
              c:type="GDK_KEY_Cyrillic_SHHA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_SHORTI"
              value="1770"
              c:type="GDK_KEY_Cyrillic_SHORTI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_SOFTSIGN"
              value="1784"
              c:type="GDK_KEY_Cyrillic_SOFTSIGN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_TE" value="1780" c:type="GDK_KEY_Cyrillic_TE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_TSE"
              value="1763"
              c:type="GDK_KEY_Cyrillic_TSE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_U" value="1781" c:type="GDK_KEY_Cyrillic_U">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_U_macron"
              value="16778478"
              c:type="GDK_KEY_Cyrillic_U_macron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_U_straight"
              value="16778414"
              c:type="GDK_KEY_Cyrillic_U_straight">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_U_straight_bar"
              value="16778416"
              c:type="GDK_KEY_Cyrillic_U_straight_bar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_VE" value="1783" c:type="GDK_KEY_Cyrillic_VE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_YA" value="1777" c:type="GDK_KEY_Cyrillic_YA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_YERU"
              value="1785"
              c:type="GDK_KEY_Cyrillic_YERU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_YU" value="1760" c:type="GDK_KEY_Cyrillic_YU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ZE" value="1786" c:type="GDK_KEY_Cyrillic_ZE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ZHE"
              value="1782"
              c:type="GDK_KEY_Cyrillic_ZHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ZHE_descender"
              value="16778390"
              c:type="GDK_KEY_Cyrillic_ZHE_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_a" value="1729" c:type="GDK_KEY_Cyrillic_a">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_be" value="1730" c:type="GDK_KEY_Cyrillic_be">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_che"
              value="1758"
              c:type="GDK_KEY_Cyrillic_che">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_che_descender"
              value="16778423"
              c:type="GDK_KEY_Cyrillic_che_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_che_vertstroke"
              value="16778425"
              c:type="GDK_KEY_Cyrillic_che_vertstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_de" value="1732" c:type="GDK_KEY_Cyrillic_de">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_dzhe"
              value="1711"
              c:type="GDK_KEY_Cyrillic_dzhe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_e" value="1756" c:type="GDK_KEY_Cyrillic_e">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ef" value="1734" c:type="GDK_KEY_Cyrillic_ef">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_el" value="1740" c:type="GDK_KEY_Cyrillic_el">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_em" value="1741" c:type="GDK_KEY_Cyrillic_em">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_en" value="1742" c:type="GDK_KEY_Cyrillic_en">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_en_descender"
              value="16778403"
              c:type="GDK_KEY_Cyrillic_en_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_er" value="1746" c:type="GDK_KEY_Cyrillic_er">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_es" value="1747" c:type="GDK_KEY_Cyrillic_es">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ghe"
              value="1735"
              c:type="GDK_KEY_Cyrillic_ghe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ghe_bar"
              value="16778387"
              c:type="GDK_KEY_Cyrillic_ghe_bar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ha" value="1736" c:type="GDK_KEY_Cyrillic_ha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ha_descender"
              value="16778419"
              c:type="GDK_KEY_Cyrillic_ha_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_hardsign"
              value="1759"
              c:type="GDK_KEY_Cyrillic_hardsign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_i" value="1737" c:type="GDK_KEY_Cyrillic_i">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_i_macron"
              value="16778467"
              c:type="GDK_KEY_Cyrillic_i_macron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ie" value="1733" c:type="GDK_KEY_Cyrillic_ie">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_io" value="1699" c:type="GDK_KEY_Cyrillic_io">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_je" value="1704" c:type="GDK_KEY_Cyrillic_je">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ka" value="1739" c:type="GDK_KEY_Cyrillic_ka">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ka_descender"
              value="16778395"
              c:type="GDK_KEY_Cyrillic_ka_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ka_vertstroke"
              value="16778397"
              c:type="GDK_KEY_Cyrillic_ka_vertstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_lje"
              value="1705"
              c:type="GDK_KEY_Cyrillic_lje">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_nje"
              value="1706"
              c:type="GDK_KEY_Cyrillic_nje">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_o" value="1743" c:type="GDK_KEY_Cyrillic_o">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_o_bar"
              value="16778473"
              c:type="GDK_KEY_Cyrillic_o_bar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_pe" value="1744" c:type="GDK_KEY_Cyrillic_pe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_schwa"
              value="16778457"
              c:type="GDK_KEY_Cyrillic_schwa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_sha"
              value="1755"
              c:type="GDK_KEY_Cyrillic_sha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_shcha"
              value="1757"
              c:type="GDK_KEY_Cyrillic_shcha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_shha"
              value="16778427"
              c:type="GDK_KEY_Cyrillic_shha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_shorti"
              value="1738"
              c:type="GDK_KEY_Cyrillic_shorti">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_softsign"
              value="1752"
              c:type="GDK_KEY_Cyrillic_softsign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_te" value="1748" c:type="GDK_KEY_Cyrillic_te">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_tse"
              value="1731"
              c:type="GDK_KEY_Cyrillic_tse">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_u" value="1749" c:type="GDK_KEY_Cyrillic_u">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_u_macron"
              value="16778479"
              c:type="GDK_KEY_Cyrillic_u_macron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_u_straight"
              value="16778415"
              c:type="GDK_KEY_Cyrillic_u_straight">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_u_straight_bar"
              value="16778417"
              c:type="GDK_KEY_Cyrillic_u_straight_bar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ve" value="1751" c:type="GDK_KEY_Cyrillic_ve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ya" value="1745" c:type="GDK_KEY_Cyrillic_ya">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_yeru"
              value="1753"
              c:type="GDK_KEY_Cyrillic_yeru">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_yu" value="1728" c:type="GDK_KEY_Cyrillic_yu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_ze" value="1754" c:type="GDK_KEY_Cyrillic_ze">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_zhe"
              value="1750"
              c:type="GDK_KEY_Cyrillic_zhe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Cyrillic_zhe_descender"
              value="16778391"
              c:type="GDK_KEY_Cyrillic_zhe_descender">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_D" value="68" c:type="GDK_KEY_D">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_DOS" value="269025114" c:type="GDK_KEY_DOS">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Dabovedot" value="16784906" c:type="GDK_KEY_Dabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Dcaron" value="463" c:type="GDK_KEY_Dcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Delete" value="65535" c:type="GDK_KEY_Delete">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Display" value="269025113" c:type="GDK_KEY_Display">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Documents"
              value="269025115"
              c:type="GDK_KEY_Documents">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_DongSign" value="16785579" c:type="GDK_KEY_DongSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Down" value="65364" c:type="GDK_KEY_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Dstroke" value="464" c:type="GDK_KEY_Dstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_E" value="69" c:type="GDK_KEY_E">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ENG" value="957" c:type="GDK_KEY_ENG">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ETH" value="208" c:type="GDK_KEY_ETH">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Eabovedot" value="972" c:type="GDK_KEY_Eabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Eacute" value="201" c:type="GDK_KEY_Eacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ebelowdot" value="16785080" c:type="GDK_KEY_Ebelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ecaron" value="460" c:type="GDK_KEY_Ecaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ecircumflex" value="202" c:type="GDK_KEY_Ecircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ecircumflexacute"
              value="16785086"
              c:type="GDK_KEY_Ecircumflexacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ecircumflexbelowdot"
              value="16785094"
              c:type="GDK_KEY_Ecircumflexbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ecircumflexgrave"
              value="16785088"
              c:type="GDK_KEY_Ecircumflexgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ecircumflexhook"
              value="16785090"
              c:type="GDK_KEY_Ecircumflexhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ecircumflextilde"
              value="16785092"
              c:type="GDK_KEY_Ecircumflextilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_EcuSign" value="16785568" c:type="GDK_KEY_EcuSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ediaeresis" value="203" c:type="GDK_KEY_Ediaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Egrave" value="200" c:type="GDK_KEY_Egrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ehook" value="16785082" c:type="GDK_KEY_Ehook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Eisu_Shift" value="65327" c:type="GDK_KEY_Eisu_Shift">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Eisu_toggle"
              value="65328"
              c:type="GDK_KEY_Eisu_toggle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Eject" value="269025068" c:type="GDK_KEY_Eject">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Emacron" value="938" c:type="GDK_KEY_Emacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_End" value="65367" c:type="GDK_KEY_End">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Eogonek" value="458" c:type="GDK_KEY_Eogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Escape" value="65307" c:type="GDK_KEY_Escape">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Eth" value="208" c:type="GDK_KEY_Eth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Etilde" value="16785084" c:type="GDK_KEY_Etilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_EuroSign" value="8364" c:type="GDK_KEY_EuroSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Excel" value="269025116" c:type="GDK_KEY_Excel">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Execute" value="65378" c:type="GDK_KEY_Execute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Explorer" value="269025117" c:type="GDK_KEY_Explorer">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F" value="70" c:type="GDK_KEY_F">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F1" value="65470" c:type="GDK_KEY_F1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F10" value="65479" c:type="GDK_KEY_F10">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F11" value="65480" c:type="GDK_KEY_F11">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F12" value="65481" c:type="GDK_KEY_F12">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F13" value="65482" c:type="GDK_KEY_F13">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F14" value="65483" c:type="GDK_KEY_F14">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F15" value="65484" c:type="GDK_KEY_F15">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F16" value="65485" c:type="GDK_KEY_F16">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F17" value="65486" c:type="GDK_KEY_F17">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F18" value="65487" c:type="GDK_KEY_F18">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F19" value="65488" c:type="GDK_KEY_F19">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F2" value="65471" c:type="GDK_KEY_F2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F20" value="65489" c:type="GDK_KEY_F20">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F21" value="65490" c:type="GDK_KEY_F21">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F22" value="65491" c:type="GDK_KEY_F22">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F23" value="65492" c:type="GDK_KEY_F23">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F24" value="65493" c:type="GDK_KEY_F24">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F25" value="65494" c:type="GDK_KEY_F25">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F26" value="65495" c:type="GDK_KEY_F26">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F27" value="65496" c:type="GDK_KEY_F27">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F28" value="65497" c:type="GDK_KEY_F28">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F29" value="65498" c:type="GDK_KEY_F29">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F3" value="65472" c:type="GDK_KEY_F3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F30" value="65499" c:type="GDK_KEY_F30">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F31" value="65500" c:type="GDK_KEY_F31">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F32" value="65501" c:type="GDK_KEY_F32">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F33" value="65502" c:type="GDK_KEY_F33">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F34" value="65503" c:type="GDK_KEY_F34">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F35" value="65504" c:type="GDK_KEY_F35">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F4" value="65473" c:type="GDK_KEY_F4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F5" value="65474" c:type="GDK_KEY_F5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F6" value="65475" c:type="GDK_KEY_F6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F7" value="65476" c:type="GDK_KEY_F7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F8" value="65477" c:type="GDK_KEY_F8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_F9" value="65478" c:type="GDK_KEY_F9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_FFrancSign"
              value="16785571"
              c:type="GDK_KEY_FFrancSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Fabovedot" value="16784926" c:type="GDK_KEY_Fabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_0" value="16778992" c:type="GDK_KEY_Farsi_0">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_1" value="16778993" c:type="GDK_KEY_Farsi_1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_2" value="16778994" c:type="GDK_KEY_Farsi_2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_3" value="16778995" c:type="GDK_KEY_Farsi_3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_4" value="16778996" c:type="GDK_KEY_Farsi_4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_5" value="16778997" c:type="GDK_KEY_Farsi_5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_6" value="16778998" c:type="GDK_KEY_Farsi_6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_7" value="16778999" c:type="GDK_KEY_Farsi_7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_8" value="16779000" c:type="GDK_KEY_Farsi_8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_9" value="16779001" c:type="GDK_KEY_Farsi_9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Farsi_yeh" value="16778956" c:type="GDK_KEY_Farsi_yeh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Favorites"
              value="269025072"
              c:type="GDK_KEY_Favorites">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Finance" value="269025084" c:type="GDK_KEY_Finance">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Find" value="65384" c:type="GDK_KEY_Find">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_First_Virtual_Screen"
              value="65232"
              c:type="GDK_KEY_First_Virtual_Screen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Forward" value="269025063" c:type="GDK_KEY_Forward">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_FrameBack"
              value="269025181"
              c:type="GDK_KEY_FrameBack">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_FrameForward"
              value="269025182"
              c:type="GDK_KEY_FrameForward">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_G" value="71" c:type="GDK_KEY_G">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Gabovedot" value="725" c:type="GDK_KEY_Gabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Game" value="269025118" c:type="GDK_KEY_Game">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Gbreve" value="683" c:type="GDK_KEY_Gbreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Gcaron" value="16777702" c:type="GDK_KEY_Gcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Gcedilla" value="939" c:type="GDK_KEY_Gcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Gcircumflex" value="728" c:type="GDK_KEY_Gcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_an"
              value="16781520"
              c:type="GDK_KEY_Georgian_an">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_ban"
              value="16781521"
              c:type="GDK_KEY_Georgian_ban">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_can"
              value="16781546"
              c:type="GDK_KEY_Georgian_can">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_char"
              value="16781549"
              c:type="GDK_KEY_Georgian_char">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_chin"
              value="16781545"
              c:type="GDK_KEY_Georgian_chin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_cil"
              value="16781548"
              c:type="GDK_KEY_Georgian_cil">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_don"
              value="16781523"
              c:type="GDK_KEY_Georgian_don">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_en"
              value="16781524"
              c:type="GDK_KEY_Georgian_en">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_fi"
              value="16781558"
              c:type="GDK_KEY_Georgian_fi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_gan"
              value="16781522"
              c:type="GDK_KEY_Georgian_gan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_ghan"
              value="16781542"
              c:type="GDK_KEY_Georgian_ghan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_hae"
              value="16781552"
              c:type="GDK_KEY_Georgian_hae">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_har"
              value="16781556"
              c:type="GDK_KEY_Georgian_har">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_he"
              value="16781553"
              c:type="GDK_KEY_Georgian_he">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_hie"
              value="16781554"
              c:type="GDK_KEY_Georgian_hie">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_hoe"
              value="16781557"
              c:type="GDK_KEY_Georgian_hoe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_in"
              value="16781528"
              c:type="GDK_KEY_Georgian_in">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_jhan"
              value="16781551"
              c:type="GDK_KEY_Georgian_jhan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_jil"
              value="16781547"
              c:type="GDK_KEY_Georgian_jil">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_kan"
              value="16781529"
              c:type="GDK_KEY_Georgian_kan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_khar"
              value="16781541"
              c:type="GDK_KEY_Georgian_khar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_las"
              value="16781530"
              c:type="GDK_KEY_Georgian_las">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_man"
              value="16781531"
              c:type="GDK_KEY_Georgian_man">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_nar"
              value="16781532"
              c:type="GDK_KEY_Georgian_nar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_on"
              value="16781533"
              c:type="GDK_KEY_Georgian_on">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_par"
              value="16781534"
              c:type="GDK_KEY_Georgian_par">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_phar"
              value="16781540"
              c:type="GDK_KEY_Georgian_phar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_qar"
              value="16781543"
              c:type="GDK_KEY_Georgian_qar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_rae"
              value="16781536"
              c:type="GDK_KEY_Georgian_rae">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_san"
              value="16781537"
              c:type="GDK_KEY_Georgian_san">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_shin"
              value="16781544"
              c:type="GDK_KEY_Georgian_shin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_tan"
              value="16781527"
              c:type="GDK_KEY_Georgian_tan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_tar"
              value="16781538"
              c:type="GDK_KEY_Georgian_tar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_un"
              value="16781539"
              c:type="GDK_KEY_Georgian_un">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_vin"
              value="16781525"
              c:type="GDK_KEY_Georgian_vin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_we"
              value="16781555"
              c:type="GDK_KEY_Georgian_we">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_xan"
              value="16781550"
              c:type="GDK_KEY_Georgian_xan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_zen"
              value="16781526"
              c:type="GDK_KEY_Georgian_zen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Georgian_zhar"
              value="16781535"
              c:type="GDK_KEY_Georgian_zhar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Go" value="269025119" c:type="GDK_KEY_Go">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_ALPHA" value="1985" c:type="GDK_KEY_Greek_ALPHA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_ALPHAaccent"
              value="1953"
              c:type="GDK_KEY_Greek_ALPHAaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_BETA" value="1986" c:type="GDK_KEY_Greek_BETA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_CHI" value="2007" c:type="GDK_KEY_Greek_CHI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_DELTA" value="1988" c:type="GDK_KEY_Greek_DELTA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_EPSILON"
              value="1989"
              c:type="GDK_KEY_Greek_EPSILON">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_EPSILONaccent"
              value="1954"
              c:type="GDK_KEY_Greek_EPSILONaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_ETA" value="1991" c:type="GDK_KEY_Greek_ETA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_ETAaccent"
              value="1955"
              c:type="GDK_KEY_Greek_ETAaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_GAMMA" value="1987" c:type="GDK_KEY_Greek_GAMMA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_IOTA" value="1993" c:type="GDK_KEY_Greek_IOTA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_IOTAaccent"
              value="1956"
              c:type="GDK_KEY_Greek_IOTAaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_IOTAdiaeresis"
              value="1957"
              c:type="GDK_KEY_Greek_IOTAdiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_IOTAdieresis"
              value="1957"
              c:type="GDK_KEY_Greek_IOTAdieresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_KAPPA" value="1994" c:type="GDK_KEY_Greek_KAPPA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_LAMBDA"
              value="1995"
              c:type="GDK_KEY_Greek_LAMBDA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_LAMDA" value="1995" c:type="GDK_KEY_Greek_LAMDA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_MU" value="1996" c:type="GDK_KEY_Greek_MU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_NU" value="1997" c:type="GDK_KEY_Greek_NU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_OMEGA" value="2009" c:type="GDK_KEY_Greek_OMEGA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_OMEGAaccent"
              value="1963"
              c:type="GDK_KEY_Greek_OMEGAaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_OMICRON"
              value="1999"
              c:type="GDK_KEY_Greek_OMICRON">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_OMICRONaccent"
              value="1959"
              c:type="GDK_KEY_Greek_OMICRONaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_PHI" value="2006" c:type="GDK_KEY_Greek_PHI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_PI" value="2000" c:type="GDK_KEY_Greek_PI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_PSI" value="2008" c:type="GDK_KEY_Greek_PSI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_RHO" value="2001" c:type="GDK_KEY_Greek_RHO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_SIGMA" value="2002" c:type="GDK_KEY_Greek_SIGMA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_TAU" value="2004" c:type="GDK_KEY_Greek_TAU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_THETA" value="1992" c:type="GDK_KEY_Greek_THETA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_UPSILON"
              value="2005"
              c:type="GDK_KEY_Greek_UPSILON">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_UPSILONaccent"
              value="1960"
              c:type="GDK_KEY_Greek_UPSILONaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_UPSILONdieresis"
              value="1961"
              c:type="GDK_KEY_Greek_UPSILONdieresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_XI" value="1998" c:type="GDK_KEY_Greek_XI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_ZETA" value="1990" c:type="GDK_KEY_Greek_ZETA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_accentdieresis"
              value="1966"
              c:type="GDK_KEY_Greek_accentdieresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_alpha" value="2017" c:type="GDK_KEY_Greek_alpha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_alphaaccent"
              value="1969"
              c:type="GDK_KEY_Greek_alphaaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_beta" value="2018" c:type="GDK_KEY_Greek_beta">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_chi" value="2039" c:type="GDK_KEY_Greek_chi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_delta" value="2020" c:type="GDK_KEY_Greek_delta">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_epsilon"
              value="2021"
              c:type="GDK_KEY_Greek_epsilon">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_epsilonaccent"
              value="1970"
              c:type="GDK_KEY_Greek_epsilonaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_eta" value="2023" c:type="GDK_KEY_Greek_eta">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_etaaccent"
              value="1971"
              c:type="GDK_KEY_Greek_etaaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_finalsmallsigma"
              value="2035"
              c:type="GDK_KEY_Greek_finalsmallsigma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_gamma" value="2019" c:type="GDK_KEY_Greek_gamma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_horizbar"
              value="1967"
              c:type="GDK_KEY_Greek_horizbar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_iota" value="2025" c:type="GDK_KEY_Greek_iota">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_iotaaccent"
              value="1972"
              c:type="GDK_KEY_Greek_iotaaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_iotaaccentdieresis"
              value="1974"
              c:type="GDK_KEY_Greek_iotaaccentdieresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_iotadieresis"
              value="1973"
              c:type="GDK_KEY_Greek_iotadieresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_kappa" value="2026" c:type="GDK_KEY_Greek_kappa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_lambda"
              value="2027"
              c:type="GDK_KEY_Greek_lambda">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_lamda" value="2027" c:type="GDK_KEY_Greek_lamda">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_mu" value="2028" c:type="GDK_KEY_Greek_mu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_nu" value="2029" c:type="GDK_KEY_Greek_nu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_omega" value="2041" c:type="GDK_KEY_Greek_omega">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_omegaaccent"
              value="1979"
              c:type="GDK_KEY_Greek_omegaaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_omicron"
              value="2031"
              c:type="GDK_KEY_Greek_omicron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_omicronaccent"
              value="1975"
              c:type="GDK_KEY_Greek_omicronaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_phi" value="2038" c:type="GDK_KEY_Greek_phi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_pi" value="2032" c:type="GDK_KEY_Greek_pi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_psi" value="2040" c:type="GDK_KEY_Greek_psi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_rho" value="2033" c:type="GDK_KEY_Greek_rho">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_sigma" value="2034" c:type="GDK_KEY_Greek_sigma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_switch"
              value="65406"
              c:type="GDK_KEY_Greek_switch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_tau" value="2036" c:type="GDK_KEY_Greek_tau">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_theta" value="2024" c:type="GDK_KEY_Greek_theta">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_upsilon"
              value="2037"
              c:type="GDK_KEY_Greek_upsilon">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_upsilonaccent"
              value="1976"
              c:type="GDK_KEY_Greek_upsilonaccent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_upsilonaccentdieresis"
              value="1978"
              c:type="GDK_KEY_Greek_upsilonaccentdieresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_upsilondieresis"
              value="1977"
              c:type="GDK_KEY_Greek_upsilondieresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_xi" value="2030" c:type="GDK_KEY_Greek_xi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Greek_zeta" value="2022" c:type="GDK_KEY_Greek_zeta">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Green" value="269025188" c:type="GDK_KEY_Green">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_H" value="72" c:type="GDK_KEY_H">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul" value="65329" c:type="GDK_KEY_Hangul">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_A" value="3775" c:type="GDK_KEY_Hangul_A">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_AE" value="3776" c:type="GDK_KEY_Hangul_AE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_AraeA"
              value="3830"
              c:type="GDK_KEY_Hangul_AraeA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_AraeAE"
              value="3831"
              c:type="GDK_KEY_Hangul_AraeAE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Banja"
              value="65337"
              c:type="GDK_KEY_Hangul_Banja">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Cieuc"
              value="3770"
              c:type="GDK_KEY_Hangul_Cieuc">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Codeinput"
              value="65335"
              c:type="GDK_KEY_Hangul_Codeinput">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Dikeud"
              value="3751"
              c:type="GDK_KEY_Hangul_Dikeud">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_E" value="3780" c:type="GDK_KEY_Hangul_E">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_EO" value="3779" c:type="GDK_KEY_Hangul_EO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_EU" value="3793" c:type="GDK_KEY_Hangul_EU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_End" value="65331" c:type="GDK_KEY_Hangul_End">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Hanja"
              value="65332"
              c:type="GDK_KEY_Hangul_Hanja">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Hieuh"
              value="3774"
              c:type="GDK_KEY_Hangul_Hieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_I" value="3795" c:type="GDK_KEY_Hangul_I">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Ieung"
              value="3767"
              c:type="GDK_KEY_Hangul_Ieung">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Cieuc"
              value="3818"
              c:type="GDK_KEY_Hangul_J_Cieuc">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Dikeud"
              value="3802"
              c:type="GDK_KEY_Hangul_J_Dikeud">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Hieuh"
              value="3822"
              c:type="GDK_KEY_Hangul_J_Hieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Ieung"
              value="3816"
              c:type="GDK_KEY_Hangul_J_Ieung">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Jieuj"
              value="3817"
              c:type="GDK_KEY_Hangul_J_Jieuj">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Khieuq"
              value="3819"
              c:type="GDK_KEY_Hangul_J_Khieuq">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Kiyeog"
              value="3796"
              c:type="GDK_KEY_Hangul_J_Kiyeog">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_KiyeogSios"
              value="3798"
              c:type="GDK_KEY_Hangul_J_KiyeogSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_KkogjiDalrinIeung"
              value="3833"
              c:type="GDK_KEY_Hangul_J_KkogjiDalrinIeung">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Mieum"
              value="3811"
              c:type="GDK_KEY_Hangul_J_Mieum">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Nieun"
              value="3799"
              c:type="GDK_KEY_Hangul_J_Nieun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_NieunHieuh"
              value="3801"
              c:type="GDK_KEY_Hangul_J_NieunHieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_NieunJieuj"
              value="3800"
              c:type="GDK_KEY_Hangul_J_NieunJieuj">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_PanSios"
              value="3832"
              c:type="GDK_KEY_Hangul_J_PanSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Phieuf"
              value="3821"
              c:type="GDK_KEY_Hangul_J_Phieuf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Pieub"
              value="3812"
              c:type="GDK_KEY_Hangul_J_Pieub">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_PieubSios"
              value="3813"
              c:type="GDK_KEY_Hangul_J_PieubSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Rieul"
              value="3803"
              c:type="GDK_KEY_Hangul_J_Rieul">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_RieulHieuh"
              value="3810"
              c:type="GDK_KEY_Hangul_J_RieulHieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_RieulKiyeog"
              value="3804"
              c:type="GDK_KEY_Hangul_J_RieulKiyeog">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_RieulMieum"
              value="3805"
              c:type="GDK_KEY_Hangul_J_RieulMieum">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_RieulPhieuf"
              value="3809"
              c:type="GDK_KEY_Hangul_J_RieulPhieuf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_RieulPieub"
              value="3806"
              c:type="GDK_KEY_Hangul_J_RieulPieub">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_RieulSios"
              value="3807"
              c:type="GDK_KEY_Hangul_J_RieulSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_RieulTieut"
              value="3808"
              c:type="GDK_KEY_Hangul_J_RieulTieut">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Sios"
              value="3814"
              c:type="GDK_KEY_Hangul_J_Sios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_SsangKiyeog"
              value="3797"
              c:type="GDK_KEY_Hangul_J_SsangKiyeog">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_SsangSios"
              value="3815"
              c:type="GDK_KEY_Hangul_J_SsangSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_Tieut"
              value="3820"
              c:type="GDK_KEY_Hangul_J_Tieut">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_J_YeorinHieuh"
              value="3834"
              c:type="GDK_KEY_Hangul_J_YeorinHieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Jamo"
              value="65333"
              c:type="GDK_KEY_Hangul_Jamo">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Jeonja"
              value="65336"
              c:type="GDK_KEY_Hangul_Jeonja">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Jieuj"
              value="3768"
              c:type="GDK_KEY_Hangul_Jieuj">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Khieuq"
              value="3771"
              c:type="GDK_KEY_Hangul_Khieuq">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Kiyeog"
              value="3745"
              c:type="GDK_KEY_Hangul_Kiyeog">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_KiyeogSios"
              value="3747"
              c:type="GDK_KEY_Hangul_KiyeogSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_KkogjiDalrinIeung"
              value="3827"
              c:type="GDK_KEY_Hangul_KkogjiDalrinIeung">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Mieum"
              value="3761"
              c:type="GDK_KEY_Hangul_Mieum">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_MultipleCandidate"
              value="65341"
              c:type="GDK_KEY_Hangul_MultipleCandidate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Nieun"
              value="3748"
              c:type="GDK_KEY_Hangul_Nieun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_NieunHieuh"
              value="3750"
              c:type="GDK_KEY_Hangul_NieunHieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_NieunJieuj"
              value="3749"
              c:type="GDK_KEY_Hangul_NieunJieuj">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_O" value="3783" c:type="GDK_KEY_Hangul_O">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_OE" value="3786" c:type="GDK_KEY_Hangul_OE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_PanSios"
              value="3826"
              c:type="GDK_KEY_Hangul_PanSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Phieuf"
              value="3773"
              c:type="GDK_KEY_Hangul_Phieuf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Pieub"
              value="3762"
              c:type="GDK_KEY_Hangul_Pieub">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_PieubSios"
              value="3764"
              c:type="GDK_KEY_Hangul_PieubSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_PostHanja"
              value="65339"
              c:type="GDK_KEY_Hangul_PostHanja">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_PreHanja"
              value="65338"
              c:type="GDK_KEY_Hangul_PreHanja">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_PreviousCandidate"
              value="65342"
              c:type="GDK_KEY_Hangul_PreviousCandidate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Rieul"
              value="3753"
              c:type="GDK_KEY_Hangul_Rieul">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulHieuh"
              value="3760"
              c:type="GDK_KEY_Hangul_RieulHieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulKiyeog"
              value="3754"
              c:type="GDK_KEY_Hangul_RieulKiyeog">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulMieum"
              value="3755"
              c:type="GDK_KEY_Hangul_RieulMieum">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulPhieuf"
              value="3759"
              c:type="GDK_KEY_Hangul_RieulPhieuf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulPieub"
              value="3756"
              c:type="GDK_KEY_Hangul_RieulPieub">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulSios"
              value="3757"
              c:type="GDK_KEY_Hangul_RieulSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulTieut"
              value="3758"
              c:type="GDK_KEY_Hangul_RieulTieut">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_RieulYeorinHieuh"
              value="3823"
              c:type="GDK_KEY_Hangul_RieulYeorinHieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Romaja"
              value="65334"
              c:type="GDK_KEY_Hangul_Romaja">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SingleCandidate"
              value="65340"
              c:type="GDK_KEY_Hangul_SingleCandidate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Sios" value="3765" c:type="GDK_KEY_Hangul_Sios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Special"
              value="65343"
              c:type="GDK_KEY_Hangul_Special">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SsangDikeud"
              value="3752"
              c:type="GDK_KEY_Hangul_SsangDikeud">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SsangJieuj"
              value="3769"
              c:type="GDK_KEY_Hangul_SsangJieuj">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SsangKiyeog"
              value="3746"
              c:type="GDK_KEY_Hangul_SsangKiyeog">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SsangPieub"
              value="3763"
              c:type="GDK_KEY_Hangul_SsangPieub">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SsangSios"
              value="3766"
              c:type="GDK_KEY_Hangul_SsangSios">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Start"
              value="65330"
              c:type="GDK_KEY_Hangul_Start">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SunkyeongeumMieum"
              value="3824"
              c:type="GDK_KEY_Hangul_SunkyeongeumMieum">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SunkyeongeumPhieuf"
              value="3828"
              c:type="GDK_KEY_Hangul_SunkyeongeumPhieuf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_SunkyeongeumPieub"
              value="3825"
              c:type="GDK_KEY_Hangul_SunkyeongeumPieub">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_Tieut"
              value="3772"
              c:type="GDK_KEY_Hangul_Tieut">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_U" value="3788" c:type="GDK_KEY_Hangul_U">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_WA" value="3784" c:type="GDK_KEY_Hangul_WA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_WAE" value="3785" c:type="GDK_KEY_Hangul_WAE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_WE" value="3790" c:type="GDK_KEY_Hangul_WE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_WEO" value="3789" c:type="GDK_KEY_Hangul_WEO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_WI" value="3791" c:type="GDK_KEY_Hangul_WI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YA" value="3777" c:type="GDK_KEY_Hangul_YA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YAE" value="3778" c:type="GDK_KEY_Hangul_YAE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YE" value="3782" c:type="GDK_KEY_Hangul_YE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YEO" value="3781" c:type="GDK_KEY_Hangul_YEO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YI" value="3794" c:type="GDK_KEY_Hangul_YI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YO" value="3787" c:type="GDK_KEY_Hangul_YO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YU" value="3792" c:type="GDK_KEY_Hangul_YU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_YeorinHieuh"
              value="3829"
              c:type="GDK_KEY_Hangul_YeorinHieuh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hangul_switch"
              value="65406"
              c:type="GDK_KEY_Hangul_switch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hankaku" value="65321" c:type="GDK_KEY_Hankaku">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hcircumflex" value="678" c:type="GDK_KEY_Hcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hebrew_switch"
              value="65406"
              c:type="GDK_KEY_Hebrew_switch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Help" value="65386" c:type="GDK_KEY_Help">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Henkan" value="65315" c:type="GDK_KEY_Henkan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Henkan_Mode"
              value="65315"
              c:type="GDK_KEY_Henkan_Mode">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hibernate"
              value="269025192"
              c:type="GDK_KEY_Hibernate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hiragana" value="65317" c:type="GDK_KEY_Hiragana">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hiragana_Katakana"
              value="65319"
              c:type="GDK_KEY_Hiragana_Katakana">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_History" value="269025079" c:type="GDK_KEY_History">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Home" value="65360" c:type="GDK_KEY_Home">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_HomePage" value="269025048" c:type="GDK_KEY_HomePage">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_HotLinks" value="269025082" c:type="GDK_KEY_HotLinks">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hstroke" value="673" c:type="GDK_KEY_Hstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hyper_L" value="65517" c:type="GDK_KEY_Hyper_L">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Hyper_R" value="65518" c:type="GDK_KEY_Hyper_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_I" value="73" c:type="GDK_KEY_I">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Center_Object"
              value="65075"
              c:type="GDK_KEY_ISO_Center_Object">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Continuous_Underline"
              value="65072"
              c:type="GDK_KEY_ISO_Continuous_Underline">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Discontinuous_Underline"
              value="65073"
              c:type="GDK_KEY_ISO_Discontinuous_Underline">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Emphasize"
              value="65074"
              c:type="GDK_KEY_ISO_Emphasize">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Enter" value="65076" c:type="GDK_KEY_ISO_Enter">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Fast_Cursor_Down"
              value="65071"
              c:type="GDK_KEY_ISO_Fast_Cursor_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Fast_Cursor_Left"
              value="65068"
              c:type="GDK_KEY_ISO_Fast_Cursor_Left">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Fast_Cursor_Right"
              value="65069"
              c:type="GDK_KEY_ISO_Fast_Cursor_Right">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Fast_Cursor_Up"
              value="65070"
              c:type="GDK_KEY_ISO_Fast_Cursor_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_First_Group"
              value="65036"
              c:type="GDK_KEY_ISO_First_Group">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_First_Group_Lock"
              value="65037"
              c:type="GDK_KEY_ISO_First_Group_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Group_Latch"
              value="65030"
              c:type="GDK_KEY_ISO_Group_Latch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Group_Lock"
              value="65031"
              c:type="GDK_KEY_ISO_Group_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Group_Shift"
              value="65406"
              c:type="GDK_KEY_ISO_Group_Shift">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Last_Group"
              value="65038"
              c:type="GDK_KEY_ISO_Last_Group">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Last_Group_Lock"
              value="65039"
              c:type="GDK_KEY_ISO_Last_Group_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Left_Tab"
              value="65056"
              c:type="GDK_KEY_ISO_Left_Tab">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Level2_Latch"
              value="65026"
              c:type="GDK_KEY_ISO_Level2_Latch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Level3_Latch"
              value="65028"
              c:type="GDK_KEY_ISO_Level3_Latch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Level3_Lock"
              value="65029"
              c:type="GDK_KEY_ISO_Level3_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Level3_Shift"
              value="65027"
              c:type="GDK_KEY_ISO_Level3_Shift">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Level5_Latch"
              value="65042"
              c:type="GDK_KEY_ISO_Level5_Latch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Level5_Lock"
              value="65043"
              c:type="GDK_KEY_ISO_Level5_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Level5_Shift"
              value="65041"
              c:type="GDK_KEY_ISO_Level5_Shift">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Lock" value="65025" c:type="GDK_KEY_ISO_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Move_Line_Down"
              value="65058"
              c:type="GDK_KEY_ISO_Move_Line_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Move_Line_Up"
              value="65057"
              c:type="GDK_KEY_ISO_Move_Line_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Next_Group"
              value="65032"
              c:type="GDK_KEY_ISO_Next_Group">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Next_Group_Lock"
              value="65033"
              c:type="GDK_KEY_ISO_Next_Group_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Partial_Line_Down"
              value="65060"
              c:type="GDK_KEY_ISO_Partial_Line_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Partial_Line_Up"
              value="65059"
              c:type="GDK_KEY_ISO_Partial_Line_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Partial_Space_Left"
              value="65061"
              c:type="GDK_KEY_ISO_Partial_Space_Left">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Partial_Space_Right"
              value="65062"
              c:type="GDK_KEY_ISO_Partial_Space_Right">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Prev_Group"
              value="65034"
              c:type="GDK_KEY_ISO_Prev_Group">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Prev_Group_Lock"
              value="65035"
              c:type="GDK_KEY_ISO_Prev_Group_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Release_Both_Margins"
              value="65067"
              c:type="GDK_KEY_ISO_Release_Both_Margins">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Release_Margin_Left"
              value="65065"
              c:type="GDK_KEY_ISO_Release_Margin_Left">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Release_Margin_Right"
              value="65066"
              c:type="GDK_KEY_ISO_Release_Margin_Right">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Set_Margin_Left"
              value="65063"
              c:type="GDK_KEY_ISO_Set_Margin_Left">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ISO_Set_Margin_Right"
              value="65064"
              c:type="GDK_KEY_ISO_Set_Margin_Right">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Iabovedot" value="681" c:type="GDK_KEY_Iabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Iacute" value="205" c:type="GDK_KEY_Iacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ibelowdot" value="16785098" c:type="GDK_KEY_Ibelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ibreve" value="16777516" c:type="GDK_KEY_Ibreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Icircumflex" value="206" c:type="GDK_KEY_Icircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Idiaeresis" value="207" c:type="GDK_KEY_Idiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Igrave" value="204" c:type="GDK_KEY_Igrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ihook" value="16785096" c:type="GDK_KEY_Ihook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Imacron" value="975" c:type="GDK_KEY_Imacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Insert" value="65379" c:type="GDK_KEY_Insert">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Iogonek" value="967" c:type="GDK_KEY_Iogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Itilde" value="933" c:type="GDK_KEY_Itilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_J" value="74" c:type="GDK_KEY_J">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Jcircumflex" value="684" c:type="GDK_KEY_Jcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_K" value="75" c:type="GDK_KEY_K">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_0" value="65456" c:type="GDK_KEY_KP_0">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_1" value="65457" c:type="GDK_KEY_KP_1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_2" value="65458" c:type="GDK_KEY_KP_2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_3" value="65459" c:type="GDK_KEY_KP_3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_4" value="65460" c:type="GDK_KEY_KP_4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_5" value="65461" c:type="GDK_KEY_KP_5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_6" value="65462" c:type="GDK_KEY_KP_6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_7" value="65463" c:type="GDK_KEY_KP_7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_8" value="65464" c:type="GDK_KEY_KP_8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_9" value="65465" c:type="GDK_KEY_KP_9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Add" value="65451" c:type="GDK_KEY_KP_Add">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Begin" value="65437" c:type="GDK_KEY_KP_Begin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Decimal" value="65454" c:type="GDK_KEY_KP_Decimal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Delete" value="65439" c:type="GDK_KEY_KP_Delete">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Divide" value="65455" c:type="GDK_KEY_KP_Divide">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Down" value="65433" c:type="GDK_KEY_KP_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_End" value="65436" c:type="GDK_KEY_KP_End">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Enter" value="65421" c:type="GDK_KEY_KP_Enter">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Equal" value="65469" c:type="GDK_KEY_KP_Equal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_F1" value="65425" c:type="GDK_KEY_KP_F1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_F2" value="65426" c:type="GDK_KEY_KP_F2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_F3" value="65427" c:type="GDK_KEY_KP_F3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_F4" value="65428" c:type="GDK_KEY_KP_F4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Home" value="65429" c:type="GDK_KEY_KP_Home">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Insert" value="65438" c:type="GDK_KEY_KP_Insert">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Left" value="65430" c:type="GDK_KEY_KP_Left">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Multiply"
              value="65450"
              c:type="GDK_KEY_KP_Multiply">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Next" value="65435" c:type="GDK_KEY_KP_Next">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Page_Down"
              value="65435"
              c:type="GDK_KEY_KP_Page_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Page_Up" value="65434" c:type="GDK_KEY_KP_Page_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Prior" value="65434" c:type="GDK_KEY_KP_Prior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Right" value="65432" c:type="GDK_KEY_KP_Right">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Separator"
              value="65452"
              c:type="GDK_KEY_KP_Separator">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Space" value="65408" c:type="GDK_KEY_KP_Space">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Subtract"
              value="65453"
              c:type="GDK_KEY_KP_Subtract">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Tab" value="65417" c:type="GDK_KEY_KP_Tab">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KP_Up" value="65431" c:type="GDK_KEY_KP_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Kana_Lock" value="65325" c:type="GDK_KEY_Kana_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Kana_Shift" value="65326" c:type="GDK_KEY_Kana_Shift">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Kanji" value="65313" c:type="GDK_KEY_Kanji">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Kanji_Bangou"
              value="65335"
              c:type="GDK_KEY_Kanji_Bangou">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Katakana" value="65318" c:type="GDK_KEY_Katakana">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KbdBrightnessDown"
              value="269025030"
              c:type="GDK_KEY_KbdBrightnessDown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KbdBrightnessUp"
              value="269025029"
              c:type="GDK_KEY_KbdBrightnessUp">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_KbdLightOnOff"
              value="269025028"
              c:type="GDK_KEY_KbdLightOnOff">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Kcedilla" value="979" c:type="GDK_KEY_Kcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Korean_Won" value="3839" c:type="GDK_KEY_Korean_Won">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L" value="76" c:type="GDK_KEY_L">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L1" value="65480" c:type="GDK_KEY_L1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L10" value="65489" c:type="GDK_KEY_L10">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L2" value="65481" c:type="GDK_KEY_L2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L3" value="65482" c:type="GDK_KEY_L3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L4" value="65483" c:type="GDK_KEY_L4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L5" value="65484" c:type="GDK_KEY_L5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L6" value="65485" c:type="GDK_KEY_L6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L7" value="65486" c:type="GDK_KEY_L7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L8" value="65487" c:type="GDK_KEY_L8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_L9" value="65488" c:type="GDK_KEY_L9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Lacute" value="453" c:type="GDK_KEY_Lacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Last_Virtual_Screen"
              value="65236"
              c:type="GDK_KEY_Last_Virtual_Screen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch0" value="269025088" c:type="GDK_KEY_Launch0">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch1" value="269025089" c:type="GDK_KEY_Launch1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch2" value="269025090" c:type="GDK_KEY_Launch2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch3" value="269025091" c:type="GDK_KEY_Launch3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch4" value="269025092" c:type="GDK_KEY_Launch4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch5" value="269025093" c:type="GDK_KEY_Launch5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch6" value="269025094" c:type="GDK_KEY_Launch6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch7" value="269025095" c:type="GDK_KEY_Launch7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch8" value="269025096" c:type="GDK_KEY_Launch8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Launch9" value="269025097" c:type="GDK_KEY_Launch9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LaunchA" value="269025098" c:type="GDK_KEY_LaunchA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LaunchB" value="269025099" c:type="GDK_KEY_LaunchB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LaunchC" value="269025100" c:type="GDK_KEY_LaunchC">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LaunchD" value="269025101" c:type="GDK_KEY_LaunchD">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LaunchE" value="269025102" c:type="GDK_KEY_LaunchE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LaunchF" value="269025103" c:type="GDK_KEY_LaunchF">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Lbelowdot" value="16784950" c:type="GDK_KEY_Lbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Lcaron" value="421" c:type="GDK_KEY_Lcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Lcedilla" value="934" c:type="GDK_KEY_Lcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Left" value="65361" c:type="GDK_KEY_Left">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LightBulb"
              value="269025077"
              c:type="GDK_KEY_LightBulb">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Linefeed" value="65290" c:type="GDK_KEY_Linefeed">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LiraSign" value="16785572" c:type="GDK_KEY_LiraSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_LogOff" value="269025121" c:type="GDK_KEY_LogOff">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Lstroke" value="419" c:type="GDK_KEY_Lstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_M" value="77" c:type="GDK_KEY_M">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Mabovedot" value="16784960" c:type="GDK_KEY_Mabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Macedonia_DSE"
              value="1717"
              c:type="GDK_KEY_Macedonia_DSE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Macedonia_GJE"
              value="1714"
              c:type="GDK_KEY_Macedonia_GJE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Macedonia_KJE"
              value="1724"
              c:type="GDK_KEY_Macedonia_KJE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Macedonia_dse"
              value="1701"
              c:type="GDK_KEY_Macedonia_dse">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Macedonia_gje"
              value="1698"
              c:type="GDK_KEY_Macedonia_gje">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Macedonia_kje"
              value="1708"
              c:type="GDK_KEY_Macedonia_kje">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Mae_Koho" value="65342" c:type="GDK_KEY_Mae_Koho">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Mail" value="269025049" c:type="GDK_KEY_Mail">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MailForward"
              value="269025168"
              c:type="GDK_KEY_MailForward">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Market" value="269025122" c:type="GDK_KEY_Market">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Massyo" value="65324" c:type="GDK_KEY_Massyo">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Meeting" value="269025123" c:type="GDK_KEY_Meeting">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Memo" value="269025054" c:type="GDK_KEY_Memo">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Menu" value="65383" c:type="GDK_KEY_Menu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MenuKB" value="269025125" c:type="GDK_KEY_MenuKB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MenuPB" value="269025126" c:type="GDK_KEY_MenuPB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Messenger"
              value="269025166"
              c:type="GDK_KEY_Messenger">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Meta_L" value="65511" c:type="GDK_KEY_Meta_L">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Meta_R" value="65512" c:type="GDK_KEY_Meta_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MillSign" value="16785573" c:type="GDK_KEY_MillSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ModeLock" value="269025025" c:type="GDK_KEY_ModeLock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Mode_switch"
              value="65406"
              c:type="GDK_KEY_Mode_switch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MonBrightnessDown"
              value="269025027"
              c:type="GDK_KEY_MonBrightnessDown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MonBrightnessUp"
              value="269025026"
              c:type="GDK_KEY_MonBrightnessUp">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MouseKeys_Accel_Enable"
              value="65143"
              c:type="GDK_KEY_MouseKeys_Accel_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MouseKeys_Enable"
              value="65142"
              c:type="GDK_KEY_MouseKeys_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Muhenkan" value="65314" c:type="GDK_KEY_Muhenkan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Multi_key" value="65312" c:type="GDK_KEY_Multi_key">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MultipleCandidate"
              value="65341"
              c:type="GDK_KEY_MultipleCandidate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Music" value="269025170" c:type="GDK_KEY_Music">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MyComputer"
              value="269025075"
              c:type="GDK_KEY_MyComputer">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_MySites" value="269025127" c:type="GDK_KEY_MySites">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_N" value="78" c:type="GDK_KEY_N">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Nacute" value="465" c:type="GDK_KEY_Nacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_NairaSign" value="16785574" c:type="GDK_KEY_NairaSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ncaron" value="466" c:type="GDK_KEY_Ncaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ncedilla" value="977" c:type="GDK_KEY_Ncedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_New" value="269025128" c:type="GDK_KEY_New">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_NewSheqelSign"
              value="16785578"
              c:type="GDK_KEY_NewSheqelSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_News" value="269025129" c:type="GDK_KEY_News">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Next" value="65366" c:type="GDK_KEY_Next">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Next_VMode"
              value="269024802"
              c:type="GDK_KEY_Next_VMode">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Next_Virtual_Screen"
              value="65234"
              c:type="GDK_KEY_Next_Virtual_Screen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ntilde" value="209" c:type="GDK_KEY_Ntilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Num_Lock" value="65407" c:type="GDK_KEY_Num_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_O" value="79" c:type="GDK_KEY_O">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_OE" value="5052" c:type="GDK_KEY_OE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Oacute" value="211" c:type="GDK_KEY_Oacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Obarred" value="16777631" c:type="GDK_KEY_Obarred">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Obelowdot" value="16785100" c:type="GDK_KEY_Obelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ocaron" value="16777681" c:type="GDK_KEY_Ocaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ocircumflex" value="212" c:type="GDK_KEY_Ocircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ocircumflexacute"
              value="16785104"
              c:type="GDK_KEY_Ocircumflexacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ocircumflexbelowdot"
              value="16785112"
              c:type="GDK_KEY_Ocircumflexbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ocircumflexgrave"
              value="16785106"
              c:type="GDK_KEY_Ocircumflexgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ocircumflexhook"
              value="16785108"
              c:type="GDK_KEY_Ocircumflexhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ocircumflextilde"
              value="16785110"
              c:type="GDK_KEY_Ocircumflextilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Odiaeresis" value="214" c:type="GDK_KEY_Odiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Odoubleacute"
              value="469"
              c:type="GDK_KEY_Odoubleacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_OfficeHome"
              value="269025130"
              c:type="GDK_KEY_OfficeHome">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ograve" value="210" c:type="GDK_KEY_Ograve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ohook" value="16785102" c:type="GDK_KEY_Ohook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ohorn" value="16777632" c:type="GDK_KEY_Ohorn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ohornacute"
              value="16785114"
              c:type="GDK_KEY_Ohornacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ohornbelowdot"
              value="16785122"
              c:type="GDK_KEY_Ohornbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ohorngrave"
              value="16785116"
              c:type="GDK_KEY_Ohorngrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ohornhook" value="16785118" c:type="GDK_KEY_Ohornhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ohorntilde"
              value="16785120"
              c:type="GDK_KEY_Ohorntilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Omacron" value="978" c:type="GDK_KEY_Omacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ooblique" value="216" c:type="GDK_KEY_Ooblique">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Open" value="269025131" c:type="GDK_KEY_Open">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_OpenURL" value="269025080" c:type="GDK_KEY_OpenURL">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Option" value="269025132" c:type="GDK_KEY_Option">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Oslash" value="216" c:type="GDK_KEY_Oslash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Otilde" value="213" c:type="GDK_KEY_Otilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Overlay1_Enable"
              value="65144"
              c:type="GDK_KEY_Overlay1_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Overlay2_Enable"
              value="65145"
              c:type="GDK_KEY_Overlay2_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_P" value="80" c:type="GDK_KEY_P">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pabovedot" value="16784982" c:type="GDK_KEY_Pabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Page_Down" value="65366" c:type="GDK_KEY_Page_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Page_Up" value="65365" c:type="GDK_KEY_Page_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Paste" value="269025133" c:type="GDK_KEY_Paste">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pause" value="65299" c:type="GDK_KEY_Pause">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_PesetaSign"
              value="16785575"
              c:type="GDK_KEY_PesetaSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Phone" value="269025134" c:type="GDK_KEY_Phone">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pictures" value="269025169" c:type="GDK_KEY_Pictures">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Accelerate"
              value="65274"
              c:type="GDK_KEY_Pointer_Accelerate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Button1"
              value="65257"
              c:type="GDK_KEY_Pointer_Button1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Button2"
              value="65258"
              c:type="GDK_KEY_Pointer_Button2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Button3"
              value="65259"
              c:type="GDK_KEY_Pointer_Button3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Button4"
              value="65260"
              c:type="GDK_KEY_Pointer_Button4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Button5"
              value="65261"
              c:type="GDK_KEY_Pointer_Button5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Button_Dflt"
              value="65256"
              c:type="GDK_KEY_Pointer_Button_Dflt">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DblClick1"
              value="65263"
              c:type="GDK_KEY_Pointer_DblClick1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DblClick2"
              value="65264"
              c:type="GDK_KEY_Pointer_DblClick2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DblClick3"
              value="65265"
              c:type="GDK_KEY_Pointer_DblClick3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DblClick4"
              value="65266"
              c:type="GDK_KEY_Pointer_DblClick4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DblClick5"
              value="65267"
              c:type="GDK_KEY_Pointer_DblClick5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DblClick_Dflt"
              value="65262"
              c:type="GDK_KEY_Pointer_DblClick_Dflt">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DfltBtnNext"
              value="65275"
              c:type="GDK_KEY_Pointer_DfltBtnNext">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DfltBtnPrev"
              value="65276"
              c:type="GDK_KEY_Pointer_DfltBtnPrev">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Down"
              value="65251"
              c:type="GDK_KEY_Pointer_Down">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DownLeft"
              value="65254"
              c:type="GDK_KEY_Pointer_DownLeft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_DownRight"
              value="65255"
              c:type="GDK_KEY_Pointer_DownRight">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Drag1"
              value="65269"
              c:type="GDK_KEY_Pointer_Drag1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Drag2"
              value="65270"
              c:type="GDK_KEY_Pointer_Drag2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Drag3"
              value="65271"
              c:type="GDK_KEY_Pointer_Drag3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Drag4"
              value="65272"
              c:type="GDK_KEY_Pointer_Drag4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Drag5"
              value="65277"
              c:type="GDK_KEY_Pointer_Drag5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Drag_Dflt"
              value="65268"
              c:type="GDK_KEY_Pointer_Drag_Dflt">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_EnableKeys"
              value="65273"
              c:type="GDK_KEY_Pointer_EnableKeys">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Left"
              value="65248"
              c:type="GDK_KEY_Pointer_Left">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Right"
              value="65249"
              c:type="GDK_KEY_Pointer_Right">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_Up" value="65250" c:type="GDK_KEY_Pointer_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_UpLeft"
              value="65252"
              c:type="GDK_KEY_Pointer_UpLeft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Pointer_UpRight"
              value="65253"
              c:type="GDK_KEY_Pointer_UpRight">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_PowerDown"
              value="269025057"
              c:type="GDK_KEY_PowerDown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_PowerOff" value="269025066" c:type="GDK_KEY_PowerOff">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Prev_VMode"
              value="269024803"
              c:type="GDK_KEY_Prev_VMode">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Prev_Virtual_Screen"
              value="65233"
              c:type="GDK_KEY_Prev_Virtual_Screen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_PreviousCandidate"
              value="65342"
              c:type="GDK_KEY_PreviousCandidate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Print" value="65377" c:type="GDK_KEY_Print">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Prior" value="65365" c:type="GDK_KEY_Prior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Q" value="81" c:type="GDK_KEY_Q">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R" value="82" c:type="GDK_KEY_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R1" value="65490" c:type="GDK_KEY_R1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R10" value="65499" c:type="GDK_KEY_R10">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R11" value="65500" c:type="GDK_KEY_R11">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R12" value="65501" c:type="GDK_KEY_R12">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R13" value="65502" c:type="GDK_KEY_R13">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R14" value="65503" c:type="GDK_KEY_R14">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R15" value="65504" c:type="GDK_KEY_R15">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R2" value="65491" c:type="GDK_KEY_R2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R3" value="65492" c:type="GDK_KEY_R3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R4" value="65493" c:type="GDK_KEY_R4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R5" value="65494" c:type="GDK_KEY_R5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R6" value="65495" c:type="GDK_KEY_R6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R7" value="65496" c:type="GDK_KEY_R7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R8" value="65497" c:type="GDK_KEY_R8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_R9" value="65498" c:type="GDK_KEY_R9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Racute" value="448" c:type="GDK_KEY_Racute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Rcaron" value="472" c:type="GDK_KEY_Rcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Rcedilla" value="931" c:type="GDK_KEY_Rcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Red" value="269025187" c:type="GDK_KEY_Red">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Redo" value="65382" c:type="GDK_KEY_Redo">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Refresh" value="269025065" c:type="GDK_KEY_Refresh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Reload" value="269025139" c:type="GDK_KEY_Reload">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RepeatKeys_Enable"
              value="65138"
              c:type="GDK_KEY_RepeatKeys_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Reply" value="269025138" c:type="GDK_KEY_Reply">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Return" value="65293" c:type="GDK_KEY_Return">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Right" value="65363" c:type="GDK_KEY_Right">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RockerDown"
              value="269025060"
              c:type="GDK_KEY_RockerDown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RockerEnter"
              value="269025061"
              c:type="GDK_KEY_RockerEnter">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RockerUp" value="269025059" c:type="GDK_KEY_RockerUp">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Romaji" value="65316" c:type="GDK_KEY_Romaji">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RotateWindows"
              value="269025140"
              c:type="GDK_KEY_RotateWindows">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RotationKB"
              value="269025142"
              c:type="GDK_KEY_RotationKB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RotationPB"
              value="269025141"
              c:type="GDK_KEY_RotationPB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_RupeeSign" value="16785576" c:type="GDK_KEY_RupeeSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_S" value="83" c:type="GDK_KEY_S">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_SCHWA" value="16777615" c:type="GDK_KEY_SCHWA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Sabovedot" value="16784992" c:type="GDK_KEY_Sabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Sacute" value="422" c:type="GDK_KEY_Sacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Save" value="269025143" c:type="GDK_KEY_Save">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Scaron" value="425" c:type="GDK_KEY_Scaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Scedilla" value="426" c:type="GDK_KEY_Scedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Scircumflex" value="734" c:type="GDK_KEY_Scircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ScreenSaver"
              value="269025069"
              c:type="GDK_KEY_ScreenSaver">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ScrollClick"
              value="269025146"
              c:type="GDK_KEY_ScrollClick">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ScrollDown"
              value="269025145"
              c:type="GDK_KEY_ScrollDown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ScrollUp" value="269025144" c:type="GDK_KEY_ScrollUp">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Scroll_Lock"
              value="65300"
              c:type="GDK_KEY_Scroll_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Search" value="269025051" c:type="GDK_KEY_Search">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Select" value="65376" c:type="GDK_KEY_Select">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_SelectButton"
              value="269025184"
              c:type="GDK_KEY_SelectButton">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Send" value="269025147" c:type="GDK_KEY_Send">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_DJE" value="1713" c:type="GDK_KEY_Serbian_DJE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_DZE" value="1727" c:type="GDK_KEY_Serbian_DZE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_JE" value="1720" c:type="GDK_KEY_Serbian_JE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_LJE" value="1721" c:type="GDK_KEY_Serbian_LJE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_NJE" value="1722" c:type="GDK_KEY_Serbian_NJE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_TSHE"
              value="1723"
              c:type="GDK_KEY_Serbian_TSHE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_dje" value="1697" c:type="GDK_KEY_Serbian_dje">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_dze" value="1711" c:type="GDK_KEY_Serbian_dze">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_je" value="1704" c:type="GDK_KEY_Serbian_je">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_lje" value="1705" c:type="GDK_KEY_Serbian_lje">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_nje" value="1706" c:type="GDK_KEY_Serbian_nje">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Serbian_tshe"
              value="1707"
              c:type="GDK_KEY_Serbian_tshe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Shift_L" value="65505" c:type="GDK_KEY_Shift_L">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Shift_Lock" value="65510" c:type="GDK_KEY_Shift_Lock">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Shift_R" value="65506" c:type="GDK_KEY_Shift_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Shop" value="269025078" c:type="GDK_KEY_Shop">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_SingleCandidate"
              value="65340"
              c:type="GDK_KEY_SingleCandidate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Sleep" value="269025071" c:type="GDK_KEY_Sleep">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_SlowKeys_Enable"
              value="65139"
              c:type="GDK_KEY_SlowKeys_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Spell" value="269025148" c:type="GDK_KEY_Spell">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_SplitScreen"
              value="269025149"
              c:type="GDK_KEY_SplitScreen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Standby" value="269025040" c:type="GDK_KEY_Standby">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Start" value="269025050" c:type="GDK_KEY_Start">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_StickyKeys_Enable"
              value="65141"
              c:type="GDK_KEY_StickyKeys_Enable">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Stop" value="269025064" c:type="GDK_KEY_Stop">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Subtitle" value="269025178" c:type="GDK_KEY_Subtitle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Super_L" value="65515" c:type="GDK_KEY_Super_L">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Super_R" value="65516" c:type="GDK_KEY_Super_R">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Support" value="269025150" c:type="GDK_KEY_Support">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Suspend" value="269025191" c:type="GDK_KEY_Suspend">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_1"
              value="269024769"
              c:type="GDK_KEY_Switch_VT_1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_10"
              value="269024778"
              c:type="GDK_KEY_Switch_VT_10">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_11"
              value="269024779"
              c:type="GDK_KEY_Switch_VT_11">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_12"
              value="269024780"
              c:type="GDK_KEY_Switch_VT_12">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_2"
              value="269024770"
              c:type="GDK_KEY_Switch_VT_2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_3"
              value="269024771"
              c:type="GDK_KEY_Switch_VT_3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_4"
              value="269024772"
              c:type="GDK_KEY_Switch_VT_4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_5"
              value="269024773"
              c:type="GDK_KEY_Switch_VT_5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_6"
              value="269024774"
              c:type="GDK_KEY_Switch_VT_6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_7"
              value="269024775"
              c:type="GDK_KEY_Switch_VT_7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_8"
              value="269024776"
              c:type="GDK_KEY_Switch_VT_8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Switch_VT_9"
              value="269024777"
              c:type="GDK_KEY_Switch_VT_9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Sys_Req" value="65301" c:type="GDK_KEY_Sys_Req">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_T" value="84" c:type="GDK_KEY_T">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_THORN" value="222" c:type="GDK_KEY_THORN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Tab" value="65289" c:type="GDK_KEY_Tab">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Tabovedot" value="16785002" c:type="GDK_KEY_Tabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_TaskPane" value="269025151" c:type="GDK_KEY_TaskPane">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Tcaron" value="427" c:type="GDK_KEY_Tcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Tcedilla" value="478" c:type="GDK_KEY_Tcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Terminal" value="269025152" c:type="GDK_KEY_Terminal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Terminate_Server"
              value="65237"
              c:type="GDK_KEY_Terminate_Server">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_baht" value="3551" c:type="GDK_KEY_Thai_baht">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_bobaimai"
              value="3514"
              c:type="GDK_KEY_Thai_bobaimai">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_chochan"
              value="3496"
              c:type="GDK_KEY_Thai_chochan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_chochang"
              value="3498"
              c:type="GDK_KEY_Thai_chochang">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_choching"
              value="3497"
              c:type="GDK_KEY_Thai_choching">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_chochoe"
              value="3500"
              c:type="GDK_KEY_Thai_chochoe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_dochada"
              value="3502"
              c:type="GDK_KEY_Thai_dochada">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_dodek" value="3508" c:type="GDK_KEY_Thai_dodek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_fofa" value="3517" c:type="GDK_KEY_Thai_fofa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_fofan" value="3519" c:type="GDK_KEY_Thai_fofan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_hohip" value="3531" c:type="GDK_KEY_Thai_hohip">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_honokhuk"
              value="3534"
              c:type="GDK_KEY_Thai_honokhuk">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_khokhai"
              value="3490"
              c:type="GDK_KEY_Thai_khokhai">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_khokhon"
              value="3493"
              c:type="GDK_KEY_Thai_khokhon">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_khokhuat"
              value="3491"
              c:type="GDK_KEY_Thai_khokhuat">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_khokhwai"
              value="3492"
              c:type="GDK_KEY_Thai_khokhwai">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_khorakhang"
              value="3494"
              c:type="GDK_KEY_Thai_khorakhang">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_kokai" value="3489" c:type="GDK_KEY_Thai_kokai">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lakkhangyao"
              value="3557"
              c:type="GDK_KEY_Thai_lakkhangyao">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lekchet"
              value="3575"
              c:type="GDK_KEY_Thai_lekchet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lekha" value="3573" c:type="GDK_KEY_Thai_lekha">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lekhok" value="3574" c:type="GDK_KEY_Thai_lekhok">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lekkao" value="3577" c:type="GDK_KEY_Thai_lekkao">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_leknung"
              value="3569"
              c:type="GDK_KEY_Thai_leknung">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lekpaet"
              value="3576"
              c:type="GDK_KEY_Thai_lekpaet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_leksam" value="3571" c:type="GDK_KEY_Thai_leksam">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_leksi" value="3572" c:type="GDK_KEY_Thai_leksi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_leksong"
              value="3570"
              c:type="GDK_KEY_Thai_leksong">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_leksun" value="3568" c:type="GDK_KEY_Thai_leksun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lochula"
              value="3532"
              c:type="GDK_KEY_Thai_lochula">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_loling" value="3525" c:type="GDK_KEY_Thai_loling">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_lu" value="3526" c:type="GDK_KEY_Thai_lu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maichattawa"
              value="3563"
              c:type="GDK_KEY_Thai_maichattawa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maiek" value="3560" c:type="GDK_KEY_Thai_maiek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maihanakat"
              value="3537"
              c:type="GDK_KEY_Thai_maihanakat">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maihanakat_maitho"
              value="3550"
              c:type="GDK_KEY_Thai_maihanakat_maitho">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maitaikhu"
              value="3559"
              c:type="GDK_KEY_Thai_maitaikhu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maitho" value="3561" c:type="GDK_KEY_Thai_maitho">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maitri" value="3562" c:type="GDK_KEY_Thai_maitri">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_maiyamok"
              value="3558"
              c:type="GDK_KEY_Thai_maiyamok">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_moma" value="3521" c:type="GDK_KEY_Thai_moma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_ngongu" value="3495" c:type="GDK_KEY_Thai_ngongu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_nikhahit"
              value="3565"
              c:type="GDK_KEY_Thai_nikhahit">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_nonen" value="3507" c:type="GDK_KEY_Thai_nonen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_nonu" value="3513" c:type="GDK_KEY_Thai_nonu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_oang" value="3533" c:type="GDK_KEY_Thai_oang">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_paiyannoi"
              value="3535"
              c:type="GDK_KEY_Thai_paiyannoi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_phinthu"
              value="3546"
              c:type="GDK_KEY_Thai_phinthu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_phophan"
              value="3518"
              c:type="GDK_KEY_Thai_phophan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_phophung"
              value="3516"
              c:type="GDK_KEY_Thai_phophung">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_phosamphao"
              value="3520"
              c:type="GDK_KEY_Thai_phosamphao">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_popla" value="3515" c:type="GDK_KEY_Thai_popla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_rorua" value="3523" c:type="GDK_KEY_Thai_rorua">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_ru" value="3524" c:type="GDK_KEY_Thai_ru">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraa" value="3536" c:type="GDK_KEY_Thai_saraa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraaa" value="3538" c:type="GDK_KEY_Thai_saraaa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraae" value="3553" c:type="GDK_KEY_Thai_saraae">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraaimaimalai"
              value="3556"
              c:type="GDK_KEY_Thai_saraaimaimalai">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraaimaimuan"
              value="3555"
              c:type="GDK_KEY_Thai_saraaimaimuan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraam" value="3539" c:type="GDK_KEY_Thai_saraam">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sarae" value="3552" c:type="GDK_KEY_Thai_sarae">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sarai" value="3540" c:type="GDK_KEY_Thai_sarai">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraii" value="3541" c:type="GDK_KEY_Thai_saraii">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sarao" value="3554" c:type="GDK_KEY_Thai_sarao">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sarau" value="3544" c:type="GDK_KEY_Thai_sarau">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_saraue" value="3542" c:type="GDK_KEY_Thai_saraue">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sarauee"
              value="3543"
              c:type="GDK_KEY_Thai_sarauee">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sarauu" value="3545" c:type="GDK_KEY_Thai_sarauu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sorusi" value="3529" c:type="GDK_KEY_Thai_sorusi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sosala" value="3528" c:type="GDK_KEY_Thai_sosala">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_soso" value="3499" c:type="GDK_KEY_Thai_soso">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_sosua" value="3530" c:type="GDK_KEY_Thai_sosua">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_thanthakhat"
              value="3564"
              c:type="GDK_KEY_Thai_thanthakhat">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_thonangmontho"
              value="3505"
              c:type="GDK_KEY_Thai_thonangmontho">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_thophuthao"
              value="3506"
              c:type="GDK_KEY_Thai_thophuthao">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_thothahan"
              value="3511"
              c:type="GDK_KEY_Thai_thothahan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_thothan"
              value="3504"
              c:type="GDK_KEY_Thai_thothan">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_thothong"
              value="3512"
              c:type="GDK_KEY_Thai_thothong">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_thothung"
              value="3510"
              c:type="GDK_KEY_Thai_thothung">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_topatak"
              value="3503"
              c:type="GDK_KEY_Thai_topatak">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_totao" value="3509" c:type="GDK_KEY_Thai_totao">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_wowaen" value="3527" c:type="GDK_KEY_Thai_wowaen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_yoyak" value="3522" c:type="GDK_KEY_Thai_yoyak">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thai_yoying" value="3501" c:type="GDK_KEY_Thai_yoying">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Thorn" value="222" c:type="GDK_KEY_Thorn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Time" value="269025183" c:type="GDK_KEY_Time">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ToDoList" value="269025055" c:type="GDK_KEY_ToDoList">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Tools" value="269025153" c:type="GDK_KEY_Tools">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_TopMenu" value="269025186" c:type="GDK_KEY_TopMenu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_TouchpadToggle"
              value="269025193"
              c:type="GDK_KEY_TouchpadToggle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Touroku" value="65323" c:type="GDK_KEY_Touroku">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Travel" value="269025154" c:type="GDK_KEY_Travel">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Tslash" value="940" c:type="GDK_KEY_Tslash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_U" value="85" c:type="GDK_KEY_U">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_UWB" value="269025174" c:type="GDK_KEY_UWB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uacute" value="218" c:type="GDK_KEY_Uacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ubelowdot" value="16785124" c:type="GDK_KEY_Ubelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ubreve" value="733" c:type="GDK_KEY_Ubreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ucircumflex" value="219" c:type="GDK_KEY_Ucircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Udiaeresis" value="220" c:type="GDK_KEY_Udiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Udoubleacute"
              value="475"
              c:type="GDK_KEY_Udoubleacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ugrave" value="217" c:type="GDK_KEY_Ugrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uhook" value="16785126" c:type="GDK_KEY_Uhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uhorn" value="16777647" c:type="GDK_KEY_Uhorn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uhornacute"
              value="16785128"
              c:type="GDK_KEY_Uhornacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uhornbelowdot"
              value="16785136"
              c:type="GDK_KEY_Uhornbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uhorngrave"
              value="16785130"
              c:type="GDK_KEY_Uhorngrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uhornhook" value="16785132" c:type="GDK_KEY_Uhornhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uhorntilde"
              value="16785134"
              c:type="GDK_KEY_Uhorntilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_GHE_WITH_UPTURN"
              value="1725"
              c:type="GDK_KEY_Ukrainian_GHE_WITH_UPTURN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_I" value="1718" c:type="GDK_KEY_Ukrainian_I">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_IE"
              value="1716"
              c:type="GDK_KEY_Ukrainian_IE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_YI"
              value="1719"
              c:type="GDK_KEY_Ukrainian_YI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_ghe_with_upturn"
              value="1709"
              c:type="GDK_KEY_Ukrainian_ghe_with_upturn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_i" value="1702" c:type="GDK_KEY_Ukrainian_i">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_ie"
              value="1700"
              c:type="GDK_KEY_Ukrainian_ie">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukrainian_yi"
              value="1703"
              c:type="GDK_KEY_Ukrainian_yi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukranian_I" value="1718" c:type="GDK_KEY_Ukranian_I">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukranian_JE" value="1716" c:type="GDK_KEY_Ukranian_JE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukranian_YI" value="1719" c:type="GDK_KEY_Ukranian_YI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukranian_i" value="1702" c:type="GDK_KEY_Ukranian_i">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukranian_je" value="1700" c:type="GDK_KEY_Ukranian_je">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ukranian_yi" value="1703" c:type="GDK_KEY_Ukranian_yi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Umacron" value="990" c:type="GDK_KEY_Umacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Undo" value="65381" c:type="GDK_KEY_Undo">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ungrab" value="269024800" c:type="GDK_KEY_Ungrab">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uogonek" value="985" c:type="GDK_KEY_Uogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Up" value="65362" c:type="GDK_KEY_Up">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Uring" value="473" c:type="GDK_KEY_Uring">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_User1KB" value="269025157" c:type="GDK_KEY_User1KB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_User2KB" value="269025158" c:type="GDK_KEY_User2KB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_UserPB" value="269025156" c:type="GDK_KEY_UserPB">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Utilde" value="989" c:type="GDK_KEY_Utilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_V" value="86" c:type="GDK_KEY_V">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_VendorHome"
              value="269025076"
              c:type="GDK_KEY_VendorHome">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Video" value="269025159" c:type="GDK_KEY_Video">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_View" value="269025185" c:type="GDK_KEY_View">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_VoidSymbol"
              value="16777215"
              c:type="GDK_KEY_VoidSymbol">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_W" value="87" c:type="GDK_KEY_W">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_WLAN" value="269025173" c:type="GDK_KEY_WLAN">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_WWW" value="269025070" c:type="GDK_KEY_WWW">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Wacute" value="16785026" c:type="GDK_KEY_Wacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_WakeUp" value="269025067" c:type="GDK_KEY_WakeUp">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Wcircumflex"
              value="16777588"
              c:type="GDK_KEY_Wcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Wdiaeresis"
              value="16785028"
              c:type="GDK_KEY_Wdiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_WebCam" value="269025167" c:type="GDK_KEY_WebCam">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Wgrave" value="16785024" c:type="GDK_KEY_Wgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_WheelButton"
              value="269025160"
              c:type="GDK_KEY_WheelButton">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_WindowClear"
              value="269025109"
              c:type="GDK_KEY_WindowClear">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_WonSign" value="16785577" c:type="GDK_KEY_WonSign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Word" value="269025161" c:type="GDK_KEY_Word">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_X" value="88" c:type="GDK_KEY_X">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Xabovedot" value="16785034" c:type="GDK_KEY_Xabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Xfer" value="269025162" c:type="GDK_KEY_Xfer">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Y" value="89" c:type="GDK_KEY_Y">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Yacute" value="221" c:type="GDK_KEY_Yacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ybelowdot" value="16785140" c:type="GDK_KEY_Ybelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ycircumflex"
              value="16777590"
              c:type="GDK_KEY_Ycircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ydiaeresis" value="5054" c:type="GDK_KEY_Ydiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Yellow" value="269025189" c:type="GDK_KEY_Yellow">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ygrave" value="16785138" c:type="GDK_KEY_Ygrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Yhook" value="16785142" c:type="GDK_KEY_Yhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Ytilde" value="16785144" c:type="GDK_KEY_Ytilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Z" value="90" c:type="GDK_KEY_Z">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Zabovedot" value="431" c:type="GDK_KEY_Zabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Zacute" value="428" c:type="GDK_KEY_Zacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Zcaron" value="430" c:type="GDK_KEY_Zcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Zen_Koho" value="65341" c:type="GDK_KEY_Zen_Koho">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Zenkaku" value="65320" c:type="GDK_KEY_Zenkaku">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Zenkaku_Hankaku"
              value="65322"
              c:type="GDK_KEY_Zenkaku_Hankaku">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ZoomIn" value="269025163" c:type="GDK_KEY_ZoomIn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ZoomOut" value="269025164" c:type="GDK_KEY_ZoomOut">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_Zstroke" value="16777653" c:type="GDK_KEY_Zstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_a" value="97" c:type="GDK_KEY_a">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_aacute" value="225" c:type="GDK_KEY_aacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abelowdot" value="16785057" c:type="GDK_KEY_abelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abovedot" value="511" c:type="GDK_KEY_abovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abreve" value="483" c:type="GDK_KEY_abreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abreveacute"
              value="16785071"
              c:type="GDK_KEY_abreveacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abrevebelowdot"
              value="16785079"
              c:type="GDK_KEY_abrevebelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abrevegrave"
              value="16785073"
              c:type="GDK_KEY_abrevegrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abrevehook"
              value="16785075"
              c:type="GDK_KEY_abrevehook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_abrevetilde"
              value="16785077"
              c:type="GDK_KEY_abrevetilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_acircumflex" value="226" c:type="GDK_KEY_acircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_acircumflexacute"
              value="16785061"
              c:type="GDK_KEY_acircumflexacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_acircumflexbelowdot"
              value="16785069"
              c:type="GDK_KEY_acircumflexbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_acircumflexgrave"
              value="16785063"
              c:type="GDK_KEY_acircumflexgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_acircumflexhook"
              value="16785065"
              c:type="GDK_KEY_acircumflexhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_acircumflextilde"
              value="16785067"
              c:type="GDK_KEY_acircumflextilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_acute" value="180" c:type="GDK_KEY_acute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_adiaeresis" value="228" c:type="GDK_KEY_adiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ae" value="230" c:type="GDK_KEY_ae">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_agrave" value="224" c:type="GDK_KEY_agrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ahook" value="16785059" c:type="GDK_KEY_ahook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_amacron" value="992" c:type="GDK_KEY_amacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ampersand" value="38" c:type="GDK_KEY_ampersand">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_aogonek" value="433" c:type="GDK_KEY_aogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_apostrophe" value="39" c:type="GDK_KEY_apostrophe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_approxeq" value="16785992" c:type="GDK_KEY_approxeq">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_approximate" value="2248" c:type="GDK_KEY_approximate">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_aring" value="229" c:type="GDK_KEY_aring">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_asciicircum" value="94" c:type="GDK_KEY_asciicircum">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_asciitilde" value="126" c:type="GDK_KEY_asciitilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_asterisk" value="42" c:type="GDK_KEY_asterisk">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_at" value="64" c:type="GDK_KEY_at">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_atilde" value="227" c:type="GDK_KEY_atilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_b" value="98" c:type="GDK_KEY_b">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_babovedot" value="16784899" c:type="GDK_KEY_babovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_backslash" value="92" c:type="GDK_KEY_backslash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ballotcross" value="2804" c:type="GDK_KEY_ballotcross">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_bar" value="124" c:type="GDK_KEY_bar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_because" value="16785973" c:type="GDK_KEY_because">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_blank" value="2527" c:type="GDK_KEY_blank">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botintegral" value="2213" c:type="GDK_KEY_botintegral">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botleftparens"
              value="2220"
              c:type="GDK_KEY_botleftparens">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botleftsqbracket"
              value="2216"
              c:type="GDK_KEY_botleftsqbracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botleftsummation"
              value="2226"
              c:type="GDK_KEY_botleftsummation">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botrightparens"
              value="2222"
              c:type="GDK_KEY_botrightparens">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botrightsqbracket"
              value="2218"
              c:type="GDK_KEY_botrightsqbracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botrightsummation"
              value="2230"
              c:type="GDK_KEY_botrightsummation">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_bott" value="2550" c:type="GDK_KEY_bott">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_botvertsummationconnector"
              value="2228"
              c:type="GDK_KEY_botvertsummationconnector">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braceleft" value="123" c:type="GDK_KEY_braceleft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braceright" value="125" c:type="GDK_KEY_braceright">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_bracketleft" value="91" c:type="GDK_KEY_bracketleft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_bracketright" value="93" c:type="GDK_KEY_bracketright">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_blank"
              value="16787456"
              c:type="GDK_KEY_braille_blank">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_1"
              value="65521"
              c:type="GDK_KEY_braille_dot_1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_10"
              value="65530"
              c:type="GDK_KEY_braille_dot_10">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_2"
              value="65522"
              c:type="GDK_KEY_braille_dot_2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_3"
              value="65523"
              c:type="GDK_KEY_braille_dot_3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_4"
              value="65524"
              c:type="GDK_KEY_braille_dot_4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_5"
              value="65525"
              c:type="GDK_KEY_braille_dot_5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_6"
              value="65526"
              c:type="GDK_KEY_braille_dot_6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_7"
              value="65527"
              c:type="GDK_KEY_braille_dot_7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_8"
              value="65528"
              c:type="GDK_KEY_braille_dot_8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dot_9"
              value="65529"
              c:type="GDK_KEY_braille_dot_9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1"
              value="16787457"
              c:type="GDK_KEY_braille_dots_1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12"
              value="16787459"
              c:type="GDK_KEY_braille_dots_12">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123"
              value="16787463"
              c:type="GDK_KEY_braille_dots_123">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1234"
              value="16787471"
              c:type="GDK_KEY_braille_dots_1234">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12345"
              value="16787487"
              c:type="GDK_KEY_braille_dots_12345">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123456"
              value="16787519"
              c:type="GDK_KEY_braille_dots_123456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1234567"
              value="16787583"
              c:type="GDK_KEY_braille_dots_1234567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12345678"
              value="16787711"
              c:type="GDK_KEY_braille_dots_12345678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1234568"
              value="16787647"
              c:type="GDK_KEY_braille_dots_1234568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123457"
              value="16787551"
              c:type="GDK_KEY_braille_dots_123457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1234578"
              value="16787679"
              c:type="GDK_KEY_braille_dots_1234578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123458"
              value="16787615"
              c:type="GDK_KEY_braille_dots_123458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12346"
              value="16787503"
              c:type="GDK_KEY_braille_dots_12346">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123467"
              value="16787567"
              c:type="GDK_KEY_braille_dots_123467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1234678"
              value="16787695"
              c:type="GDK_KEY_braille_dots_1234678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123468"
              value="16787631"
              c:type="GDK_KEY_braille_dots_123468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12347"
              value="16787535"
              c:type="GDK_KEY_braille_dots_12347">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123478"
              value="16787663"
              c:type="GDK_KEY_braille_dots_123478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12348"
              value="16787599"
              c:type="GDK_KEY_braille_dots_12348">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1235"
              value="16787479"
              c:type="GDK_KEY_braille_dots_1235">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12356"
              value="16787511"
              c:type="GDK_KEY_braille_dots_12356">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123567"
              value="16787575"
              c:type="GDK_KEY_braille_dots_123567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1235678"
              value="16787703"
              c:type="GDK_KEY_braille_dots_1235678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123568"
              value="16787639"
              c:type="GDK_KEY_braille_dots_123568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12357"
              value="16787543"
              c:type="GDK_KEY_braille_dots_12357">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123578"
              value="16787671"
              c:type="GDK_KEY_braille_dots_123578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12358"
              value="16787607"
              c:type="GDK_KEY_braille_dots_12358">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1236"
              value="16787495"
              c:type="GDK_KEY_braille_dots_1236">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12367"
              value="16787559"
              c:type="GDK_KEY_braille_dots_12367">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_123678"
              value="16787687"
              c:type="GDK_KEY_braille_dots_123678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12368"
              value="16787623"
              c:type="GDK_KEY_braille_dots_12368">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1237"
              value="16787527"
              c:type="GDK_KEY_braille_dots_1237">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12378"
              value="16787655"
              c:type="GDK_KEY_braille_dots_12378">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1238"
              value="16787591"
              c:type="GDK_KEY_braille_dots_1238">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_124"
              value="16787467"
              c:type="GDK_KEY_braille_dots_124">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1245"
              value="16787483"
              c:type="GDK_KEY_braille_dots_1245">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12456"
              value="16787515"
              c:type="GDK_KEY_braille_dots_12456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_124567"
              value="16787579"
              c:type="GDK_KEY_braille_dots_124567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1245678"
              value="16787707"
              c:type="GDK_KEY_braille_dots_1245678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_124568"
              value="16787643"
              c:type="GDK_KEY_braille_dots_124568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12457"
              value="16787547"
              c:type="GDK_KEY_braille_dots_12457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_124578"
              value="16787675"
              c:type="GDK_KEY_braille_dots_124578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12458"
              value="16787611"
              c:type="GDK_KEY_braille_dots_12458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1246"
              value="16787499"
              c:type="GDK_KEY_braille_dots_1246">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12467"
              value="16787563"
              c:type="GDK_KEY_braille_dots_12467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_124678"
              value="16787691"
              c:type="GDK_KEY_braille_dots_124678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12468"
              value="16787627"
              c:type="GDK_KEY_braille_dots_12468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1247"
              value="16787531"
              c:type="GDK_KEY_braille_dots_1247">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12478"
              value="16787659"
              c:type="GDK_KEY_braille_dots_12478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1248"
              value="16787595"
              c:type="GDK_KEY_braille_dots_1248">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_125"
              value="16787475"
              c:type="GDK_KEY_braille_dots_125">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1256"
              value="16787507"
              c:type="GDK_KEY_braille_dots_1256">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12567"
              value="16787571"
              c:type="GDK_KEY_braille_dots_12567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_125678"
              value="16787699"
              c:type="GDK_KEY_braille_dots_125678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12568"
              value="16787635"
              c:type="GDK_KEY_braille_dots_12568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1257"
              value="16787539"
              c:type="GDK_KEY_braille_dots_1257">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12578"
              value="16787667"
              c:type="GDK_KEY_braille_dots_12578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1258"
              value="16787603"
              c:type="GDK_KEY_braille_dots_1258">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_126"
              value="16787491"
              c:type="GDK_KEY_braille_dots_126">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1267"
              value="16787555"
              c:type="GDK_KEY_braille_dots_1267">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_12678"
              value="16787683"
              c:type="GDK_KEY_braille_dots_12678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1268"
              value="16787619"
              c:type="GDK_KEY_braille_dots_1268">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_127"
              value="16787523"
              c:type="GDK_KEY_braille_dots_127">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1278"
              value="16787651"
              c:type="GDK_KEY_braille_dots_1278">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_128"
              value="16787587"
              c:type="GDK_KEY_braille_dots_128">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13"
              value="16787461"
              c:type="GDK_KEY_braille_dots_13">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_134"
              value="16787469"
              c:type="GDK_KEY_braille_dots_134">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1345"
              value="16787485"
              c:type="GDK_KEY_braille_dots_1345">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13456"
              value="16787517"
              c:type="GDK_KEY_braille_dots_13456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_134567"
              value="16787581"
              c:type="GDK_KEY_braille_dots_134567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1345678"
              value="16787709"
              c:type="GDK_KEY_braille_dots_1345678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_134568"
              value="16787645"
              c:type="GDK_KEY_braille_dots_134568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13457"
              value="16787549"
              c:type="GDK_KEY_braille_dots_13457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_134578"
              value="16787677"
              c:type="GDK_KEY_braille_dots_134578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13458"
              value="16787613"
              c:type="GDK_KEY_braille_dots_13458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1346"
              value="16787501"
              c:type="GDK_KEY_braille_dots_1346">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13467"
              value="16787565"
              c:type="GDK_KEY_braille_dots_13467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_134678"
              value="16787693"
              c:type="GDK_KEY_braille_dots_134678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13468"
              value="16787629"
              c:type="GDK_KEY_braille_dots_13468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1347"
              value="16787533"
              c:type="GDK_KEY_braille_dots_1347">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13478"
              value="16787661"
              c:type="GDK_KEY_braille_dots_13478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1348"
              value="16787597"
              c:type="GDK_KEY_braille_dots_1348">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_135"
              value="16787477"
              c:type="GDK_KEY_braille_dots_135">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1356"
              value="16787509"
              c:type="GDK_KEY_braille_dots_1356">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13567"
              value="16787573"
              c:type="GDK_KEY_braille_dots_13567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_135678"
              value="16787701"
              c:type="GDK_KEY_braille_dots_135678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13568"
              value="16787637"
              c:type="GDK_KEY_braille_dots_13568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1357"
              value="16787541"
              c:type="GDK_KEY_braille_dots_1357">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13578"
              value="16787669"
              c:type="GDK_KEY_braille_dots_13578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1358"
              value="16787605"
              c:type="GDK_KEY_braille_dots_1358">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_136"
              value="16787493"
              c:type="GDK_KEY_braille_dots_136">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1367"
              value="16787557"
              c:type="GDK_KEY_braille_dots_1367">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_13678"
              value="16787685"
              c:type="GDK_KEY_braille_dots_13678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1368"
              value="16787621"
              c:type="GDK_KEY_braille_dots_1368">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_137"
              value="16787525"
              c:type="GDK_KEY_braille_dots_137">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1378"
              value="16787653"
              c:type="GDK_KEY_braille_dots_1378">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_138"
              value="16787589"
              c:type="GDK_KEY_braille_dots_138">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_14"
              value="16787465"
              c:type="GDK_KEY_braille_dots_14">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_145"
              value="16787481"
              c:type="GDK_KEY_braille_dots_145">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1456"
              value="16787513"
              c:type="GDK_KEY_braille_dots_1456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_14567"
              value="16787577"
              c:type="GDK_KEY_braille_dots_14567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_145678"
              value="16787705"
              c:type="GDK_KEY_braille_dots_145678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_14568"
              value="16787641"
              c:type="GDK_KEY_braille_dots_14568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1457"
              value="16787545"
              c:type="GDK_KEY_braille_dots_1457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_14578"
              value="16787673"
              c:type="GDK_KEY_braille_dots_14578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1458"
              value="16787609"
              c:type="GDK_KEY_braille_dots_1458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_146"
              value="16787497"
              c:type="GDK_KEY_braille_dots_146">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1467"
              value="16787561"
              c:type="GDK_KEY_braille_dots_1467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_14678"
              value="16787689"
              c:type="GDK_KEY_braille_dots_14678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1468"
              value="16787625"
              c:type="GDK_KEY_braille_dots_1468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_147"
              value="16787529"
              c:type="GDK_KEY_braille_dots_147">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1478"
              value="16787657"
              c:type="GDK_KEY_braille_dots_1478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_148"
              value="16787593"
              c:type="GDK_KEY_braille_dots_148">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_15"
              value="16787473"
              c:type="GDK_KEY_braille_dots_15">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_156"
              value="16787505"
              c:type="GDK_KEY_braille_dots_156">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1567"
              value="16787569"
              c:type="GDK_KEY_braille_dots_1567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_15678"
              value="16787697"
              c:type="GDK_KEY_braille_dots_15678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1568"
              value="16787633"
              c:type="GDK_KEY_braille_dots_1568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_157"
              value="16787537"
              c:type="GDK_KEY_braille_dots_157">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1578"
              value="16787665"
              c:type="GDK_KEY_braille_dots_1578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_158"
              value="16787601"
              c:type="GDK_KEY_braille_dots_158">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_16"
              value="16787489"
              c:type="GDK_KEY_braille_dots_16">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_167"
              value="16787553"
              c:type="GDK_KEY_braille_dots_167">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_1678"
              value="16787681"
              c:type="GDK_KEY_braille_dots_1678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_168"
              value="16787617"
              c:type="GDK_KEY_braille_dots_168">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_17"
              value="16787521"
              c:type="GDK_KEY_braille_dots_17">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_178"
              value="16787649"
              c:type="GDK_KEY_braille_dots_178">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_18"
              value="16787585"
              c:type="GDK_KEY_braille_dots_18">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2"
              value="16787458"
              c:type="GDK_KEY_braille_dots_2">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23"
              value="16787462"
              c:type="GDK_KEY_braille_dots_23">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_234"
              value="16787470"
              c:type="GDK_KEY_braille_dots_234">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2345"
              value="16787486"
              c:type="GDK_KEY_braille_dots_2345">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23456"
              value="16787518"
              c:type="GDK_KEY_braille_dots_23456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_234567"
              value="16787582"
              c:type="GDK_KEY_braille_dots_234567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2345678"
              value="16787710"
              c:type="GDK_KEY_braille_dots_2345678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_234568"
              value="16787646"
              c:type="GDK_KEY_braille_dots_234568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23457"
              value="16787550"
              c:type="GDK_KEY_braille_dots_23457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_234578"
              value="16787678"
              c:type="GDK_KEY_braille_dots_234578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23458"
              value="16787614"
              c:type="GDK_KEY_braille_dots_23458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2346"
              value="16787502"
              c:type="GDK_KEY_braille_dots_2346">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23467"
              value="16787566"
              c:type="GDK_KEY_braille_dots_23467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_234678"
              value="16787694"
              c:type="GDK_KEY_braille_dots_234678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23468"
              value="16787630"
              c:type="GDK_KEY_braille_dots_23468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2347"
              value="16787534"
              c:type="GDK_KEY_braille_dots_2347">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23478"
              value="16787662"
              c:type="GDK_KEY_braille_dots_23478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2348"
              value="16787598"
              c:type="GDK_KEY_braille_dots_2348">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_235"
              value="16787478"
              c:type="GDK_KEY_braille_dots_235">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2356"
              value="16787510"
              c:type="GDK_KEY_braille_dots_2356">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23567"
              value="16787574"
              c:type="GDK_KEY_braille_dots_23567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_235678"
              value="16787702"
              c:type="GDK_KEY_braille_dots_235678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23568"
              value="16787638"
              c:type="GDK_KEY_braille_dots_23568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2357"
              value="16787542"
              c:type="GDK_KEY_braille_dots_2357">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23578"
              value="16787670"
              c:type="GDK_KEY_braille_dots_23578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2358"
              value="16787606"
              c:type="GDK_KEY_braille_dots_2358">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_236"
              value="16787494"
              c:type="GDK_KEY_braille_dots_236">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2367"
              value="16787558"
              c:type="GDK_KEY_braille_dots_2367">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_23678"
              value="16787686"
              c:type="GDK_KEY_braille_dots_23678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2368"
              value="16787622"
              c:type="GDK_KEY_braille_dots_2368">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_237"
              value="16787526"
              c:type="GDK_KEY_braille_dots_237">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2378"
              value="16787654"
              c:type="GDK_KEY_braille_dots_2378">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_238"
              value="16787590"
              c:type="GDK_KEY_braille_dots_238">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_24"
              value="16787466"
              c:type="GDK_KEY_braille_dots_24">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_245"
              value="16787482"
              c:type="GDK_KEY_braille_dots_245">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2456"
              value="16787514"
              c:type="GDK_KEY_braille_dots_2456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_24567"
              value="16787578"
              c:type="GDK_KEY_braille_dots_24567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_245678"
              value="16787706"
              c:type="GDK_KEY_braille_dots_245678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_24568"
              value="16787642"
              c:type="GDK_KEY_braille_dots_24568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2457"
              value="16787546"
              c:type="GDK_KEY_braille_dots_2457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_24578"
              value="16787674"
              c:type="GDK_KEY_braille_dots_24578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2458"
              value="16787610"
              c:type="GDK_KEY_braille_dots_2458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_246"
              value="16787498"
              c:type="GDK_KEY_braille_dots_246">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2467"
              value="16787562"
              c:type="GDK_KEY_braille_dots_2467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_24678"
              value="16787690"
              c:type="GDK_KEY_braille_dots_24678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2468"
              value="16787626"
              c:type="GDK_KEY_braille_dots_2468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_247"
              value="16787530"
              c:type="GDK_KEY_braille_dots_247">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2478"
              value="16787658"
              c:type="GDK_KEY_braille_dots_2478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_248"
              value="16787594"
              c:type="GDK_KEY_braille_dots_248">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_25"
              value="16787474"
              c:type="GDK_KEY_braille_dots_25">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_256"
              value="16787506"
              c:type="GDK_KEY_braille_dots_256">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2567"
              value="16787570"
              c:type="GDK_KEY_braille_dots_2567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_25678"
              value="16787698"
              c:type="GDK_KEY_braille_dots_25678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2568"
              value="16787634"
              c:type="GDK_KEY_braille_dots_2568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_257"
              value="16787538"
              c:type="GDK_KEY_braille_dots_257">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2578"
              value="16787666"
              c:type="GDK_KEY_braille_dots_2578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_258"
              value="16787602"
              c:type="GDK_KEY_braille_dots_258">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_26"
              value="16787490"
              c:type="GDK_KEY_braille_dots_26">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_267"
              value="16787554"
              c:type="GDK_KEY_braille_dots_267">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_2678"
              value="16787682"
              c:type="GDK_KEY_braille_dots_2678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_268"
              value="16787618"
              c:type="GDK_KEY_braille_dots_268">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_27"
              value="16787522"
              c:type="GDK_KEY_braille_dots_27">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_278"
              value="16787650"
              c:type="GDK_KEY_braille_dots_278">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_28"
              value="16787586"
              c:type="GDK_KEY_braille_dots_28">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3"
              value="16787460"
              c:type="GDK_KEY_braille_dots_3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_34"
              value="16787468"
              c:type="GDK_KEY_braille_dots_34">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_345"
              value="16787484"
              c:type="GDK_KEY_braille_dots_345">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3456"
              value="16787516"
              c:type="GDK_KEY_braille_dots_3456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_34567"
              value="16787580"
              c:type="GDK_KEY_braille_dots_34567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_345678"
              value="16787708"
              c:type="GDK_KEY_braille_dots_345678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_34568"
              value="16787644"
              c:type="GDK_KEY_braille_dots_34568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3457"
              value="16787548"
              c:type="GDK_KEY_braille_dots_3457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_34578"
              value="16787676"
              c:type="GDK_KEY_braille_dots_34578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3458"
              value="16787612"
              c:type="GDK_KEY_braille_dots_3458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_346"
              value="16787500"
              c:type="GDK_KEY_braille_dots_346">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3467"
              value="16787564"
              c:type="GDK_KEY_braille_dots_3467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_34678"
              value="16787692"
              c:type="GDK_KEY_braille_dots_34678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3468"
              value="16787628"
              c:type="GDK_KEY_braille_dots_3468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_347"
              value="16787532"
              c:type="GDK_KEY_braille_dots_347">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3478"
              value="16787660"
              c:type="GDK_KEY_braille_dots_3478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_348"
              value="16787596"
              c:type="GDK_KEY_braille_dots_348">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_35"
              value="16787476"
              c:type="GDK_KEY_braille_dots_35">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_356"
              value="16787508"
              c:type="GDK_KEY_braille_dots_356">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3567"
              value="16787572"
              c:type="GDK_KEY_braille_dots_3567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_35678"
              value="16787700"
              c:type="GDK_KEY_braille_dots_35678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3568"
              value="16787636"
              c:type="GDK_KEY_braille_dots_3568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_357"
              value="16787540"
              c:type="GDK_KEY_braille_dots_357">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3578"
              value="16787668"
              c:type="GDK_KEY_braille_dots_3578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_358"
              value="16787604"
              c:type="GDK_KEY_braille_dots_358">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_36"
              value="16787492"
              c:type="GDK_KEY_braille_dots_36">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_367"
              value="16787556"
              c:type="GDK_KEY_braille_dots_367">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_3678"
              value="16787684"
              c:type="GDK_KEY_braille_dots_3678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_368"
              value="16787620"
              c:type="GDK_KEY_braille_dots_368">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_37"
              value="16787524"
              c:type="GDK_KEY_braille_dots_37">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_378"
              value="16787652"
              c:type="GDK_KEY_braille_dots_378">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_38"
              value="16787588"
              c:type="GDK_KEY_braille_dots_38">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_4"
              value="16787464"
              c:type="GDK_KEY_braille_dots_4">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_45"
              value="16787480"
              c:type="GDK_KEY_braille_dots_45">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_456"
              value="16787512"
              c:type="GDK_KEY_braille_dots_456">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_4567"
              value="16787576"
              c:type="GDK_KEY_braille_dots_4567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_45678"
              value="16787704"
              c:type="GDK_KEY_braille_dots_45678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_4568"
              value="16787640"
              c:type="GDK_KEY_braille_dots_4568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_457"
              value="16787544"
              c:type="GDK_KEY_braille_dots_457">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_4578"
              value="16787672"
              c:type="GDK_KEY_braille_dots_4578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_458"
              value="16787608"
              c:type="GDK_KEY_braille_dots_458">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_46"
              value="16787496"
              c:type="GDK_KEY_braille_dots_46">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_467"
              value="16787560"
              c:type="GDK_KEY_braille_dots_467">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_4678"
              value="16787688"
              c:type="GDK_KEY_braille_dots_4678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_468"
              value="16787624"
              c:type="GDK_KEY_braille_dots_468">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_47"
              value="16787528"
              c:type="GDK_KEY_braille_dots_47">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_478"
              value="16787656"
              c:type="GDK_KEY_braille_dots_478">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_48"
              value="16787592"
              c:type="GDK_KEY_braille_dots_48">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_5"
              value="16787472"
              c:type="GDK_KEY_braille_dots_5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_56"
              value="16787504"
              c:type="GDK_KEY_braille_dots_56">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_567"
              value="16787568"
              c:type="GDK_KEY_braille_dots_567">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_5678"
              value="16787696"
              c:type="GDK_KEY_braille_dots_5678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_568"
              value="16787632"
              c:type="GDK_KEY_braille_dots_568">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_57"
              value="16787536"
              c:type="GDK_KEY_braille_dots_57">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_578"
              value="16787664"
              c:type="GDK_KEY_braille_dots_578">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_58"
              value="16787600"
              c:type="GDK_KEY_braille_dots_58">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_6"
              value="16787488"
              c:type="GDK_KEY_braille_dots_6">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_67"
              value="16787552"
              c:type="GDK_KEY_braille_dots_67">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_678"
              value="16787680"
              c:type="GDK_KEY_braille_dots_678">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_68"
              value="16787616"
              c:type="GDK_KEY_braille_dots_68">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_7"
              value="16787520"
              c:type="GDK_KEY_braille_dots_7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_78"
              value="16787648"
              c:type="GDK_KEY_braille_dots_78">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_braille_dots_8"
              value="16787584"
              c:type="GDK_KEY_braille_dots_8">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_breve" value="418" c:type="GDK_KEY_breve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_brokenbar" value="166" c:type="GDK_KEY_brokenbar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_c" value="99" c:type="GDK_KEY_c">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_cabovedot" value="741" c:type="GDK_KEY_cabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_cacute" value="486" c:type="GDK_KEY_cacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_careof" value="2744" c:type="GDK_KEY_careof">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_caret" value="2812" c:type="GDK_KEY_caret">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_caron" value="439" c:type="GDK_KEY_caron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ccaron" value="488" c:type="GDK_KEY_ccaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ccedilla" value="231" c:type="GDK_KEY_ccedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ccircumflex" value="742" c:type="GDK_KEY_ccircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_cedilla" value="184" c:type="GDK_KEY_cedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_cent" value="162" c:type="GDK_KEY_cent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_checkerboard"
              value="2529"
              c:type="GDK_KEY_checkerboard">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_checkmark" value="2803" c:type="GDK_KEY_checkmark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_circle" value="3023" c:type="GDK_KEY_circle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_club" value="2796" c:type="GDK_KEY_club">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_colon" value="58" c:type="GDK_KEY_colon">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_comma" value="44" c:type="GDK_KEY_comma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_containsas"
              value="16785931"
              c:type="GDK_KEY_containsas">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_copyright" value="169" c:type="GDK_KEY_copyright">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_cr" value="2532" c:type="GDK_KEY_cr">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_crossinglines"
              value="2542"
              c:type="GDK_KEY_crossinglines">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_cuberoot" value="16785947" c:type="GDK_KEY_cuberoot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_currency" value="164" c:type="GDK_KEY_currency">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_cursor" value="2815" c:type="GDK_KEY_cursor">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_d" value="100" c:type="GDK_KEY_d">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dabovedot" value="16784907" c:type="GDK_KEY_dabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dagger" value="2801" c:type="GDK_KEY_dagger">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dcaron" value="495" c:type="GDK_KEY_dcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_A" value="65153" c:type="GDK_KEY_dead_A">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_E" value="65155" c:type="GDK_KEY_dead_E">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_I" value="65157" c:type="GDK_KEY_dead_I">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_O" value="65159" c:type="GDK_KEY_dead_O">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_U" value="65161" c:type="GDK_KEY_dead_U">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_a" value="65152" c:type="GDK_KEY_dead_a">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_abovecomma"
              value="65124"
              c:type="GDK_KEY_dead_abovecomma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_abovedot"
              value="65110"
              c:type="GDK_KEY_dead_abovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_abovereversedcomma"
              value="65125"
              c:type="GDK_KEY_dead_abovereversedcomma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_abovering"
              value="65112"
              c:type="GDK_KEY_dead_abovering">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_acute" value="65105" c:type="GDK_KEY_dead_acute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowbreve"
              value="65131"
              c:type="GDK_KEY_dead_belowbreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowcircumflex"
              value="65129"
              c:type="GDK_KEY_dead_belowcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowcomma"
              value="65134"
              c:type="GDK_KEY_dead_belowcomma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowdiaeresis"
              value="65132"
              c:type="GDK_KEY_dead_belowdiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowdot"
              value="65120"
              c:type="GDK_KEY_dead_belowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowmacron"
              value="65128"
              c:type="GDK_KEY_dead_belowmacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowring"
              value="65127"
              c:type="GDK_KEY_dead_belowring">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_belowtilde"
              value="65130"
              c:type="GDK_KEY_dead_belowtilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_breve" value="65109" c:type="GDK_KEY_dead_breve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_capital_schwa"
              value="65163"
              c:type="GDK_KEY_dead_capital_schwa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_caron" value="65114" c:type="GDK_KEY_dead_caron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_cedilla"
              value="65115"
              c:type="GDK_KEY_dead_cedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_circumflex"
              value="65106"
              c:type="GDK_KEY_dead_circumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_currency"
              value="65135"
              c:type="GDK_KEY_dead_currency">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_dasia" value="65125" c:type="GDK_KEY_dead_dasia">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_diaeresis"
              value="65111"
              c:type="GDK_KEY_dead_diaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_doubleacute"
              value="65113"
              c:type="GDK_KEY_dead_doubleacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_doublegrave"
              value="65126"
              c:type="GDK_KEY_dead_doublegrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_e" value="65154" c:type="GDK_KEY_dead_e">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_grave" value="65104" c:type="GDK_KEY_dead_grave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_hook" value="65121" c:type="GDK_KEY_dead_hook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_horn" value="65122" c:type="GDK_KEY_dead_horn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_i" value="65156" c:type="GDK_KEY_dead_i">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_invertedbreve"
              value="65133"
              c:type="GDK_KEY_dead_invertedbreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_iota" value="65117" c:type="GDK_KEY_dead_iota">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_macron"
              value="65108"
              c:type="GDK_KEY_dead_macron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_o" value="65158" c:type="GDK_KEY_dead_o">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_ogonek"
              value="65116"
              c:type="GDK_KEY_dead_ogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_perispomeni"
              value="65107"
              c:type="GDK_KEY_dead_perispomeni">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_psili" value="65124" c:type="GDK_KEY_dead_psili">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_semivoiced_sound"
              value="65119"
              c:type="GDK_KEY_dead_semivoiced_sound">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_small_schwa"
              value="65162"
              c:type="GDK_KEY_dead_small_schwa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_stroke"
              value="65123"
              c:type="GDK_KEY_dead_stroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_tilde" value="65107" c:type="GDK_KEY_dead_tilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_u" value="65160" c:type="GDK_KEY_dead_u">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dead_voiced_sound"
              value="65118"
              c:type="GDK_KEY_dead_voiced_sound">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_decimalpoint"
              value="2749"
              c:type="GDK_KEY_decimalpoint">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_degree" value="176" c:type="GDK_KEY_degree">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_diaeresis" value="168" c:type="GDK_KEY_diaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_diamond" value="2797" c:type="GDK_KEY_diamond">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_digitspace" value="2725" c:type="GDK_KEY_digitspace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dintegral" value="16785964" c:type="GDK_KEY_dintegral">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_division" value="247" c:type="GDK_KEY_division">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dollar" value="36" c:type="GDK_KEY_dollar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_doubbaselinedot"
              value="2735"
              c:type="GDK_KEY_doubbaselinedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_doubleacute" value="445" c:type="GDK_KEY_doubleacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_doubledagger"
              value="2802"
              c:type="GDK_KEY_doubledagger">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_doublelowquotemark"
              value="2814"
              c:type="GDK_KEY_doublelowquotemark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_downarrow" value="2302" c:type="GDK_KEY_downarrow">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_downcaret" value="2984" c:type="GDK_KEY_downcaret">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_downshoe" value="3030" c:type="GDK_KEY_downshoe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_downstile" value="3012" c:type="GDK_KEY_downstile">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_downtack" value="3010" c:type="GDK_KEY_downtack">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_dstroke" value="496" c:type="GDK_KEY_dstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_e" value="101" c:type="GDK_KEY_e">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_eabovedot" value="1004" c:type="GDK_KEY_eabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_eacute" value="233" c:type="GDK_KEY_eacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ebelowdot" value="16785081" c:type="GDK_KEY_ebelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ecaron" value="492" c:type="GDK_KEY_ecaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ecircumflex" value="234" c:type="GDK_KEY_ecircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ecircumflexacute"
              value="16785087"
              c:type="GDK_KEY_ecircumflexacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ecircumflexbelowdot"
              value="16785095"
              c:type="GDK_KEY_ecircumflexbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ecircumflexgrave"
              value="16785089"
              c:type="GDK_KEY_ecircumflexgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ecircumflexhook"
              value="16785091"
              c:type="GDK_KEY_ecircumflexhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ecircumflextilde"
              value="16785093"
              c:type="GDK_KEY_ecircumflextilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ediaeresis" value="235" c:type="GDK_KEY_ediaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_egrave" value="232" c:type="GDK_KEY_egrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ehook" value="16785083" c:type="GDK_KEY_ehook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_eightsubscript"
              value="16785544"
              c:type="GDK_KEY_eightsubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_eightsuperior"
              value="16785528"
              c:type="GDK_KEY_eightsuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_elementof" value="16785928" c:type="GDK_KEY_elementof">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ellipsis" value="2734" c:type="GDK_KEY_ellipsis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_em3space" value="2723" c:type="GDK_KEY_em3space">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_em4space" value="2724" c:type="GDK_KEY_em4space">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emacron" value="954" c:type="GDK_KEY_emacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emdash" value="2729" c:type="GDK_KEY_emdash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emfilledcircle"
              value="2782"
              c:type="GDK_KEY_emfilledcircle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emfilledrect"
              value="2783"
              c:type="GDK_KEY_emfilledrect">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emopencircle"
              value="2766"
              c:type="GDK_KEY_emopencircle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emopenrectangle"
              value="2767"
              c:type="GDK_KEY_emopenrectangle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emptyset" value="16785925" c:type="GDK_KEY_emptyset">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_emspace" value="2721" c:type="GDK_KEY_emspace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_endash" value="2730" c:type="GDK_KEY_endash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_enfilledcircbullet"
              value="2790"
              c:type="GDK_KEY_enfilledcircbullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_enfilledsqbullet"
              value="2791"
              c:type="GDK_KEY_enfilledsqbullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_eng" value="959" c:type="GDK_KEY_eng">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_enopencircbullet"
              value="2784"
              c:type="GDK_KEY_enopencircbullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_enopensquarebullet"
              value="2785"
              c:type="GDK_KEY_enopensquarebullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_enspace" value="2722" c:type="GDK_KEY_enspace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_eogonek" value="490" c:type="GDK_KEY_eogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_equal" value="61" c:type="GDK_KEY_equal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_eth" value="240" c:type="GDK_KEY_eth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_etilde" value="16785085" c:type="GDK_KEY_etilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_exclam" value="33" c:type="GDK_KEY_exclam">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_exclamdown" value="161" c:type="GDK_KEY_exclamdown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_f" value="102" c:type="GDK_KEY_f">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_fabovedot" value="16784927" c:type="GDK_KEY_fabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_femalesymbol"
              value="2808"
              c:type="GDK_KEY_femalesymbol">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ff" value="2531" c:type="GDK_KEY_ff">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_figdash" value="2747" c:type="GDK_KEY_figdash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_filledlefttribullet"
              value="2780"
              c:type="GDK_KEY_filledlefttribullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_filledrectbullet"
              value="2779"
              c:type="GDK_KEY_filledrectbullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_filledrighttribullet"
              value="2781"
              c:type="GDK_KEY_filledrighttribullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_filledtribulletdown"
              value="2793"
              c:type="GDK_KEY_filledtribulletdown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_filledtribulletup"
              value="2792"
              c:type="GDK_KEY_filledtribulletup">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_fiveeighths" value="2757" c:type="GDK_KEY_fiveeighths">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_fivesixths" value="2743" c:type="GDK_KEY_fivesixths">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_fivesubscript"
              value="16785541"
              c:type="GDK_KEY_fivesubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_fivesuperior"
              value="16785525"
              c:type="GDK_KEY_fivesuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_fourfifths" value="2741" c:type="GDK_KEY_fourfifths">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_foursubscript"
              value="16785540"
              c:type="GDK_KEY_foursubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_foursuperior"
              value="16785524"
              c:type="GDK_KEY_foursuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_fourthroot"
              value="16785948"
              c:type="GDK_KEY_fourthroot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_function" value="2294" c:type="GDK_KEY_function">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_g" value="103" c:type="GDK_KEY_g">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_gabovedot" value="757" c:type="GDK_KEY_gabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_gbreve" value="699" c:type="GDK_KEY_gbreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_gcaron" value="16777703" c:type="GDK_KEY_gcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_gcedilla" value="955" c:type="GDK_KEY_gcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_gcircumflex" value="760" c:type="GDK_KEY_gcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_grave" value="96" c:type="GDK_KEY_grave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_greater" value="62" c:type="GDK_KEY_greater">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_greaterthanequal"
              value="2238"
              c:type="GDK_KEY_greaterthanequal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_guillemotleft"
              value="171"
              c:type="GDK_KEY_guillemotleft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_guillemotright"
              value="187"
              c:type="GDK_KEY_guillemotright">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_h" value="104" c:type="GDK_KEY_h">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hairspace" value="2728" c:type="GDK_KEY_hairspace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hcircumflex" value="694" c:type="GDK_KEY_hcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_heart" value="2798" c:type="GDK_KEY_heart">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_aleph"
              value="3296"
              c:type="GDK_KEY_hebrew_aleph">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_ayin" value="3314" c:type="GDK_KEY_hebrew_ayin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_bet" value="3297" c:type="GDK_KEY_hebrew_bet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_beth" value="3297" c:type="GDK_KEY_hebrew_beth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_chet" value="3303" c:type="GDK_KEY_hebrew_chet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_dalet"
              value="3299"
              c:type="GDK_KEY_hebrew_dalet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_daleth"
              value="3299"
              c:type="GDK_KEY_hebrew_daleth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_doublelowline"
              value="3295"
              c:type="GDK_KEY_hebrew_doublelowline">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_finalkaph"
              value="3306"
              c:type="GDK_KEY_hebrew_finalkaph">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_finalmem"
              value="3309"
              c:type="GDK_KEY_hebrew_finalmem">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_finalnun"
              value="3311"
              c:type="GDK_KEY_hebrew_finalnun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_finalpe"
              value="3315"
              c:type="GDK_KEY_hebrew_finalpe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_finalzade"
              value="3317"
              c:type="GDK_KEY_hebrew_finalzade">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_finalzadi"
              value="3317"
              c:type="GDK_KEY_hebrew_finalzadi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_gimel"
              value="3298"
              c:type="GDK_KEY_hebrew_gimel">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_gimmel"
              value="3298"
              c:type="GDK_KEY_hebrew_gimmel">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_he" value="3300" c:type="GDK_KEY_hebrew_he">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_het" value="3303" c:type="GDK_KEY_hebrew_het">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_kaph" value="3307" c:type="GDK_KEY_hebrew_kaph">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_kuf" value="3319" c:type="GDK_KEY_hebrew_kuf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_lamed"
              value="3308"
              c:type="GDK_KEY_hebrew_lamed">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_mem" value="3310" c:type="GDK_KEY_hebrew_mem">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_nun" value="3312" c:type="GDK_KEY_hebrew_nun">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_pe" value="3316" c:type="GDK_KEY_hebrew_pe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_qoph" value="3319" c:type="GDK_KEY_hebrew_qoph">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_resh" value="3320" c:type="GDK_KEY_hebrew_resh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_samech"
              value="3313"
              c:type="GDK_KEY_hebrew_samech">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_samekh"
              value="3313"
              c:type="GDK_KEY_hebrew_samekh">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_shin" value="3321" c:type="GDK_KEY_hebrew_shin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_taf" value="3322" c:type="GDK_KEY_hebrew_taf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_taw" value="3322" c:type="GDK_KEY_hebrew_taw">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_tet" value="3304" c:type="GDK_KEY_hebrew_tet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_teth" value="3304" c:type="GDK_KEY_hebrew_teth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_waw" value="3301" c:type="GDK_KEY_hebrew_waw">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_yod" value="3305" c:type="GDK_KEY_hebrew_yod">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_zade" value="3318" c:type="GDK_KEY_hebrew_zade">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_zadi" value="3318" c:type="GDK_KEY_hebrew_zadi">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_zain" value="3302" c:type="GDK_KEY_hebrew_zain">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hebrew_zayin"
              value="3302"
              c:type="GDK_KEY_hebrew_zayin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hexagram" value="2778" c:type="GDK_KEY_hexagram">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_horizconnector"
              value="2211"
              c:type="GDK_KEY_horizconnector">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_horizlinescan1"
              value="2543"
              c:type="GDK_KEY_horizlinescan1">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_horizlinescan3"
              value="2544"
              c:type="GDK_KEY_horizlinescan3">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_horizlinescan5"
              value="2545"
              c:type="GDK_KEY_horizlinescan5">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_horizlinescan7"
              value="2546"
              c:type="GDK_KEY_horizlinescan7">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_horizlinescan9"
              value="2547"
              c:type="GDK_KEY_horizlinescan9">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hstroke" value="689" c:type="GDK_KEY_hstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ht" value="2530" c:type="GDK_KEY_ht">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_hyphen" value="173" c:type="GDK_KEY_hyphen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_i" value="105" c:type="GDK_KEY_i">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_iTouch" value="269025120" c:type="GDK_KEY_iTouch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_iacute" value="237" c:type="GDK_KEY_iacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ibelowdot" value="16785099" c:type="GDK_KEY_ibelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ibreve" value="16777517" c:type="GDK_KEY_ibreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_icircumflex" value="238" c:type="GDK_KEY_icircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_identical" value="2255" c:type="GDK_KEY_identical">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_idiaeresis" value="239" c:type="GDK_KEY_idiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_idotless" value="697" c:type="GDK_KEY_idotless">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ifonlyif" value="2253" c:type="GDK_KEY_ifonlyif">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_igrave" value="236" c:type="GDK_KEY_igrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ihook" value="16785097" c:type="GDK_KEY_ihook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_imacron" value="1007" c:type="GDK_KEY_imacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_implies" value="2254" c:type="GDK_KEY_implies">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_includedin" value="2266" c:type="GDK_KEY_includedin">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_includes" value="2267" c:type="GDK_KEY_includes">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_infinity" value="2242" c:type="GDK_KEY_infinity">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_integral" value="2239" c:type="GDK_KEY_integral">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_intersection"
              value="2268"
              c:type="GDK_KEY_intersection">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_iogonek" value="999" c:type="GDK_KEY_iogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_itilde" value="949" c:type="GDK_KEY_itilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_j" value="106" c:type="GDK_KEY_j">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_jcircumflex" value="700" c:type="GDK_KEY_jcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_jot" value="3018" c:type="GDK_KEY_jot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_k" value="107" c:type="GDK_KEY_k">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_A" value="1201" c:type="GDK_KEY_kana_A">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_CHI" value="1217" c:type="GDK_KEY_kana_CHI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_E" value="1204" c:type="GDK_KEY_kana_E">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_FU" value="1228" c:type="GDK_KEY_kana_FU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_HA" value="1226" c:type="GDK_KEY_kana_HA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_HE" value="1229" c:type="GDK_KEY_kana_HE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_HI" value="1227" c:type="GDK_KEY_kana_HI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_HO" value="1230" c:type="GDK_KEY_kana_HO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_HU" value="1228" c:type="GDK_KEY_kana_HU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_I" value="1202" c:type="GDK_KEY_kana_I">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_KA" value="1206" c:type="GDK_KEY_kana_KA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_KE" value="1209" c:type="GDK_KEY_kana_KE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_KI" value="1207" c:type="GDK_KEY_kana_KI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_KO" value="1210" c:type="GDK_KEY_kana_KO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_KU" value="1208" c:type="GDK_KEY_kana_KU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_MA" value="1231" c:type="GDK_KEY_kana_MA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_ME" value="1234" c:type="GDK_KEY_kana_ME">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_MI" value="1232" c:type="GDK_KEY_kana_MI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_MO" value="1235" c:type="GDK_KEY_kana_MO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_MU" value="1233" c:type="GDK_KEY_kana_MU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_N" value="1245" c:type="GDK_KEY_kana_N">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_NA" value="1221" c:type="GDK_KEY_kana_NA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_NE" value="1224" c:type="GDK_KEY_kana_NE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_NI" value="1222" c:type="GDK_KEY_kana_NI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_NO" value="1225" c:type="GDK_KEY_kana_NO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_NU" value="1223" c:type="GDK_KEY_kana_NU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_O" value="1205" c:type="GDK_KEY_kana_O">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_RA" value="1239" c:type="GDK_KEY_kana_RA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_RE" value="1242" c:type="GDK_KEY_kana_RE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_RI" value="1240" c:type="GDK_KEY_kana_RI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_RO" value="1243" c:type="GDK_KEY_kana_RO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_RU" value="1241" c:type="GDK_KEY_kana_RU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_SA" value="1211" c:type="GDK_KEY_kana_SA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_SE" value="1214" c:type="GDK_KEY_kana_SE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_SHI" value="1212" c:type="GDK_KEY_kana_SHI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_SO" value="1215" c:type="GDK_KEY_kana_SO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_SU" value="1213" c:type="GDK_KEY_kana_SU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_TA" value="1216" c:type="GDK_KEY_kana_TA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_TE" value="1219" c:type="GDK_KEY_kana_TE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_TI" value="1217" c:type="GDK_KEY_kana_TI">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_TO" value="1220" c:type="GDK_KEY_kana_TO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_TSU" value="1218" c:type="GDK_KEY_kana_TSU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_TU" value="1218" c:type="GDK_KEY_kana_TU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_U" value="1203" c:type="GDK_KEY_kana_U">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_WA" value="1244" c:type="GDK_KEY_kana_WA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_WO" value="1190" c:type="GDK_KEY_kana_WO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_YA" value="1236" c:type="GDK_KEY_kana_YA">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_YO" value="1238" c:type="GDK_KEY_kana_YO">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_YU" value="1237" c:type="GDK_KEY_kana_YU">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_a" value="1191" c:type="GDK_KEY_kana_a">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_closingbracket"
              value="1187"
              c:type="GDK_KEY_kana_closingbracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_comma" value="1188" c:type="GDK_KEY_kana_comma">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_conjunctive"
              value="1189"
              c:type="GDK_KEY_kana_conjunctive">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_e" value="1194" c:type="GDK_KEY_kana_e">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_fullstop"
              value="1185"
              c:type="GDK_KEY_kana_fullstop">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_i" value="1192" c:type="GDK_KEY_kana_i">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_middledot"
              value="1189"
              c:type="GDK_KEY_kana_middledot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_o" value="1195" c:type="GDK_KEY_kana_o">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_openingbracket"
              value="1186"
              c:type="GDK_KEY_kana_openingbracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_switch"
              value="65406"
              c:type="GDK_KEY_kana_switch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_tsu" value="1199" c:type="GDK_KEY_kana_tsu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_tu" value="1199" c:type="GDK_KEY_kana_tu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_u" value="1193" c:type="GDK_KEY_kana_u">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_ya" value="1196" c:type="GDK_KEY_kana_ya">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_yo" value="1198" c:type="GDK_KEY_kana_yo">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kana_yu" value="1197" c:type="GDK_KEY_kana_yu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kappa" value="930" c:type="GDK_KEY_kappa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kcedilla" value="1011" c:type="GDK_KEY_kcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_kra" value="930" c:type="GDK_KEY_kra">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_l" value="108" c:type="GDK_KEY_l">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lacute" value="485" c:type="GDK_KEY_lacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_latincross" value="2777" c:type="GDK_KEY_latincross">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lbelowdot" value="16784951" c:type="GDK_KEY_lbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lcaron" value="437" c:type="GDK_KEY_lcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lcedilla" value="950" c:type="GDK_KEY_lcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftanglebracket"
              value="2748"
              c:type="GDK_KEY_leftanglebracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftarrow" value="2299" c:type="GDK_KEY_leftarrow">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftcaret" value="2979" c:type="GDK_KEY_leftcaret">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftdoublequotemark"
              value="2770"
              c:type="GDK_KEY_leftdoublequotemark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftmiddlecurlybrace"
              value="2223"
              c:type="GDK_KEY_leftmiddlecurlybrace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftopentriangle"
              value="2764"
              c:type="GDK_KEY_leftopentriangle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftpointer" value="2794" c:type="GDK_KEY_leftpointer">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftradical" value="2209" c:type="GDK_KEY_leftradical">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftshoe" value="3034" c:type="GDK_KEY_leftshoe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftsinglequotemark"
              value="2768"
              c:type="GDK_KEY_leftsinglequotemark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_leftt" value="2548" c:type="GDK_KEY_leftt">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lefttack" value="3036" c:type="GDK_KEY_lefttack">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_less" value="60" c:type="GDK_KEY_less">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lessthanequal"
              value="2236"
              c:type="GDK_KEY_lessthanequal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lf" value="2533" c:type="GDK_KEY_lf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_logicaland" value="2270" c:type="GDK_KEY_logicaland">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_logicalor" value="2271" c:type="GDK_KEY_logicalor">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lowleftcorner"
              value="2541"
              c:type="GDK_KEY_lowleftcorner">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lowrightcorner"
              value="2538"
              c:type="GDK_KEY_lowrightcorner">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_lstroke" value="435" c:type="GDK_KEY_lstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_m" value="109" c:type="GDK_KEY_m">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_mabovedot" value="16784961" c:type="GDK_KEY_mabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_macron" value="175" c:type="GDK_KEY_macron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_malesymbol" value="2807" c:type="GDK_KEY_malesymbol">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_maltesecross"
              value="2800"
              c:type="GDK_KEY_maltesecross">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_marker" value="2751" c:type="GDK_KEY_marker">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_masculine" value="186" c:type="GDK_KEY_masculine">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_minus" value="45" c:type="GDK_KEY_minus">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_minutes" value="2774" c:type="GDK_KEY_minutes">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_mu" value="181" c:type="GDK_KEY_mu">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_multiply" value="215" c:type="GDK_KEY_multiply">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_musicalflat" value="2806" c:type="GDK_KEY_musicalflat">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_musicalsharp"
              value="2805"
              c:type="GDK_KEY_musicalsharp">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_n" value="110" c:type="GDK_KEY_n">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_nabla" value="2245" c:type="GDK_KEY_nabla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_nacute" value="497" c:type="GDK_KEY_nacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ncaron" value="498" c:type="GDK_KEY_ncaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ncedilla" value="1009" c:type="GDK_KEY_ncedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ninesubscript"
              value="16785545"
              c:type="GDK_KEY_ninesubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ninesuperior"
              value="16785529"
              c:type="GDK_KEY_ninesuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_nl" value="2536" c:type="GDK_KEY_nl">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_nobreakspace"
              value="160"
              c:type="GDK_KEY_nobreakspace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_notapproxeq"
              value="16785991"
              c:type="GDK_KEY_notapproxeq">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_notelementof"
              value="16785929"
              c:type="GDK_KEY_notelementof">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_notequal" value="2237" c:type="GDK_KEY_notequal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_notidentical"
              value="16786018"
              c:type="GDK_KEY_notidentical">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_notsign" value="172" c:type="GDK_KEY_notsign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ntilde" value="241" c:type="GDK_KEY_ntilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_numbersign" value="35" c:type="GDK_KEY_numbersign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_numerosign" value="1712" c:type="GDK_KEY_numerosign">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_o" value="111" c:type="GDK_KEY_o">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_oacute" value="243" c:type="GDK_KEY_oacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_obarred" value="16777845" c:type="GDK_KEY_obarred">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_obelowdot" value="16785101" c:type="GDK_KEY_obelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ocaron" value="16777682" c:type="GDK_KEY_ocaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ocircumflex" value="244" c:type="GDK_KEY_ocircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ocircumflexacute"
              value="16785105"
              c:type="GDK_KEY_ocircumflexacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ocircumflexbelowdot"
              value="16785113"
              c:type="GDK_KEY_ocircumflexbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ocircumflexgrave"
              value="16785107"
              c:type="GDK_KEY_ocircumflexgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ocircumflexhook"
              value="16785109"
              c:type="GDK_KEY_ocircumflexhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ocircumflextilde"
              value="16785111"
              c:type="GDK_KEY_ocircumflextilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_odiaeresis" value="246" c:type="GDK_KEY_odiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_odoubleacute"
              value="501"
              c:type="GDK_KEY_odoubleacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_oe" value="5053" c:type="GDK_KEY_oe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ogonek" value="434" c:type="GDK_KEY_ogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ograve" value="242" c:type="GDK_KEY_ograve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ohook" value="16785103" c:type="GDK_KEY_ohook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ohorn" value="16777633" c:type="GDK_KEY_ohorn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ohornacute"
              value="16785115"
              c:type="GDK_KEY_ohornacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ohornbelowdot"
              value="16785123"
              c:type="GDK_KEY_ohornbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ohorngrave"
              value="16785117"
              c:type="GDK_KEY_ohorngrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ohornhook" value="16785119" c:type="GDK_KEY_ohornhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ohorntilde"
              value="16785121"
              c:type="GDK_KEY_ohorntilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_omacron" value="1010" c:type="GDK_KEY_omacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_oneeighth" value="2755" c:type="GDK_KEY_oneeighth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_onefifth" value="2738" c:type="GDK_KEY_onefifth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_onehalf" value="189" c:type="GDK_KEY_onehalf">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_onequarter" value="188" c:type="GDK_KEY_onequarter">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_onesixth" value="2742" c:type="GDK_KEY_onesixth">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_onesubscript"
              value="16785537"
              c:type="GDK_KEY_onesubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_onesuperior" value="185" c:type="GDK_KEY_onesuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_onethird" value="2736" c:type="GDK_KEY_onethird">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ooblique" value="248" c:type="GDK_KEY_ooblique">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_openrectbullet"
              value="2786"
              c:type="GDK_KEY_openrectbullet">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_openstar" value="2789" c:type="GDK_KEY_openstar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_opentribulletdown"
              value="2788"
              c:type="GDK_KEY_opentribulletdown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_opentribulletup"
              value="2787"
              c:type="GDK_KEY_opentribulletup">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ordfeminine" value="170" c:type="GDK_KEY_ordfeminine">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_oslash" value="248" c:type="GDK_KEY_oslash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_otilde" value="245" c:type="GDK_KEY_otilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_overbar" value="3008" c:type="GDK_KEY_overbar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_overline" value="1150" c:type="GDK_KEY_overline">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_p" value="112" c:type="GDK_KEY_p">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_pabovedot" value="16784983" c:type="GDK_KEY_pabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_paragraph" value="182" c:type="GDK_KEY_paragraph">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_parenleft" value="40" c:type="GDK_KEY_parenleft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_parenright" value="41" c:type="GDK_KEY_parenright">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_partdifferential"
              value="16785922"
              c:type="GDK_KEY_partdifferential">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_partialderivative"
              value="2287"
              c:type="GDK_KEY_partialderivative">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_percent" value="37" c:type="GDK_KEY_percent">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_period" value="46" c:type="GDK_KEY_period">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_periodcentered"
              value="183"
              c:type="GDK_KEY_periodcentered">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_phonographcopyright"
              value="2811"
              c:type="GDK_KEY_phonographcopyright">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_plus" value="43" c:type="GDK_KEY_plus">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_plusminus" value="177" c:type="GDK_KEY_plusminus">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_prescription"
              value="2772"
              c:type="GDK_KEY_prescription">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_prolongedsound"
              value="1200"
              c:type="GDK_KEY_prolongedsound">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_punctspace" value="2726" c:type="GDK_KEY_punctspace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_q" value="113" c:type="GDK_KEY_q">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_quad" value="3020" c:type="GDK_KEY_quad">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_question" value="63" c:type="GDK_KEY_question">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_questiondown"
              value="191"
              c:type="GDK_KEY_questiondown">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_quotedbl" value="34" c:type="GDK_KEY_quotedbl">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_quoteleft" value="96" c:type="GDK_KEY_quoteleft">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_quoteright" value="39" c:type="GDK_KEY_quoteright">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_r" value="114" c:type="GDK_KEY_r">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_racute" value="480" c:type="GDK_KEY_racute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_radical" value="2262" c:type="GDK_KEY_radical">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rcaron" value="504" c:type="GDK_KEY_rcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rcedilla" value="947" c:type="GDK_KEY_rcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_registered" value="174" c:type="GDK_KEY_registered">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightanglebracket"
              value="2750"
              c:type="GDK_KEY_rightanglebracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightarrow" value="2301" c:type="GDK_KEY_rightarrow">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightcaret" value="2982" c:type="GDK_KEY_rightcaret">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightdoublequotemark"
              value="2771"
              c:type="GDK_KEY_rightdoublequotemark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightmiddlecurlybrace"
              value="2224"
              c:type="GDK_KEY_rightmiddlecurlybrace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightmiddlesummation"
              value="2231"
              c:type="GDK_KEY_rightmiddlesummation">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightopentriangle"
              value="2765"
              c:type="GDK_KEY_rightopentriangle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightpointer"
              value="2795"
              c:type="GDK_KEY_rightpointer">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightshoe" value="3032" c:type="GDK_KEY_rightshoe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightsinglequotemark"
              value="2769"
              c:type="GDK_KEY_rightsinglequotemark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_rightt" value="2549" c:type="GDK_KEY_rightt">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_righttack" value="3068" c:type="GDK_KEY_righttack">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_s" value="115" c:type="GDK_KEY_s">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_sabovedot" value="16784993" c:type="GDK_KEY_sabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_sacute" value="438" c:type="GDK_KEY_sacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_scaron" value="441" c:type="GDK_KEY_scaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_scedilla" value="442" c:type="GDK_KEY_scedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_schwa" value="16777817" c:type="GDK_KEY_schwa">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_scircumflex" value="766" c:type="GDK_KEY_scircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_script_switch"
              value="65406"
              c:type="GDK_KEY_script_switch">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_seconds" value="2775" c:type="GDK_KEY_seconds">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_section" value="167" c:type="GDK_KEY_section">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_semicolon" value="59" c:type="GDK_KEY_semicolon">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_semivoicedsound"
              value="1247"
              c:type="GDK_KEY_semivoicedsound">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_seveneighths"
              value="2758"
              c:type="GDK_KEY_seveneighths">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_sevensubscript"
              value="16785543"
              c:type="GDK_KEY_sevensubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_sevensuperior"
              value="16785527"
              c:type="GDK_KEY_sevensuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_signaturemark"
              value="2762"
              c:type="GDK_KEY_signaturemark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_signifblank" value="2732" c:type="GDK_KEY_signifblank">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_similarequal"
              value="2249"
              c:type="GDK_KEY_similarequal">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_singlelowquotemark"
              value="2813"
              c:type="GDK_KEY_singlelowquotemark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_sixsubscript"
              value="16785542"
              c:type="GDK_KEY_sixsubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_sixsuperior"
              value="16785526"
              c:type="GDK_KEY_sixsuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_slash" value="47" c:type="GDK_KEY_slash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_soliddiamond"
              value="2528"
              c:type="GDK_KEY_soliddiamond">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_space" value="32" c:type="GDK_KEY_space">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_squareroot"
              value="16785946"
              c:type="GDK_KEY_squareroot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ssharp" value="223" c:type="GDK_KEY_ssharp">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_sterling" value="163" c:type="GDK_KEY_sterling">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_stricteq" value="16786019" c:type="GDK_KEY_stricteq">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_t" value="116" c:type="GDK_KEY_t">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_tabovedot" value="16785003" c:type="GDK_KEY_tabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_tcaron" value="443" c:type="GDK_KEY_tcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_tcedilla" value="510" c:type="GDK_KEY_tcedilla">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_telephone" value="2809" c:type="GDK_KEY_telephone">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_telephonerecorder"
              value="2810"
              c:type="GDK_KEY_telephonerecorder">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_therefore" value="2240" c:type="GDK_KEY_therefore">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_thinspace" value="2727" c:type="GDK_KEY_thinspace">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_thorn" value="254" c:type="GDK_KEY_thorn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_threeeighths"
              value="2756"
              c:type="GDK_KEY_threeeighths">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_threefifths" value="2740" c:type="GDK_KEY_threefifths">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_threequarters"
              value="190"
              c:type="GDK_KEY_threequarters">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_threesubscript"
              value="16785539"
              c:type="GDK_KEY_threesubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_threesuperior"
              value="179"
              c:type="GDK_KEY_threesuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_tintegral" value="16785965" c:type="GDK_KEY_tintegral">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_topintegral" value="2212" c:type="GDK_KEY_topintegral">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_topleftparens"
              value="2219"
              c:type="GDK_KEY_topleftparens">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_topleftradical"
              value="2210"
              c:type="GDK_KEY_topleftradical">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_topleftsqbracket"
              value="2215"
              c:type="GDK_KEY_topleftsqbracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_topleftsummation"
              value="2225"
              c:type="GDK_KEY_topleftsummation">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_toprightparens"
              value="2221"
              c:type="GDK_KEY_toprightparens">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_toprightsqbracket"
              value="2217"
              c:type="GDK_KEY_toprightsqbracket">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_toprightsummation"
              value="2229"
              c:type="GDK_KEY_toprightsummation">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_topt" value="2551" c:type="GDK_KEY_topt">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_topvertsummationconnector"
              value="2227"
              c:type="GDK_KEY_topvertsummationconnector">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_trademark" value="2761" c:type="GDK_KEY_trademark">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_trademarkincircle"
              value="2763"
              c:type="GDK_KEY_trademarkincircle">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_tslash" value="956" c:type="GDK_KEY_tslash">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_twofifths" value="2739" c:type="GDK_KEY_twofifths">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_twosubscript"
              value="16785538"
              c:type="GDK_KEY_twosubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_twosuperior" value="178" c:type="GDK_KEY_twosuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_twothirds" value="2737" c:type="GDK_KEY_twothirds">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_u" value="117" c:type="GDK_KEY_u">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uacute" value="250" c:type="GDK_KEY_uacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ubelowdot" value="16785125" c:type="GDK_KEY_ubelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ubreve" value="765" c:type="GDK_KEY_ubreve">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ucircumflex" value="251" c:type="GDK_KEY_ucircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_udiaeresis" value="252" c:type="GDK_KEY_udiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_udoubleacute"
              value="507"
              c:type="GDK_KEY_udoubleacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ugrave" value="249" c:type="GDK_KEY_ugrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uhook" value="16785127" c:type="GDK_KEY_uhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uhorn" value="16777648" c:type="GDK_KEY_uhorn">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uhornacute"
              value="16785129"
              c:type="GDK_KEY_uhornacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uhornbelowdot"
              value="16785137"
              c:type="GDK_KEY_uhornbelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uhorngrave"
              value="16785131"
              c:type="GDK_KEY_uhorngrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uhornhook" value="16785133" c:type="GDK_KEY_uhornhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uhorntilde"
              value="16785135"
              c:type="GDK_KEY_uhorntilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_umacron" value="1022" c:type="GDK_KEY_umacron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_underbar" value="3014" c:type="GDK_KEY_underbar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_underscore" value="95" c:type="GDK_KEY_underscore">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_union" value="2269" c:type="GDK_KEY_union">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uogonek" value="1017" c:type="GDK_KEY_uogonek">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uparrow" value="2300" c:type="GDK_KEY_uparrow">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_upcaret" value="2985" c:type="GDK_KEY_upcaret">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_upleftcorner"
              value="2540"
              c:type="GDK_KEY_upleftcorner">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uprightcorner"
              value="2539"
              c:type="GDK_KEY_uprightcorner">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_upshoe" value="3011" c:type="GDK_KEY_upshoe">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_upstile" value="3027" c:type="GDK_KEY_upstile">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uptack" value="3022" c:type="GDK_KEY_uptack">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_uring" value="505" c:type="GDK_KEY_uring">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_utilde" value="1021" c:type="GDK_KEY_utilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_v" value="118" c:type="GDK_KEY_v">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_variation" value="2241" c:type="GDK_KEY_variation">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_vertbar" value="2552" c:type="GDK_KEY_vertbar">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_vertconnector"
              value="2214"
              c:type="GDK_KEY_vertconnector">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_voicedsound" value="1246" c:type="GDK_KEY_voicedsound">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_vt" value="2537" c:type="GDK_KEY_vt">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_w" value="119" c:type="GDK_KEY_w">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_wacute" value="16785027" c:type="GDK_KEY_wacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_wcircumflex"
              value="16777589"
              c:type="GDK_KEY_wcircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_wdiaeresis"
              value="16785029"
              c:type="GDK_KEY_wdiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_wgrave" value="16785025" c:type="GDK_KEY_wgrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_x" value="120" c:type="GDK_KEY_x">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_xabovedot" value="16785035" c:type="GDK_KEY_xabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_y" value="121" c:type="GDK_KEY_y">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_yacute" value="253" c:type="GDK_KEY_yacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ybelowdot" value="16785141" c:type="GDK_KEY_ybelowdot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ycircumflex"
              value="16777591"
              c:type="GDK_KEY_ycircumflex">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ydiaeresis" value="255" c:type="GDK_KEY_ydiaeresis">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_yen" value="165" c:type="GDK_KEY_yen">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ygrave" value="16785139" c:type="GDK_KEY_ygrave">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_yhook" value="16785143" c:type="GDK_KEY_yhook">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_ytilde" value="16785145" c:type="GDK_KEY_ytilde">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_z" value="122" c:type="GDK_KEY_z">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_zabovedot" value="447" c:type="GDK_KEY_zabovedot">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_zacute" value="444" c:type="GDK_KEY_zacute">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_zcaron" value="446" c:type="GDK_KEY_zcaron">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_zerosubscript"
              value="16785536"
              c:type="GDK_KEY_zerosubscript">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_zerosuperior"
              value="16785520"
              c:type="GDK_KEY_zerosuperior">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="KEY_zstroke" value="16777654" c:type="GDK_KEY_zstroke">
      <type name="gint" c:type="gint"/>
    </constant>
    <record name="KeyboardGrabInfo" c:type="GdkKeyboardGrabInfo">
      <field name="window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="native_window" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="serial" writable="1">
        <type name="gulong" c:type="gulong"/>
      </field>
      <field name="owner_events" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <function name="libgtk_only"
                c:identifier="gdk_keyboard_grab_info_libgtk_only">
        <doc xml:space="preserve">Determines information about the current keyboard grab.
This is not public API and must not be used by applications.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if this application currently has the
 keyboard grabbed.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the display for which to get the grab information</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="grab_window" transfer-ownership="none">
            <doc xml:space="preserve">location to store current grab window</doc>
            <type name="Window" c:type="GdkWindow**"/>
          </parameter>
          <parameter name="owner_events" transfer-ownership="none">
            <doc xml:space="preserve">location to store boolean indicating whether
  the @owner_events flag to gdk_keyboard_grab() was %TRUE.</doc>
            <type name="gboolean" c:type="gboolean*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <class name="Keymap"
           c:symbol-prefix="keymap"
           c:type="GdkKeymap"
           parent="GObject.Object"
           glib:type-name="GdkKeymap"
           glib:get-type="gdk_keymap_get_type"
           glib:type-struct="KeymapClass">
      <function name="get_default"
                c:identifier="gdk_keymap_get_default"
                introspectable="0">
        <doc xml:space="preserve">Returns the #GdkKeymap attached to the default display.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkKeymap attached to the default display.</doc>
          <type name="Keymap" c:type="GdkKeymap*"/>
        </return-value>
      </function>
      <function name="get_for_display"
                c:identifier="gdk_keymap_get_for_display"
                version="2.2"
                introspectable="0">
        <doc xml:space="preserve">Returns the #GdkKeymap attached to @display.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkKeymap attached to @display.</doc>
          <type name="Keymap" c:type="GdkKeymap*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay.</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
        </parameters>
      </function>
      <virtual-method name="direction_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="keys_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="state_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="add_virtual_modifiers"
              c:identifier="gdk_keymap_add_virtual_modifiers"
              version="2.20">
        <doc xml:space="preserve">Adds virtual modifiers (i.e. Super, Hyper and Meta) which correspond
to the real modifiers (i.e Mod2, Mod3, ...) in @modifiers.
are set in @state to their non-virtual counterparts (i.e. Mod2,
Mod3,...) and set the corresponding bits in @state.

GDK already does this before delivering key events, but for
compatibility reasons, it only sets the first virtual modifier
it finds, whereas this function sets all matching virtual modifiers.

This function is useful when matching key events against
accelerators.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkKeymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">pointer to the modifier mask to change</doc>
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_caps_lock_state"
              c:identifier="gdk_keymap_get_caps_lock_state"
              version="2.16">
        <doc xml:space="preserve">Returns whether the Caps Lock modifer is locked.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if Caps Lock is on</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkKeymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_direction" c:identifier="gdk_keymap_get_direction">
        <doc xml:space="preserve">Returns the direction of effective layout of the keymap.

Note that passing %NULL for @keymap is deprecated and will stop
to work in GTK+ 3.0. Use gdk_keymap_get_for_display() instead.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%PANGO_DIRECTION_LTR or %PANGO_DIRECTION_RTL
  if it can determine the direction. %PANGO_DIRECTION_NEUTRAL
  otherwise.</doc>
          <type name="Pango.Direction" c:type="PangoDirection"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkKeymap or %NULL to use the default keymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_entries_for_keycode"
              c:identifier="gdk_keymap_get_entries_for_keycode">
        <doc xml:space="preserve">Returns the keyvals bound to @hardware_keycode.
The Nth #GdkKeymapKey in @keys is bound to the Nth
keyval in @keyvals. Free the returned arrays with g_free().
When a keycode is pressed by the user, the keyval from
this list of entries is selected by considering the effective
keyboard group and level. See gdk_keymap_translate_keyboard_state().

Note that passing %NULL for @keymap is deprecated and will stop
to work in GTK+ 3.0. Use gdk_keymap_get_for_display() instead.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if there were any entries</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GdkKeymap or %NULL to use the default keymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="hardware_keycode" transfer-ownership="none">
            <doc xml:space="preserve">a keycode</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="keys"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for array of #GdkKeymapKey, or %NULL</doc>
            <type name="KeymapKey" c:type="GdkKeymapKey**"/>
          </parameter>
          <parameter name="keyvals"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for array of keyvals, or %NULL</doc>
            <type name="guint" c:type="guint**"/>
          </parameter>
          <parameter name="n_entries" transfer-ownership="none">
            <doc xml:space="preserve">length of @keys and @keyvals</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_entries_for_keyval"
              c:identifier="gdk_keymap_get_entries_for_keyval">
        <doc xml:space="preserve">Obtains a list of keycode/group/level combinations that will
generate @keyval. Groups and levels are two kinds of keyboard mode;
in general, the level determines whether the top or bottom symbol
on a key is used, and the group determines whether the left or
right symbol is used. On US keyboards, the shift key changes the
keyboard level, and there are no groups. A group switch key might
convert a keyboard between Hebrew to English modes, for example.
#GdkEventKey contains a %group field that indicates the active
keyboard group. The level is computed from the modifier mask.
The returned array should be freed
with g_free().

Note that passing %NULL for @keymap is deprecated and will stop
to work in GTK+ 3.0. Use gdk_keymap_get_for_display() instead.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if keys were found and returned</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GdkKeymap, or %NULL to use the default keymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="keyval" transfer-ownership="none">
            <doc xml:space="preserve">a keyval, such as %GDK_a, %GDK_Up, %GDK_Return, etc.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="keys"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for an array of #GdkKeymapKey</doc>
            <type name="KeymapKey" c:type="GdkKeymapKey**"/>
          </parameter>
          <parameter name="n_keys"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for number of elements in returned array</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="have_bidi_layouts"
              c:identifier="gdk_keymap_have_bidi_layouts"
              version="2.12">
        <doc xml:space="preserve">Determines if keyboard layouts for both right-to-left and left-to-right
languages are in use.

Note that passing %NULL for @keymap is deprecated and will stop
to work in GTK+ 3.0. Use gdk_keymap_get_for_display() instead.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if there are layouts in both directions, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkKeymap or %NULL to use the default keymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="lookup_key" c:identifier="gdk_keymap_lookup_key">
        <doc xml:space="preserve">Looks up the keyval mapped to a keycode/group/level triplet.
If no keyval is bound to @key, returns 0. For normal user input,
you want to use gdk_keymap_translate_keyboard_state() instead of
this function, since the effective group/level may not be
the same as the current keyboard state.

Note that passing %NULL for @keymap is deprecated and will stop
to work in GTK+ 3.0. Use gdk_keymap_get_for_display() instead.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a keyval, or 0 if none was mapped to the given @key</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkKeymap or %NULL to use the default keymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkKeymapKey with keycode, group, and level initialized</doc>
            <type name="KeymapKey" c:type="const GdkKeymapKey*"/>
          </parameter>
        </parameters>
      </method>
      <method name="map_virtual_modifiers"
              c:identifier="gdk_keymap_map_virtual_modifiers"
              version="2.20">
        <doc xml:space="preserve">Maps the virtual modifiers (i.e. Super, Hyper and Meta) which
are set in @state to their non-virtual counterparts (i.e. Mod2,
Mod3,...) and set the corresponding bits in @state.

This function is useful when matching key events against
accelerators.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if no virtual modifiers were mapped to the
    same non-virtual modifier. Note that %FALSE is also returned
    if a virtual modifier is mapped to a non-virtual modifier that
    was already set in @state.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkKeymap</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">pointer to the modifier state to map</doc>
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <method name="translate_keyboard_state"
              c:identifier="gdk_keymap_translate_keyboard_state">
        <doc xml:space="preserve">Translates the contents of a #GdkEventKey into a keyval, effective
group, and level. Modifiers that affected the translation and
are thus unavailable for application use are returned in
@consumed_modifiers.  See &lt;xref linkend="key-group-explanation"/&gt; for an explanation of
groups and levels.  The @effective_group is the group that was
actually used for the translation; some keys such as Enter are not
affected by the active keyboard group. The @level is derived from
@state. For convenience, #GdkEventKey already contains the translated
keyval, so this function isn't as useful as you might think.

&lt;note&gt;&lt;para&gt;
@consumed_modifiers gives modifiers that should be masked out
from @state when comparing this key press to a hot key. For
instance, on a US keyboard, the &lt;literal&gt;plus&lt;/literal&gt;
symbol is shifted, so when comparing a key press to a
&lt;literal&gt;&amp;lt;Control&amp;gt;plus&lt;/literal&gt; accelerator &amp;lt;Shift&amp;gt; should
be masked out.
&lt;/para&gt;
&lt;informalexample&gt;&lt;programlisting&gt;
&amp;sol;* We want to ignore irrelevant modifiers like ScrollLock *&amp;sol;
&amp;num;define ALL_ACCELS_MASK (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)
gdk_keymap_translate_keyboard_state (keymap, event-&gt;hardware_keycode,
                                     event-&gt;state, event-&gt;group,
                                     &amp;amp;keyval, NULL, NULL, &amp;amp;consumed);
if (keyval == GDK_PLUS &amp;&amp;
    (event-&gt;state &amp;amp; ~consumed &amp;amp; ALL_ACCELS_MASK) == GDK_CONTROL_MASK)
  &amp;sol;* Control was pressed *&amp;sol;
&lt;/programlisting&gt;&lt;/informalexample&gt;
&lt;para&gt;
An older interpretation @consumed_modifiers was that it contained
all modifiers that might affect the translation of the key;
this allowed accelerators to be stored with irrelevant consumed
modifiers, by doing:&lt;/para&gt;
&lt;informalexample&gt;&lt;programlisting&gt;
&amp;sol;* XXX Don't do this XXX *&amp;sol;
if (keyval == accel_keyval &amp;&amp;
    (event-&gt;state &amp;amp; ~consumed &amp;amp; ALL_ACCELS_MASK) == (accel_mods &amp;amp; ~consumed))
  &amp;sol;* Accelerator was pressed *&amp;sol;
&lt;/programlisting&gt;&lt;/informalexample&gt;
&lt;para&gt;
However, this did not work if multi-modifier combinations were
used in the keymap, since, for instance, &lt;literal&gt;&amp;lt;Control&amp;gt;&lt;/literal&gt;
would be masked out even if only &lt;literal&gt;&amp;lt;Control&amp;gt;&amp;lt;Alt&amp;gt;&lt;/literal&gt;
was used in the keymap. To support this usage as well as well as
possible, all &lt;emphasis&gt;single modifier&lt;/emphasis&gt; combinations
that could affect the key for any combination of modifiers will
be returned in @consumed_modifiers; multi-modifier combinations
are returned only when actually found in @state. When you store
accelerators, you should always store them with consumed modifiers
removed. Store &lt;literal&gt;&amp;lt;Control&amp;gt;plus&lt;/literal&gt;,
not &lt;literal&gt;&amp;lt;Control&amp;gt;&amp;lt;Shift&amp;gt;plus&lt;/literal&gt;,
&lt;/para&gt;&lt;/note&gt;

Note that passing %NULL for @keymap is deprecated and will stop
to work in GTK+ 3.0. Use gdk_keymap_get_for_display() instead.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if there was a keyval bound to the keycode/state/group</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="keymap"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GdkKeymap, or %NULL to use the default</doc>
            <type name="Keymap" c:type="GdkKeymap*"/>
          </instance-parameter>
          <parameter name="hardware_keycode" transfer-ownership="none">
            <doc xml:space="preserve">a keycode</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve">a modifier state</doc>
            <type name="ModifierType" c:type="GdkModifierType"/>
          </parameter>
          <parameter name="group" transfer-ownership="none">
            <doc xml:space="preserve">active keyboard group</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="keyval"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for keyval, or %NULL</doc>
            <type name="guint" c:type="guint*"/>
          </parameter>
          <parameter name="effective_group"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for effective group, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="level"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for level, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="consumed_modifiers"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for modifiers that were used to
    determine the group or level, or %NULL</doc>
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="display">
        <type name="Display" c:type="GdkDisplay*"/>
      </field>
      <glib:signal name="direction-changed" when="last" version="2.0">
        <doc xml:space="preserve">The ::direction-changed signal gets emitted when the direction of
the keymap changes.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="keys-changed" when="last" version="2.2">
        <doc xml:space="preserve">The ::keys-changed signal is emitted when the mapping represented by
@keymap changes.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="state-changed" when="last" version="2.16">
        <doc xml:space="preserve">The ::state-changed signal is emitted when the state of the
keyboard changes, e.g when Caps Lock is turned on or off.
See gdk_keymap_get_caps_lock_state().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="KeymapClass"
            c:type="GdkKeymapClass"
            glib:is-gtype-struct-for="Keymap">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="direction_changed">
        <callback name="direction_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="keymap" transfer-ownership="none">
              <type name="Keymap" c:type="GdkKeymap*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="keys_changed">
        <callback name="keys_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="keymap" transfer-ownership="none">
              <type name="Keymap" c:type="GdkKeymap*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="state_changed">
        <callback name="state_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="keymap" transfer-ownership="none">
              <type name="Keymap" c:type="GdkKeymap*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="KeymapKey" c:type="GdkKeymapKey">
      <field name="keycode" writable="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="group" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="level" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <enumeration name="LineStyle"
                 glib:type-name="GdkLineStyle"
                 glib:get-type="gdk_line_style_get_type"
                 c:type="GdkLineStyle">
      <member name="solid"
              value="0"
              c:identifier="GDK_LINE_SOLID"
              glib:nick="solid">
      </member>
      <member name="on_off_dash"
              value="1"
              c:identifier="GDK_LINE_ON_OFF_DASH"
              glib:nick="on-off-dash">
      </member>
      <member name="double_dash"
              value="2"
              c:identifier="GDK_LINE_DOUBLE_DASH"
              glib:nick="double-dash">
      </member>
    </enumeration>
    <constant name="MAX_TIMECOORD_AXES"
              value="128"
              c:type="GDK_MAX_TIMECOORD_AXES">
      <type name="gint" c:type="gint"/>
    </constant>
    <bitfield name="ModifierType"
              glib:type-name="GdkModifierType"
              glib:get-type="gdk_modifier_type_get_type"
              c:type="GdkModifierType">
      <member name="shift_mask"
              value="1"
              c:identifier="GDK_SHIFT_MASK"
              glib:nick="shift-mask">
      </member>
      <member name="lock_mask"
              value="2"
              c:identifier="GDK_LOCK_MASK"
              glib:nick="lock-mask">
      </member>
      <member name="control_mask"
              value="4"
              c:identifier="GDK_CONTROL_MASK"
              glib:nick="control-mask">
      </member>
      <member name="mod1_mask"
              value="8"
              c:identifier="GDK_MOD1_MASK"
              glib:nick="mod1-mask">
      </member>
      <member name="mod2_mask"
              value="16"
              c:identifier="GDK_MOD2_MASK"
              glib:nick="mod2-mask">
      </member>
      <member name="mod3_mask"
              value="32"
              c:identifier="GDK_MOD3_MASK"
              glib:nick="mod3-mask">
      </member>
      <member name="mod4_mask"
              value="64"
              c:identifier="GDK_MOD4_MASK"
              glib:nick="mod4-mask">
      </member>
      <member name="mod5_mask"
              value="128"
              c:identifier="GDK_MOD5_MASK"
              glib:nick="mod5-mask">
      </member>
      <member name="button1_mask"
              value="256"
              c:identifier="GDK_BUTTON1_MASK"
              glib:nick="button1-mask">
      </member>
      <member name="button2_mask"
              value="512"
              c:identifier="GDK_BUTTON2_MASK"
              glib:nick="button2-mask">
      </member>
      <member name="button3_mask"
              value="1024"
              c:identifier="GDK_BUTTON3_MASK"
              glib:nick="button3-mask">
      </member>
      <member name="button4_mask"
              value="2048"
              c:identifier="GDK_BUTTON4_MASK"
              glib:nick="button4-mask">
      </member>
      <member name="button5_mask"
              value="4096"
              c:identifier="GDK_BUTTON5_MASK"
              glib:nick="button5-mask">
      </member>
      <member name="super_mask"
              value="67108864"
              c:identifier="GDK_SUPER_MASK"
              glib:nick="super-mask">
      </member>
      <member name="hyper_mask"
              value="134217728"
              c:identifier="GDK_HYPER_MASK"
              glib:nick="hyper-mask">
      </member>
      <member name="meta_mask"
              value="268435456"
              c:identifier="GDK_META_MASK"
              glib:nick="meta-mask">
      </member>
      <member name="release_mask"
              value="1073741824"
              c:identifier="GDK_RELEASE_MASK"
              glib:nick="release-mask">
      </member>
      <member name="modifier_mask"
              value="1543512063"
              c:identifier="GDK_MODIFIER_MASK"
              glib:nick="modifier-mask">
      </member>
    </bitfield>
    <constant name="NO_BG" value="2" c:type="GDK_NO_BG">
      <type name="Pixmap" c:type="GdkPixmap"/>
    </constant>
    <enumeration name="NotifyType"
                 glib:type-name="GdkNotifyType"
                 glib:get-type="gdk_notify_type_get_type"
                 c:type="GdkNotifyType">
      <member name="ancestor"
              value="0"
              c:identifier="GDK_NOTIFY_ANCESTOR"
              glib:nick="ancestor">
      </member>
      <member name="virtual"
              value="1"
              c:identifier="GDK_NOTIFY_VIRTUAL"
              glib:nick="virtual">
      </member>
      <member name="inferior"
              value="2"
              c:identifier="GDK_NOTIFY_INFERIOR"
              glib:nick="inferior">
      </member>
      <member name="nonlinear"
              value="3"
              c:identifier="GDK_NOTIFY_NONLINEAR"
              glib:nick="nonlinear">
      </member>
      <member name="nonlinear_virtual"
              value="4"
              c:identifier="GDK_NOTIFY_NONLINEAR_VIRTUAL"
              glib:nick="nonlinear-virtual">
      </member>
      <member name="unknown"
              value="5"
              c:identifier="GDK_NOTIFY_UNKNOWN"
              glib:nick="unknown">
      </member>
    </enumeration>
    <enumeration name="OverlapType"
                 glib:type-name="GdkOverlapType"
                 glib:get-type="gdk_overlap_type_get_type"
                 c:type="GdkOverlapType">
      <member name="in"
              value="0"
              c:identifier="GDK_OVERLAP_RECTANGLE_IN"
              glib:nick="in">
      </member>
      <member name="out"
              value="1"
              c:identifier="GDK_OVERLAP_RECTANGLE_OUT"
              glib:nick="out">
      </member>
      <member name="part"
              value="2"
              c:identifier="GDK_OVERLAP_RECTANGLE_PART"
              glib:nick="part">
      </member>
    </enumeration>
    <enumeration name="OwnerChange"
                 glib:type-name="GdkOwnerChange"
                 glib:get-type="gdk_owner_change_get_type"
                 c:type="GdkOwnerChange">
      <member name="new_owner"
              value="0"
              c:identifier="GDK_OWNER_CHANGE_NEW_OWNER"
              glib:nick="new-owner">
      </member>
      <member name="destroy"
              value="1"
              c:identifier="GDK_OWNER_CHANGE_DESTROY"
              glib:nick="destroy">
      </member>
      <member name="close"
              value="2"
              c:identifier="GDK_OWNER_CHANGE_CLOSE"
              glib:nick="close">
      </member>
    </enumeration>
    <constant name="PARENT_RELATIVE" value="1" c:type="GDK_PARENT_RELATIVE">
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PARENT_RELATIVE_BG"
              value="1"
              c:type="GDK_PARENT_RELATIVE_BG">
      <type name="Pixmap" c:type="GdkPixmap"/>
    </constant>
    <constant name="PRIORITY_REDRAW" value="20" c:type="GDK_PRIORITY_REDRAW">
      <type name="gint" c:type="gint"/>
    </constant>
    <record name="PangoAttrEmbossColor" c:type="GdkPangoAttrEmbossColor">
      <field name="attr" writable="1">
        <type name="Pango.Attribute" c:type="PangoAttribute"/>
      </field>
      <field name="color" writable="1">
        <type name="Pango.Color" c:type="PangoColor"/>
      </field>
      <function name="new"
                c:identifier="gdk_pango_attr_emboss_color_new"
                version="2.12"
                introspectable="0">
        <doc xml:space="preserve">Creates a new attribute specifying the color to emboss text with.</doc>
        <return-value>
          <doc xml:space="preserve">new #PangoAttribute</doc>
          <type name="Pango.Attribute" c:type="PangoAttribute*"/>
        </return-value>
        <parameters>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">a GdkColor representing the color to emboss with</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <record name="PangoAttrEmbossed" c:type="GdkPangoAttrEmbossed">
      <field name="attr" writable="1">
        <type name="Pango.Attribute" c:type="PangoAttribute"/>
      </field>
      <field name="embossed" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <function name="new"
                c:identifier="gdk_pango_attr_embossed_new"
                introspectable="0">
        <doc xml:space="preserve">Creates a new attribute flagging a region as embossed or not.</doc>
        <return-value>
          <doc xml:space="preserve">new #PangoAttribute</doc>
          <type name="Pango.Attribute" c:type="PangoAttribute*"/>
        </return-value>
        <parameters>
          <parameter name="embossed" transfer-ownership="none">
            <doc xml:space="preserve">if the region should be embossed</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <record name="PangoAttrStipple" c:type="GdkPangoAttrStipple">
      <field name="attr" writable="1">
        <type name="Pango.Attribute" c:type="PangoAttribute"/>
      </field>
      <field name="stipple" writable="1">
        <type name="Bitmap" c:type="GdkBitmap*"/>
      </field>
      <function name="new"
                c:identifier="gdk_pango_attr_stipple_new"
                introspectable="0">
        <doc xml:space="preserve">Creates a new attribute containing a stipple bitmap to be used when
rendering the text.</doc>
        <return-value>
          <doc xml:space="preserve">new #PangoAttribute</doc>
          <type name="Pango.Attribute" c:type="PangoAttribute*"/>
        </return-value>
        <parameters>
          <parameter name="stipple" transfer-ownership="none">
            <doc xml:space="preserve">a bitmap to be set as stipple</doc>
            <type name="Bitmap" c:type="GdkBitmap*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <class name="PangoRenderer"
           c:symbol-prefix="pango_renderer"
           c:type="GdkPangoRenderer"
           version="2.6"
           parent="Pango.Renderer"
           glib:type-name="GdkPangoRenderer"
           glib:get-type="gdk_pango_renderer_get_type"
           glib:type-struct="PangoRendererClass">
      <doc xml:space="preserve">#GdkPangoRenderer is a subclass of #PangoRenderer used for rendering
Pango objects into GDK drawables. The default renderer for a particular
screen is obtained with gdk_pango_renderer_get_default(); Pango
functions like pango_renderer_draw_layout() and
pango_renderer_draw_layout_line() are then used to draw objects with
the renderer.

In most simple cases, applications can just use gdk_draw_layout(), and
don't need to directly use #GdkPangoRenderer at all. Using the
#GdkPangoRenderer directly is most useful when working with a
transformation such as a rotation, because the Pango drawing functions
take user space coordinates (coordinates before the transformation)
instead of device coordinates.

In certain cases it can be useful to subclass #GdkPangoRenderer. Examples
of reasons to do this are to add handling of custom attributes by
overriding 'prepare_run' or to do custom drawing of embedded objects
by overriding 'draw_shape'.</doc>
      <constructor name="new"
                   c:identifier="gdk_pango_renderer_new"
                   version="2.6">
        <doc xml:space="preserve">Creates a new #PangoRenderer for @screen. Normally you can use the
results of gdk_pango_renderer_get_default() rather than creating a new
renderer.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly created #PangoRenderer. Free with g_object_unref().</doc>
          <type name="Pango.Renderer" c:type="PangoRenderer*"/>
        </return-value>
        <parameters>
          <parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="get_default"
                c:identifier="gdk_pango_renderer_get_default"
                version="2.6"
                introspectable="0">
        <doc xml:space="preserve">Gets the default #PangoRenderer for a screen. This default renderer
is shared by all users of the display, so properties such as the color
or transformation matrix set for the renderer may be overwritten
by functions such as gdk_draw_layout().

Before using the renderer, you need to call gdk_pango_renderer_set_drawable()
and gdk_pango_renderer_set_gc() to set the drawable and graphics context
to use for drawing.</doc>
        <return-value>
          <doc xml:space="preserve">the default #PangoRenderer for @screen. The
 renderer is owned by GTK+ and will be kept around until the
 screen is closed.</doc>
          <type name="Pango.Renderer" c:type="PangoRenderer*"/>
        </return-value>
        <parameters>
          <parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </parameter>
        </parameters>
      </function>
      <method name="set_drawable"
              c:identifier="gdk_pango_renderer_set_drawable"
              version="2.6">
        <doc xml:space="preserve">Sets the drawable the renderer draws to.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gdk_renderer" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkPangoRenderer</doc>
            <type name="PangoRenderer" c:type="GdkPangoRenderer*"/>
          </instance-parameter>
          <parameter name="drawable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the new target drawable, or %NULL</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_gc"
              c:identifier="gdk_pango_renderer_set_gc"
              version="2.6">
        <doc xml:space="preserve">Sets the GC the renderer draws with. Note that the GC must not be
modified until it is unset by calling the function again with
%NULL for the @gc parameter, since GDK may make internal copies
of the GC which won't be updated to follow changes to the
original GC.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gdk_renderer" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkPangoRenderer</doc>
            <type name="PangoRenderer" c:type="GdkPangoRenderer*"/>
          </instance-parameter>
          <parameter name="gc"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the new GC to use for drawing, or %NULL</doc>
            <type name="GC" c:type="GdkGC*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_override_color"
              c:identifier="gdk_pango_renderer_set_override_color"
              version="2.6">
        <doc xml:space="preserve">Sets the color for a particular render part (foreground,
background, underline, etc.), overriding any attributes on the layouts
renderered with this renderer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gdk_renderer" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkPangoRenderer</doc>
            <type name="PangoRenderer" c:type="GdkPangoRenderer*"/>
          </instance-parameter>
          <parameter name="part" transfer-ownership="none">
            <doc xml:space="preserve">the part to render to set the color of</doc>
            <type name="Pango.RenderPart" c:type="PangoRenderPart"/>
          </parameter>
          <parameter name="color"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">the color to use, or %NULL to unset a previously
        set override color.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_stipple"
              c:identifier="gdk_pango_renderer_set_stipple"
              version="2.6">
        <doc xml:space="preserve">Sets the stipple for one render part (foreground, background, underline,
etc.) Note that this is overwritten when iterating through the individual
styled runs of a #PangoLayout or #PangoLayoutLine. This function is thus
only useful when you call low level functions like pango_renderer_draw_glyphs()
directly, or in the 'prepare_run' virtual function of a subclass of
#GdkPangoRenderer.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="gdk_renderer" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkPangoRenderer</doc>
            <type name="PangoRenderer" c:type="GdkPangoRenderer*"/>
          </instance-parameter>
          <parameter name="part" transfer-ownership="none">
            <doc xml:space="preserve">the part to render with the stipple</doc>
            <type name="Pango.RenderPart" c:type="PangoRenderPart"/>
          </parameter>
          <parameter name="stipple" transfer-ownership="none">
            <doc xml:space="preserve">the new stipple value.</doc>
            <type name="Bitmap" c:type="GdkBitmap*"/>
          </parameter>
        </parameters>
      </method>
      <property name="screen"
                writable="1"
                construct-only="1"
                transfer-ownership="none">
        <type name="Screen"/>
      </property>
      <field name="parent_instance" readable="0" private="1">
        <type name="Pango.Renderer" c:type="PangoRenderer"/>
      </field>
      <field name="priv" readable="0" private="1">
        <type name="PangoRendererPrivate" c:type="GdkPangoRendererPrivate*"/>
      </field>
    </class>
    <record name="PangoRendererClass"
            c:type="GdkPangoRendererClass"
            glib:is-gtype-struct-for="PangoRenderer"
            version="2.6">
      <doc xml:space="preserve">#GdkPangoRenderer is the class structure for #GdkPangoRenderer.</doc>
      <field name="parent_class" readable="0" private="1">
        <type name="Pango.RendererClass" c:type="PangoRendererClass"/>
      </field>
    </record>
    <record name="PangoRendererPrivate"
            c:type="GdkPangoRendererPrivate"
            disguised="1">
    </record>
    <class name="Pixmap"
           c:symbol-prefix="pixmap"
           c:type="GdkPixmap"
           parent="Drawable"
           glib:type-name="GdkPixmap"
           glib:get-type="gdk_pixmap_get_type">
      <constructor name="foreign_new" c:identifier="gdk_pixmap_foreign_new">
        <doc xml:space="preserve">Wraps a native window for the default display in a #GdkPixmap.
This may fail if the pixmap has been destroyed.

For example in the X backend, a native pixmap handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly-created #GdkPixmap wrapper for the
   native pixmap or %NULL if the pixmap has been destroyed.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="anid" transfer-ownership="none">
            <doc xml:space="preserve">a native pixmap handle.</doc>
            <type name="NativeWindow" c:type="GdkNativeWindow"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="foreign_new_for_display"
                   c:identifier="gdk_pixmap_foreign_new_for_display"
                   version="2.2">
        <doc xml:space="preserve">Wraps a native pixmap in a #GdkPixmap.
This may fail if the pixmap has been destroyed.

For example in the X backend, a native pixmap handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly-created #GdkPixmap wrapper for the
   native pixmap or %NULL if the pixmap has been destroyed.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">The #GdkDisplay where @anid is located.</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="anid" transfer-ownership="none">
            <doc xml:space="preserve">a native pixmap handle.</doc>
            <type name="NativeWindow" c:type="GdkNativeWindow"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="foreign_new_for_screen"
                   c:identifier="gdk_pixmap_foreign_new_for_screen"
                   version="2.10">
        <doc xml:space="preserve">Wraps a native pixmap in a #GdkPixmap.
This may fail if the pixmap has been destroyed.

For example in the X backend, a native pixmap handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.

This function is an alternative to gdk_pixmap_foreign_new_for_display()
for cases where the dimensions of the pixmap are known. For the X
backend, this avoids a roundtrip to the server.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">the newly-created #GdkPixmap wrapper for the
   native pixmap or %NULL if the pixmap has been destroyed.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </parameter>
          <parameter name="anid" transfer-ownership="none">
            <doc xml:space="preserve">a native pixmap handle</doc>
            <type name="NativeWindow" c:type="GdkNativeWindow"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">the width of the pixmap identified by @anid</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">the height of the pixmap identified by @anid</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="depth" transfer-ownership="none">
            <doc xml:space="preserve">the depth of the pixmap identified by @anid</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <constructor name="new" c:identifier="gdk_pixmap_new">
        <return-value transfer-ownership="full">
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="depth" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="colormap_create_from_xpm"
                c:identifier="gdk_pixmap_colormap_create_from_xpm"
                deprecated="1"
                deprecated-version="2.22">
        <doc xml:space="preserve">Create a pixmap from a XPM file using a particular colormap.</doc>
        <doc-deprecated xml:space="preserve">Use a #GdkPixbuf instead. You can use
gdk_pixbuf_new_from_file() to create it.
If you must use a pixmap, use gdk_pixmap_new() to
create it and Cairo to draw the pixbuf onto it.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkPixmap.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable, used to determine default values
for the new pixmap. Can be %NULL if @colormap is given.</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkColormap that the new pixmap will be use.
If omitted, the colormap for @window will be used.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
          <parameter name="mask" transfer-ownership="none">
            <doc xml:space="preserve">a pointer to a place to store a bitmap representing
the transparency mask of the XPM file. Can be %NULL,
in which case transparency will be ignored.</doc>
            <type name="Bitmap" c:type="GdkBitmap**"/>
          </parameter>
          <parameter name="transparent_color" transfer-ownership="none">
            <doc xml:space="preserve">the color to be used for the pixels
that are transparent in the input file. Can be %NULL,
in which case a default color will be used.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">the filename of a file containing XPM data.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="colormap_create_from_xpm_d"
                c:identifier="gdk_pixmap_colormap_create_from_xpm_d"
                deprecated="1"
                deprecated-version="2.22">
        <doc xml:space="preserve">Create a pixmap from data in XPM format using a particular
colormap.</doc>
        <doc-deprecated xml:space="preserve">Use a #GdkPixbuf instead. You can use
gdk_pixbuf_new_from_xpm_data() to create it.
If you must use a pixmap, use gdk_pixmap_new() to
create it and Cairo to draw the pixbuf onto it.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkPixmap.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable, used to determine default values
    for the new pixmap. Can be %NULL if @colormap is given.</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkColormap that the new pixmap will be use.
    If omitted, the colormap for @window will be used.</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
          <parameter name="mask" transfer-ownership="none">
            <doc xml:space="preserve">a pointer to a place to store a bitmap representing
    the transparency mask of the XPM file. Can be %NULL,
    in which case transparency will be ignored.</doc>
            <type name="Bitmap" c:type="GdkBitmap**"/>
          </parameter>
          <parameter name="transparent_color" transfer-ownership="none">
            <doc xml:space="preserve">the color to be used for the pixels
    that are transparent in the input file. Can be %NULL,
    in which case a default color will be used.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">Pointer to a string containing the XPM data.</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </function>
      <function name="create_from_data"
                c:identifier="gdk_pixmap_create_from_data"
                introspectable="0">
        <return-value>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="depth" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="fg" transfer-ownership="none">
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="bg" transfer-ownership="none">
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </function>
      <function name="create_from_xpm"
                c:identifier="gdk_pixmap_create_from_xpm"
                deprecated="1"
                deprecated-version="2.22">
        <doc xml:space="preserve">Create a pixmap from a XPM file.</doc>
        <doc-deprecated xml:space="preserve">Use a #GdkPixbuf instead. You can use
gdk_pixbuf_new_from_file() to create it.
If you must use a pixmap, use gdk_pixmap_new() to
create it and Cairo to draw the pixbuf onto it.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkPixmap</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable, used to determine default values
for the new pixmap.</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">a pointer to a place to store a bitmap representing
the transparency mask of the XPM file. Can be %NULL,
in which case transparency will be ignored.</doc>
            <type name="Bitmap" c:type="GdkBitmap**"/>
          </parameter>
          <parameter name="transparent_color" transfer-ownership="none">
            <doc xml:space="preserve">the color to be used for the pixels
that are transparent in the input file. Can be %NULL,
in which case a default color will be used.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve">the filename of a file containing XPM data.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="create_from_xpm_d"
                c:identifier="gdk_pixmap_create_from_xpm_d"
                deprecated="1"
                deprecated-version="2.22">
        <doc xml:space="preserve">Create a pixmap from data in XPM format.</doc>
        <doc-deprecated xml:space="preserve">Use a #GdkPixbuf instead. You can use
gdk_pixbuf_new_from_xpm_data() to create it.
If you must use a pixmap, use gdk_pixmap_new() to
create it and Cairo to draw the pixbuf onto it.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkPixmap.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable, used to determine default values
    for the new pixmap.</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">Pointer to a place to store a bitmap representing
    the transparency mask of the XPM file. Can be %NULL,
    in which case transparency will be ignored.</doc>
            <type name="Bitmap" c:type="GdkBitmap**"/>
          </parameter>
          <parameter name="transparent_color" transfer-ownership="none">
            <doc xml:space="preserve">This color will be used for the pixels
    that are transparent in the input file. Can be %NULL
    in which case a default color will be used.</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">Pointer to a string containing the XPM data.</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
        </parameters>
      </function>
      <function name="lookup"
                c:identifier="gdk_pixmap_lookup"
                introspectable="0">
        <doc xml:space="preserve">Looks up the #GdkPixmap that wraps the given native pixmap handle.

For example in the X backend, a native pixmap handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkPixmap wrapper for the native pixmap,
   or %NULL if there is none.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="anid" transfer-ownership="none">
            <doc xml:space="preserve">a native pixmap handle.</doc>
            <type name="NativeWindow" c:type="GdkNativeWindow"/>
          </parameter>
        </parameters>
      </function>
      <function name="lookup_for_display"
                c:identifier="gdk_pixmap_lookup_for_display"
                version="2.2"
                introspectable="0">
        <doc xml:space="preserve">Looks up the #GdkPixmap that wraps the given native pixmap handle.

For example in the X backend, a native pixmap handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkPixmap wrapper for the native pixmap,
   or %NULL if there is none.</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </return-value>
        <parameters>
          <parameter name="display" transfer-ownership="none">
            <doc xml:space="preserve">the #GdkDisplay associated with @anid</doc>
            <type name="Display" c:type="GdkDisplay*"/>
          </parameter>
          <parameter name="anid" transfer-ownership="none">
            <doc xml:space="preserve">a native pixmap handle.</doc>
            <type name="NativeWindow" c:type="GdkNativeWindow"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_size"
              c:identifier="gdk_pixmap_get_size"
              version="2.24">
        <doc xml:space="preserve">This function is purely to make it possible to query the size of pixmaps
even when compiling without deprecated symbols and you must use pixmaps.
It is identical to gdk_drawable_get_size(), but for pixmaps.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="pixmap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkPixmap</doc>
            <type name="Pixmap" c:type="GdkPixmap*"/>
          </instance-parameter>
          <parameter name="width"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store @pixmap's width, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="height"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">location to store @pixmap's height, or %NULL</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="PixmapObject" c:type="GdkPixmapObject">
      <field name="parent_instance" writable="1">
        <type name="Drawable" c:type="GdkDrawable"/>
      </field>
      <field name="impl" writable="1">
        <type name="Drawable" c:type="GdkDrawable*"/>
      </field>
      <field name="depth" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <record name="PixmapObjectClass" c:type="GdkPixmapObjectClass">
      <field name="parent_class" writable="1">
        <type name="DrawableClass" c:type="GdkDrawableClass"/>
      </field>
    </record>
    <record name="Point" c:type="GdkPoint">
      <field name="x" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="y" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <record name="PointerHooks" c:type="GdkPointerHooks">
      <field name="get_pointer" introspectable="0">
        <callback name="get_pointer" introspectable="0">
          <return-value>
            <type name="Window" c:type="GdkWindow*"/>
          </return-value>
          <parameters>
            <parameter name="window" transfer-ownership="none">
              <type name="Window" c:type="GdkWindow*"/>
            </parameter>
            <parameter name="x" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="y" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="mask" transfer-ownership="none">
              <type name="ModifierType" c:type="GdkModifierType*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="window_at_pointer" introspectable="0">
        <callback name="window_at_pointer" introspectable="0">
          <return-value>
            <type name="Window" c:type="GdkWindow*"/>
          </return-value>
          <parameters>
            <parameter name="screen" transfer-ownership="none">
              <type name="Screen" c:type="GdkScreen*"/>
            </parameter>
            <parameter name="win_x" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
            <parameter name="win_y" transfer-ownership="none">
              <type name="gint" c:type="gint*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="PointerWindowInfo" c:type="GdkPointerWindowInfo">
      <field name="toplevel_under_pointer" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="window_under_pointer" writable="1">
        <type name="Window" c:type="GdkWindow*"/>
      </field>
      <field name="toplevel_x" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="toplevel_y" writable="1">
        <type name="gdouble" c:type="gdouble"/>
      </field>
      <field name="state" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="button" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="motion_hint_serial" writable="1">
        <type name="gulong" c:type="gulong"/>
      </field>
    </record>
    <enumeration name="PropMode"
                 glib:type-name="GdkPropMode"
                 glib:get-type="gdk_prop_mode_get_type"
                 c:type="GdkPropMode">
      <member name="replace"
              value="0"
              c:identifier="GDK_PROP_MODE_REPLACE"
              glib:nick="replace">
      </member>
      <member name="prepend"
              value="1"
              c:identifier="GDK_PROP_MODE_PREPEND"
              glib:nick="prepend">
      </member>
      <member name="append"
              value="2"
              c:identifier="GDK_PROP_MODE_APPEND"
              glib:nick="append">
      </member>
    </enumeration>
    <enumeration name="PropertyState"
                 glib:type-name="GdkPropertyState"
                 glib:get-type="gdk_property_state_get_type"
                 c:type="GdkPropertyState">
      <member name="new_value"
              value="0"
              c:identifier="GDK_PROPERTY_NEW_VALUE"
              glib:nick="new-value">
      </member>
      <member name="delete"
              value="1"
              c:identifier="GDK_PROPERTY_DELETE"
              glib:nick="delete">
      </member>
    </enumeration>
    <record name="Rectangle"
            c:type="GdkRectangle"
            glib:type-name="GdkRectangle"
            glib:get-type="gdk_rectangle_get_type"
            c:symbol-prefix="rectangle">
      <field name="x" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="y" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="height" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <method name="intersect" c:identifier="gdk_rectangle_intersect">
        <doc xml:space="preserve">Calculates the intersection of two rectangles. It is allowed for
@dest to be the same as either @src1 or @src2. If the rectangles
do not intersect, @dest's width and height is set to 0 and its x
and y values are undefined. If you are only interested in whether
the rectangles intersect, but not in the intersecting area itself,
pass %NULL for @dest.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the rectangles intersect.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="src1" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </instance-parameter>
          <parameter name="src2" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
          <parameter name="dest"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for the
intersection of @src1 and @src2, or %NULL</doc>
            <type name="Rectangle" c:type="GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="union" c:identifier="gdk_rectangle_union">
        <doc xml:space="preserve">Calculates the union of two rectangles.
The union of rectangles @src1 and @src2 is the smallest rectangle which
includes both @src1 and @src2 within it.
It is allowed for @dest to be the same as either @src1 or @src2.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="src1" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </instance-parameter>
          <parameter name="src2" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
          <parameter name="dest"
                     direction="out"
                     caller-allocates="1"
                     transfer-ownership="none">
            <doc xml:space="preserve">return location for the union of @src1 and @src2</doc>
            <type name="Rectangle" c:type="GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
    </record>
    <record name="Region" c:type="GdkRegion" disguised="1">
      <method name="copy" c:identifier="gdk_region_copy" introspectable="0">
        <doc xml:space="preserve">Copies @region, creating an identical new region.</doc>
        <return-value>
          <doc xml:space="preserve">a new region identical to @region</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="destroy" c:identifier="gdk_region_destroy">
        <doc xml:space="preserve">Destroys a #GdkRegion.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="empty" c:identifier="gdk_region_empty">
        <doc xml:space="preserve">Finds out if the #GdkRegion is empty.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @region is empty.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="equal" c:identifier="gdk_region_equal">
        <doc xml:space="preserve">Finds out if the two regions are the same.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @region1 and @region2 are equal.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="region1" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
          <parameter name="region2" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_clipbox" c:identifier="gdk_region_get_clipbox">
        <doc xml:space="preserve">Obtains the smallest rectangle which includes the entire #GdkRegion.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
          <parameter name="rectangle" transfer-ownership="none">
            <doc xml:space="preserve">return location for the clipbox</doc>
            <type name="Rectangle" c:type="GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_rectangles" c:identifier="gdk_region_get_rectangles">
        <doc xml:space="preserve">Obtains the area covered by the region as a list of rectangles.
The array returned in @rectangles must be freed with g_free().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
          <parameter name="rectangles" transfer-ownership="container">
            <doc xml:space="preserve">return location for an array of rectangles</doc>
            <array length="1" zero-terminated="0" c:type="GdkRectangle**">
              <type name="Rectangle" c:type="GdkRectangle*"/>
            </array>
          </parameter>
          <parameter name="n_rectangles" transfer-ownership="none">
            <doc xml:space="preserve">length of returned array</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="intersect" c:identifier="gdk_region_intersect">
        <doc xml:space="preserve">Sets the area of @source1 to the intersection of the areas of @source1
and @source2. The resulting area is the set of pixels contained in
both @source1 and @source2.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="source1" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="source2" transfer-ownership="none">
            <doc xml:space="preserve">another #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="offset" c:identifier="gdk_region_offset">
        <doc xml:space="preserve">Moves a region the specified distance.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="dx" transfer-ownership="none">
            <doc xml:space="preserve">the distance to move the region horizontally</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dy" transfer-ownership="none">
            <doc xml:space="preserve">the distance to move the region vertically</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="point_in" c:identifier="gdk_region_point_in">
        <doc xml:space="preserve">Finds out if a point is in a region.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the point is in @region.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">the x coordinate of a point</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">the y coordinate of a point</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="rect_equal"
              c:identifier="gdk_region_rect_equal"
              version="2.18"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Finds out if a regions is the same as a rectangle.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_region_new_rect() and gdk_region_equal() to
            achieve the same effect.</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @region and @rectangle are equal.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
          <parameter name="rectangle" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="rect_in" c:identifier="gdk_region_rect_in">
        <doc xml:space="preserve">Tests whether a rectangle is within a region.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%GDK_OVERLAP_RECTANGLE_IN, %GDK_OVERLAP_RECTANGLE_OUT, or
  %GDK_OVERLAP_RECTANGLE_PART, depending on whether the rectangle is inside,
  outside, or partly inside the #GdkRegion, respectively.</doc>
          <type name="OverlapType" c:type="GdkOverlapType"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion.</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </instance-parameter>
          <parameter name="rectangle" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle.</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="shrink"
              c:identifier="gdk_region_shrink"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Resizes a region by the specified amount.
Positive values shrink the region. Negative values expand it.</doc>
        <doc-deprecated xml:space="preserve">There is no replacement for this function.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="dx" transfer-ownership="none">
            <doc xml:space="preserve">the number of pixels to shrink the region horizontally</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dy" transfer-ownership="none">
            <doc xml:space="preserve">the number of pixels to shrink the region vertically</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="spans_intersect_foreach"
              c:identifier="gdk_region_spans_intersect_foreach"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Calls a function on each span in the intersection of @region and @spans.</doc>
        <doc-deprecated xml:space="preserve">There is no replacement.</doc-deprecated>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="spans" transfer-ownership="none">
            <doc xml:space="preserve">an array of #GdkSpans</doc>
            <type name="Span" c:type="const GdkSpan*"/>
          </parameter>
          <parameter name="n_spans" transfer-ownership="none">
            <doc xml:space="preserve">the length of @spans</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="sorted" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if @spans is sorted wrt. the y coordinate</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
          <parameter name="function" transfer-ownership="none" closure="4">
            <doc xml:space="preserve">function to call on each span in the intersection</doc>
            <type name="SpanFunc" c:type="GdkSpanFunc"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">data to pass to @function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="subtract" c:identifier="gdk_region_subtract">
        <doc xml:space="preserve">Subtracts the area of @source2 from the area @source1. The resulting
area is the set of pixels contained in @source1 but not in @source2.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="source1" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="source2" transfer-ownership="none">
            <doc xml:space="preserve">another #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="union" c:identifier="gdk_region_union">
        <doc xml:space="preserve">Sets the area of @source1 to the union of the areas of @source1 and
@source2. The resulting area is the set of pixels contained in
either @source1 or @source2.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="source1" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="source2" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="union_with_rect" c:identifier="gdk_region_union_with_rect">
        <doc xml:space="preserve">Sets the area of @region to the union of the areas of @region and
@rect. The resulting area is the set of pixels contained in
either @region or @rect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion.</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="rect" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle.</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="xor" c:identifier="gdk_region_xor">
        <doc xml:space="preserve">Sets the area of @source1 to the exclusive-OR of the areas of @source1
and @source2. The resulting area is the set of pixels contained in one
or the other of the two sources but not in both.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="source1" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="GdkRegion*"/>
          </instance-parameter>
          <parameter name="source2" transfer-ownership="none">
            <doc xml:space="preserve">another #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
        </parameters>
      </method>
      <function name="new" c:identifier="gdk_region_new" introspectable="0">
        <doc xml:space="preserve">Creates a new empty #GdkRegion.</doc>
        <return-value>
          <doc xml:space="preserve">a new empty #GdkRegion</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
      </function>
      <function name="polygon"
                c:identifier="gdk_region_polygon"
                introspectable="0"
                deprecated="1"
                deprecated-version="2.22">
        <doc xml:space="preserve">Creates a new #GdkRegion using the polygon defined by a
number of points.</doc>
        <doc-deprecated xml:space="preserve">There is no replacement. For working with paths, please
            use Cairo.</doc-deprecated>
        <return-value>
          <doc xml:space="preserve">a new #GdkRegion based on the given polygon</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <parameter name="points" transfer-ownership="none">
            <doc xml:space="preserve">an array of #GdkPoint structs</doc>
            <type name="Point" c:type="const GdkPoint*"/>
          </parameter>
          <parameter name="n_points" transfer-ownership="none">
            <doc xml:space="preserve">the number of elements in the @points array</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="fill_rule" transfer-ownership="none">
            <doc xml:space="preserve">specifies which pixels are included in the region when the
    polygon overlaps itself.</doc>
            <type name="FillRule" c:type="GdkFillRule"/>
          </parameter>
        </parameters>
      </function>
      <function name="rectangle"
                c:identifier="gdk_region_rectangle"
                introspectable="0">
        <doc xml:space="preserve">Creates a new region containing the area @rectangle.</doc>
        <return-value>
          <doc xml:space="preserve">a new region</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <parameter name="rectangle" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <record name="RgbCmap" c:type="GdkRgbCmap">
      <field name="colors" writable="1">
        <array zero-terminated="0" c:type="guint32" fixed-size="256">
          <type name="guint32" c:type="guint32"/>
        </array>
      </field>
      <field name="n_colors" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="info_list" readable="0" private="1">
        <type name="GLib.SList" c:type="GSList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </field>
      <method name="free" c:identifier="gdk_rgb_cmap_free">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="cmap" transfer-ownership="none">
            <type name="RgbCmap" c:type="GdkRgbCmap*"/>
          </instance-parameter>
        </parameters>
      </method>
      <function name="new" c:identifier="gdk_rgb_cmap_new" introspectable="0">
        <return-value>
          <type name="RgbCmap" c:type="GdkRgbCmap*"/>
        </return-value>
        <parameters>
          <parameter name="colors" transfer-ownership="none">
            <type name="guint32" c:type="guint32*"/>
          </parameter>
          <parameter name="n_colors" transfer-ownership="none">
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
    </record>
    <enumeration name="RgbDither"
                 glib:type-name="GdkRgbDither"
                 glib:get-type="gdk_rgb_dither_get_type"
                 c:type="GdkRgbDither">
      <member name="none"
              value="0"
              c:identifier="GDK_RGB_DITHER_NONE"
              glib:nick="none">
      </member>
      <member name="normal"
              value="1"
              c:identifier="GDK_RGB_DITHER_NORMAL"
              glib:nick="normal">
      </member>
      <member name="max"
              value="2"
              c:identifier="GDK_RGB_DITHER_MAX"
              glib:nick="max">
      </member>
    </enumeration>
    <class name="Screen"
           c:symbol-prefix="screen"
           c:type="GdkScreen"
           parent="GObject.Object"
           glib:type-name="GdkScreen"
           glib:get-type="gdk_screen_get_type"
           glib:type-struct="ScreenClass">
      <function name="get_default"
                c:identifier="gdk_screen_get_default"
                version="2.2">
        <doc xml:space="preserve">Gets the default screen for the default display. (See
gdk_display_get_default ()).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkScreen, or %NULL if there is no default display.</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
      </function>
      <function name="height" c:identifier="gdk_screen_height">
        <doc xml:space="preserve">Returns the height of the default screen in pixels.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the height of the default screen in pixels.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </function>
      <function name="height_mm" c:identifier="gdk_screen_height_mm">
        <doc xml:space="preserve">Returns the height of the default screen in millimeters.
Note that on many X servers this value will not be correct.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the height of the default screen in millimeters,
though it is not always correct.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </function>
      <function name="width" c:identifier="gdk_screen_width">
        <doc xml:space="preserve">Returns the width of the default screen in pixels.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the width of the default screen in pixels.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </function>
      <function name="width_mm" c:identifier="gdk_screen_width_mm">
        <doc xml:space="preserve">Returns the width of the default screen in millimeters.
Note that on many X servers this value will not be correct.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the width of the default screen in millimeters,
though it is not always correct.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </function>
      <virtual-method name="composited_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="monitors_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="size_changed">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <method name="broadcast_client_message"
              c:identifier="gdk_screen_broadcast_client_message">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="event" transfer-ownership="none">
            <type name="Event" c:type="GdkEvent*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_active_window"
              c:identifier="gdk_screen_get_active_window"
              version="2.10"
              introspectable="0">
        <doc xml:space="preserve">Returns the screen's currently active window.

On X11, this is done by inspecting the _NET_ACTIVE_WINDOW property
on the root window, as described in the &lt;ulink
url="http://www.freedesktop.org/Standards/wm-spec"&gt;Extended Window
Manager Hints&lt;/ulink&gt;. If there is no currently currently active
window, or the window manager does not support the
_NET_ACTIVE_WINDOW hint, this function returns %NULL.

On other platforms, this function may return %NULL, depending on whether
it is implementable on that platform.

The returned window should be unrefed using g_object_unref() when
no longer needed.</doc>
        <return-value>
          <doc xml:space="preserve">the currently active window, or %NULL.</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_default_colormap"
              c:identifier="gdk_screen_get_default_colormap"
              version="2.2">
        <doc xml:space="preserve">Gets the default colormap for @screen.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the default #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_display"
              c:identifier="gdk_screen_get_display"
              version="2.2"
              introspectable="0">
        <doc xml:space="preserve">Gets the display to which the @screen belongs.</doc>
        <return-value>
          <doc xml:space="preserve">the display to which @screen belongs</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_font_options"
              c:identifier="gdk_screen_get_font_options"
              version="2.10">
        <doc xml:space="preserve">Gets any options previously set with gdk_screen_set_font_options().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the current font options, or %NULL if no default
 font options have been set.</doc>
          <type name="cairo.FontOptions" c:type="const cairo_font_options_t*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_height"
              c:identifier="gdk_screen_get_height"
              version="2.2">
        <doc xml:space="preserve">Gets the height of @screen in pixels</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the height of @screen in pixels.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_height_mm"
              c:identifier="gdk_screen_get_height_mm"
              version="2.2">
        <doc xml:space="preserve">Returns the height of @screen in millimeters.
Note that on some X servers this value will not be correct.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the heigth of @screen in millimeters.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_monitor_at_point"
              c:identifier="gdk_screen_get_monitor_at_point"
              version="2.2">
        <doc xml:space="preserve">Returns the monitor number in which the point (@x,@y) is located.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the monitor number in which the point (@x,@y) lies, or
  a monitor close to (@x,@y) if the point is not in any monitor.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">the x coordinate in the virtual screen.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">the y coordinate in the virtual screen.</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_monitor_at_window"
              c:identifier="gdk_screen_get_monitor_at_window"
              version="2.2">
        <doc xml:space="preserve">Returns the number of the monitor in which the largest area of the
bounding rectangle of @window resides.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the monitor number in which most of @window is located,
          or if @window does not intersect any monitors, a monitor,
          close to @window.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_monitor_geometry"
              c:identifier="gdk_screen_get_monitor_geometry"
              version="2.2">
        <doc xml:space="preserve">Retrieves the #GdkRectangle representing the size and position of
the individual monitor within the entire screen area.

Note that the size of the entire screen area can be retrieved via
gdk_screen_get_width() and gdk_screen_get_height().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="monitor_num" transfer-ownership="none">
            <doc xml:space="preserve">the monitor number, between 0 and gdk_screen_get_n_monitors (screen)</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRectangle to be filled with the monitor geometry</doc>
            <type name="Rectangle" c:type="GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_monitor_height_mm"
              c:identifier="gdk_screen_get_monitor_height_mm"
              version="2.14">
        <doc xml:space="preserve">Gets the height in millimeters of the specified monitor.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the height of the monitor, or -1 if not available</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="monitor_num" transfer-ownership="none">
            <doc xml:space="preserve">number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_monitor_plug_name"
              c:identifier="gdk_screen_get_monitor_plug_name"
              version="2.14">
        <doc xml:space="preserve">Returns the output name of the specified monitor.
Usually something like VGA, DVI, or TV, not the actual
product name of the display device.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly-allocated string containing the name of the monitor,
  or %NULL if the name cannot be determined</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="monitor_num" transfer-ownership="none">
            <doc xml:space="preserve">number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_monitor_width_mm"
              c:identifier="gdk_screen_get_monitor_width_mm"
              version="2.14">
        <doc xml:space="preserve">Gets the width in millimeters of the specified monitor, if available.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the width of the monitor, or -1 if not available</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="monitor_num" transfer-ownership="none">
            <doc xml:space="preserve">number of the monitor, between 0 and gdk_screen_get_n_monitors (screen)</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_n_monitors"
              c:identifier="gdk_screen_get_n_monitors"
              version="2.2">
        <doc xml:space="preserve">Returns the number of monitors which @screen consists of.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">number of monitors which @screen consists of</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_number"
              c:identifier="gdk_screen_get_number"
              version="2.2">
        <doc xml:space="preserve">Gets the index of @screen among the screens in the display
to which it belongs. (See gdk_screen_get_display())</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the index</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_primary_monitor"
              c:identifier="gdk_screen_get_primary_monitor"
              version="2.20">
        <doc xml:space="preserve">Gets the primary monitor for @screen.  The primary monitor
is considered the monitor where the 'main desktop' lives.
While normal application windows typically allow the window
manager to place the windows, specialized desktop applications
such as panels should place themselves on the primary monitor.

If no primary monitor is configured by the user, the return value
will be 0, defaulting to the first monitor.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">An integer index for the primary monitor, or 0 if none is configured.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_resolution"
              c:identifier="gdk_screen_get_resolution"
              version="2.10">
        <doc xml:space="preserve">Gets the resolution for font handling on the screen; see
gdk_screen_set_resolution() for full details.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the current resolution, or -1 if no resolution
has been set.</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_rgb_colormap"
              c:identifier="gdk_screen_get_rgb_colormap"
              version="2.2"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Gets the preferred colormap for rendering image data on @screen.
Not a very useful function; historically, GDK could only render RGB
image data to one colormap and visual, but in the current version
it can render to any colormap and visual. So there's no need to
call this function.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_screen_get_system_colormap()</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the preferred colormap</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_rgb_visual"
              c:identifier="gdk_screen_get_rgb_visual"
              version="2.2"
              deprecated="1"
              deprecated-version="2.22">
        <doc xml:space="preserve">Gets a "preferred visual" chosen by GdkRGB for rendering image data
on @screen. In previous versions of
GDK, this was the only visual GdkRGB could use for rendering. In
current versions, it's simply the visual GdkRGB would have chosen as
the optimal one in those previous versions. GdkRGB can now render to
drawables with any visual.</doc>
        <doc-deprecated xml:space="preserve">Use gdk_screen_get_system_visual()</doc-deprecated>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The #GdkVisual chosen by GdkRGB.</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_rgba_colormap"
              c:identifier="gdk_screen_get_rgba_colormap"
              version="2.8">
        <doc xml:space="preserve">Gets a colormap to use for creating windows or pixmaps with an
alpha channel. The windowing system on which GTK+ is running
may not support this capability, in which case %NULL will
be returned. Even if a non-%NULL value is returned, its
possible that the window's alpha channel won't be honored
when displaying the window on the screen: in particular, for
X an appropriate windowing manager and compositing manager
must be running to provide appropriate display.

This functionality is not implemented in the Windows backend.

For setting an overall opacity for a top-level window, see
gdk_window_set_opacity().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a colormap to use for windows with
    an alpha channel or %NULL if the capability is not available.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_rgba_visual"
              c:identifier="gdk_screen_get_rgba_visual"
              version="2.8">
        <doc xml:space="preserve">Gets a visual to use for creating windows or pixmaps with an
alpha channel. See the docs for gdk_screen_get_rgba_colormap()
for caveats.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a visual to use for windows with an
    alpha channel or %NULL if the capability is not available.</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_root_window"
              c:identifier="gdk_screen_get_root_window"
              version="2.2">
        <doc xml:space="preserve">Gets the root window of @screen.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the root window</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_setting" c:identifier="gdk_screen_get_setting">
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="GObject.Value" c:type="GValue*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_system_colormap"
              c:identifier="gdk_screen_get_system_colormap"
              version="2.2">
        <doc xml:space="preserve">Gets the system's default colormap for @screen</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the default colormap for @screen.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_system_visual"
              c:identifier="gdk_screen_get_system_visual"
              version="2.2">
        <doc xml:space="preserve">Get the system's default visual for @screen.
This is the visual for the root window of the display.
The return value should not be freed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the system visual</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_toplevel_windows"
              c:identifier="gdk_screen_get_toplevel_windows"
              version="2.2">
        <doc xml:space="preserve">Obtains a list of all toplevel windows known to GDK on the screen @screen.
A toplevel window is a child of the root window (see
gdk_get_default_root_window()).

The returned list should be freed with g_list_free(), but
its elements need not be freed.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">
    list of toplevel windows, free with g_list_free()</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Window"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">The #GdkScreen where the toplevels are located.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_width"
              c:identifier="gdk_screen_get_width"
              version="2.2">
        <doc xml:space="preserve">Gets the width of @screen in pixels</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the width of @screen in pixels.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_width_mm"
              c:identifier="gdk_screen_get_width_mm"
              version="2.2">
        <doc xml:space="preserve">Gets the width of @screen in millimeters.
Note that on some X servers this value will not be correct.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the width of @screen in millimeters.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_window_stack"
              c:identifier="gdk_screen_get_window_stack"
              version="2.10">
        <doc xml:space="preserve">Returns a #GList of #GdkWindow&lt;!-- --&gt;s representing the current
window stack.

On X11, this is done by inspecting the _NET_CLIENT_LIST_STACKING
property on the root window, as described in the &lt;ulink
url="http://www.freedesktop.org/Standards/wm-spec"&gt;Extended Window
Manager Hints&lt;/ulink&gt;. If the window manager does not support the
_NET_CLIENT_LIST_STACKING hint, this function returns %NULL.

On other platforms, this function may return %NULL, depending on whether
it is implementable on that platform.

The returned list is newly allocated and owns references to the
windows it contains, so it should be freed using g_list_free() and
its windows unrefed using g_object_unref() when no longer needed.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">
    a list of #GdkWindow&lt;!-- --&gt;s for the current window stack,
              or %NULL.</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Window"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_composited"
              c:identifier="gdk_screen_is_composited"
              version="2.10">
        <doc xml:space="preserve">Returns whether windows with an RGBA visual can reasonably
be expected to have their alpha channel drawn correctly on
the screen.

On X11 this function returns whether a compositing manager is
compositing @screen.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">Whether windows with RGBA visuals can reasonably be
expected to have their alpha channels drawn correctly on the screen.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="list_visuals"
              c:identifier="gdk_screen_list_visuals"
              version="2.2">
        <doc xml:space="preserve">Lists the available visuals for the specified @screen.
A visual describes a hardware image data format.
For example, a visual might support 24-bit color, or 8-bit color,
and might expect pixels to be in a certain format.

Call g_list_free() on the return value when you're finished with it.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">
    a list of visuals; the list must be freed, but not its contents</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Visual"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">the relevant #GdkScreen.</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="make_display_name"
              c:identifier="gdk_screen_make_display_name"
              version="2.2">
        <doc xml:space="preserve">Determines the name to pass to gdk_display_open() to get
a #GdkDisplay with this screen as the default screen.</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a newly allocated string, free with g_free()</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_default_colormap"
              c:identifier="gdk_screen_set_default_colormap"
              version="2.2">
        <doc xml:space="preserve">Sets the default @colormap for @screen.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="colormap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkColormap</doc>
            <type name="Colormap" c:type="GdkColormap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_font_options"
              c:identifier="gdk_screen_set_font_options"
              version="2.10">
        <doc xml:space="preserve">Sets the default font options for the screen. These
options will be set on any #PangoContext's newly created
with gdk_pango_context_get_for_screen(). Changing the
default set of font options does not affect contexts that
have already been created.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="options"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #cairo_font_options_t, or %NULL to unset any
  previously set default font options.</doc>
            <type name="cairo.FontOptions"
                  c:type="const cairo_font_options_t*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_resolution"
              c:identifier="gdk_screen_set_resolution"
              version="2.10">
        <doc xml:space="preserve">Sets the resolution for font handling on the screen. This is a
scale factor between points specified in a #PangoFontDescription
and cairo units. The default value is 96, meaning that a 10 point
font will be 13 units high. (10 * 96. / 72. = 13.3).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="screen" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkScreen</doc>
            <type name="Screen" c:type="GdkScreen*"/>
          </instance-parameter>
          <parameter name="dpi" transfer-ownership="none">
            <doc xml:space="preserve">the resolution in "dots per inch". (Physical inches aren't actually
  involved; the terminology is conventional.)</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <property name="font-options" writable="1" transfer-ownership="none">
        <type name="gpointer" c:type="gpointer"/>
      </property>
      <property name="resolution" writable="1" transfer-ownership="none">
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="closed" bits="1">
        <type name="guint" c:type="guint"/>
      </field>
      <field name="normal_gcs">
        <array zero-terminated="0" c:type="GdkGC" fixed-size="32">
          <type name="GC" c:type="GdkGC*"/>
        </array>
      </field>
      <field name="exposure_gcs">
        <array zero-terminated="0" c:type="GdkGC" fixed-size="32">
          <type name="GC" c:type="GdkGC*"/>
        </array>
      </field>
      <field name="subwindow_gcs">
        <array zero-terminated="0" c:type="GdkGC" fixed-size="32">
          <type name="GC" c:type="GdkGC*"/>
        </array>
      </field>
      <field name="font_options">
        <type name="cairo.FontOptions" c:type="cairo_font_options_t*"/>
      </field>
      <field name="resolution">
        <type name="gdouble" c:type="double"/>
      </field>
      <glib:signal name="composited-changed" when="last" version="2.10">
        <doc xml:space="preserve">The ::composited-changed signal is emitted when the composited
status of the screen changes</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="monitors-changed" when="last" version="2.14">
        <doc xml:space="preserve">The ::monitors-changed signal is emitted when the number, size
or position of the monitors attached to the screen change.

Only for X11 and OS X for now. A future implementation for Win32
may be a possibility.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="size-changed" when="last" version="2.2">
        <doc xml:space="preserve">The ::size-changed signal is emitted when the pixel width or
height of a screen changes.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
    </class>
    <record name="ScreenClass"
            c:type="GdkScreenClass"
            glib:is-gtype-struct-for="Screen">
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="size_changed">
        <callback name="size_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="screen" transfer-ownership="none">
              <type name="Screen" c:type="GdkScreen*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="composited_changed">
        <callback name="composited_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="screen" transfer-ownership="none">
              <type name="Screen" c:type="GdkScreen*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="monitors_changed">
        <callback name="monitors_changed">
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="screen" transfer-ownership="none">
              <type name="Screen" c:type="GdkScreen*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <enumeration name="ScrollDirection"
                 glib:type-name="GdkScrollDirection"
                 glib:get-type="gdk_scroll_direction_get_type"
                 c:type="GdkScrollDirection">
      <member name="up" value="0" c:identifier="GDK_SCROLL_UP" glib:nick="up">
      </member>
      <member name="down"
              value="1"
              c:identifier="GDK_SCROLL_DOWN"
              glib:nick="down">
      </member>
      <member name="left"
              value="2"
              c:identifier="GDK_SCROLL_LEFT"
              glib:nick="left">
      </member>
      <member name="right"
              value="3"
              c:identifier="GDK_SCROLL_RIGHT"
              glib:nick="right">
      </member>
    </enumeration>
    <record name="Segment" c:type="GdkSegment">
      <field name="x1" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="y1" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="x2" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="y2" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <enumeration name="SettingAction"
                 glib:type-name="GdkSettingAction"
                 glib:get-type="gdk_setting_action_get_type"
                 c:type="GdkSettingAction">
      <member name="new"
              value="0"
              c:identifier="GDK_SETTING_ACTION_NEW"
              glib:nick="new">
      </member>
      <member name="changed"
              value="1"
              c:identifier="GDK_SETTING_ACTION_CHANGED"
              glib:nick="changed">
      </member>
      <member name="deleted"
              value="2"
              c:identifier="GDK_SETTING_ACTION_DELETED"
              glib:nick="deleted">
      </member>
    </enumeration>
    <record name="Span" c:type="GdkSpan">
      <field name="x" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="y" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
    </record>
    <callback name="SpanFunc" c:type="GdkSpanFunc">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="span" transfer-ownership="none">
          <type name="Span" c:type="GdkSpan*"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </callback>
    <enumeration name="Status"
                 glib:type-name="GdkStatus"
                 glib:get-type="gdk_status_get_type"
                 c:type="GdkStatus">
      <member name="ok" value="0" c:identifier="GDK_OK" glib:nick="ok">
      </member>
      <member name="error"
              value="-1"
              c:identifier="GDK_ERROR"
              glib:nick="error">
      </member>
      <member name="error_param"
              value="-2"
              c:identifier="GDK_ERROR_PARAM"
              glib:nick="error-param">
      </member>
      <member name="error_file"
              value="-3"
              c:identifier="GDK_ERROR_FILE"
              glib:nick="error-file">
      </member>
      <member name="error_mem"
              value="-4"
              c:identifier="GDK_ERROR_MEM"
              glib:nick="error-mem">
      </member>
    </enumeration>
    <enumeration name="SubwindowMode"
                 glib:type-name="GdkSubwindowMode"
                 glib:get-type="gdk_subwindow_mode_get_type"
                 c:type="GdkSubwindowMode">
      <member name="clip_by_children"
              value="0"
              c:identifier="GDK_CLIP_BY_CHILDREN"
              glib:nick="clip-by-children">
      </member>
      <member name="include_inferiors"
              value="1"
              c:identifier="GDK_INCLUDE_INFERIORS"
              glib:nick="include-inferiors">
      </member>
    </enumeration>
    <record name="TimeCoord" c:type="GdkTimeCoord">
      <field name="time" writable="1">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="axes" writable="1">
        <array zero-terminated="0" c:type="gdouble" fixed-size="128">
          <type name="gdouble" c:type="gdouble"/>
        </array>
      </field>
    </record>
    <record name="Trapezoid" c:type="GdkTrapezoid">
      <field name="y1" writable="1">
        <type name="gdouble" c:type="double"/>
      </field>
      <field name="x11" writable="1">
        <type name="gdouble" c:type="double"/>
      </field>
      <field name="x21" writable="1">
        <type name="gdouble" c:type="double"/>
      </field>
      <field name="y2" writable="1">
        <type name="gdouble" c:type="double"/>
      </field>
      <field name="x12" writable="1">
        <type name="gdouble" c:type="double"/>
      </field>
      <field name="x22" writable="1">
        <type name="gdouble" c:type="double"/>
      </field>
    </record>
    <enumeration name="VisibilityState"
                 glib:type-name="GdkVisibilityState"
                 glib:get-type="gdk_visibility_state_get_type"
                 c:type="GdkVisibilityState">
      <member name="unobscured"
              value="0"
              c:identifier="GDK_VISIBILITY_UNOBSCURED"
              glib:nick="unobscured">
      </member>
      <member name="partial"
              value="1"
              c:identifier="GDK_VISIBILITY_PARTIAL"
              glib:nick="partial">
      </member>
      <member name="fully_obscured"
              value="2"
              c:identifier="GDK_VISIBILITY_FULLY_OBSCURED"
              glib:nick="fully-obscured">
      </member>
    </enumeration>
    <class name="Visual"
           c:symbol-prefix="visual"
           c:type="GdkVisual"
           parent="GObject.Object"
           glib:type-name="GdkVisual"
           glib:get-type="gdk_visual_get_type"
           glib:type-struct="VisualClass">
      <function name="get_best" c:identifier="gdk_visual_get_best">
        <doc xml:space="preserve">Get the visual with the most available colors for the default
GDK screen. The return value should not be freed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">best visual</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
      </function>
      <function name="get_best_depth" c:identifier="gdk_visual_get_best_depth">
        <doc xml:space="preserve">Get the best available depth for the default GDK screen.  "Best"
means "largest," i.e. 32 preferred over 24 preferred over 8 bits
per pixel.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">best available depth</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
      </function>
      <function name="get_best_type" c:identifier="gdk_visual_get_best_type">
        <doc xml:space="preserve">Return the best available visual type for the default GDK screen.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">best visual type</doc>
          <type name="VisualType" c:type="GdkVisualType"/>
        </return-value>
      </function>
      <function name="get_best_with_both"
                c:identifier="gdk_visual_get_best_with_both">
        <doc xml:space="preserve">Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">best visual with both @depth and
    @visual_type, or %NULL if none</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <parameter name="depth" transfer-ownership="none">
            <doc xml:space="preserve">a bit depth</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="visual_type" transfer-ownership="none">
            <doc xml:space="preserve">a visual type</doc>
            <type name="VisualType" c:type="GdkVisualType"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_best_with_depth"
                c:identifier="gdk_visual_get_best_with_depth">
        <doc xml:space="preserve">Get the best visual with depth @depth for the default GDK screen.
Color visuals and visuals with mutable colormaps are preferred
over grayscale or fixed-colormap visuals. The return value should not
be freed. %NULL may be returned if no visual supports @depth.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">best visual for the given depth</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <parameter name="depth" transfer-ownership="none">
            <doc xml:space="preserve">a bit depth</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_best_with_type"
                c:identifier="gdk_visual_get_best_with_type">
        <doc xml:space="preserve">Get the best visual of the given @visual_type for the default GDK screen.
Visuals with higher color depths are considered better. The return value
should not be freed. %NULL may be returned if no visual has type
@visual_type.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">best visual of the given type</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <parameter name="visual_type" transfer-ownership="none">
            <doc xml:space="preserve">a visual type</doc>
            <type name="VisualType" c:type="GdkVisualType"/>
          </parameter>
        </parameters>
      </function>
      <function name="get_system" c:identifier="gdk_visual_get_system">
        <doc xml:space="preserve">Get the system's default visual for the default GDK screen.
This is the visual for the root window of the display.
The return value should not be freed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">system visual</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
      </function>
      <method name="get_bits_per_rgb"
              c:identifier="gdk_visual_get_bits_per_rgb"
              version="2.22">
        <doc xml:space="preserve">Returns the number of significant bits per red, green and blue value.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The number of significant bits per color value for @visual.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkVisual</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_blue_pixel_details"
              c:identifier="gdk_visual_get_blue_pixel_details"
              version="2.22">
        <doc xml:space="preserve">Obtains values that are needed to calculate blue pixel values in TrueColor
and DirectColor.  The "mask" is the significant bits within the pixel.
The "shift" is the number of bits left we must shift a primary for it
to be in position (according to the "mask").  Finally, "precision" refers
to how much precision the pixel value contains for a particular primary.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkVisual</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
          <parameter name="mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #guint32 to be filled in, or %NULL.</doc>
            <type name="guint32" c:type="guint32*"/>
          </parameter>
          <parameter name="shift"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #gint to be filled in, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="precision"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #gint to be filled in, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_byte_order"
              c:identifier="gdk_visual_get_byte_order"
              version="2.22">
        <doc xml:space="preserve">Returns the byte order of this visual.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GdkByteOrder stating the byte order of @visual.</doc>
          <type name="ByteOrder" c:type="GdkByteOrder"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">A #GdkVisual.</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_colormap_size"
              c:identifier="gdk_visual_get_colormap_size"
              version="2.22">
        <doc xml:space="preserve">Returns the size of a colormap for this visual.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The size of a colormap that is suitable for @visual.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">A #GdkVisual.</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_depth"
              c:identifier="gdk_visual_get_depth"
              version="2.22">
        <doc xml:space="preserve">Returns the bit depth of this visual.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The bit depth of this visual.</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">A #GdkVisual.</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_green_pixel_details"
              c:identifier="gdk_visual_get_green_pixel_details"
              version="2.22">
        <doc xml:space="preserve">Obtains values that are needed to calculate green pixel values in TrueColor
and DirectColor.  The "mask" is the significant bits within the pixel.
The "shift" is the number of bits left we must shift a primary for it
to be in position (according to the "mask").  Finally, "precision" refers
to how much precision the pixel value contains for a particular primary.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkVisual</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
          <parameter name="mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #guint32 to be filled in, or %NULL.</doc>
            <type name="guint32" c:type="guint32*"/>
          </parameter>
          <parameter name="shift"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #gint to be filled in, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="precision"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #gint to be filled in, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_red_pixel_details"
              c:identifier="gdk_visual_get_red_pixel_details"
              version="2.22">
        <doc xml:space="preserve">Obtains values that are needed to calculate red pixel values in TrueColor
and DirectColor.  The "mask" is the significant bits within the pixel.
The "shift" is the number of bits left we must shift a primary for it
to be in position (according to the "mask").  Finally, "precision" refers
to how much precision the pixel value contains for a particular primary.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">A #GdkVisual.</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
          <parameter name="mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #guint32 to be filled in, or %NULL.</doc>
            <type name="guint32" c:type="guint32*"/>
          </parameter>
          <parameter name="shift"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #gint to be filled in, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="precision"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">A pointer to a #gint to be filled in, or %NULL.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_screen"
              c:identifier="gdk_visual_get_screen"
              version="2.2">
        <doc xml:space="preserve">Gets the screen to which this visual belongs</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the screen to which this visual belongs.</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkVisual</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_visual_type"
              c:identifier="gdk_visual_get_visual_type"
              version="2.22">
        <doc xml:space="preserve">Returns the type of visual this is (PseudoColor, TrueColor, etc).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">A #GdkVisualType stating the type of @visual.</doc>
          <type name="VisualType" c:type="GdkVisualType"/>
        </return-value>
        <parameters>
          <instance-parameter name="visual" transfer-ownership="none">
            <doc xml:space="preserve">A #GdkVisual.</doc>
            <type name="Visual" c:type="GdkVisual*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="type">
        <type name="VisualType" c:type="GdkVisualType"/>
      </field>
      <field name="depth">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="byte_order">
        <type name="ByteOrder" c:type="GdkByteOrder"/>
      </field>
      <field name="colormap_size">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="bits_per_rgb">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="red_mask">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="red_shift">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="red_prec">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="green_mask">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="green_shift">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="green_prec">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="blue_mask">
        <type name="guint32" c:type="guint32"/>
      </field>
      <field name="blue_shift">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="blue_prec">
        <type name="gint" c:type="gint"/>
      </field>
    </class>
    <record name="VisualClass"
            c:type="GdkVisualClass"
            disguised="1"
            glib:is-gtype-struct-for="Visual">
    </record>
    <enumeration name="VisualType"
                 glib:type-name="GdkVisualType"
                 glib:get-type="gdk_visual_type_get_type"
                 c:type="GdkVisualType">
      <member name="static_gray"
              value="0"
              c:identifier="GDK_VISUAL_STATIC_GRAY"
              glib:nick="static-gray">
      </member>
      <member name="grayscale"
              value="1"
              c:identifier="GDK_VISUAL_GRAYSCALE"
              glib:nick="grayscale">
      </member>
      <member name="static_color"
              value="2"
              c:identifier="GDK_VISUAL_STATIC_COLOR"
              glib:nick="static-color">
      </member>
      <member name="pseudo_color"
              value="3"
              c:identifier="GDK_VISUAL_PSEUDO_COLOR"
              glib:nick="pseudo-color">
      </member>
      <member name="true_color"
              value="4"
              c:identifier="GDK_VISUAL_TRUE_COLOR"
              glib:nick="true-color">
      </member>
      <member name="direct_color"
              value="5"
              c:identifier="GDK_VISUAL_DIRECT_COLOR"
              glib:nick="direct-color">
      </member>
    </enumeration>
    <bitfield name="WMDecoration"
              glib:type-name="GdkWMDecoration"
              glib:get-type="gdk_wm_decoration_get_type"
              c:type="GdkWMDecoration">
      <member name="all"
              value="1"
              c:identifier="GDK_DECOR_ALL"
              glib:nick="all">
      </member>
      <member name="border"
              value="2"
              c:identifier="GDK_DECOR_BORDER"
              glib:nick="border">
      </member>
      <member name="resizeh"
              value="4"
              c:identifier="GDK_DECOR_RESIZEH"
              glib:nick="resizeh">
      </member>
      <member name="title"
              value="8"
              c:identifier="GDK_DECOR_TITLE"
              glib:nick="title">
      </member>
      <member name="menu"
              value="16"
              c:identifier="GDK_DECOR_MENU"
              glib:nick="menu">
      </member>
      <member name="minimize"
              value="32"
              c:identifier="GDK_DECOR_MINIMIZE"
              glib:nick="minimize">
      </member>
      <member name="maximize"
              value="64"
              c:identifier="GDK_DECOR_MAXIMIZE"
              glib:nick="maximize">
      </member>
    </bitfield>
    <bitfield name="WMFunction"
              glib:type-name="GdkWMFunction"
              glib:get-type="gdk_wm_function_get_type"
              c:type="GdkWMFunction">
      <member name="all" value="1" c:identifier="GDK_FUNC_ALL" glib:nick="all">
      </member>
      <member name="resize"
              value="2"
              c:identifier="GDK_FUNC_RESIZE"
              glib:nick="resize">
      </member>
      <member name="move"
              value="4"
              c:identifier="GDK_FUNC_MOVE"
              glib:nick="move">
      </member>
      <member name="minimize"
              value="8"
              c:identifier="GDK_FUNC_MINIMIZE"
              glib:nick="minimize">
      </member>
      <member name="maximize"
              value="16"
              c:identifier="GDK_FUNC_MAXIMIZE"
              glib:nick="maximize">
      </member>
      <member name="close"
              value="32"
              c:identifier="GDK_FUNC_CLOSE"
              glib:nick="close">
      </member>
    </bitfield>
    <class name="Window"
           c:symbol-prefix="window_object"
           c:type="GdkWindow"
           parent="Drawable"
           glib:type-name="GdkWindow"
           glib:get-type="gdk_window_object_get_type">
      <method name="add_filter"
              c:identifier="gdk_window_add_filter"
              introspectable="0">
        <doc xml:space="preserve">Adds an event filter to @window, allowing you to intercept events
before they reach GDK. This is a low-level operation and makes it
easy to break GDK and/or GTK+, so you have to know what you're
doing. Pass %NULL for @window to get all events for all windows,
instead of events for a specific window.

See gdk_display_add_client_message_filter() if you are interested
in X ClientMessage events.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="function" transfer-ownership="none" closure="1">
            <doc xml:space="preserve">filter callback</doc>
            <type name="FilterFunc" c:type="GdkFilterFunc"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">data to pass to filter callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="beep" c:identifier="gdk_window_beep" version="2.12">
        <doc xml:space="preserve">Emits a short beep associated to @window in the appropriate
display, if supported. Otherwise, emits a short beep on
the display just as gdk_display_beep().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="begin_move_drag" c:identifier="gdk_window_begin_move_drag">
        <doc xml:space="preserve">Begins a window move operation (for a toplevel window).  You might
use this function to implement a "window move grip," for
example. The function works best with window managers that support
the &lt;ulink url="http://www.freedesktop.org/Standards/wm-spec"&gt;Extended
Window Manager Hints&lt;/ulink&gt;, but has a fallback implementation for
other window managers.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="button" transfer-ownership="none">
            <doc xml:space="preserve">the button being used to drag</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="root_x" transfer-ownership="none">
            <doc xml:space="preserve">root window X coordinate of mouse click that began the drag</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="root_y" transfer-ownership="none">
            <doc xml:space="preserve">root window Y coordinate of mouse click that began the drag</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">timestamp of mouse click that began the drag</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="begin_paint_rect"
              c:identifier="gdk_window_begin_paint_rect">
        <doc xml:space="preserve">A convenience wrapper around gdk_window_begin_paint_region() which
creates a rectangular region for you. See
gdk_window_begin_paint_region() for details.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="rectangle" transfer-ownership="none">
            <doc xml:space="preserve">rectangle you intend to draw to</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="begin_paint_region"
              c:identifier="gdk_window_begin_paint_region">
        <doc xml:space="preserve">Indicates that you are beginning the process of redrawing @region.
A backing store (offscreen buffer) large enough to contain @region
will be created. The backing store will be initialized with the
background color or background pixmap for @window. Then, all
drawing operations performed on @window will be diverted to the
backing store.  When you call gdk_window_end_paint(), the backing
store will be copied to @window, making it visible onscreen. Only
the part of @window contained in @region will be modified; that is,
drawing operations are clipped to @region.

The net result of all this is to remove flicker, because the user
sees the finished product appear all at once when you call
gdk_window_end_paint(). If you draw to @window directly without
calling gdk_window_begin_paint_region(), the user may see flicker
as individual drawing operations are performed in sequence.  The
clipping and background-initializing features of
gdk_window_begin_paint_region() are conveniences for the
programmer, so you can avoid doing that work yourself.

When using GTK+, the widget system automatically places calls to
gdk_window_begin_paint_region() and gdk_window_end_paint() around
emissions of the expose_event signal. That is, if you're writing an
expose event handler, you can assume that the exposed area in
#GdkEventExpose has already been cleared to the window background,
is already set as the clip region, and already has a backing store.
Therefore in most cases, application code need not call
gdk_window_begin_paint_region(). (You can disable the automatic
calls around expose events on a widget-by-widget basis by calling
gtk_widget_set_double_buffered().)

If you call this function multiple times before calling the
matching gdk_window_end_paint(), the backing stores are pushed onto
a stack. gdk_window_end_paint() copies the topmost backing store
onscreen, subtracts the topmost region from all other regions in
the stack, and pops the stack. All drawing operations affect only
the topmost backing store in the stack. One matching call to
gdk_window_end_paint() is required for each call to
gdk_window_begin_paint_region().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">region you intend to draw to</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
        </parameters>
      </method>
      <method name="begin_resize_drag"
              c:identifier="gdk_window_begin_resize_drag">
        <doc xml:space="preserve">Begins a window resize operation (for a toplevel window).
You might use this function to implement a "window resize grip," for
example; in fact #GtkStatusbar uses it. The function works best
with window managers that support the &lt;ulink url="http://www.freedesktop.org/Standards/wm-spec"&gt;Extended Window Manager Hints&lt;/ulink&gt;, but has a
fallback implementation for other window managers.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="edge" transfer-ownership="none">
            <doc xml:space="preserve">the edge or corner from which the drag is started</doc>
            <type name="WindowEdge" c:type="GdkWindowEdge"/>
          </parameter>
          <parameter name="button" transfer-ownership="none">
            <doc xml:space="preserve">the button being used to drag</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="root_x" transfer-ownership="none">
            <doc xml:space="preserve">root window X coordinate of mouse click that began the drag</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="root_y" transfer-ownership="none">
            <doc xml:space="preserve">root window Y coordinate of mouse click that began the drag</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">timestamp of mouse click that began the drag (use gdk_event_get_time())</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear" c:identifier="gdk_window_clear">
        <doc xml:space="preserve">Clears an entire @window to the background color or background pixmap.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="clear_area" c:identifier="gdk_window_clear_area">
        <doc xml:space="preserve">Clears an area of @window to the background color or background pixmap.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_area_e" c:identifier="gdk_window_clear_area_e">
        <doc xml:space="preserve">Like gdk_window_clear_area(), but also generates an expose event for
the cleared area.

This function has a stupid name because it dates back to the mists
time, pre-GDK-1.0.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height of rectangle to clear</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="configure_finished"
              c:identifier="gdk_window_configure_finished"
              version="2.6">
        <doc xml:space="preserve">Signal to the window system that the application has finished
handling Configure events it has received. Window Managers can
use this to better synchronize the frame repaint with the
application. GTK+ applications will automatically call this
function when appropriate.

This function can only be called if gdk_window_enable_synchronized_configure()
was called previously.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="coords_from_parent"
              c:identifier="gdk_window_coords_from_parent"
              version="2.22">
        <doc xml:space="preserve">Transforms window coordinates from a parent window to a child
window, where the parent window is the normal parent as returned by
gdk_window_get_parent() for normal windows, and the window's
embedder as returned by gdk_offscreen_window_get_embedder() for
offscreen windows.

For normal windows, calling this function is equivalent to subtracting
the return values of gdk_window_get_position() from the parent coordinates.
For offscreen windows however (which can be arbitrarily transformed),
this function calls the GdkWindow::from-embedder: signal to translate
the coordinates.

You should always use this function when writing generic code that
walks down a window hierarchy.

See also: gdk_window_coords_to_parent()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a child window</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="parent_x" transfer-ownership="none">
            <doc xml:space="preserve">X coordinate in parent's coordinate system</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="parent_y" transfer-ownership="none">
            <doc xml:space="preserve">Y coordinate in parent's coordinate system</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for X coordinate in child's coordinate system</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for Y coordinate in child's coordinate system</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="coords_to_parent"
              c:identifier="gdk_window_coords_to_parent"
              version="2.22">
        <doc xml:space="preserve">Transforms window coordinates from a child window to its parent
window, where the parent window is the normal parent as returned by
gdk_window_get_parent() for normal windows, and the window's
embedder as returned by gdk_offscreen_window_get_embedder() for
offscreen windows.

For normal windows, calling this function is equivalent to adding
the return values of gdk_window_get_position() to the child coordinates.
For offscreen windows however (which can be arbitrarily transformed),
this function calls the GdkWindow::to-embedder: signal to translate
the coordinates.

You should always use this function when writing generic code that
walks up a window hierarchy.

See also: gdk_window_coords_from_parent()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a child window</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">X coordinate in child's coordinate system</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">Y coordinate in child's coordinate system</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="parent_x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for X coordinate
in parent's coordinate system, or %NULL</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
          <parameter name="parent_y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for Y coordinate
in parent's coordinate system, or %NULL</doc>
            <type name="gdouble" c:type="gdouble*"/>
          </parameter>
        </parameters>
      </method>
      <method name="create_similar_surface"
              c:identifier="gdk_window_create_similar_surface"
              version="2.22">
        <doc xml:space="preserve">Create a new surface that is as compatible as possible with the
given @window. For example the new surface will have the same
fallback resolution and font options as @window. Generally, the new
surface will also use the same backend as @window, unless that is
not possible for some reason. The type of the returned surface may
be examined with cairo_surface_get_type().

Initially the surface contents are all 0 (transparent if contents
have transparency, black otherwise.)</doc>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve">a pointer to the newly allocated surface. The caller
owns the surface and should call cairo_surface_destroy() when done
with it.

This function always returns a valid pointer, but it will return a
pointer to a "nil" surface if @other is already in an error state
or any other error occurs.</doc>
          <type name="cairo.Surface" c:type="cairo_surface_t*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">window to make new surface similar to</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="content" transfer-ownership="none">
            <doc xml:space="preserve">the content for the new surface</doc>
            <type name="cairo.Content" c:type="cairo_content_t"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of the new surface</doc>
            <type name="gint" c:type="int"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height of the new surface</doc>
            <type name="gint" c:type="int"/>
          </parameter>
        </parameters>
      </method>
      <method name="deiconify" c:identifier="gdk_window_deiconify">
        <doc xml:space="preserve">Attempt to deiconify (unminimize) @window. On X11 the window manager may
choose to ignore the request to deiconify. When using GTK+,
use gtk_window_deiconify() instead of the #GdkWindow variant. Or better yet,
you probably want to use gtk_window_present(), which raises the window, focuses it,
unminimizes it, and puts it on the current desktop.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="destroy" c:identifier="gdk_window_destroy">
        <doc xml:space="preserve">Destroys the window system resources associated with @window and decrements @window's
reference count. The window system resources for all children of @window are also
destroyed, but the children's reference counts are not decremented.

Note that a window will not be destroyed automatically when its reference count
reaches zero. You must call this function yourself before that happens.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="destroy_notify" c:identifier="gdk_window_destroy_notify">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="enable_synchronized_configure"
              c:identifier="gdk_window_enable_synchronized_configure"
              version="2.6">
        <doc xml:space="preserve">Indicates that the application will cooperate with the window
system in synchronizing the window repaint with the window
manager during resizing operations. After an application calls
this function, it must call gdk_window_configure_finished() every
time it has finished all processing associated with a set of
Configure events. Toplevel GTK+ windows automatically use this
protocol.

On X, calling this function makes @window participate in the
_NET_WM_SYNC_REQUEST window manager protocol.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="end_paint" c:identifier="gdk_window_end_paint">
        <doc xml:space="preserve">Indicates that the backing store created by the most recent call to
gdk_window_begin_paint_region() should be copied onscreen and
deleted, leaving the next-most-recent backing store or no backing
store at all as the active paint region. See
gdk_window_begin_paint_region() for full details. It is an error to
call this function without a matching
gdk_window_begin_paint_region() first.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="ensure_native"
              c:identifier="gdk_window_ensure_native"
              version="2.18">
        <doc xml:space="preserve">Tries to ensure that there is a window-system native window for this
GdkWindow. This may fail in some situations, returning %FALSE.

Offscreen window and children of them can never have native windows.

Some backends may not support native child windows.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the window has a native window, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="flush" c:identifier="gdk_window_flush" version="2.18">
        <doc xml:space="preserve">Flush all outstanding cached operations on a window, leaving the
window in a state which reflects all that has been drawn before.

Gdk uses multiple kinds of caching to get better performance and
nicer drawing. For instance, during exposes all paints to a window
using double buffered rendering are keep on a pixmap until the last
window has been exposed. It also delays window moves/scrolls until
as long as possible until next update to avoid tearing when moving
windows.

Normally this should be completely invisible to applications, as
we automatically flush the windows when required, but this might
be needed if you for instance mix direct native drawing with
gdk drawing. For Gtk widgets that don't use double buffering this
will be called automatically before sending the expose event.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="focus" c:identifier="gdk_window_focus">
        <doc xml:space="preserve">Sets keyboard focus to @window. In most cases, gtk_window_present()
should be used on a #GtkWindow, rather than calling this function.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="timestamp" transfer-ownership="none">
            <doc xml:space="preserve">timestamp of the event triggering the window focus</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="freeze_toplevel_updates_libgtk_only"
              c:identifier="gdk_window_freeze_toplevel_updates_libgtk_only">
        <doc xml:space="preserve">Temporarily freezes a window and all its descendants such that it won't
receive expose events.  The window will begin receiving expose events
again when gdk_window_thaw_toplevel_updates_libgtk_only() is called. If
gdk_window_freeze_toplevel_updates_libgtk_only()
has been called more than once,
gdk_window_thaw_toplevel_updates_libgtk_only() must be called
an equal number of times to begin processing exposes.

This function is not part of the GDK public API and is only
for use by GTK+.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="freeze_updates" c:identifier="gdk_window_freeze_updates">
        <doc xml:space="preserve">Temporarily freezes a window such that it won't receive expose
events.  The window will begin receiving expose events again when
gdk_window_thaw_updates() is called. If gdk_window_freeze_updates()
has been called more than once, gdk_window_thaw_updates() must be called
an equal number of times to begin processing exposes.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="fullscreen"
              c:identifier="gdk_window_fullscreen"
              version="2.2">
        <doc xml:space="preserve">Moves the window into fullscreen mode. This means the
window covers the entire screen and is above any panels
or task bars.

If the window was already fullscreen, then this function does nothing.

On X11, asks the window manager to put @window in a fullscreen
state, if the window manager supports this operation. Not all
window managers support this, and some deliberately ignore it or
don't have a concept of "fullscreen"; so you can't rely on the
fullscreenification actually happening. But it will happen with
most standard window managers, and GDK makes a best effort to get
it to happen.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="geometry_changed"
              c:identifier="gdk_window_geometry_changed"
              version="2.18">
        <doc xml:space="preserve">This function informs GDK that the geometry of an embedded
offscreen window has changed. This is necessary for GDK to keep
track of which offscreen window the pointer is in.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">an embedded offscreen #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_accept_focus"
              c:identifier="gdk_window_get_accept_focus"
              version="2.22">
        <doc xml:space="preserve">Determines whether or not the desktop environment shuld be hinted that
the window does not want to receive input focus.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether or not the window should receive input focus.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow.</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_background_pattern"
              c:identifier="gdk_window_get_background_pattern"
              version="2.22">
        <doc xml:space="preserve">Gets the pattern used to clear the background on @window. If @window
does not have its own background and reuses the parent's, %NULL is
returned and you'll have to query it yourself.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The pattern to use for the background or
    %NULL to use the parent's background.</doc>
          <type name="cairo.Pattern" c:type="cairo_pattern_t*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a window</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_children" c:identifier="gdk_window_get_children">
        <doc xml:space="preserve">Gets the list of children of @window known to GDK.
This function only returns children created via GDK,
so for example it's useless when used with the root window;
it only returns windows an application created itself.

The returned list must be freed, but the elements in the
list need not be.</doc>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve">
    list of child windows inside @window</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Window"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_composited"
              c:identifier="gdk_window_get_composited"
              version="2.22">
        <doc xml:space="preserve">Determines whether @window is composited.

See gdk_window_set_composited().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the window is composited.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_cursor"
              c:identifier="gdk_window_get_cursor"
              version="2.18">
        <doc xml:space="preserve">Retrieves a #GdkCursor pointer for the cursor currently set on the
specified #GdkWindow, or %NULL.  If the return value is %NULL then
there is no custom cursor set on the specified window, and it is
using the cursor for its parent window.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">a #GdkCursor, or %NULL. The returned
  object is owned by the #GdkWindow and should not be unreferenced
  directly. Use gdk_window_set_cursor() to unset the cursor of the
  window</doc>
          <type name="Cursor" c:type="GdkCursor*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_decorations" c:identifier="gdk_window_get_decorations">
        <doc xml:space="preserve">Returns the decorations set on the GdkWindow with #gdk_window_set_decorations</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">TRUE if the window has decorations set, FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">The toplevel #GdkWindow to get the decorations from</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="decorations" transfer-ownership="none">
            <doc xml:space="preserve">The window decorations will be written here</doc>
            <type name="WMDecoration" c:type="GdkWMDecoration*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_deskrelative_origin"
              c:identifier="gdk_window_get_deskrelative_origin">
        <doc xml:space="preserve">This gets the origin of a #GdkWindow relative to
an Enlightenment-window-manager desktop. As long as you don't
assume that the user's desktop/workspace covers the entire
root window (i.e. you don't assume that the desktop begins
at root window coordinate 0,0) this function is not necessary.
It's deprecated for that reason.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">not meaningful</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">return location for X coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">return location for Y coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_display"
              c:identifier="gdk_window_get_display"
              version="2.24"
              introspectable="0">
        <doc xml:space="preserve">Gets the #GdkDisplay associated with a #GdkWindow.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkDisplay associated with @window</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_effective_parent"
              c:identifier="gdk_window_get_effective_parent"
              version="2.22"
              introspectable="0">
        <doc xml:space="preserve">Obtains the parent of @window, as known to GDK. Works like
gdk_window_get_parent() for normal windows, but returns the
window's embedder for offscreen windows.

See also: gdk_offscreen_window_get_embedder()</doc>
        <return-value>
          <doc xml:space="preserve">effective parent of @window</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_effective_toplevel"
              c:identifier="gdk_window_get_effective_toplevel"
              version="2.22"
              introspectable="0">
        <doc xml:space="preserve">Gets the toplevel window that's an ancestor of @window.

Works like gdk_window_get_toplevel(), but treats an offscreen window's
embedder as its parent, using gdk_window_get_effective_parent().

See also: gdk_offscreen_window_get_embedder()</doc>
        <return-value>
          <doc xml:space="preserve">the effective toplevel window containing @window</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_events" c:identifier="gdk_window_get_events">
        <doc xml:space="preserve">Gets the event mask for @window. See gdk_window_set_events().</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">event mask for @window</doc>
          <type name="EventMask" c:type="GdkEventMask"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_focus_on_map"
              c:identifier="gdk_window_get_focus_on_map"
              version="2.22">
        <doc xml:space="preserve">Determines whether or not the desktop environment should be hinted that the
window does not want to receive input focus when it is mapped.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether or not the window wants to receive input focus when
it is mapped.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow.</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_frame_extents"
              c:identifier="gdk_window_get_frame_extents">
        <doc xml:space="preserve">Obtains the bounding box of the window, including window manager
titlebar/borders if any. The frame position is given in root window
coordinates. To get the position of the window itself (rather than
the frame) in root window coordinates, use gdk_window_get_origin().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="rect" transfer-ownership="none">
            <doc xml:space="preserve">rectangle to fill with bounding box of the window frame</doc>
            <type name="Rectangle" c:type="GdkRectangle*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_geometry" c:identifier="gdk_window_get_geometry">
        <doc xml:space="preserve">Any of the return location arguments to this function may be %NULL,
if you aren't interested in getting the value of that field.

The X and Y coordinates returned are relative to the parent window
of @window, which for toplevels usually means relative to the
window decorations (titlebar, etc.) rather than relative to the
root window (screen-size background window).

On the X11 platform, the geometry is obtained from the X server,
so reflects the latest position of @window; this may be out-of-sync
with the position of @window delivered in the most-recently-processed
#GdkEventConfigure. gdk_window_get_position() in contrast gets the
position from the most recent configure event.

&lt;note&gt;
If @window is not a toplevel, it is &lt;emphasis&gt;much&lt;/emphasis&gt; better
to call gdk_window_get_position() and gdk_drawable_get_size() instead,
because it avoids the roundtrip to the X server and because
gdk_drawable_get_size() supports the full 32-bit coordinate space,
whereas gdk_window_get_geometry() is restricted to the 16-bit
coordinates of X11.
&lt;/note&gt;</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">return location for X coordinate of window (relative to its parent)</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">return location for Y coordinate of window (relative to its parent)</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">return location for width of window</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">return location for height of window</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="depth" transfer-ownership="none">
            <doc xml:space="preserve">return location for bit depth of window</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_group"
              c:identifier="gdk_window_get_group"
              version="2.4"
              introspectable="0">
        <doc xml:space="preserve">Returns the group leader window for @window. See gdk_window_set_group().</doc>
        <return-value>
          <doc xml:space="preserve">the group leader window for @window</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_height"
              c:identifier="gdk_window_get_height"
              version="2.24">
        <doc xml:space="preserve">Returns the height of the given @window.

On the X11 platform the returned size is the size reported in the
most-recently-processed configure event, rather than the current
size on the X server.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The height of @window</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_internal_paint_info"
              c:identifier="gdk_window_get_internal_paint_info">
        <doc xml:space="preserve">If you bypass the GDK layer and use windowing system primitives to
draw directly onto a #GdkWindow, then you need to deal with two
details: there may be an offset between GDK coordinates and windowing
system coordinates, and GDK may have redirected drawing to a offscreen
pixmap as the result of a gdk_window_begin_paint_region() calls.
This function allows retrieving the information you need to compensate
for these effects.

This function exposes details of the GDK implementation, and is thus
likely to change in future releases of GDK.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="real_drawable"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the drawable to which drawing should be
           done.</doc>
            <type name="Drawable" c:type="GdkDrawable**"/>
          </parameter>
          <parameter name="x_offset"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the X offset between coordinates in @window,
           and the underlying window system primitive coordinates for
           *@real_drawable.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y_offset"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">location to store the Y offset between coordinates in @window,
           and the underlying window system primitive coordinates for
           *@real_drawable.</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_modal_hint"
              c:identifier="gdk_window_get_modal_hint"
              version="2.22">
        <doc xml:space="preserve">Determines whether or not the window manager is hinted that @window
has modal behaviour.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">whether or not the window has the modal hint set.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">A toplevel #GdkWindow.</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_origin" c:identifier="gdk_window_get_origin">
        <doc xml:space="preserve">Obtains the position of a window in root window coordinates.
(Compare with gdk_window_get_position() and
gdk_window_get_geometry() which return the position of a window
relative to its parent window.)</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">not meaningful, ignore</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">return location for X coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">return location for Y coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_parent"
              c:identifier="gdk_window_get_parent"
              introspectable="0">
        <doc xml:space="preserve">Obtains the parent of @window, as known to GDK. Does not query the
X server; thus this returns the parent as passed to gdk_window_new(),
not the actual parent. This should never matter unless you're using
Xlib calls mixed with GDK calls on the X11 platform. It may also
matter for toplevel windows, because the window manager may choose
to reparent them.

Note that you should use gdk_window_get_effective_parent() when
writing generic code that walks up a window hierarchy, because
gdk_window_get_parent() will most likely not do what you expect if
there are offscreen windows in the hierarchy.</doc>
        <return-value>
          <doc xml:space="preserve">parent of @window</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_pointer" c:identifier="gdk_window_get_pointer">
        <doc xml:space="preserve">Obtains the current pointer position and modifier state.
The position is given in coordinates relative to the upper left
corner of @window.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the window containing the pointer (as with
gdk_window_at_pointer()), or %NULL if the window containing the
pointer isn't known to GDK</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for X coordinate of pointer or %NULL to not
     return the X coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for Y coordinate of pointer or %NULL to not
     return the Y coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="mask"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">return location for modifier mask or %NULL to not return the
     modifier mask</doc>
            <type name="ModifierType" c:type="GdkModifierType*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_position" c:identifier="gdk_window_get_position">
        <doc xml:space="preserve">Obtains the position of the window as reported in the
most-recently-processed #GdkEventConfigure. Contrast with
gdk_window_get_geometry() which queries the X server for the
current window position, regardless of which events have been
received or processed.

The position coordinates are relative to the window's parent window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">X coordinate of window</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full"
                     optional="1"
                     allow-none="1">
            <doc xml:space="preserve">Y coordinate of window</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_root_coords"
              c:identifier="gdk_window_get_root_coords"
              version="2.18">
        <doc xml:space="preserve">Obtains the position of a window position in root
window coordinates. This is similar to
gdk_window_get_origin() but allows you go pass
in any position in the window, not just the origin.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">X coordinate in window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">Y coordinate in window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="root_x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for X coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="root_y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for Y coordinate</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_root_origin" c:identifier="gdk_window_get_root_origin">
        <doc xml:space="preserve">Obtains the top-left corner of the window manager frame in root
window coordinates.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">return location for X position of window frame</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">return location for Y position of window frame</doc>
            <type name="gint" c:type="gint*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_screen"
              c:identifier="gdk_window_get_screen"
              version="2.24"
              introspectable="0">
        <doc xml:space="preserve">Gets the #GdkScreen associated with a #GdkWindow.</doc>
        <return-value>
          <doc xml:space="preserve">the #GdkScreen associated with @window</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_state" c:identifier="gdk_window_get_state">
        <doc xml:space="preserve">Gets the bitwise OR of the currently active window state flags,
from the #GdkWindowState enumeration.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">window state bitfield</doc>
          <type name="WindowState" c:type="GdkWindowState"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_toplevel"
              c:identifier="gdk_window_get_toplevel"
              introspectable="0">
        <doc xml:space="preserve">Gets the toplevel window that's an ancestor of @window.

Any window type but %GDK_WINDOW_CHILD is considered a
toplevel window, as is a %GDK_WINDOW_CHILD window that
has a root window as parent.

Note that you should use gdk_window_get_effective_toplevel() when
you want to get to a window's toplevel as seen on screen, because
gdk_window_get_toplevel() will most likely not do what you expect
if there are offscreen windows in the hierarchy.</doc>
        <return-value>
          <doc xml:space="preserve">the toplevel window containing @window</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_type_hint"
              c:identifier="gdk_window_get_type_hint"
              version="2.10">
        <doc xml:space="preserve">This function returns the type hint set for a window.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The type hint set for @window</doc>
          <type name="WindowTypeHint" c:type="GdkWindowTypeHint"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">A toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_area"
              c:identifier="gdk_window_get_update_area"
              introspectable="0">
        <doc xml:space="preserve">Transfers ownership of the update area from @window to the caller
of the function. That is, after calling this function, @window will
no longer have an invalid/dirty region; the update area is removed
from @window and handed to you. If a window has no update area,
gdk_window_get_update_area() returns %NULL. You are responsible for
calling gdk_region_destroy() on the returned region if it's non-%NULL.</doc>
        <return-value>
          <doc xml:space="preserve">the update area for @window</doc>
          <type name="Region" c:type="GdkRegion*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_user_data" c:identifier="gdk_window_get_user_data">
        <doc xml:space="preserve">Retrieves the user data for @window, which is normally the widget
that @window belongs to. See gdk_window_set_user_data().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="data"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for user data</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_visual"
              c:identifier="gdk_window_get_visual"
              version="2.24"
              introspectable="0">
        <doc xml:space="preserve">Gets the #GdkVisual describing the pixel format of @window.</doc>
        <return-value>
          <doc xml:space="preserve">a #GdkVisual</doc>
          <type name="Visual" c:type="GdkVisual*"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_width"
              c:identifier="gdk_window_get_width"
              version="2.24">
        <doc xml:space="preserve">Returns the width of the given @window.

On the X11 platform the returned size is the size reported in the
most-recently-processed configure event, rather than the current
size on the X server.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">The width of @window</doc>
          <type name="gint" c:type="int"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_window_type" c:identifier="gdk_window_get_window_type">
        <doc xml:space="preserve">Gets the type of the window. See #GdkWindowType.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">type of window</doc>
          <type name="WindowType" c:type="GdkWindowType"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_native"
              c:identifier="gdk_window_has_native"
              version="2.22">
        <doc xml:space="preserve">Checks whether the window has a native window or not. Note that
you can use gdk_window_ensure_native() if a native window is needed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the %window has a native window, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="hide" c:identifier="gdk_window_hide">
        <doc xml:space="preserve">For toplevel windows, withdraws them, so they will no longer be
known to the window manager; for all windows, unmaps them, so
they won't be displayed. Normally done automatically as
part of gtk_widget_hide().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="iconify" c:identifier="gdk_window_iconify">
        <doc xml:space="preserve">Asks to iconify (minimize) @window. The window manager may choose
to ignore the request, but normally will honor it. Using
gtk_window_iconify() is preferred, if you have a #GtkWindow widget.

This function only makes sense when @window is a toplevel window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="input_shape_combine_mask"
              c:identifier="gdk_window_input_shape_combine_mask"
              version="2.10">
        <doc xml:space="preserve">Like gdk_window_shape_combine_mask(), but the shape applies
only to event handling. Mouse events which happen while
the pointer position corresponds to an unset bit in the
mask will be passed on the window below @window.

An input shape is typically used with RGBA windows.
The alpha channel of the window defines which pixels are
invisible and allows for nicely antialiased borders,
and the input shape controls where the window is
"clickable".

On the X11 platform, this requires version 1.1 of the
shape extension.

On the Win32 platform, this functionality is not present and the
function does nothing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="mask"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">shape mask, or %NULL</doc>
            <type name="Bitmap" c:type="GdkBitmap*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">X position of shape mask with respect to @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">Y position of shape mask with respect to @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="input_shape_combine_region"
              c:identifier="gdk_window_input_shape_combine_region"
              version="2.10">
        <doc xml:space="preserve">Like gdk_window_shape_combine_region(), but the shape applies
only to event handling. Mouse events which happen while
the pointer position corresponds to an unset bit in the
mask will be passed on the window below @window.

An input shape is typically used with RGBA windows.
The alpha channel of the window defines which pixels are
invisible and allows for nicely antialiased borders,
and the input shape controls where the window is
"clickable".

On the X11 platform, this requires version 1.1 of the
shape extension.

On the Win32 platform, this functionality is not present and the
function does nothing.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="shape_region" transfer-ownership="none">
            <doc xml:space="preserve">region of window to be non-transparent</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
          <parameter name="offset_x" transfer-ownership="none">
            <doc xml:space="preserve">X position of @shape_region in @window coordinates</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="offset_y" transfer-ownership="none">
            <doc xml:space="preserve">Y position of @shape_region in @window coordinates</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="invalidate_maybe_recurse"
              c:identifier="gdk_window_invalidate_maybe_recurse">
        <doc xml:space="preserve">Adds @region to the update area for @window. The update area is the
region that needs to be redrawn, or "dirty region." The call
gdk_window_process_updates() sends one or more expose events to the
window, which together cover the entire update area. An
application would normally redraw the contents of @window in
response to those expose events.

GDK will call gdk_window_process_all_updates() on your behalf
whenever your program returns to the main loop and becomes idle, so
normally there's no need to do that manually, you just need to
invalidate regions that you know should be redrawn.

The @child_func parameter controls whether the region of
each child window that intersects @region will also be invalidated.
Only children for which @child_func returns TRUE will have the area
invalidated.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
          <parameter name="child_func" transfer-ownership="none">
            <doc xml:space="preserve">function to use to decide if to recurse to a child,
             %NULL means never recurse.</doc>
            <type name="gpointer" c:type="gpointer*"/>
          </parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:space="preserve">data passed to @child_func</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="invalidate_rect" c:identifier="gdk_window_invalidate_rect">
        <doc xml:space="preserve">A convenience wrapper around gdk_window_invalidate_region() which
invalidates a rectangular region. See
gdk_window_invalidate_region() for details.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="rect"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">rectangle to invalidate or %NULL to invalidate the whole
     window</doc>
            <type name="Rectangle" c:type="const GdkRectangle*"/>
          </parameter>
          <parameter name="invalidate_children" transfer-ownership="none">
            <doc xml:space="preserve">whether to also invalidate child windows</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="invalidate_region"
              c:identifier="gdk_window_invalidate_region">
        <doc xml:space="preserve">Adds @region to the update area for @window. The update area is the
region that needs to be redrawn, or "dirty region." The call
gdk_window_process_updates() sends one or more expose events to the
window, which together cover the entire update area. An
application would normally redraw the contents of @window in
response to those expose events.

GDK will call gdk_window_process_all_updates() on your behalf
whenever your program returns to the main loop and becomes idle, so
normally there's no need to do that manually, you just need to
invalidate regions that you know should be redrawn.

The @invalidate_children parameter controls whether the region of
each child window that intersects @region will also be invalidated.
If %FALSE, then the update area for child windows will remain
unaffected. See gdk_window_invalidate_maybe_recurse if you need
fine grained control over which children are invalidated.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkRegion</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
          <parameter name="invalidate_children" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to also invalidate child windows</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="is_destroyed"
              c:identifier="gdk_window_is_destroyed"
              version="2.18">
        <doc xml:space="preserve">Check to see if a window is destroyed..</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the window is destroyed</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_input_only"
              c:identifier="gdk_window_is_input_only"
              version="2.22">
        <doc xml:space="preserve">Determines whether or not the window is an input only window.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @window is input only</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_shaped"
              c:identifier="gdk_window_is_shaped"
              version="2.22">
        <doc xml:space="preserve">Determines whether or not the window is shaped.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if @window is shaped</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_viewable" c:identifier="gdk_window_is_viewable">
        <doc xml:space="preserve">Check if the window and all ancestors of the window are
mapped. (This is not necessarily "viewable" in the X sense, since
we only check as far as we have GDK window parents, not to the root
window.)</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the window is viewable</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="is_visible" c:identifier="gdk_window_is_visible">
        <doc xml:space="preserve">Checks whether the window has been mapped (with gdk_window_show() or
gdk_window_show_unraised()).</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the window is mapped</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="lower" c:identifier="gdk_window_lower">
        <doc xml:space="preserve">Lowers @window to the bottom of the Z-order (stacking order), so that
other windows with the same parent window appear above @window.
This is true whether or not the other windows are visible.

If @window is a toplevel, the window manager may choose to deny the
request to move the window in the Z-order, gdk_window_lower() only
requests the restack, does not guarantee it.

Note that gdk_window_show() raises the window again, so don't call this
function before gdk_window_show(). (Try gdk_window_show_unraised().)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="maximize" c:identifier="gdk_window_maximize">
        <doc xml:space="preserve">Maximizes the window. If the window was already maximized, then
this function does nothing.

On X11, asks the window manager to maximize @window, if the window
manager supports this operation. Not all window managers support
this, and some deliberately ignore it or don't have a concept of
"maximized"; so you can't rely on the maximization actually
happening. But it will happen with most standard window managers,
and GDK makes a best effort to get it to happen.

On Windows, reliably maximizes the window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_child_input_shapes"
              c:identifier="gdk_window_merge_child_input_shapes"
              version="2.10">
        <doc xml:space="preserve">Merges the input shape masks for any child windows into the
input shape mask for @window. i.e. the union of all input masks
for @window and its children will become the new input mask
for @window. See gdk_window_input_shape_combine_mask().

This function is distinct from gdk_window_set_child_input_shapes()
because it includes @window's input shape mask in the set of
shapes to be merged.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="merge_child_shapes"
              c:identifier="gdk_window_merge_child_shapes">
        <doc xml:space="preserve">Merges the shape masks for any child windows into the
shape mask for @window. i.e. the union of all masks
for @window and its children will become the new mask
for @window. See gdk_window_shape_combine_mask().

This function is distinct from gdk_window_set_child_shapes()
because it includes @window's shape mask in the set of shapes to
be merged.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="move" c:identifier="gdk_window_move">
        <doc xml:space="preserve">Repositions a window relative to its parent window.
For toplevel windows, window managers may ignore or modify the move;
you should probably use gtk_window_move() on a #GtkWindow widget
anyway, instead of using GDK functions. For child windows,
the move will reliably succeed.

If you're also planning to resize the window, use gdk_window_move_resize()
to both move and resize simultaneously, for a nicer visual effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">X coordinate relative to window's parent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">Y coordinate relative to window's parent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="move_region"
              c:identifier="gdk_window_move_region"
              version="2.8">
        <doc xml:space="preserve">Move the part of @window indicated by @region by @dy pixels in the Y
direction and @dx pixels in the X direction. The portions of @region
that not covered by the new position of @region are invalidated.

Child windows are not moved.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="region" transfer-ownership="none">
            <doc xml:space="preserve">The #GdkRegion to move</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
          <parameter name="dx" transfer-ownership="none">
            <doc xml:space="preserve">Amount to move in the X direction</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dy" transfer-ownership="none">
            <doc xml:space="preserve">Amount to move in the Y direction</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="move_resize" c:identifier="gdk_window_move_resize">
        <doc xml:space="preserve">Equivalent to calling gdk_window_move() and gdk_window_resize(),
except that both operations are performed at once, avoiding strange
visual effects. (i.e. the user may be able to see the window first
move, then resize, if you don't use gdk_window_move_resize().)</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">new X position relative to window's parent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">new Y position relative to window's parent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">new width</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">new height</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="new" c:identifier="gdk_window_new">
        <doc xml:space="preserve">Creates a new #GdkWindow using the attributes from
@attributes. See #GdkWindowAttr and #GdkWindowAttributesType for
more details.  Note: to use this on displays other than the default
display, @parent must be specified.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the new #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </return-value>
        <parameters>
          <instance-parameter name="parent"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve">a #GdkWindow, or %NULL to create the window as a child of
  the default root window for the default display.</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="attributes" transfer-ownership="none">
            <doc xml:space="preserve">attributes of the new window</doc>
            <type name="WindowAttr" c:type="GdkWindowAttr*"/>
          </parameter>
          <parameter name="attributes_mask" transfer-ownership="none">
            <doc xml:space="preserve">mask indicating which fields in @attributes are valid</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="peek_children" c:identifier="gdk_window_peek_children">
        <doc xml:space="preserve">Like gdk_window_get_children(), but does not copy the list of
children, so the list does not need to be freed.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">
    a reference to the list of child windows in @window</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Window"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="process_updates" c:identifier="gdk_window_process_updates">
        <doc xml:space="preserve">Sends one or more expose events to @window. The areas in each
expose event will cover the entire update area for the window (see
gdk_window_invalidate_region() for details). Normally GDK calls
gdk_window_process_all_updates() on your behalf, so there's no
need to call this function unless you want to force expose events
to be delivered immediately and synchronously (vs. the usual
case, where GDK delivers them in an idle handler). Occasionally
this is useful to produce nicer scrolling behavior, for example.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="update_children" transfer-ownership="none">
            <doc xml:space="preserve">whether to also process updates for child windows</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="raise" c:identifier="gdk_window_raise">
        <doc xml:space="preserve">Raises @window to the top of the Z-order (stacking order), so that
other windows with the same parent window appear below @window.
This is true whether or not the windows are visible.

If @window is a toplevel, the window manager may choose to deny the
request to move the window in the Z-order, gdk_window_raise() only
requests the restack, does not guarantee it.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="redirect_to_drawable"
              c:identifier="gdk_window_redirect_to_drawable"
              version="2.14">
        <doc xml:space="preserve">Redirects drawing into @window so that drawing to the
window in the rectangle specified by @src_x, @src_y,
@width and @height is also drawn into @drawable at
@dest_x, @dest_y.

Only drawing between gdk_window_begin_paint_region() or
gdk_window_begin_paint_rect() and gdk_window_end_paint() is
redirected.

Redirection is active until gdk_window_remove_redirection()
is called.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="drawable" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkDrawable</doc>
            <type name="Drawable" c:type="GdkDrawable*"/>
          </parameter>
          <parameter name="src_x" transfer-ownership="none">
            <doc xml:space="preserve">x position in @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="src_y" transfer-ownership="none">
            <doc xml:space="preserve">y position in @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_x" transfer-ownership="none">
            <doc xml:space="preserve">x position in @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dest_y" transfer-ownership="none">
            <doc xml:space="preserve">y position in @drawable</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">width of redirection, or -1 to use the width of @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">height of redirection or -1 to use the height of @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="register_dnd" c:identifier="gdk_window_register_dnd">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="remove_filter"
              c:identifier="gdk_window_remove_filter"
              introspectable="0">
        <doc xml:space="preserve">Remove a filter previously added with gdk_window_add_filter().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="function" transfer-ownership="none" closure="1">
            <doc xml:space="preserve">previously-added filter function</doc>
            <type name="FilterFunc" c:type="GdkFilterFunc"/>
          </parameter>
          <parameter name="data" transfer-ownership="none">
            <doc xml:space="preserve">user data for previously-added filter function</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_redirection"
              c:identifier="gdk_window_remove_redirection"
              version="2.14">
        <doc xml:space="preserve">Removes any active redirection started by
gdk_window_redirect_to_drawable().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="reparent" c:identifier="gdk_window_reparent">
        <doc xml:space="preserve">Reparents @window into the given @new_parent. The window being
reparented will be unmapped as a side effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="new_parent" transfer-ownership="none">
            <doc xml:space="preserve">new parent to move @window into</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">X location inside the new parent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">Y location inside the new parent</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="resize" c:identifier="gdk_window_resize">
        <doc xml:space="preserve">Resizes @window; for toplevel windows, asks the window manager to resize
the window. The window manager may not allow the resize. When using GTK+,
use gtk_window_resize() instead of this low-level GDK function.

Windows may not be resized below 1x1.

If you're also planning to move the window, use gdk_window_move_resize()
to both move and resize simultaneously, for a nicer visual effect.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="width" transfer-ownership="none">
            <doc xml:space="preserve">new width of the window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="height" transfer-ownership="none">
            <doc xml:space="preserve">new height of the window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="restack" c:identifier="gdk_window_restack" version="2.18">
        <doc xml:space="preserve">Changes the position of  @window in the Z-order (stacking order), so that
it is above @sibling (if @above is %TRUE) or below @sibling (if @above is
%FALSE).

If @sibling is %NULL, then this either raises (if @above is %TRUE) or
lowers the window.

If @window is a toplevel, the window manager may choose to deny the
request to move the window in the Z-order, gdk_window_restack() only
requests the restack, does not guarantee it.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="sibling"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GdkWindow that is a sibling of @window, or %NULL</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
          <parameter name="above" transfer-ownership="none">
            <doc xml:space="preserve">a boolean</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="scroll" c:identifier="gdk_window_scroll">
        <doc xml:space="preserve">Scroll the contents of @window, both pixels and children, by the
given amount. @window itself does not move. Portions of the window
that the scroll operation brings in from offscreen areas are
invalidated. The invalidated region may be bigger than what would
strictly be necessary.

For X11, a minimum area will be invalidated if the window has no
subwindows, or if the edges of the window's parent do not extend
beyond the edges of the window. In other cases, a multi-step process
is used to scroll the window which may produce temporary visual
artifacts and unnecessary invalidations.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="dx" transfer-ownership="none">
            <doc xml:space="preserve">Amount to scroll in the X direction</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="dy" transfer-ownership="none">
            <doc xml:space="preserve">Amount to scroll in the Y direction</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_accept_focus"
              c:identifier="gdk_window_set_accept_focus"
              version="2.4">
        <doc xml:space="preserve">Setting @accept_focus to %FALSE hints the desktop environment that the
window doesn't want to receive input focus.

On X, it is the responsibility of the window manager to interpret this
hint. ICCCM-compliant window manager usually respect it.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="accept_focus" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the window should receive input focus</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_back_pixmap" c:identifier="gdk_window_set_back_pixmap">
        <doc xml:space="preserve">Sets the background pixmap of @window. May also be used to set a
background of "None" on @window, by setting a background pixmap
of %NULL.

A background pixmap will be tiled, positioning the first tile at
the origin of @window, or if @parent_relative is %TRUE, the tiling
will be done based on the origin of the parent window (useful to
align tiles in a parent with tiles in a child).

A background pixmap of %NULL means that the window will have no
background.  A window with no background will never have its
background filled by the windowing system, instead the window will
contain whatever pixels were already in the corresponding area of
the display.

The windowing system will normally fill a window with its background
when the window is obscured then exposed, and when you call
gdk_window_clear().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="pixmap"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a #GdkPixmap, or %NULL</doc>
            <type name="Pixmap" c:type="GdkPixmap*"/>
          </parameter>
          <parameter name="parent_relative" transfer-ownership="none">
            <doc xml:space="preserve">whether the tiling origin is at the origin of
  @window's parent</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_background" c:identifier="gdk_window_set_background">
        <doc xml:space="preserve">Sets the background color of @window. (However, when using GTK+,
set the background of a widget with gtk_widget_modify_bg() - if
you're an application - or gtk_style_set_background() - if you're
implementing a custom widget.)

The @color must be allocated; gdk_rgb_find_color() is the best way
to allocate a color.

See also gdk_window_set_back_pixmap().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="color" transfer-ownership="none">
            <doc xml:space="preserve">an allocated #GdkColor</doc>
            <type name="Color" c:type="const GdkColor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_child_input_shapes"
              c:identifier="gdk_window_set_child_input_shapes"
              version="2.10">
        <doc xml:space="preserve">Sets the input shape mask of @window to the union of input shape masks
for all children of @window, ignoring the input shape mask of @window
itself. Contrast with gdk_window_merge_child_input_shapes() which includes
the input shape mask of @window in the masks to be merged.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_child_shapes"
              c:identifier="gdk_window_set_child_shapes">
        <doc xml:space="preserve">Sets the shape mask of @window to the union of shape masks
for all children of @window, ignoring the shape mask of @window
itself. Contrast with gdk_window_merge_child_shapes() which includes
the shape mask of @window in the masks to be merged.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_composited"
              c:identifier="gdk_window_set_composited"
              version="2.12">
        <doc xml:space="preserve">Sets a #GdkWindow as composited, or unsets it. Composited
windows do not automatically have their contents drawn to
the screen. Drawing is redirected to an offscreen buffer
and an expose event is emitted on the parent of the composited
window. It is the responsibility of the parent's expose handler
to manually merge the off-screen content onto the screen in
whatever way it sees fit. See &lt;xref linkend="composited-window-example"/&gt;
for an example.

It only makes sense for child windows to be composited; see
gdk_window_set_opacity() if you need translucent toplevel
windows.

An additional effect of this call is that the area of this
window is no longer clipped from regions marked for
invalidation on its parent. Draws done on the parent
window are also no longer clipped by the child.

This call is only supported on some systems (currently,
only X11 with new enough Xcomposite and Xdamage extensions).
You must call gdk_display_supports_composite() to check if
setting a window as composited is supported before
attempting to do so.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="composited" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to set the window as composited</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_cursor" c:identifier="gdk_window_set_cursor">
        <doc xml:space="preserve">Sets the mouse pointer for a #GdkWindow. Use gdk_cursor_new_for_display()
or gdk_cursor_new_from_pixmap() to create the cursor. To make the cursor
invisible, use %GDK_BLANK_CURSOR. Passing %NULL for the @cursor argument
to gdk_window_set_cursor() means that @window will use the cursor of its
parent window. Most windows should use this default.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="cursor"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve">a cursor</doc>
            <type name="Cursor" c:type="GdkCursor*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_decorations" c:identifier="gdk_window_set_decorations">
        <doc xml:space="preserve">"Decorations" are the features the window manager adds to a toplevel #GdkWindow.
This function sets the traditional Motif window manager hints that tell the
window manager which decorations you would like your window to have.
Usually you should use gtk_window_set_decorated() on a #GtkWindow instead of
using the GDK function directly.

The @decorations argument is the logical OR of the fields in
the #GdkWMDecoration enumeration. If #GDK_DECOR_ALL is included in the
mask, the other bits indicate which decorations should be turned off.
If #GDK_DECOR_ALL is not included, then the other bits indicate
which decorations should be turned on.

Most window managers honor a decorations hint of 0 to disable all decorations,
but very few honor all possible combinations of bits.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="decorations" transfer-ownership="none">
            <doc xml:space="preserve">decoration hint mask</doc>
            <type name="WMDecoration" c:type="GdkWMDecoration"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_events" c:identifier="gdk_window_set_events">
        <doc xml:space="preserve">The event mask for a window determines which events will be reported
for that window. For example, an event mask including #GDK_BUTTON_PRESS_MASK
means the window should report button press events. The event mask
is the bitwise OR of values from the #GdkEventMask enumeration.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="event_mask" transfer-ownership="none">
            <doc xml:space="preserve">event mask for @window</doc>
            <type name="EventMask" c:type="GdkEventMask"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_focus_on_map"
              c:identifier="gdk_window_set_focus_on_map"
              version="2.6">
        <doc xml:space="preserve">Setting @focus_on_map to %FALSE hints the desktop environment that the
window doesn't want to receive input focus when it is mapped.
focus_on_map should be turned off for windows that aren't triggered
interactively (such as popups from network activity).

On X, it is the responsibility of the window manager to interpret
this hint. Window managers following the freedesktop.org window
manager extension specification should respect it.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="focus_on_map" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the window should receive input focus when mapped</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_functions" c:identifier="gdk_window_set_functions">
        <doc xml:space="preserve">Sets hints about the window management functions to make available
via buttons on the window frame.

On the X backend, this function sets the traditional Motif window
manager hint for this purpose. However, few window managers do
anything reliable or interesting with this hint. Many ignore it
entirely.

The @functions argument is the logical OR of values from the
#GdkWMFunction enumeration. If the bitmask includes #GDK_FUNC_ALL,
then the other bits indicate which functions to disable; if
it doesn't include #GDK_FUNC_ALL, it indicates which functions to
enable.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="functions" transfer-ownership="none">
            <doc xml:space="preserve">bitmask of operations to allow on @window</doc>
            <type name="WMFunction" c:type="GdkWMFunction"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_geometry_hints"
              c:identifier="gdk_window_set_geometry_hints">
        <doc xml:space="preserve">Sets the geometry hints for @window. Hints flagged in @geom_mask
are set, hints not flagged in @geom_mask are unset.
To unset all hints, use a @geom_mask of 0 and a @geometry of %NULL.

This function provides hints to the windowing system about
acceptable sizes for a toplevel window. The purpose of
this is to constrain user resizing, but the windowing system
will typically  (but is not required to) also constrain the
current size of the window to the provided values and
constrain programatic resizing via gdk_window_resize() or
gdk_window_move_resize().

Note that on X11, this effect has no effect on windows
of type %GDK_WINDOW_TEMP or windows where override redirect
has been turned on via gdk_window_set_override_redirect()
since these windows are not resizable by the user.

Since you can't count on the windowing system doing the
constraints for programmatic resizes, you should generally
call gdk_window_constrain_size() yourself to determine
appropriate sizes.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="geometry" transfer-ownership="none">
            <doc xml:space="preserve">geometry hints</doc>
            <type name="Geometry" c:type="const GdkGeometry*"/>
          </parameter>
          <parameter name="geom_mask" transfer-ownership="none">
            <doc xml:space="preserve">bitmask indicating fields of @geometry to pay attention to</doc>
            <type name="WindowHints" c:type="GdkWindowHints"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_group" c:identifier="gdk_window_set_group">
        <doc xml:space="preserve">Sets the group leader window for @window. By default,
GDK sets the group leader for all toplevel windows
to a global window implicitly created by GDK. With this function
you can override this default.

The group leader window allows the window manager to distinguish
all windows that belong to a single application. It may for example
allow users to minimize/unminimize all windows belonging to an
application at once. You should only set a non-default group window
if your application pretends to be multiple applications.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="leader" transfer-ownership="none">
            <doc xml:space="preserve">group leader window, or %NULL to restore the default group leader window</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_hints" c:identifier="gdk_window_set_hints">
        <doc xml:space="preserve">This function is broken and useless and you should ignore it.
If using GTK+, use functions such as gtk_window_resize(), gtk_window_set_size_request(),
gtk_window_move(), gtk_window_parse_geometry(), and gtk_window_set_geometry_hints(),
depending on what you're trying to do.

If using GDK directly, use gdk_window_set_geometry_hints().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">ignored field, does not matter</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">ignored field, does not matter</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="min_width" transfer-ownership="none">
            <doc xml:space="preserve">minimum width hint</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="min_height" transfer-ownership="none">
            <doc xml:space="preserve">minimum height hint</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="max_width" transfer-ownership="none">
            <doc xml:space="preserve">max width hint</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="max_height" transfer-ownership="none">
            <doc xml:space="preserve">max height hint</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve">logical OR of GDK_HINT_POS, GDK_HINT_MIN_SIZE, and/or GDK_HINT_MAX_SIZE</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon" c:identifier="gdk_window_set_icon">
        <doc xml:space="preserve">Sets the icon of @window as a pixmap or window. If using GTK+, investigate
gtk_window_set_default_icon_list() first, and then gtk_window_set_icon_list()
and gtk_window_set_icon(). If those don't meet your needs, look at
gdk_window_set_icon_list(). Only if all those are too high-level do you
want to fall back to gdk_window_set_icon().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="icon_window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow to use for the icon, or %NULL to unset</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
          <parameter name="pixmap" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkPixmap to use as the icon, or %NULL to unset</doc>
            <type name="Pixmap" c:type="GdkPixmap*"/>
          </parameter>
          <parameter name="mask" transfer-ownership="none">
            <doc xml:space="preserve">a 1-bit pixmap (#GdkBitmap) to use as mask for @pixmap, or %NULL to have none</doc>
            <type name="Bitmap" c:type="GdkBitmap*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon_list" c:identifier="gdk_window_set_icon_list">
        <doc xml:space="preserve">Sets a list of icons for the window. One of these will be used
to represent the window when it has been iconified. The icon is
usually shown in an icon box or some sort of task bar. Which icon
size is shown depends on the window manager. The window manager
can scale the icon  but setting several size icons can give better
image quality since the window manager may only need to scale the
icon by a small amount or not at all.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">The #GdkWindow toplevel window to set the icon of.</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="pixbufs" transfer-ownership="none">
            <doc xml:space="preserve">
    A list of pixbufs, of different sizes.</doc>
            <type name="GLib.List" c:type="GList*">
              <type name="GdkPixbuf.Pixbuf"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="set_icon_name" c:identifier="gdk_window_set_icon_name">
        <doc xml:space="preserve">Windows may have a name used while minimized, distinct from the
name they display in their titlebar. Most of the time this is a bad
idea from a user interface standpoint. But you can set such a name
with this function, if you like.

After calling this with a non-%NULL @name, calls to gdk_window_set_title()
will not update the icon title.

Using %NULL for @name unsets the icon title; further calls to
gdk_window_set_title() will again update the icon title as well.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve">name of window while iconified (minimized)</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_keep_above"
              c:identifier="gdk_window_set_keep_above"
              version="2.4">
        <doc xml:space="preserve">Set if @window must be kept above other windows. If the
window was already above, then this function does nothing.

On X11, asks the window manager to keep @window above, if the window
manager supports this operation. Not all window managers support
this, and some deliberately ignore it or don't have a concept of
"keep above"; so you can't rely on the window being kept above.
But it will happen with most standard window managers,
and GDK makes a best effort to get it to happen.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="setting" transfer-ownership="none">
            <doc xml:space="preserve">whether to keep @window above other windows</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_keep_below"
              c:identifier="gdk_window_set_keep_below"
              version="2.4">
        <doc xml:space="preserve">Set if @window must be kept below other windows. If the
window was already below, then this function does nothing.

On X11, asks the window manager to keep @window below, if the window
manager supports this operation. Not all window managers support
this, and some deliberately ignore it or don't have a concept of
"keep below"; so you can't rely on the window being kept below.
But it will happen with most standard window managers,
and GDK makes a best effort to get it to happen.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="setting" transfer-ownership="none">
            <doc xml:space="preserve">whether to keep @window below other windows</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_modal_hint" c:identifier="gdk_window_set_modal_hint">
        <doc xml:space="preserve">The application can use this hint to tell the window manager
that a certain window has modal behaviour. The window manager
can use this information to handle modal windows in a special
way.

You should only use this on windows for which you have
previously called gdk_window_set_transient_for()</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">A toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="modal" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the window is modal, %FALSE otherwise.</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_opacity"
              c:identifier="gdk_window_set_opacity"
              version="2.12">
        <doc xml:space="preserve">Request the windowing system to make @window partially transparent,
with opacity 0 being fully transparent and 1 fully opaque. (Values
of the opacity parameter are clamped to the [0,1] range.)

On X11, this works only on X screens with a compositing manager
running.

For setting up per-pixel alpha, see gdk_screen_get_rgba_colormap().
For making non-toplevel windows translucent, see
gdk_window_set_composited().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a top-level #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="opacity" transfer-ownership="none">
            <doc xml:space="preserve">opacity</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_override_redirect"
              c:identifier="gdk_window_set_override_redirect">
        <doc xml:space="preserve">An override redirect window is not under the control of the window manager.
This means it won't have a titlebar, won't be minimizable, etc. - it will
be entirely under the control of the application. The window manager
can't see the override redirect window at all.

Override redirect should only be used for short-lived temporary
windows, such as popup menus. #GtkMenu uses an override redirect
window in its implementation, for example.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="override_redirect" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if window should be override redirect</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_role" c:identifier="gdk_window_set_role">
        <doc xml:space="preserve">When using GTK+, typically you should use gtk_window_set_role() instead
of this low-level function.

The window manager and session manager use a window's role to
distinguish it from other kinds of window in the same application.
When an application is restarted after being saved in a previous
session, all windows with the same title and role are treated as
interchangeable.  So if you have two windows with the same title
that should be distinguished for session management purposes, you
should set the role on those windows. It doesn't matter what string
you use for the role, as long as you have a different role for each
non-interchangeable kind of window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="role" transfer-ownership="none">
            <doc xml:space="preserve">a string indicating its role</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_skip_pager_hint"
              c:identifier="gdk_window_set_skip_pager_hint"
              version="2.2">
        <doc xml:space="preserve">Toggles whether a window should appear in a pager (workspace
switcher, or other desktop utility program that displays a small
thumbnail representation of the windows on the desktop). If a
window's semantic type as specified with gdk_window_set_type_hint()
already fully describes the window, this function should
&lt;emphasis&gt;not&lt;/emphasis&gt; be called in addition, instead you should
allow the window to be treated according to standard policy for
its semantic type.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="skips_pager" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to skip the pager</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_skip_taskbar_hint"
              c:identifier="gdk_window_set_skip_taskbar_hint"
              version="2.2">
        <doc xml:space="preserve">Toggles whether a window should appear in a task list or window
list. If a window's semantic type as specified with
gdk_window_set_type_hint() already fully describes the window, this
function should &lt;emphasis&gt;not&lt;/emphasis&gt; be called in addition,
instead you should allow the window to be treated according to
standard policy for its semantic type.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="skips_taskbar" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to skip the taskbar</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_startup_id"
              c:identifier="gdk_window_set_startup_id"
              version="2.12">
        <doc xml:space="preserve">When using GTK+, typically you should use gtk_window_set_startup_id()
instead of this low-level function.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="startup_id" transfer-ownership="none">
            <doc xml:space="preserve">a string with startup-notification identifier</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_static_gravities"
              c:identifier="gdk_window_set_static_gravities">
        <doc xml:space="preserve">Set the bit gravity of the given window to static, and flag it so
all children get static subwindow gravity. This is used if you are
implementing scary features that involve deep knowledge of the
windowing system. Don't worry about it unless you have to.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the server supports static gravity</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="use_static" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE to turn on static gravity</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_title" c:identifier="gdk_window_set_title">
        <doc xml:space="preserve">Sets the title of a toplevel window, to be displayed in the titlebar.
If you haven't explicitly set the icon name for the window
(using gdk_window_set_icon_name()), the icon name will be set to
@title as well. @title must be in UTF-8 encoding (as with all
user-readable strings in GDK/GTK+). @title may not be %NULL.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="title" transfer-ownership="none">
            <doc xml:space="preserve">title of @window</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_transient_for"
              c:identifier="gdk_window_set_transient_for">
        <doc xml:space="preserve">Indicates to the window manager that @window is a transient dialog
associated with the application window @parent. This allows the
window manager to do things like center @window on @parent and
keep @window above @parent.

See gtk_window_set_transient_for() if you're using #GtkWindow or
#GtkDialog.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="parent" transfer-ownership="none">
            <doc xml:space="preserve">another toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_type_hint" c:identifier="gdk_window_set_type_hint">
        <doc xml:space="preserve">The application can use this call to provide a hint to the window
manager about the functionality of a window. The window manager
can use this information when determining the decoration and behaviour
of the window.

The hint must be set before the window is mapped.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">A toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="hint" transfer-ownership="none">
            <doc xml:space="preserve">A hint of the function this window will have</doc>
            <type name="WindowTypeHint" c:type="GdkWindowTypeHint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_urgency_hint"
              c:identifier="gdk_window_set_urgency_hint"
              version="2.8">
        <doc xml:space="preserve">Toggles whether a window needs the user's
urgent attention.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="urgent" transfer-ownership="none">
            <doc xml:space="preserve">%TRUE if the window is urgent</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_user_data" c:identifier="gdk_window_set_user_data">
        <doc xml:space="preserve">For most purposes this function is deprecated in favor of
g_object_set_data(). However, for historical reasons GTK+ stores
the #GtkWidget that owns a #GdkWindow as user data on the
#GdkWindow. So, custom widget implementations should use
this function for that. If GTK+ receives an event for a #GdkWindow,
and the user data for the window is non-%NULL, GTK+ will assume the
user data is a #GtkWidget, and forward the event to that widget.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="user_data" transfer-ownership="none">
            <doc xml:space="preserve">user data</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="shape_combine_mask"
              c:identifier="gdk_window_shape_combine_mask">
        <doc xml:space="preserve">Applies a shape mask to @window. Pixels in @window corresponding to
set bits in the @mask will be visible; pixels in @window
corresponding to unset bits in the @mask will be transparent. This
gives a non-rectangular window.

If @mask is %NULL, the shape mask will be unset, and the @x/@y
parameters are not used.

On the X11 platform, this uses an X server extension which is
widely available on most common platforms, but not available on
very old X servers, and occasionally the implementation will be
buggy. On servers without the shape extension, this function
will do nothing.

This function works on both toplevel and child windows.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="mask" transfer-ownership="none">
            <doc xml:space="preserve">shape mask</doc>
            <type name="Bitmap" c:type="GdkBitmap*"/>
          </parameter>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">X position of shape mask with respect to @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">Y position of shape mask with respect to @window</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="shape_combine_region"
              c:identifier="gdk_window_shape_combine_region">
        <doc xml:space="preserve">Makes pixels in @window outside @shape_region be transparent,
so that the window may be nonrectangular. See also
gdk_window_shape_combine_mask() to use a bitmap as the mask.

If @shape_region is %NULL, the shape will be unset, so the whole
window will be opaque again. @offset_x and @offset_y are ignored
if @shape_region is %NULL.

On the X11 platform, this uses an X server extension which is
widely available on most common platforms, but not available on
very old X servers, and occasionally the implementation will be
buggy. On servers without the shape extension, this function
will do nothing.

This function works on both toplevel and child windows.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
          <parameter name="shape_region" transfer-ownership="none">
            <doc xml:space="preserve">region of window to be non-transparent</doc>
            <type name="Region" c:type="const GdkRegion*"/>
          </parameter>
          <parameter name="offset_x" transfer-ownership="none">
            <doc xml:space="preserve">X position of @shape_region in @window coordinates</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
          <parameter name="offset_y" transfer-ownership="none">
            <doc xml:space="preserve">Y position of @shape_region in @window coordinates</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="show" c:identifier="gdk_window_show">
        <doc xml:space="preserve">Like gdk_window_show_unraised(), but also raises the window to the
top of the window stack (moves the window to the front of the
Z-order).

This function maps a window so it's visible onscreen. Its opposite
is gdk_window_hide().

When implementing a #GtkWidget, you should call this function on the widget's
#GdkWindow as part of the "map" method.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="show_unraised" c:identifier="gdk_window_show_unraised">
        <doc xml:space="preserve">Shows a #GdkWindow onscreen, but does not modify its stacking
order. In contrast, gdk_window_show() will raise the window
to the top of the window stack.

On the X11 platform, in Xlib terms, this function calls
XMapWindow() (it also updates some internal GDK state, which means
that you can't really use XMapWindow() directly on a GDK window).</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="stick" c:identifier="gdk_window_stick">
        <doc xml:space="preserve">"Pins" a window such that it's on all workspaces and does not scroll
with viewports, for window managers that have scrollable viewports.
(When using #GtkWindow, gtk_window_stick() may be more useful.)

On the X11 platform, this function depends on window manager
support, so may have no effect with many window managers. However,
GDK will do the best it can to convince the window manager to stick
the window. For window managers that don't support this operation,
there's nothing you can do to force it to happen.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="thaw_toplevel_updates_libgtk_only"
              c:identifier="gdk_window_thaw_toplevel_updates_libgtk_only">
        <doc xml:space="preserve">Thaws a window frozen with
gdk_window_freeze_toplevel_updates_libgtk_only().

This function is not part of the GDK public API and is only
for use by GTK+.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="thaw_updates" c:identifier="gdk_window_thaw_updates">
        <doc xml:space="preserve">Thaws a window frozen with gdk_window_freeze_updates().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unfullscreen"
              c:identifier="gdk_window_unfullscreen"
              version="2.2">
        <doc xml:space="preserve">Moves the window out of fullscreen mode. If the window was not
fullscreen, does nothing.

On X11, asks the window manager to move @window out of the fullscreen
state, if the window manager supports this operation. Not all
window managers support this, and some deliberately ignore it or
don't have a concept of "fullscreen"; so you can't rely on the
unfullscreenification actually happening. But it will happen with
most standard window managers, and GDK makes a best effort to get
it to happen.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unmaximize" c:identifier="gdk_window_unmaximize">
        <doc xml:space="preserve">Unmaximizes the window. If the window wasn't maximized, then this
function does nothing.

On X11, asks the window manager to unmaximize @window, if the
window manager supports this operation. Not all window managers
support this, and some deliberately ignore it or don't have a
concept of "maximized"; so you can't rely on the unmaximization
actually happening. But it will happen with most standard window
managers, and GDK makes a best effort to get it to happen.

On Windows, reliably unmaximizes the window.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="unstick" c:identifier="gdk_window_unstick">
        <doc xml:space="preserve">Reverse operation for gdk_window_stick(); see gdk_window_stick(),
and gtk_window_unstick().</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="withdraw" c:identifier="gdk_window_withdraw">
        <doc xml:space="preserve">Withdraws a window (unmaps it and asks the window manager to forget about it).
This function is not really useful as gdk_window_hide() automatically
withdraws toplevel windows before hiding them.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="window" transfer-ownership="none">
            <doc xml:space="preserve">a toplevel #GdkWindow</doc>
            <type name="Window" c:type="GdkWindow*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="cursor"
                version="2.18"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve">The mouse pointer for a #GdkWindow. See gdk_window_set_cursor() and
gdk_window_get_cursor() for details.</doc>
        <type name="Cursor"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <glib:signal name="from-embedder" when="last" version="2.18">
        <doc xml:space="preserve">The ::from-embedder signal is emitted to translate coordinates
in the embedder of an offscreen window to the offscreen window.

See also #GtkWindow::to-embedder.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="embedder-x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate in the embedder window</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="embedder-y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate in the embedder window</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="offscreen-x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the x
    coordinate in the offscreen window</doc>
            <type name="gdouble" c:type="gpointer"/>
          </parameter>
          <parameter name="offscreen-y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the y
    coordinate in the offscreen window</doc>
            <type name="gdouble" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="pick-embedded-child" when="last" version="2.18">
        <doc xml:space="preserve">The ::pick-embedded-child signal is emitted to find an embedded
child at the given position.</doc>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve">the #GdkWindow of the embedded child at
    @x, @y, or %NULL</doc>
          <type name="Window"/>
        </return-value>
        <parameters>
          <parameter name="x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate in the window</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate in the window</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="to-embedder" when="last" version="2.18">
        <doc xml:space="preserve">The ::to-embedder signal is emitted to translate coordinates
in an offscreen window to its embedder.

See also #GtkWindow::from-embedder.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="offscreen-x" transfer-ownership="none">
            <doc xml:space="preserve">x coordinate in the offscreen window</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="offscreen-y" transfer-ownership="none">
            <doc xml:space="preserve">y coordinate in the offscreen window</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
          <parameter name="embedder-x"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the x
    coordinate in the embedder window</doc>
            <type name="gdouble" c:type="gpointer"/>
          </parameter>
          <parameter name="embedder-y"
                     direction="out"
                     caller-allocates="0"
                     transfer-ownership="full">
            <doc xml:space="preserve">return location for the y
    coordinate in the embedder window</doc>
            <type name="gdouble" c:type="gpointer"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="WindowAttr" c:type="GdkWindowAttr">
      <field name="title" writable="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="event_mask" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="x" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="y" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="width" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="height" writable="1">
        <type name="gint" c:type="gint"/>
      </field>
      <field name="wclass" writable="1">
        <type name="WindowClass" c:type="GdkWindowClass"/>
      </field>
      <field name="visual" writable="1">
        <type name="Visual" c:type="GdkVisual*"/>
      </field>
      <field name="colormap" writable="1">
        <type name="Colormap" c:type="GdkColormap*"/>
      </field>
      <field name="window_type" writable="1">
        <type name="WindowType" c:type="GdkWindowType"/>
      </field>
      <field name="cursor" writable="1">
        <type name="Cursor" c:type="GdkCursor*"/>
      </field>
      <field name="wmclass_name" writable="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="wmclass_class" writable="1">
        <type name="utf8" c:type="gchar*"/>
      </field>
      <field name="override_redirect" writable="1">
        <type name="gboolean" c:type="gboolean"/>
      </field>
      <field name="type_hint" writable="1">
        <type name="WindowTypeHint" c:type="GdkWindowTypeHint"/>
      </field>
    </record>
    <bitfield name="WindowAttributesType"
              glib:type-name="GdkWindowAttributesType"
              glib:get-type="gdk_window_attributes_type_get_type"
              c:type="GdkWindowAttributesType">
      <member name="title"
              value="2"
              c:identifier="GDK_WA_TITLE"
              glib:nick="title">
      </member>
      <member name="x" value="4" c:identifier="GDK_WA_X" glib:nick="x">
      </member>
      <member name="y" value="8" c:identifier="GDK_WA_Y" glib:nick="y">
      </member>
      <member name="cursor"
              value="16"
              c:identifier="GDK_WA_CURSOR"
              glib:nick="cursor">
      </member>
      <member name="colormap"
              value="32"
              c:identifier="GDK_WA_COLORMAP"
              glib:nick="colormap">
      </member>
      <member name="visual"
              value="64"
              c:identifier="GDK_WA_VISUAL"
              glib:nick="visual">
      </member>
      <member name="wmclass"
              value="128"
              c:identifier="GDK_WA_WMCLASS"
              glib:nick="wmclass">
      </member>
      <member name="noredir"
              value="256"
              c:identifier="GDK_WA_NOREDIR"
              glib:nick="noredir">
      </member>
      <member name="type_hint"
              value="512"
              c:identifier="GDK_WA_TYPE_HINT"
              glib:nick="type-hint">
      </member>
    </bitfield>
    <enumeration name="WindowClass"
                 glib:type-name="GdkWindowClass"
                 glib:get-type="gdk_window_class_get_type"
                 c:type="GdkWindowClass">
      <member name="output"
              value="0"
              c:identifier="GDK_INPUT_OUTPUT"
              glib:nick="output">
      </member>
      <member name="only"
              value="1"
              c:identifier="GDK_INPUT_ONLY"
              glib:nick="only">
      </member>
    </enumeration>
    <enumeration name="WindowEdge"
                 glib:type-name="GdkWindowEdge"
                 glib:get-type="gdk_window_edge_get_type"
                 c:type="GdkWindowEdge">
      <member name="north_west"
              value="0"
              c:identifier="GDK_WINDOW_EDGE_NORTH_WEST"
              glib:nick="north-west">
      </member>
      <member name="north"
              value="1"
              c:identifier="GDK_WINDOW_EDGE_NORTH"
              glib:nick="north">
      </member>
      <member name="north_east"
              value="2"
              c:identifier="GDK_WINDOW_EDGE_NORTH_EAST"
              glib:nick="north-east">
      </member>
      <member name="west"
              value="3"
              c:identifier="GDK_WINDOW_EDGE_WEST"
              glib:nick="west">
      </member>
      <member name="east"
              value="4"
              c:identifier="GDK_WINDOW_EDGE_EAST"
              glib:nick="east">
      </member>
      <member name="south_west"
              value="5"
              c:identifier="GDK_WINDOW_EDGE_SOUTH_WEST"
              glib:nick="south-west">
      </member>
      <member name="south"
              value="6"
              c:identifier="GDK_WINDOW_EDGE_SOUTH"
              glib:nick="south">
      </member>
      <member name="south_east"
              value="7"
              c:identifier="GDK_WINDOW_EDGE_SOUTH_EAST"
              glib:nick="south-east">
      </member>
    </enumeration>
    <bitfield name="WindowHints"
              glib:type-name="GdkWindowHints"
              glib:get-type="gdk_window_hints_get_type"
              c:type="GdkWindowHints">
      <member name="pos" value="1" c:identifier="GDK_HINT_POS" glib:nick="pos">
      </member>
      <member name="min_size"
              value="2"
              c:identifier="GDK_HINT_MIN_SIZE"
              glib:nick="min-size">
      </member>
      <member name="max_size"
              value="4"
              c:identifier="GDK_HINT_MAX_SIZE"
              glib:nick="max-size">
      </member>
      <member name="base_size"
              value="8"
              c:identifier="GDK_HINT_BASE_SIZE"
              glib:nick="base-size">
      </member>
      <member name="aspect"
              value="16"
              c:identifier="GDK_HINT_ASPECT"
              glib:nick="aspect">
      </member>
      <member name="resize_inc"
              value="32"
              c:identifier="GDK_HINT_RESIZE_INC"
              glib:nick="resize-inc">
      </member>
      <member name="win_gravity"
              value="64"
              c:identifier="GDK_HINT_WIN_GRAVITY"
              glib:nick="win-gravity">
      </member>
      <member name="user_pos"
              value="128"
              c:identifier="GDK_HINT_USER_POS"
              glib:nick="user-pos">
      </member>
      <member name="user_size"
              value="256"
              c:identifier="GDK_HINT_USER_SIZE"
              glib:nick="user-size">
      </member>
    </bitfield>
    <record name="WindowObject" c:type="GdkWindowObject" disguised="1">
    </record>
    <record name="WindowObjectClass" c:type="GdkWindowObjectClass">
      <field name="parent_class" writable="1">
        <type name="DrawableClass" c:type="GdkDrawableClass"/>
      </field>
    </record>
    <record name="WindowRedirect" c:type="GdkWindowRedirect" disguised="1">
    </record>
    <bitfield name="WindowState"
              glib:type-name="GdkWindowState"
              glib:get-type="gdk_window_state_get_type"
              c:type="GdkWindowState">
      <member name="withdrawn"
              value="1"
              c:identifier="GDK_WINDOW_STATE_WITHDRAWN"
              glib:nick="withdrawn">
      </member>
      <member name="iconified"
              value="2"
              c:identifier="GDK_WINDOW_STATE_ICONIFIED"
              glib:nick="iconified">
      </member>
      <member name="maximized"
              value="4"
              c:identifier="GDK_WINDOW_STATE_MAXIMIZED"
              glib:nick="maximized">
      </member>
      <member name="sticky"
              value="8"
              c:identifier="GDK_WINDOW_STATE_STICKY"
              glib:nick="sticky">
      </member>
      <member name="fullscreen"
              value="16"
              c:identifier="GDK_WINDOW_STATE_FULLSCREEN"
              glib:nick="fullscreen">
      </member>
      <member name="above"
              value="32"
              c:identifier="GDK_WINDOW_STATE_ABOVE"
              glib:nick="above">
      </member>
      <member name="below"
              value="64"
              c:identifier="GDK_WINDOW_STATE_BELOW"
              glib:nick="below">
      </member>
    </bitfield>
    <enumeration name="WindowType"
                 glib:type-name="GdkWindowType"
                 glib:get-type="gdk_window_type_get_type"
                 c:type="GdkWindowType">
      <member name="root"
              value="0"
              c:identifier="GDK_WINDOW_ROOT"
              glib:nick="root">
      </member>
      <member name="toplevel"
              value="1"
              c:identifier="GDK_WINDOW_TOPLEVEL"
              glib:nick="toplevel">
      </member>
      <member name="child"
              value="2"
              c:identifier="GDK_WINDOW_CHILD"
              glib:nick="child">
      </member>
      <member name="dialog"
              value="3"
              c:identifier="GDK_WINDOW_DIALOG"
              glib:nick="dialog">
      </member>
      <member name="temp"
              value="4"
              c:identifier="GDK_WINDOW_TEMP"
              glib:nick="temp">
      </member>
      <member name="foreign"
              value="5"
              c:identifier="GDK_WINDOW_FOREIGN"
              glib:nick="foreign">
      </member>
      <member name="offscreen"
              value="6"
              c:identifier="GDK_WINDOW_OFFSCREEN"
              glib:nick="offscreen">
      </member>
    </enumeration>
    <enumeration name="WindowTypeHint"
                 glib:type-name="GdkWindowTypeHint"
                 glib:get-type="gdk_window_type_hint_get_type"
                 c:type="GdkWindowTypeHint">
      <member name="normal"
              value="0"
              c:identifier="GDK_WINDOW_TYPE_HINT_NORMAL"
              glib:nick="normal">
      </member>
      <member name="dialog"
              value="1"
              c:identifier="GDK_WINDOW_TYPE_HINT_DIALOG"
              glib:nick="dialog">
      </member>
      <member name="menu"
              value="2"
              c:identifier="GDK_WINDOW_TYPE_HINT_MENU"
              glib:nick="menu">
      </member>
      <member name="toolbar"
              value="3"
              c:identifier="GDK_WINDOW_TYPE_HINT_TOOLBAR"
              glib:nick="toolbar">
      </member>
      <member name="splashscreen"
              value="4"
              c:identifier="GDK_WINDOW_TYPE_HINT_SPLASHSCREEN"
              glib:nick="splashscreen">
      </member>
      <member name="utility"
              value="5"
              c:identifier="GDK_WINDOW_TYPE_HINT_UTILITY"
              glib:nick="utility">
      </member>
      <member name="dock"
              value="6"
              c:identifier="GDK_WINDOW_TYPE_HINT_DOCK"
              glib:nick="dock">
      </member>
      <member name="desktop"
              value="7"
              c:identifier="GDK_WINDOW_TYPE_HINT_DESKTOP"
              glib:nick="desktop">
      </member>
      <member name="dropdown_menu"
              value="8"
              c:identifier="GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU"
              glib:nick="dropdown-menu">
      </member>
      <member name="popup_menu"
              value="9"
              c:identifier="GDK_WINDOW_TYPE_HINT_POPUP_MENU"
              glib:nick="popup-menu">
      </member>
      <member name="tooltip"
              value="10"
              c:identifier="GDK_WINDOW_TYPE_HINT_TOOLTIP"
              glib:nick="tooltip">
      </member>
      <member name="notification"
              value="11"
              c:identifier="GDK_WINDOW_TYPE_HINT_NOTIFICATION"
              glib:nick="notification">
      </member>
      <member name="combo"
              value="12"
              c:identifier="GDK_WINDOW_TYPE_HINT_COMBO"
              glib:nick="combo">
      </member>
      <member name="dnd"
              value="13"
              c:identifier="GDK_WINDOW_TYPE_HINT_DND"
              glib:nick="dnd">
      </member>
    </enumeration>
    <function name="add_client_message_filter"
              c:identifier="gdk_add_client_message_filter"
              introspectable="0">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="message_type" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="func" transfer-ownership="none" closure="2">
          <type name="FilterFunc" c:type="GdkFilterFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="add_option_entries_libgtk_only"
              c:identifier="gdk_add_option_entries_libgtk_only">
      <doc xml:space="preserve">Appends gdk option entries to the passed in option group. This is
not public API and must not be used by applications.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="group" transfer-ownership="none">
          <doc xml:space="preserve">An option group.</doc>
          <type name="GLib.OptionGroup" c:type="GOptionGroup*"/>
        </parameter>
      </parameters>
    </function>
    <function name="beep" c:identifier="gdk_beep">
      <doc xml:space="preserve">Emits a short beep on the default display.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="cairo_create"
              c:identifier="gdk_cairo_create"
              version="2.8">
      <doc xml:space="preserve">Creates a Cairo context for drawing to @drawable.

&lt;note&gt;&lt;para&gt;
Note that due to double-buffering, Cairo contexts created
in a GTK+ expose event handler cannot be cached and reused
between different expose events.
&lt;/para&gt;&lt;/note&gt;</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">A newly created Cairo context. Free with
 cairo_destroy() when you are done drawing.</doc>
        <type name="cairo.Context" c:type="cairo_t*"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="cairo_rectangle"
              c:identifier="gdk_cairo_rectangle"
              version="2.8">
      <doc xml:space="preserve">Adds the given rectangle to the current path of @cr.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cr" transfer-ownership="none">
          <doc xml:space="preserve">a #cairo_t</doc>
          <type name="cairo.Context" c:type="cairo_t*"/>
        </parameter>
        <parameter name="rectangle" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkRectangle</doc>
          <type name="Rectangle" c:type="const GdkRectangle*"/>
        </parameter>
      </parameters>
    </function>
    <function name="cairo_region"
              c:identifier="gdk_cairo_region"
              version="2.8">
      <doc xml:space="preserve">Adds the given region to the current path of @cr.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cr" transfer-ownership="none">
          <doc xml:space="preserve">a #cairo_t</doc>
          <type name="cairo.Context" c:type="cairo_t*"/>
        </parameter>
        <parameter name="region" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkRegion</doc>
          <type name="Region" c:type="const GdkRegion*"/>
        </parameter>
      </parameters>
    </function>
    <function name="cairo_reset_clip"
              c:identifier="gdk_cairo_reset_clip"
              version="2.18">
      <doc xml:space="preserve">Resets the clip region for a Cairo context created by gdk_cairo_create().

This resets the clip region to the "empty" state for the given drawable.
This is required for non-native windows since a direct call to
cairo_reset_clip() would unset the clip region inherited from the
drawable (i.e. the window clip region), and thus let you e.g.
draw outside your window.

This is rarely needed though, since most code just create a new cairo_t
using gdk_cairo_create() each time they want to draw something.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cr" transfer-ownership="none">
          <doc xml:space="preserve">a #cairo_t</doc>
          <type name="cairo.Context" c:type="cairo_t*"/>
        </parameter>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
      </parameters>
    </function>
    <function name="cairo_set_source_color"
              c:identifier="gdk_cairo_set_source_color"
              version="2.8">
      <doc xml:space="preserve">Sets the specified #GdkColor as the source color of @cr.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cr" transfer-ownership="none">
          <doc xml:space="preserve">a #cairo_t</doc>
          <type name="cairo.Context" c:type="cairo_t*"/>
        </parameter>
        <parameter name="color" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColor</doc>
          <type name="Color" c:type="const GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="cairo_set_source_pixbuf"
              c:identifier="gdk_cairo_set_source_pixbuf"
              version="2.8">
      <doc xml:space="preserve">Sets the given pixbuf as the source pattern for the Cairo context.
The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
so that the origin of @pixbuf is @pixbuf_x, @pixbuf_y</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cr" transfer-ownership="none">
          <doc xml:space="preserve">a #Cairo context</doc>
          <type name="cairo.Context" c:type="cairo_t*"/>
        </parameter>
        <parameter name="pixbuf" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkPixbuf</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
        </parameter>
        <parameter name="pixbuf_x" transfer-ownership="none">
          <doc xml:space="preserve">X coordinate of location to place upper left corner of @pixbuf</doc>
          <type name="gdouble" c:type="double"/>
        </parameter>
        <parameter name="pixbuf_y" transfer-ownership="none">
          <doc xml:space="preserve">Y coordinate of location to place upper left corner of @pixbuf</doc>
          <type name="gdouble" c:type="double"/>
        </parameter>
      </parameters>
    </function>
    <function name="cairo_set_source_pixmap"
              c:identifier="gdk_cairo_set_source_pixmap"
              version="2.10"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Sets the given pixmap as the source pattern for the Cairo context.
The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
so that the origin of @pixmap is @pixmap_x, @pixmap_y</doc>
      <doc-deprecated xml:space="preserve">This function is being removed in GTK+ 3 (together
    with #GdkPixmap). Instead, use gdk_cairo_set_source_window() where
    appropriate.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cr" transfer-ownership="none">
          <doc xml:space="preserve">a #Cairo context</doc>
          <type name="cairo.Context" c:type="cairo_t*"/>
        </parameter>
        <parameter name="pixmap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkPixmap</doc>
          <type name="Pixmap" c:type="GdkPixmap*"/>
        </parameter>
        <parameter name="pixmap_x" transfer-ownership="none">
          <doc xml:space="preserve">X coordinate of location to place upper left corner of @pixmap</doc>
          <type name="gdouble" c:type="double"/>
        </parameter>
        <parameter name="pixmap_y" transfer-ownership="none">
          <doc xml:space="preserve">Y coordinate of location to place upper left corner of @pixmap</doc>
          <type name="gdouble" c:type="double"/>
        </parameter>
      </parameters>
    </function>
    <function name="cairo_set_source_window"
              c:identifier="gdk_cairo_set_source_window"
              version="2.24">
      <doc xml:space="preserve">Sets the given window as the source pattern for the Cairo context.
The pattern has an extend mode of %CAIRO_EXTEND_NONE and is aligned
so that the origin of @window is @x, @y. The window contains all its
subwindows when rendering.

Note that the contents of @window are undefined outside of the
visible part of @window, so use this function with care.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="cr" transfer-ownership="none">
          <doc xml:space="preserve">a #Cairo context</doc>
          <type name="cairo.Context" c:type="cairo_t*"/>
        </parameter>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">X coordinate of location to place upper left corner of @window</doc>
          <type name="gdouble" c:type="double"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">Y coordinate of location to place upper left corner of @window</doc>
          <type name="gdouble" c:type="double"/>
        </parameter>
      </parameters>
    </function>
    <function name="char_height"
              c:identifier="gdk_char_height"
              deprecated="1"
              deprecated-version="2.2">
      <doc xml:space="preserve">Determines the total height of a given character.
This value is not generally useful, because you cannot
determine how this total height will be drawn in
relation to the baseline. See gdk_text_extents().</doc>
      <doc-deprecated xml:space="preserve">Use gdk_text_extents() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the height of the character in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="character" transfer-ownership="none">
          <doc xml:space="preserve">the character to measure.</doc>
          <type name="gchar" c:type="gchar"/>
        </parameter>
      </parameters>
    </function>
    <function name="char_measure" c:identifier="gdk_char_measure">
      <doc xml:space="preserve">Determines the distance from the origin to the rightmost
portion of a character when drawn. This is not the
correct value for determining the origin of the next
portion when drawing text in multiple pieces.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the right bearing of the character in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="character" transfer-ownership="none">
          <doc xml:space="preserve">the character to measure.</doc>
          <type name="gchar" c:type="gchar"/>
        </parameter>
      </parameters>
    </function>
    <function name="char_width"
              c:identifier="gdk_char_width"
              deprecated="1"
              deprecated-version="2.2">
      <doc xml:space="preserve">Determines the width of a given character.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_text_extents() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the width of the character in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="character" transfer-ownership="none">
          <doc xml:space="preserve">the character to measure.</doc>
          <type name="gchar" c:type="gchar"/>
        </parameter>
      </parameters>
    </function>
    <function name="char_width_wc" c:identifier="gdk_char_width_wc">
      <doc xml:space="preserve">Determines the width of a given wide character. (Encoded
in the wide-character encoding of the current locale).</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the width of the character in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="character" transfer-ownership="none">
          <doc xml:space="preserve">the character to measure.</doc>
          <type name="WChar" c:type="GdkWChar"/>
        </parameter>
      </parameters>
    </function>
    <function name="color_alloc"
              c:identifier="gdk_color_alloc"
              moved-to="Color.alloc"
              deprecated="1"
              deprecated-version="2.2">
      <doc xml:space="preserve">Allocates a single color from a colormap.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_colormap_alloc_color() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the allocation succeeded.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="color" transfer-ownership="none">
          <doc xml:space="preserve">The color to allocate. On return, the
   &lt;structfield&gt;pixel&lt;/structfield&gt; field will be filled in.</doc>
          <type name="Color" c:type="GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="color_black"
              c:identifier="gdk_color_black"
              moved-to="Color.black">
      <doc xml:space="preserve">Returns the black color for a given colormap. The resulting
value has already been allocated.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the allocation succeeded.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="color" transfer-ownership="none">
          <doc xml:space="preserve">the location to store the color.</doc>
          <type name="Color" c:type="GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="color_change"
              c:identifier="gdk_color_change"
              moved-to="Color.change">
      <doc xml:space="preserve">Changes the value of a color that has already
been allocated. If @colormap is not a private
colormap, then the color must have been allocated
using gdk_colormap_alloc_colors() with the
@writeable set to %TRUE.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the color was successfully changed.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="color" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColor, with the color to change
in the &lt;structfield&gt;pixel&lt;/structfield&gt; field,
and the new value in the remaining fields.</doc>
          <type name="Color" c:type="GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="color_parse"
              c:identifier="gdk_color_parse"
              moved-to="Color.parse">
      <doc xml:space="preserve">Parses a textual specification of a color and fill in the
&lt;structfield&gt;red&lt;/structfield&gt;, &lt;structfield&gt;green&lt;/structfield&gt;,
and &lt;structfield&gt;blue&lt;/structfield&gt; fields of a #GdkColor
structure. The color is &lt;emphasis&gt;not&lt;/emphasis&gt; allocated, you
must call gdk_colormap_alloc_color() yourself. The string can
either one of a large set of standard names. (Taken from the X11
&lt;filename&gt;rgb.txt&lt;/filename&gt; file), or it can be a hex value in the
form '&amp;num;rgb' '&amp;num;rrggbb' '&amp;num;rrrgggbbb' or
'&amp;num;rrrrggggbbbb' where 'r', 'g' and 'b' are hex digits of the
red, green, and blue components of the color, respectively. (White
in the four forms is '&amp;num;fff' '&amp;num;ffffff' '&amp;num;fffffffff' and
'&amp;num;ffffffffffff')</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the parsing succeeded.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="spec" transfer-ownership="none">
          <doc xml:space="preserve">the string specifying the color.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="color"
                   direction="out"
                   caller-allocates="1"
                   transfer-ownership="none">
          <doc xml:space="preserve">the #GdkColor to fill in</doc>
          <type name="Color" c:type="GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="color_white"
              c:identifier="gdk_color_white"
              moved-to="Color.white">
      <doc xml:space="preserve">Returns the white color for a given colormap. The resulting
value has already allocated been allocated.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the allocation succeeded.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="color" transfer-ownership="none">
          <doc xml:space="preserve">the location to store the color.</doc>
          <type name="Color" c:type="GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="colors_alloc" c:identifier="gdk_colors_alloc">
      <doc xml:space="preserve">Allocates colors from a colormap. This function
is obsolete. See gdk_colormap_alloc_colors().
For full documentation of the fields, see
the Xlib documentation for &lt;function&gt;XAllocColorCells()&lt;/function&gt;.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the allocation was successful</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="contiguous" transfer-ownership="none">
          <doc xml:space="preserve">if %TRUE, the colors should be allocated
   in contiguous color cells.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="planes" transfer-ownership="none">
          <doc xml:space="preserve">an array in which to store the plane masks.</doc>
          <type name="gulong" c:type="gulong*"/>
        </parameter>
        <parameter name="nplanes" transfer-ownership="none">
          <doc xml:space="preserve">the number of planes to allocate. (Or zero,
   to indicate that the color allocation should not be planar.)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="pixels" transfer-ownership="none">
          <doc xml:space="preserve">an array into which to store allocated pixel values.</doc>
          <type name="gulong" c:type="gulong*"/>
        </parameter>
        <parameter name="npixels" transfer-ownership="none">
          <doc xml:space="preserve">the number of pixels in each plane to allocate.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="colors_free" c:identifier="gdk_colors_free">
      <doc xml:space="preserve">Frees colors allocated with gdk_colors_alloc(). This
function is obsolete. See gdk_colormap_free_colors().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="pixels" transfer-ownership="none">
          <doc xml:space="preserve">the pixel values of the colors to free.</doc>
          <type name="gulong" c:type="gulong*"/>
        </parameter>
        <parameter name="npixels" transfer-ownership="none">
          <doc xml:space="preserve">the number of values in @pixels.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="planes" transfer-ownership="none">
          <doc xml:space="preserve">the plane masks for all planes to free, OR'd together.</doc>
          <type name="gulong" c:type="gulong"/>
        </parameter>
      </parameters>
    </function>
    <function name="colors_store" c:identifier="gdk_colors_store">
      <doc xml:space="preserve">Changes the value of the first @ncolors colors in
a private colormap. This function is obsolete and
should not be used. See gdk_color_change().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="colors" transfer-ownership="none">
          <doc xml:space="preserve">the new color values.</doc>
          <type name="Color" c:type="GdkColor*"/>
        </parameter>
        <parameter name="ncolors" transfer-ownership="none">
          <doc xml:space="preserve">the number of colors to change.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="devices_list" c:identifier="gdk_devices_list">
      <doc xml:space="preserve">Returns the list of available input devices for the default display.
The list is statically allocated and should not be freed.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a list of #GdkDevice</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Device"/>
        </type>
      </return-value>
    </function>
    <function name="drag_abort" c:identifier="gdk_drag_abort">
      <doc xml:space="preserve">Aborts a drag without dropping.

This function is called by the drag source.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">the timestamp for this operation.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_begin"
              c:identifier="gdk_drag_begin"
              introspectable="0">
      <doc xml:space="preserve">Starts a drag and creates a new drag context for it.

This function is called by the drag source.</doc>
      <return-value>
        <doc xml:space="preserve">a newly created #GdkDragContext.</doc>
        <type name="DragContext" c:type="GdkDragContext*"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">the source window for this drag.</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="targets" transfer-ownership="none">
          <doc xml:space="preserve">the offered targets,
    as list of #GdkAtom&lt;!-- --&gt;s</doc>
          <type name="GLib.List" c:type="GList*">
            <type name="Atom"/>
          </type>
        </parameter>
      </parameters>
    </function>
    <function name="drag_drop" c:identifier="gdk_drag_drop">
      <doc xml:space="preserve">Drops on the current destination.

This function is called by the drag source.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">the timestamp for this operation.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_drop_succeeded"
              c:identifier="gdk_drag_drop_succeeded"
              version="2.6">
      <doc xml:space="preserve">Returns whether the dropped data has been successfully
transferred. This function is intended to be used while
handling a %GDK_DROP_FINISHED event, its return value is
meaningless at other times.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the drop was successful.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_find_window"
              c:identifier="gdk_drag_find_window"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Finds the destination window and DND protocol to use at the
given pointer position.

This function is called by the drag source to obtain the
@dest_window and @protocol parameters for gdk_drag_motion().</doc>
      <doc-deprecated xml:space="preserve">Use gdk_drag_find_window_for_screen() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="drag_window" transfer-ownership="none">
          <doc xml:space="preserve">a window which may be at the pointer position, but
     should be ignored, since it is put up by the drag source as an icon.</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="x_root" transfer-ownership="none">
          <doc xml:space="preserve">the x position of the pointer in root coordinates.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y_root" transfer-ownership="none">
          <doc xml:space="preserve">the y position of the pointer in root coordinates.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dest_window"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">location to store the destination window in.</doc>
          <type name="Window" c:type="GdkWindow**"/>
        </parameter>
        <parameter name="protocol"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">location to store the DND protocol in.</doc>
          <type name="DragProtocol" c:type="GdkDragProtocol*"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_find_window_for_screen"
              c:identifier="gdk_drag_find_window_for_screen"
              version="2.2">
      <doc xml:space="preserve">Finds the destination window and DND protocol to use at the
given pointer position.

This function is called by the drag source to obtain the
@dest_window and @protocol parameters for gdk_drag_motion().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="drag_window" transfer-ownership="none">
          <doc xml:space="preserve">a window which may be at the pointer position, but
should be ignored, since it is put up by the drag source as an icon.</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="screen" transfer-ownership="none">
          <doc xml:space="preserve">the screen where the destination window is sought.</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </parameter>
        <parameter name="x_root" transfer-ownership="none">
          <doc xml:space="preserve">the x position of the pointer in root coordinates.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y_root" transfer-ownership="none">
          <doc xml:space="preserve">the y position of the pointer in root coordinates.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dest_window"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">location to store the destination window in.</doc>
          <type name="Window" c:type="GdkWindow**"/>
        </parameter>
        <parameter name="protocol"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">location to store the DND protocol in.</doc>
          <type name="DragProtocol" c:type="GdkDragProtocol*"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_get_protocol"
              c:identifier="gdk_drag_get_protocol"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Finds out the DND protocol supported by a window.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_drag_get_protocol_for_display() instead</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the windowing system specific id for the window where
   the drop should happen. This may be @xid or the id of a proxy
   window, or zero if @xid doesn't support Drag and Drop.</doc>
        <type name="NativeWindow" c:type="GdkNativeWindow"/>
      </return-value>
      <parameters>
        <parameter name="xid" transfer-ownership="none">
          <doc xml:space="preserve">the windowing system id of the destination window.</doc>
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
        <parameter name="protocol" transfer-ownership="none">
          <doc xml:space="preserve">location where the supported DND protocol is returned.</doc>
          <type name="DragProtocol" c:type="GdkDragProtocol*"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_get_protocol_for_display"
              c:identifier="gdk_drag_get_protocol_for_display"
              version="2.2">
      <doc xml:space="preserve">Finds out the DND protocol supported by a window.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the windowing system id of the window where the drop should happen. This
    may be @xid or the id of a proxy window, or zero if @xid doesn't
    support Drag and Drop.</doc>
        <type name="NativeWindow" c:type="GdkNativeWindow"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay where the destination window resides</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="xid" transfer-ownership="none">
          <doc xml:space="preserve">the windowing system id of the destination window.</doc>
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
        <parameter name="protocol" transfer-ownership="none">
          <doc xml:space="preserve">location where the supported DND protocol is returned.</doc>
          <type name="DragProtocol" c:type="GdkDragProtocol*"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_get_selection"
              c:identifier="gdk_drag_get_selection"
              introspectable="0">
      <doc xml:space="preserve">Returns the selection atom for the current source window.</doc>
      <return-value>
        <doc xml:space="preserve">the selection atom.</doc>
        <type name="Atom" c:type="GdkAtom"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_motion" c:identifier="gdk_drag_motion">
      <doc xml:space="preserve">Updates the drag context when the pointer moves or the
set of actions changes.

This function is called by the drag source.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">FIXME</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="dest_window" transfer-ownership="none">
          <doc xml:space="preserve">the new destination window, obtained by
    gdk_drag_find_window().</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="protocol" transfer-ownership="none">
          <doc xml:space="preserve">the DND protocol in use, obtained by gdk_drag_find_window().</doc>
          <type name="DragProtocol" c:type="GdkDragProtocol"/>
        </parameter>
        <parameter name="x_root" transfer-ownership="none">
          <doc xml:space="preserve">the x position of the pointer in root coordinates.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y_root" transfer-ownership="none">
          <doc xml:space="preserve">the y position of the pointer in root coordinates.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="suggested_action" transfer-ownership="none">
          <doc xml:space="preserve">the suggested action.</doc>
          <type name="DragAction" c:type="GdkDragAction"/>
        </parameter>
        <parameter name="possible_actions" transfer-ownership="none">
          <doc xml:space="preserve">the possible actions.</doc>
          <type name="DragAction" c:type="GdkDragAction"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">the timestamp for this operation.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="drag_status" c:identifier="gdk_drag_status">
      <doc xml:space="preserve">Selects one of the actions offered by the drag source.

This function is called by the drag destination in response to
gdk_drag_motion() called by the drag source.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="action" transfer-ownership="none">
          <doc xml:space="preserve">the selected action which will be taken when a drop happens,
   or 0 to indicate that a drop will not be accepted.</doc>
          <type name="DragAction" c:type="GdkDragAction"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">the timestamp for this operation.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_arc"
              c:identifier="gdk_draw_arc"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws an arc or a filled 'pie slice'. The arc is defined by the bounding
rectangle of the entire ellipse, and the start and end angles of the part
of the ellipse to be drawn.</doc>
      <doc-deprecated xml:space="preserve">Use cairo_arc() and cairo_fill() or cairo_stroke()
instead. Note that arcs just like any drawing operation in Cairo are
antialiased unless you call cairo_set_antialias().</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="filled" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the arc should be filled, producing a 'pie slice'.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the left edge of the bounding rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the top edge of the bounding rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">the width of the bounding rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">the height of the bounding rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="angle1" transfer-ownership="none">
          <doc xml:space="preserve">the start angle of the arc, relative to the 3 o'clock position,
    counter-clockwise, in 1/64ths of a degree.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="angle2" transfer-ownership="none">
          <doc xml:space="preserve">the end angle of the arc, relative to @angle1, in 1/64ths
    of a degree.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_drawable"
              c:identifier="gdk_draw_drawable"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Copies the @width x @height region of @src at coordinates (@xsrc,
@ysrc) to coordinates (@xdest, @ydest) in @drawable.
@width and/or @height may be given as -1, in which case the entire
@src drawable will be copied.

Most fields in @gc are not used for this operation, but notably the
clip mask or clip region will be honored.

The source and destination drawables must have the same visual and
colormap, or errors will result. (On X11, failure to match
visual/colormap results in a BadMatch error from the X server.)
A common cause of this problem is an attempt to draw a bitmap to
a color drawable. The way to draw a bitmap is to set the bitmap as
the stipple on the #GdkGC, set the fill mode to %GDK_STIPPLED, and
then draw the rectangle.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_cairo_set_source_pixmap(), cairo_rectangle()
and cairo_fill() to draw pixmap on top of other drawables. Also keep
in mind that the limitations on allowed sources do not apply to Cairo.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC sharing the drawable's visual and colormap</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">the source #GdkDrawable, which may be the same as @drawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="xsrc" transfer-ownership="none">
          <doc xml:space="preserve">X position in @src of rectangle to draw</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="ysrc" transfer-ownership="none">
          <doc xml:space="preserve">Y position in @src of rectangle to draw</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="xdest" transfer-ownership="none">
          <doc xml:space="preserve">X position in @drawable where the rectangle should be drawn</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="ydest" transfer-ownership="none">
          <doc xml:space="preserve">Y position in @drawable where the rectangle should be drawn</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">width of rectangle to draw, or -1 for entire @src width</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">height of rectangle to draw, or -1 for entire @src height</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_glyphs"
              c:identifier="gdk_draw_glyphs"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">This is a low-level function; 99% of text rendering should be done
using gdk_draw_layout() instead.

A glyph is a single image in a font. This function draws a sequence of
glyphs.  To obtain a sequence of glyphs you have to understand a
lot about internationalized text handling, which you don't want to
understand; thus, use gdk_draw_layout() instead of this function,
gdk_draw_layout() handles the details.</doc>
      <doc-deprecated xml:space="preserve">Use pango_cairo_show_glyphs() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">font to be used</doc>
          <type name="Pango.Font" c:type="PangoFont*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">X coordinate of baseline origin</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">Y coordinate of baseline origin</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="glyphs" transfer-ownership="none">
          <doc xml:space="preserve">the glyph string to draw</doc>
          <type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_glyphs_transformed"
              c:identifier="gdk_draw_glyphs_transformed"
              version="2.6"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Renders a #PangoGlyphString onto a drawable, possibly
transforming the layed-out coordinates through a transformation
matrix. Note that the transformation matrix for @font is not
changed, so to produce correct rendering results, the @font
must have been loaded using a #PangoContext with an identical
transformation matrix to that passed in to this function.

See also gdk_draw_glyphs(), gdk_draw_layout().</doc>
      <doc-deprecated xml:space="preserve">Use pango_cairo_show_glyphs() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="matrix"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">a #PangoMatrix, or %NULL to use an identity transformation</doc>
          <type name="Pango.Matrix" c:type="const PangoMatrix*"/>
        </parameter>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">the font in which to draw the string</doc>
          <type name="Pango.Font" c:type="PangoFont*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x position of the start of the string (in Pango
          units in user space coordinates)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y position of the baseline (in Pango units
          in user space coordinates)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="glyphs" transfer-ownership="none">
          <doc xml:space="preserve">the glyph string to draw</doc>
          <type name="Pango.GlyphString" c:type="PangoGlyphString*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_gray_image" c:identifier="gdk_draw_gray_image">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dith" transfer-ownership="none">
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="buf" transfer-ownership="none">
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="rowstride" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_image"
              c:identifier="gdk_draw_image"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a #GdkImage onto a drawable.
The depth of the #GdkImage must match the depth of the #GdkDrawable.</doc>
      <doc-deprecated xml:space="preserve">Do not use #GdkImage anymore, instead use Cairo image
surfaces.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="image" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkImage to draw.</doc>
          <type name="Image" c:type="GdkImage*"/>
        </parameter>
        <parameter name="xsrc" transfer-ownership="none">
          <doc xml:space="preserve">the left edge of the source rectangle within @image.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="ysrc" transfer-ownership="none">
          <doc xml:space="preserve">the top of the source rectangle within @image.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="xdest" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the destination within @drawable.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="ydest" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the destination within @drawable.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">the width of the area to be copied, or -1 to make the area
    extend to the right edge of @image.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">the height of the area to be copied, or -1 to make the area
    extend to the bottom edge of @image.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_indexed_image" c:identifier="gdk_draw_indexed_image">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dith" transfer-ownership="none">
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="buf" transfer-ownership="none">
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="rowstride" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="cmap" transfer-ownership="none">
          <type name="RgbCmap" c:type="GdkRgbCmap*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_layout" c:identifier="gdk_draw_layout">
      <doc xml:space="preserve">Render a #PangoLayout onto a GDK drawable

If the layout's #PangoContext has a transformation matrix set, then
@x and @y specify the position of the top left corner of the
bounding box (in device space) of the transformed layout.

If you're using GTK+, the usual way to obtain a #PangoLayout
is gtk_widget_create_pango_layout().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">the drawable on which to draw string</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">base graphics context to use</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the X position of the left of the layout (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the Y position of the top of the layout (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="layout" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoLayout</doc>
          <type name="Pango.Layout" c:type="PangoLayout*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_layout_line" c:identifier="gdk_draw_layout_line">
      <doc xml:space="preserve">Render a #PangoLayoutLine onto an GDK drawable

If the layout's #PangoContext has a transformation matrix set, then
@x and @y specify the position of the left edge of the baseline
(left is in before-tranform user coordinates) in after-transform
device coordinates.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">the drawable on which to draw the line</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">base graphics to use</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x position of start of string (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y position of baseline (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="line" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoLayoutLine</doc>
          <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_layout_line_with_colors"
              c:identifier="gdk_draw_layout_line_with_colors">
      <doc xml:space="preserve">Render a #PangoLayoutLine onto a #GdkDrawable, overriding the
layout's normal colors with @foreground and/or @background.
@foreground and @background need not be allocated.

If the layout's #PangoContext has a transformation matrix set, then
@x and @y specify the position of the left edge of the baseline
(left is in before-tranform user coordinates) in after-transform
device coordinates.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">the drawable on which to draw the line</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">base graphics to use</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x position of start of string (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y position of baseline (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="line" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoLayoutLine</doc>
          <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
        </parameter>
        <parameter name="foreground"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">foreground override color, or %NULL for none</doc>
          <type name="Color" c:type="const GdkColor*"/>
        </parameter>
        <parameter name="background"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">background override color, or %NULL for none</doc>
          <type name="Color" c:type="const GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_layout_with_colors"
              c:identifier="gdk_draw_layout_with_colors">
      <doc xml:space="preserve">Render a #PangoLayout onto a #GdkDrawable, overriding the
layout's normal colors with @foreground and/or @background.
@foreground and @background need not be allocated.

If the layout's #PangoContext has a transformation matrix set, then
@x and @y specify the position of the top left corner of the
bounding box (in device space) of the transformed layout.

If you're using GTK+, the ususal way to obtain a #PangoLayout
is gtk_widget_create_pango_layout().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">the drawable on which to draw string</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">base graphics context to use</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the X position of the left of the layout (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the Y position of the top of the layout (in pixels)</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="layout" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoLayout</doc>
          <type name="Pango.Layout" c:type="PangoLayout*"/>
        </parameter>
        <parameter name="foreground"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">foreground override color, or %NULL for none</doc>
          <type name="Color" c:type="const GdkColor*"/>
        </parameter>
        <parameter name="background"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">background override color, or %NULL for none</doc>
          <type name="Color" c:type="const GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_line"
              c:identifier="gdk_draw_line"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a line, using the foreground color and other attributes of
the #GdkGC.</doc>
      <doc-deprecated xml:space="preserve">Use cairo_line_to() and cairo_stroke() instead.
Be aware that the default line width in Cairo is 2 pixels and that your
coordinates need to describe the center of the line. To draw a single
pixel wide pixel-aligned line, you would use:
|[cairo_set_line_width (cr, 1.0);
cairo_set_line_cap (cr, CAIRO_LINE_CAP_SQUARE);
cairo_move_to (cr, 0.5, 0.5);
cairo_line_to (cr, 9.5, 0.5);
cairo_stroke (cr);]|
See also &lt;ulink url="http://cairographics.org/FAQ/#sharp_lines"&gt;the Cairo
FAQ&lt;/ulink&gt; on this topic.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x1_" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the start point.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y1_" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the start point.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="x2_" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the end point.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y2_" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the end point.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_lines"
              c:identifier="gdk_draw_lines"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a series of lines connecting the given points.
The way in which joins between lines are draw is determined by the
#GdkCapStyle value in the #GdkGC. This can be set with
gdk_gc_set_line_attributes().</doc>
      <doc-deprecated xml:space="preserve">Use cairo_line_to() and cairo_stroke() instead. See the
documentation of gdk_draw_line() for notes on line drawing with Cairo.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="points" transfer-ownership="none">
          <doc xml:space="preserve">an array of #GdkPoint structures specifying the endpoints of the</doc>
          <type name="Point" c:type="const GdkPoint*"/>
        </parameter>
        <parameter name="n_points" transfer-ownership="none">
          <doc xml:space="preserve">the size of the @points array.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_pixbuf"
              c:identifier="gdk_draw_pixbuf"
              version="2.2"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Renders a rectangular portion of a pixbuf to a drawable.  The destination
drawable must have a colormap. All windows have a colormap, however, pixmaps
only have colormap by default if they were created with a non-%NULL window
argument. Otherwise a colormap must be set on them with
gdk_drawable_set_colormap().

On older X servers, rendering pixbufs with an alpha channel involves round
trips to the X server, and may be somewhat slow.

If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf
function is accelerated using mediaLib, which provides hardware
acceleration on Intel, AMD, and Sparc chipsets.  If desired, mediaLib
support can be turned off by setting the GDK_DISABLE_MEDIALIB environment
variable.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_cairo_set_source_pixbuf() and cairo_paint() or
cairo_rectangle() and cairo_fill() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">Destination drawable.</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">a #GdkGC, used for clipping, or %NULL</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="pixbuf" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkPixbuf</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="const GdkPixbuf*"/>
        </parameter>
        <parameter name="src_x" transfer-ownership="none">
          <doc xml:space="preserve">Source X coordinate within pixbuf.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="src_y" transfer-ownership="none">
          <doc xml:space="preserve">Source Y coordinates within pixbuf.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dest_x" transfer-ownership="none">
          <doc xml:space="preserve">Destination X coordinate within drawable.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dest_y" transfer-ownership="none">
          <doc xml:space="preserve">Destination Y coordinate within drawable.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">Width of region to render, in pixels, or -1 to use pixbuf width.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">Height of region to render, in pixels, or -1 to use pixbuf height.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dither" transfer-ownership="none">
          <doc xml:space="preserve">Dithering mode for #GdkRGB.</doc>
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="x_dither" transfer-ownership="none">
          <doc xml:space="preserve">X offset for dither.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y_dither" transfer-ownership="none">
          <doc xml:space="preserve">Y offset for dither.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_point"
              c:identifier="gdk_draw_point"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a point, using the foreground color and other attributes of
the #GdkGC.</doc>
      <doc-deprecated xml:space="preserve">Use cairo_rectangle() and cairo_fill() or
cairo_move_to() and cairo_stroke() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the point.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the point.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_points"
              c:identifier="gdk_draw_points"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a number of points, using the foreground color and other
attributes of the #GdkGC.</doc>
      <doc-deprecated xml:space="preserve">Use @n_points calls to cairo_rectangle() and
cairo_fill() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="points" transfer-ownership="none">
          <doc xml:space="preserve">an array of #GdkPoint structures.</doc>
          <type name="Point" c:type="const GdkPoint*"/>
        </parameter>
        <parameter name="n_points" transfer-ownership="none">
          <doc xml:space="preserve">the number of points to be drawn.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_polygon"
              c:identifier="gdk_draw_polygon"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws an outlined or filled polygon.</doc>
      <doc-deprecated xml:space="preserve">Use cairo_line_to() or cairo_append_path() and
cairo_fill() or cairo_stroke() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="filled" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the polygon should be filled. The polygon is closed
    automatically, connecting the last point to the first point if
    necessary.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="points" transfer-ownership="none">
          <doc xml:space="preserve">an array of #GdkPoint structures specifying the points making
    up the polygon.</doc>
          <type name="Point" c:type="const GdkPoint*"/>
        </parameter>
        <parameter name="n_points" transfer-ownership="none">
          <doc xml:space="preserve">the number of points.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_rectangle"
              c:identifier="gdk_draw_rectangle"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a rectangular outline or filled rectangle, using the foreground color
and other attributes of the #GdkGC.

A rectangle drawn filled is 1 pixel smaller in both dimensions than a
rectangle outlined. Calling
&lt;literal&gt;gdk_draw_rectangle (window, gc, TRUE, 0, 0, 20, 20)&lt;/literal&gt;
results in a filled rectangle 20 pixels wide and 20 pixels high. Calling
&lt;literal&gt;gdk_draw_rectangle (window, gc, FALSE, 0, 0, 20, 20)&lt;/literal&gt;
results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20),
and (20, 0), which makes it 21 pixels wide and 21 pixels high.</doc>
      <doc-deprecated xml:space="preserve">Use cairo_rectangle() and cairo_fill() or cairo_stroke()
instead. For stroking, the same caveats for converting code apply as for
gdk_draw_line().</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="filled" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the rectangle should be filled.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the left edge of the rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the top edge of the rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">the width of the rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">the height of the rectangle.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_rgb_32_image" c:identifier="gdk_draw_rgb_32_image">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dith" transfer-ownership="none">
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="buf" transfer-ownership="none">
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="rowstride" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_rgb_32_image_dithalign"
              c:identifier="gdk_draw_rgb_32_image_dithalign"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Like gdk_draw_rgb_32_image(), but allows you to specify the dither
offsets. See gdk_draw_rgb_image_dithalign() for more details.</doc>
      <doc-deprecated xml:space="preserve">Cairo handles colors automatically.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">X coordinate on @drawable where image should go</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">Y coordinate on @drawable where image should go</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">width of area of image to draw</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">height of area of image to draw</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dith" transfer-ownership="none">
          <doc xml:space="preserve">dithering mode</doc>
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="buf" transfer-ownership="none">
          <doc xml:space="preserve">RGB image data</doc>
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="rowstride" transfer-ownership="none">
          <doc xml:space="preserve">rowstride of RGB image data</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="xdith" transfer-ownership="none">
          <doc xml:space="preserve">X dither offset</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="ydith" transfer-ownership="none">
          <doc xml:space="preserve">Y dither offset</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_rgb_image" c:identifier="gdk_draw_rgb_image">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dith" transfer-ownership="none">
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="rgb_buf" transfer-ownership="none">
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="rowstride" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_rgb_image_dithalign"
              c:identifier="gdk_draw_rgb_image_dithalign">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="dith" transfer-ownership="none">
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="rgb_buf" transfer-ownership="none">
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="rowstride" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="xdith" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="ydith" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_segments"
              c:identifier="gdk_draw_segments"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a number of unconnected lines.</doc>
      <doc-deprecated xml:space="preserve">Use cairo_move_to(), cairo_line_to() and cairo_stroke()
instead. See the documentation of gdk_draw_line() for notes on line drawing
with Cairo.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="segs" transfer-ownership="none">
          <doc xml:space="preserve">an array of #GdkSegment structures specifying the start and
  end points of the lines to be drawn.</doc>
          <type name="Segment" c:type="const GdkSegment*"/>
        </parameter>
        <parameter name="n_segs" transfer-ownership="none">
          <doc xml:space="preserve">the number of line segments to draw, i.e. the size of the
  @segs array.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_string"
              c:identifier="gdk_draw_string"
              deprecated="1"
              deprecated-version="2.4">
      <doc xml:space="preserve">Draws a string of characters in the given font or fontset.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_draw_layout() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont.</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the left edge of the text.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the baseline of the text.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="string" transfer-ownership="none">
          <doc xml:space="preserve">the string of characters to draw.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_text"
              c:identifier="gdk_draw_text"
              deprecated="1"
              deprecated-version="2.4">
      <doc xml:space="preserve">Draws a number of characters in the given font or fontset.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_draw_layout() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont.</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the left edge of the text.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the baseline of the text.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve">the characters to draw.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <doc xml:space="preserve">the number of characters of @text to draw.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_text_wc"
              c:identifier="gdk_draw_text_wc"
              deprecated="1"
              deprecated-version="2.4">
      <doc xml:space="preserve">Draws a number of wide characters using the given font of fontset.
If the font is a 1-byte font, the string is converted into 1-byte
characters (discarding the high bytes) before output.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_draw_layout() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable (a #GdkWindow or a #GdkPixmap).</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont.</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">the x coordinate of the left edge of the text.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">the y coordinate of the baseline of the text.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve">the wide characters to draw.</doc>
          <type name="WChar" c:type="const GdkWChar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <doc xml:space="preserve">the number of characters to draw.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="draw_trapezoids"
              c:identifier="gdk_draw_trapezoids"
              version="2.6"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Draws a set of anti-aliased trapezoids. The trapezoids are
combined using saturation addition, then drawn over the background
as a set. This is low level functionality used internally to implement
rotated underlines and backgrouds when rendering a PangoLayout and is
likely not useful for applications.</doc>
      <doc-deprecated xml:space="preserve">Use Cairo path contruction functions and cairo_fill()
instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDrawable</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGC</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="trapezoids" transfer-ownership="none">
          <doc xml:space="preserve">an array of #GdkTrapezoid structures</doc>
          <type name="Trapezoid" c:type="const GdkTrapezoid*"/>
        </parameter>
        <parameter name="n_trapezoids" transfer-ownership="none">
          <doc xml:space="preserve">the number of trapezoids to draw</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="drop_finish" c:identifier="gdk_drop_finish">
      <doc xml:space="preserve">Ends the drag operation after a drop.

This function is called by the drag destination.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GtkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="success" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the data was successfully received.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">the timestamp for this operation.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="drop_reply" c:identifier="gdk_drop_reply">
      <doc xml:space="preserve">Accepts or rejects a drop.

This function is called by the drag destination in response
to a drop initiated by the drag source.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDragContext.</doc>
          <type name="DragContext" c:type="GdkDragContext*"/>
        </parameter>
        <parameter name="ok" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE if the drop is accepted.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">the timestamp for this operation.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="error_trap_pop" c:identifier="gdk_error_trap_pop">
      <return-value transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </return-value>
    </function>
    <function name="error_trap_push" c:identifier="gdk_error_trap_push">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="event_get"
              c:identifier="gdk_event_get"
              moved-to="Event.get">
      <doc xml:space="preserve">Checks all open displays for a #GdkEvent to process,to be processed
on, fetching events from the windowing system if necessary.
See gdk_display_get_event().</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">the next #GdkEvent to be processed, or %NULL if no events
are pending. The returned #GdkEvent should be freed with gdk_event_free().</doc>
        <type name="Event" c:type="GdkEvent*"/>
      </return-value>
    </function>
    <function name="event_get_graphics_expose"
              c:identifier="gdk_event_get_graphics_expose"
              moved-to="Event.get_graphics_expose">
      <return-value transfer-ownership="full">
        <type name="Event" c:type="GdkEvent*"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
      </parameters>
    </function>
    <function name="event_handler_set"
              c:identifier="gdk_event_handler_set"
              moved-to="Event.handler_set">
      <doc xml:space="preserve">Sets the function to call to handle all events from GDK.

Note that GTK+ uses this to install its own event handler, so it is
usually not useful for GTK+ applications. (Although an application
can call this function then call gtk_main_do_event() to pass
events to GTK+.)</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="func"
                   transfer-ownership="none"
                   scope="notified"
                   closure="1"
                   destroy="2">
          <doc xml:space="preserve">the function to call to handle events from GDK.</doc>
          <type name="EventFunc" c:type="GdkEventFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">user data to pass to the function.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="notify" transfer-ownership="none" scope="async">
          <doc xml:space="preserve">the function to call when the handler function is removed, i.e. when
         gdk_event_handler_set() is called with another event handler.</doc>
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
        </parameter>
      </parameters>
    </function>
    <function name="event_peek"
              c:identifier="gdk_event_peek"
              moved-to="Event.peek">
      <doc xml:space="preserve">If there is an event waiting in the event queue of some open
display, returns a copy of it. See gdk_display_peek_event().</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a copy of the first #GdkEvent on some event queue, or %NULL if no
events are in any queues. The returned #GdkEvent should be freed with
gdk_event_free().</doc>
        <type name="Event" c:type="GdkEvent*"/>
      </return-value>
    </function>
    <function name="event_request_motions"
              c:identifier="gdk_event_request_motions"
              moved-to="Event.request_motions"
              version="2.12">
      <doc xml:space="preserve">Request more motion notifies if @event is a motion notify hint event.
This function should be used instead of gdk_window_get_pointer() to
request further motion notifies, because it also works for extension
events where motion notifies are provided for devices other than the
core pointer. Coordinate extraction, processing and requesting more
motion events from a %GDK_MOTION_NOTIFY event usually works like this:

|[
{
  /&amp;ast; motion_event handler &amp;ast;/
  x = motion_event-&gt;x;
  y = motion_event-&gt;y;
  /&amp;ast; handle (x,y) motion &amp;ast;/
  gdk_event_request_motions (motion_event); /&amp;ast; handles is_hint events &amp;ast;/
}
]|</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="event" transfer-ownership="none">
          <doc xml:space="preserve">a valid #GdkEvent</doc>
          <type name="EventMotion" c:type="const GdkEventMotion*"/>
        </parameter>
      </parameters>
    </function>
    <function name="event_send_client_message_for_display"
              c:identifier="gdk_event_send_client_message_for_display"
              moved-to="Event.send_client_message_for_display">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="event" transfer-ownership="none">
          <type name="Event" c:type="GdkEvent*"/>
        </parameter>
        <parameter name="winid" transfer-ownership="none">
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
      </parameters>
    </function>
    <function name="events_pending" c:identifier="gdk_events_pending">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="exit" c:identifier="gdk_exit">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="error_code" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="flush" c:identifier="gdk_flush">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="font_from_description"
              c:identifier="gdk_font_from_description"
              moved-to="Font.from_description">
      <doc xml:space="preserve">Load a #GdkFont based on a Pango font description. This font will
only be an approximation of the Pango font, and
internationalization will not be handled correctly. This function
should only be used for legacy code that cannot be easily converted
to use Pango. Using Pango directly will produce better results.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">the newly loaded font, or %NULL if the font
cannot be loaded.</doc>
        <type name="Font" c:type="GdkFont*"/>
      </return-value>
      <parameters>
        <parameter name="font_desc" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoFontDescription.</doc>
          <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
        </parameter>
      </parameters>
    </function>
    <function name="font_from_description_for_display"
              c:identifier="gdk_font_from_description_for_display"
              moved-to="Font.from_description_for_display">
      <return-value transfer-ownership="full">
        <type name="Font" c:type="GdkFont*"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="font_desc" transfer-ownership="none">
          <type name="Pango.FontDescription" c:type="PangoFontDescription*"/>
        </parameter>
      </parameters>
    </function>
    <function name="font_load"
              c:identifier="gdk_font_load"
              moved-to="Font.load">
      <doc xml:space="preserve">Loads a font.

The font may be newly loaded or looked up the font in a cache.
You should make no assumptions about the initial reference count.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">a #GdkFont, or %NULL if the font could not be loaded.</doc>
        <type name="Font" c:type="GdkFont*"/>
      </return-value>
      <parameters>
        <parameter name="font_name" transfer-ownership="none">
          <doc xml:space="preserve">a XLFD describing the font to load.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="font_load_for_display"
              c:identifier="gdk_font_load_for_display"
              moved-to="Font.load_for_display">
      <return-value transfer-ownership="full">
        <type name="Font" c:type="GdkFont*"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="font_name" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="fontset_load" c:identifier="gdk_fontset_load">
      <return-value transfer-ownership="full">
        <type name="Font" c:type="GdkFont*"/>
      </return-value>
      <parameters>
        <parameter name="fontset_name" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="fontset_load_for_display"
              c:identifier="gdk_fontset_load_for_display">
      <return-value transfer-ownership="full">
        <type name="Font" c:type="GdkFont*"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="fontset_name" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="free_compound_text" c:identifier="gdk_free_compound_text">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="ctext" transfer-ownership="none">
          <type name="guint8" c:type="guchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="free_text_list" c:identifier="gdk_free_text_list">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="list" transfer-ownership="none">
          <type name="utf8" c:type="gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="get_default_root_window"
              c:identifier="gdk_get_default_root_window"
              introspectable="0">
      <doc xml:space="preserve">Obtains the root window (parent all other windows are inside)
for the default display and screen.</doc>
      <return-value>
        <doc xml:space="preserve">the default root window</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
    </function>
    <function name="get_display" c:identifier="gdk_get_display">
      <return-value transfer-ownership="full">
        <type name="utf8" c:type="gchar*"/>
      </return-value>
    </function>
    <function name="get_display_arg_name"
              c:identifier="gdk_get_display_arg_name"
              version="2.2">
      <doc xml:space="preserve">Gets the display name specified in the command line arguments passed
to gdk_init() or gdk_parse_args(), if any.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the display name, if specified explicitely, otherwise %NULL
  this string is owned by GTK+ and must not be modified or freed.</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
    </function>
    <function name="get_program_class" c:identifier="gdk_get_program_class">
      <return-value transfer-ownership="none">
        <type name="utf8" c:type="const char*"/>
      </return-value>
    </function>
    <function name="get_show_events" c:identifier="gdk_get_show_events">
      <doc xml:space="preserve">Gets whether event debugging output is enabled.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if event debugging output is enabled.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="get_use_xshm" c:identifier="gdk_get_use_xshm">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="init" c:identifier="gdk_init">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <array length="0" zero-terminated="0" c:type="gchar***">
            <type name="utf8" c:type="gchar**"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="init_check" c:identifier="gdk_init_check">
      <doc xml:space="preserve">Initialize the library for use.

Arguments:
  "argc" is the number of arguments.
  "argv" is an array of strings.

Results:
  "argc" and "argv" are modified to reflect any arguments
  which were not handled. (Such arguments should either
  be handled by the application or dismissed). If initialization
  fails, returns FALSE, otherwise TRUE.

Side effects:
  The library is initialized.

--------------------------------------------------------------</doc>
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <array length="0" zero-terminated="0" c:type="gchar***">
            <type name="utf8" c:type="gchar**"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="input_add"
              c:identifier="gdk_input_add"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.14">
      <doc xml:space="preserve">Establish a callback when a condition becomes true on
a file descriptor.</doc>
      <doc-deprecated xml:space="preserve">Use g_io_add_watch() on a #GIOChannel</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a tag that can later be used as an argument to
gdk_input_remove().</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="source" transfer-ownership="none">
          <doc xml:space="preserve">a file descriptor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="condition" transfer-ownership="none">
          <doc xml:space="preserve">the condition.</doc>
          <type name="InputCondition" c:type="GdkInputCondition"/>
        </parameter>
        <parameter name="function" transfer-ownership="none" closure="3">
          <doc xml:space="preserve">the callback function.</doc>
          <type name="InputFunction" c:type="GdkInputFunction"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">callback data passed to @function.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="input_add_full"
              c:identifier="gdk_input_add_full"
              deprecated="1"
              deprecated-version="2.14">
      <doc xml:space="preserve">Establish a callback when a condition becomes true on
a file descriptor.</doc>
      <doc-deprecated xml:space="preserve">Use g_io_add_watch_full() on a #GIOChannel</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a tag that can later be used as an argument to
gdk_input_remove().</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="source" transfer-ownership="none">
          <doc xml:space="preserve">a file descriptor.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="condition" transfer-ownership="none">
          <doc xml:space="preserve">the condition.</doc>
          <type name="InputCondition" c:type="GdkInputCondition"/>
        </parameter>
        <parameter name="function"
                   transfer-ownership="none"
                   scope="notified"
                   closure="3"
                   destroy="4">
          <doc xml:space="preserve">the callback function.</doc>
          <type name="InputFunction" c:type="GdkInputFunction"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">callback data passed to @function.</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="destroy" transfer-ownership="none" scope="async">
          <doc xml:space="preserve">callback function to call with @data when the input
handler is removed.</doc>
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
        </parameter>
      </parameters>
    </function>
    <function name="input_remove" c:identifier="gdk_input_remove">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="tag" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="input_set_extension_events"
              c:identifier="gdk_input_set_extension_events">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="mask" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="mode" transfer-ownership="none">
          <type name="ExtensionMode" c:type="GdkExtensionMode"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyboard_grab" c:identifier="gdk_keyboard_grab">
      <return-value transfer-ownership="none">
        <type name="GrabStatus" c:type="GdkGrabStatus"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="owner_events" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyboard_grab_info_libgtk_only"
              c:identifier="gdk_keyboard_grab_info_libgtk_only"
              moved-to="KeyboardGrabInfo.libgtk_only">
      <doc xml:space="preserve">Determines information about the current keyboard grab.
This is not public API and must not be used by applications.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if this application currently has the
 keyboard grabbed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the display for which to get the grab information</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="grab_window" transfer-ownership="none">
          <doc xml:space="preserve">location to store current grab window</doc>
          <type name="Window" c:type="GdkWindow**"/>
        </parameter>
        <parameter name="owner_events" transfer-ownership="none">
          <doc xml:space="preserve">location to store boolean indicating whether
  the @owner_events flag to gdk_keyboard_grab() was %TRUE.</doc>
          <type name="gboolean" c:type="gboolean*"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyboard_ungrab" c:identifier="gdk_keyboard_ungrab">
      <doc xml:space="preserve">Ungrabs the keyboard on the default display, if it is grabbed by this
application.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">a timestamp from a #GdkEvent, or %GDK_CURRENT_TIME if no
       timestamp is available.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_convert_case"
              c:identifier="gdk_keyval_convert_case">
      <doc xml:space="preserve">Obtains the upper- and lower-case versions of the keyval @symbol.
Examples of keyvals are #GDK_a, #GDK_Enter, #GDK_F1, etc.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="symbol" transfer-ownership="none">
          <doc xml:space="preserve">a keyval</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="lower"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">return location for lowercase version of @symbol</doc>
          <type name="guint" c:type="guint*"/>
        </parameter>
        <parameter name="upper"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">return location for uppercase version of @symbol</doc>
          <type name="guint" c:type="guint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_from_name" c:identifier="gdk_keyval_from_name">
      <doc xml:space="preserve">Converts a key name to a key value.

The names are the same as those in the
&lt;filename&gt;&amp;lt;gdk/gdkkeysyms.h&amp;gt;&lt;/filename&gt; header file
but without the leading "GDK_KEY_".</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the corresponding key value, or %GDK_KEY_VoidSymbol
    if the key name is not a valid key</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="keyval_name" transfer-ownership="none">
          <doc xml:space="preserve">a key name</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_is_lower" c:identifier="gdk_keyval_is_lower">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="keyval" transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_is_upper" c:identifier="gdk_keyval_is_upper">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="keyval" transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_name" c:identifier="gdk_keyval_name">
      <doc xml:space="preserve">Converts a key value into a symbolic name.

The names are the same as those in the
&lt;filename&gt;&amp;lt;gdk/gdkkeysyms.h&amp;gt;&lt;/filename&gt; header file
but without the leading "GDK_KEY_".</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">a string containing the name of the key,
    or %NULL if @keyval is not a valid key. The string should not be
    modified.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="keyval" transfer-ownership="none">
          <doc xml:space="preserve">a key value</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_to_lower" c:identifier="gdk_keyval_to_lower">
      <return-value transfer-ownership="none">
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="keyval" transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_to_unicode" c:identifier="gdk_keyval_to_unicode">
      <doc xml:space="preserve">Convert from a GDK key symbol to the corresponding ISO10646 (Unicode)
character.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the corresponding unicode character, or 0 if there
              is no corresponding character.</doc>
        <type name="guint32" c:type="guint32"/>
      </return-value>
      <parameters>
        <parameter name="keyval" transfer-ownership="none">
          <doc xml:space="preserve">a GDK key symbol</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyval_to_upper" c:identifier="gdk_keyval_to_upper">
      <return-value transfer-ownership="none">
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="keyval" transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="list_visuals" c:identifier="gdk_list_visuals">
      <doc xml:space="preserve">Lists the available visuals for the default screen.
(See gdk_screen_list_visuals())
A visual describes a hardware image data format.
For example, a visual might support 24-bit color, or 8-bit color,
and might expect pixels to be in a certain format.

Call g_list_free() on the return value when you're finished with it.</doc>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve">
    a list of visuals; the list must be freed, but not its contents</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="Visual"/>
        </type>
      </return-value>
    </function>
    <function name="mbstowcs" c:identifier="gdk_mbstowcs">
      <doc xml:space="preserve">Converts a multi-byte string to a wide character string.
(The function name comes from an acronym of 'Multi-Byte String TO Wide
Character String').</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the number of wide characters written into @dest, or -1 if
  the conversion failed.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="dest" transfer-ownership="none">
          <doc xml:space="preserve">the space to place the converted wide character string into.</doc>
          <type name="WChar" c:type="GdkWChar*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">the multi-byte string to convert, which must be nul-terminated.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="dest_max" transfer-ownership="none">
          <doc xml:space="preserve">the maximum number of wide characters to place in @dest.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="notify_startup_complete"
              c:identifier="gdk_notify_startup_complete"
              version="2.2">
      <doc xml:space="preserve">Indicates to the GUI environment that the application has finished
loading. If the applications opens windows, this function is
normally called after opening the application's initial set of
windows.

GTK+ will call this function automatically after opening the first
#GtkWindow unless gtk_window_set_auto_startup_notification() is called
to disable that feature.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="notify_startup_complete_with_id"
              c:identifier="gdk_notify_startup_complete_with_id"
              version="2.12">
      <doc xml:space="preserve">Indicates to the GUI environment that the application has finished
loading, using a given identifier.

GTK+ will call this function automatically for #GtkWindow with custom
startup-notification identifier unless
gtk_window_set_auto_startup_notification() is called to disable
that feature.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="startup_id" transfer-ownership="none">
          <doc xml:space="preserve">a startup-notification identifier, for which notification
             process should be completed</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="offscreen_window_get_embedder"
              c:identifier="gdk_offscreen_window_get_embedder"
              version="2.18"
              introspectable="0">
      <doc xml:space="preserve">Gets the window that @window is embedded in.</doc>
      <return-value>
        <doc xml:space="preserve">the embedding #GdkWindow, or %NULL if @window is not an
    embedded offscreen window</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
      </parameters>
    </function>
    <function name="offscreen_window_get_pixmap"
              c:identifier="gdk_offscreen_window_get_pixmap"
              version="2.18"
              introspectable="0">
      <doc xml:space="preserve">Gets the offscreen pixmap that an offscreen window renders into.
If you need to keep this around over window resizes, you need to
add a reference to it.</doc>
      <return-value>
        <doc xml:space="preserve">The offscreen pixmap, or %NULL if not offscreen</doc>
        <type name="Pixmap" c:type="GdkPixmap*"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
      </parameters>
    </function>
    <function name="offscreen_window_set_embedder"
              c:identifier="gdk_offscreen_window_set_embedder"
              version="2.18">
      <doc xml:space="preserve">Sets @window to be embedded in @embedder.

To fully embed an offscreen window, in addition to calling this
function, it is also necessary to handle the #GdkWindow::pick-embedded-child
signal on the @embedder and the #GdkWindow::to-embedder and
#GdkWindow::from-embedder signals on @window.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="embedder" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkWindow that @window gets embedded in</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pango_context_get"
              c:identifier="gdk_pango_context_get"
              introspectable="0">
      <doc xml:space="preserve">Creates a #PangoContext for the default GDK screen.

The context must be freed when you're finished with it.

When using GTK+, normally you should use gtk_widget_get_pango_context()
instead of this function, to get the appropriate context for
the widget you intend to render text onto.

The newly created context will have the default font options (see
#cairo_font_options_t) for the default screen; if these options
change it will not be updated. Using gtk_widget_get_pango_context()
is more convenient if you want to keep a context around and track
changes to the screen's font rendering settings.</doc>
      <return-value>
        <doc xml:space="preserve">a new #PangoContext for the default display</doc>
        <type name="Pango.Context" c:type="PangoContext*"/>
      </return-value>
    </function>
    <function name="pango_context_get_for_screen"
              c:identifier="gdk_pango_context_get_for_screen"
              version="2.2"
              introspectable="0">
      <doc xml:space="preserve">Creates a #PangoContext for @screen.

The context must be freed when you're finished with it.

When using GTK+, normally you should use gtk_widget_get_pango_context()
instead of this function, to get the appropriate context for
the widget you intend to render text onto.

The newly created context will have the default font options
(see #cairo_font_options_t) for the screen; if these options
change it will not be updated. Using gtk_widget_get_pango_context()
is more convenient if you want to keep a context around and track
changes to the screen's font rendering settings.</doc>
      <return-value>
        <doc xml:space="preserve">a new #PangoContext for @screen</doc>
        <type name="Pango.Context" c:type="PangoContext*"/>
      </return-value>
      <parameters>
        <parameter name="screen" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkScreen for which the context is to be created.</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pango_context_set_colormap"
              c:identifier="gdk_pango_context_set_colormap">
      <doc xml:space="preserve">This function used to set the colormap to be used for drawing with
@context. The colormap is now always derived from the graphics
context used for drawing, so calling this function is no longer
necessary.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="context" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoContext</doc>
          <type name="Pango.Context" c:type="PangoContext*"/>
        </parameter>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pango_layout_get_clip_region"
              c:identifier="gdk_pango_layout_get_clip_region"
              introspectable="0">
      <doc xml:space="preserve">Obtains a clip region which contains the areas where the given ranges
of text would be drawn. @x_origin and @y_origin are the same position
you would pass to gdk_draw_layout_line(). @index_ranges should contain
ranges of bytes in the layout's text.

Note that the regions returned correspond to logical extents of the text
ranges, not ink extents. So the drawn layout may in fact touch areas out of
the clip region.  The clip region is mainly useful for highlightling parts
of text, such as when text is selected.</doc>
      <return-value>
        <doc xml:space="preserve">a clip region containing the given ranges</doc>
        <type name="Region" c:type="GdkRegion*"/>
      </return-value>
      <parameters>
        <parameter name="layout" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoLayout</doc>
          <type name="Pango.Layout" c:type="PangoLayout*"/>
        </parameter>
        <parameter name="x_origin" transfer-ownership="none">
          <doc xml:space="preserve">X pixel where you intend to draw the layout with this clip</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y_origin" transfer-ownership="none">
          <doc xml:space="preserve">Y pixel where you intend to draw the layout with this clip</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="index_ranges" transfer-ownership="none">
          <doc xml:space="preserve">array of byte indexes into the layout, where even members of array are start indexes and odd elements are end indexes</doc>
          <type name="gint" c:type="const gint*"/>
        </parameter>
        <parameter name="n_ranges" transfer-ownership="none">
          <doc xml:space="preserve">number of ranges in @index_ranges, i.e. half the size of @index_ranges</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="pango_layout_line_get_clip_region"
              c:identifier="gdk_pango_layout_line_get_clip_region"
              introspectable="0">
      <doc xml:space="preserve">Obtains a clip region which contains the areas where the given
ranges of text would be drawn. @x_origin and @y_origin are the same
position you would pass to gdk_draw_layout_line(). @index_ranges
should contain ranges of bytes in the layout's text. The clip
region will include space to the left or right of the line (to the
layout bounding box) if you have indexes above or below the indexes
contained inside the line. This is to draw the selection all the way
to the side of the layout. However, the clip region is in line coordinates,
not layout coordinates.

Note that the regions returned correspond to logical extents of the text
ranges, not ink extents. So the drawn line may in fact touch areas out of
the clip region.  The clip region is mainly useful for highlightling parts
of text, such as when text is selected.</doc>
      <return-value>
        <doc xml:space="preserve">a clip region containing the given ranges</doc>
        <type name="Region" c:type="GdkRegion*"/>
      </return-value>
      <parameters>
        <parameter name="line" transfer-ownership="none">
          <doc xml:space="preserve">a #PangoLayoutLine</doc>
          <type name="Pango.LayoutLine" c:type="PangoLayoutLine*"/>
        </parameter>
        <parameter name="x_origin" transfer-ownership="none">
          <doc xml:space="preserve">X pixel where you intend to draw the layout line with this clip</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y_origin" transfer-ownership="none">
          <doc xml:space="preserve">baseline pixel where you intend to draw the layout line with this clip</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="index_ranges" transfer-ownership="none">
          <doc xml:space="preserve">array of byte indexes into the layout, where even members of array are start indexes and odd elements are end indexes</doc>
          <type name="gint" c:type="const gint*"/>
        </parameter>
        <parameter name="n_ranges" transfer-ownership="none">
          <doc xml:space="preserve">number of ranges in @index_ranges, i.e. half the size of @index_ranges</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="parse_args" c:identifier="gdk_parse_args" version="2.2">
      <doc xml:space="preserve">Parse command line arguments, and store for future
use by calls to gdk_display_open().

Any arguments used by GDK are removed from the array and @argc and @argv are
updated accordingly.

You shouldn't call this function explicitely if you are using
gtk_init(), gtk_init_check(), gdk_init(), or gdk_init_check().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="argc"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="none">
          <doc xml:space="preserve">the number of command line arguments.</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="argv"
                   direction="inout"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">the array of command line arguments.</doc>
          <array length="0" zero-terminated="0" c:type="gchar***">
            <type name="utf8" c:type="gchar**"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="pixbuf_get_from_drawable"
              c:identifier="gdk_pixbuf_get_from_drawable"
              introspectable="0">
      <doc xml:space="preserve">Transfers image data from a #GdkDrawable and converts it to an RGB(A)
representation inside a #GdkPixbuf. In other words, copies
image data from a server-side drawable to a client-side RGB(A) buffer.
This allows you to efficiently read individual pixels on the client side.

If the drawable @src has no colormap (gdk_drawable_get_colormap()
returns %NULL), then a suitable colormap must be specified.
Typically a #GdkWindow or a pixmap created by passing a #GdkWindow
to gdk_pixmap_new() will already have a colormap associated with
it.  If the drawable has a colormap, the @cmap argument will be
ignored.  If the drawable is a bitmap (1 bit per pixel pixmap),
then a colormap is not required; pixels with a value of 1 are
assumed to be white, and pixels with a value of 0 are assumed to be
black. For taking screenshots, gdk_colormap_get_system() returns
the correct colormap to use.

If the specified destination pixbuf @dest is %NULL, then this
function will create an RGB pixbuf with 8 bits per channel and no
alpha, with the same size specified by the @width and @height
arguments.  In this case, the @dest_x and @dest_y arguments must be
specified as 0.  If the specified destination pixbuf is not %NULL
and it contains alpha information, then the filled pixels will be
set to full opacity (alpha = 255).

If the specified drawable is a pixmap, then the requested source
rectangle must be completely contained within the pixmap, otherwise
the function will return %NULL. For pixmaps only (not for windows)
passing -1 for width or height is allowed to mean the full width
or height of the pixmap.

If the specified drawable is a window, and the window is off the
screen, then there is no image data in the obscured/offscreen
regions to be placed in the pixbuf. The contents of portions of the
pixbuf corresponding to the offscreen region are undefined.

If the window you're obtaining data from is partially obscured by
other windows, then the contents of the pixbuf areas corresponding
to the obscured regions are undefined.

If the target drawable is not mapped (typically because it's
iconified/minimized or not on the current workspace), then %NULL
will be returned.

If memory can't be allocated for the return value, %NULL will be returned
instead.

(In short, there are several ways this function can fail, and if it fails
 it returns %NULL; so check the return value.)

This function calls gdk_drawable_get_image() internally and
converts the resulting image to a #GdkPixbuf, so the
documentation for gdk_drawable_get_image() may also be relevant.</doc>
      <return-value>
        <doc xml:space="preserve">The same pixbuf as @dest if it was non-%NULL, or a newly-created
pixbuf with a reference count of 1 if no destination pixbuf was specified, or %NULL on error</doc>
        <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">Destination pixbuf, or %NULL if a new pixbuf should be created.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">Source drawable.</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="cmap" transfer-ownership="none">
          <doc xml:space="preserve">A colormap if @src doesn't have one set.</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="src_x" transfer-ownership="none">
          <doc xml:space="preserve">Source X coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="src_y" transfer-ownership="none">
          <doc xml:space="preserve">Source Y coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_x" transfer-ownership="none">
          <doc xml:space="preserve">Destination X coordinate in pixbuf, or 0 if @dest is NULL.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_y" transfer-ownership="none">
          <doc xml:space="preserve">Destination Y coordinate in pixbuf, or 0 if @dest is NULL.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">Width in pixels of region to get.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">Height in pixels of region to get.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="pixbuf_get_from_image"
              c:identifier="gdk_pixbuf_get_from_image"
              introspectable="0">
      <doc xml:space="preserve">Same as gdk_pixbuf_get_from_drawable() but gets the pixbuf from
an image.</doc>
      <return-value>
        <doc xml:space="preserve">@dest, newly-created pixbuf if @dest was %NULL, %NULL on error</doc>
        <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
      </return-value>
      <parameters>
        <parameter name="dest"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">Destination pixbuf, or %NULL if a new pixbuf should be created.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </parameter>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">Source #GdkImage.</doc>
          <type name="Image" c:type="GdkImage*"/>
        </parameter>
        <parameter name="cmap"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">A colormap, or %NULL to use the one for @src</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="src_x" transfer-ownership="none">
          <doc xml:space="preserve">Source X coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="src_y" transfer-ownership="none">
          <doc xml:space="preserve">Source Y coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_x" transfer-ownership="none">
          <doc xml:space="preserve">Destination X coordinate in pixbuf, or 0 if @dest is NULL.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_y" transfer-ownership="none">
          <doc xml:space="preserve">Destination Y coordinate in pixbuf, or 0 if @dest is NULL.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">Width in pixels of region to get.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">Height in pixels of region to get.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="pixbuf_render_pixmap_and_mask"
              c:identifier="gdk_pixbuf_render_pixmap_and_mask">
      <doc xml:space="preserve">Creates a pixmap and a mask bitmap which are returned in the @pixmap_return
and @mask_return arguments, respectively, and renders a pixbuf and its
corresponding thresholded alpha mask to them.  This is merely a convenience
function; applications that need to render pixbufs with dither offsets or to
given drawables should use gdk_draw_pixbuf() and gdk_pixbuf_render_threshold_alpha().

The pixmap that is created is created for the colormap returned
by gdk_rgb_get_colormap(). You normally will want to instead use
the actual colormap for a widget, and use
gdk_pixbuf_render_pixmap_and_mask_for_colormap().

If the pixbuf does not have an alpha channel, then *@mask_return will be set
to %NULL.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pixbuf" transfer-ownership="none">
          <doc xml:space="preserve">A pixbuf.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </parameter>
        <parameter name="pixmap_return" transfer-ownership="none">
          <doc xml:space="preserve">Location to store a pointer to the created pixmap,
  or %NULL if the pixmap is not needed.</doc>
          <type name="Pixmap" c:type="GdkPixmap**"/>
        </parameter>
        <parameter name="mask_return" transfer-ownership="none">
          <doc xml:space="preserve">Location to store a pointer to the created mask,
  or %NULL if the mask is not needed.</doc>
          <type name="Bitmap" c:type="GdkBitmap**"/>
        </parameter>
        <parameter name="alpha_threshold" transfer-ownership="none">
          <doc xml:space="preserve">Threshold value for opacity values.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="pixbuf_render_pixmap_and_mask_for_colormap"
              c:identifier="gdk_pixbuf_render_pixmap_and_mask_for_colormap">
      <doc xml:space="preserve">Creates a pixmap and a mask bitmap which are returned in the @pixmap_return
and @mask_return arguments, respectively, and renders a pixbuf and its
corresponding tresholded alpha mask to them.  This is merely a convenience
function; applications that need to render pixbufs with dither offsets or to
given drawables should use gdk_draw_pixbuf(), and gdk_pixbuf_render_threshold_alpha().

The pixmap that is created uses the #GdkColormap specified by @colormap.
This colormap must match the colormap of the window where the pixmap
will eventually be used or an error will result.

If the pixbuf does not have an alpha channel, then *@mask_return will be set
to %NULL.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pixbuf" transfer-ownership="none">
          <doc xml:space="preserve">A pixbuf.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </parameter>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">A #GdkColormap</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="pixmap_return" transfer-ownership="none">
          <doc xml:space="preserve">Location to store a pointer to the created pixmap,
  or %NULL if the pixmap is not needed.</doc>
          <type name="Pixmap" c:type="GdkPixmap**"/>
        </parameter>
        <parameter name="mask_return" transfer-ownership="none">
          <doc xml:space="preserve">Location to store a pointer to the created mask,
  or %NULL if the mask is not needed.</doc>
          <type name="Bitmap" c:type="GdkBitmap**"/>
        </parameter>
        <parameter name="alpha_threshold" transfer-ownership="none">
          <doc xml:space="preserve">Threshold value for opacity values.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="pixbuf_render_threshold_alpha"
              c:identifier="gdk_pixbuf_render_threshold_alpha">
      <doc xml:space="preserve">Takes the opacity values in a rectangular portion of a pixbuf and thresholds
them to produce a bi-level alpha mask that can be used as a clipping mask for
a drawable.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pixbuf" transfer-ownership="none">
          <doc xml:space="preserve">A pixbuf.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </parameter>
        <parameter name="bitmap" transfer-ownership="none">
          <doc xml:space="preserve">Bitmap where the bilevel mask will be painted to.</doc>
          <type name="Bitmap" c:type="GdkBitmap*"/>
        </parameter>
        <parameter name="src_x" transfer-ownership="none">
          <doc xml:space="preserve">Source X coordinate.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="src_y" transfer-ownership="none">
          <doc xml:space="preserve">source Y coordinate.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_x" transfer-ownership="none">
          <doc xml:space="preserve">Destination X coordinate.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_y" transfer-ownership="none">
          <doc xml:space="preserve">Destination Y coordinate.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">Width of region to threshold, or -1 to use pixbuf width</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">Height of region to threshold, or -1 to use pixbuf height</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="alpha_threshold" transfer-ownership="none">
          <doc xml:space="preserve">Opacity values below this will be painted as zero; all
other values will be painted as one.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="pixbuf_render_to_drawable"
              c:identifier="gdk_pixbuf_render_to_drawable"
              deprecated="1"
              deprecated-version="2.4">
      <doc xml:space="preserve">Renders a rectangular portion of a pixbuf to a drawable while using the
specified GC.  This is done using GdkRGB, so the specified drawable must have
the GdkRGB visual and colormap.  Note that this function will ignore the
opacity information for images with an alpha channel; the GC must already
have the clipping mask set if you want transparent regions to show through.

For an explanation of dither offsets, see the GdkRGB documentation.  In
brief, the dither offset is important when re-rendering partial regions of an
image to a rendered version of the full image, or for when the offsets to a
base position change, as in scrolling.  The dither matrix has to be shifted
for consistent visual results.  If you do not have any of these cases, the
dither offsets can be both zero.</doc>
      <doc-deprecated xml:space="preserve">This function is obsolete. Use gdk_draw_pixbuf() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pixbuf" transfer-ownership="none">
          <doc xml:space="preserve">A pixbuf.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </parameter>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">Destination drawable.</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="gc" transfer-ownership="none">
          <doc xml:space="preserve">GC used for rendering.</doc>
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="src_x" transfer-ownership="none">
          <doc xml:space="preserve">Source X coordinate within pixbuf.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="src_y" transfer-ownership="none">
          <doc xml:space="preserve">Source Y coordinate within pixbuf.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_x" transfer-ownership="none">
          <doc xml:space="preserve">Destination X coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_y" transfer-ownership="none">
          <doc xml:space="preserve">Destination Y coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">Width of region to render, in pixels, or -1 to use pixbuf width</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">Height of region to render, in pixels, or -1 to use pixbuf height</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dither" transfer-ownership="none">
          <doc xml:space="preserve">Dithering mode for GdkRGB.</doc>
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="x_dither" transfer-ownership="none">
          <doc xml:space="preserve">X offset for dither.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="y_dither" transfer-ownership="none">
          <doc xml:space="preserve">Y offset for dither.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="pixbuf_render_to_drawable_alpha"
              c:identifier="gdk_pixbuf_render_to_drawable_alpha"
              deprecated="1"
              deprecated-version="2.4">
      <doc xml:space="preserve">Renders a rectangular portion of a pixbuf to a drawable.  The destination
drawable must have a colormap. All windows have a colormap, however, pixmaps
only have colormap by default if they were created with a non-%NULL window argument.
Otherwise a colormap must be set on them with gdk_drawable_set_colormap.

On older X servers, rendering pixbufs with an alpha channel involves round trips
to the X server, and may be somewhat slow.</doc>
      <doc-deprecated xml:space="preserve">This function is obsolete. Use gdk_draw_pixbuf() instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="pixbuf" transfer-ownership="none">
          <doc xml:space="preserve">A pixbuf.</doc>
          <type name="GdkPixbuf.Pixbuf" c:type="GdkPixbuf*"/>
        </parameter>
        <parameter name="drawable" transfer-ownership="none">
          <doc xml:space="preserve">Destination drawable.</doc>
          <type name="Drawable" c:type="GdkDrawable*"/>
        </parameter>
        <parameter name="src_x" transfer-ownership="none">
          <doc xml:space="preserve">Source X coordinate within pixbuf.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="src_y" transfer-ownership="none">
          <doc xml:space="preserve">Source Y coordinates within pixbuf.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_x" transfer-ownership="none">
          <doc xml:space="preserve">Destination X coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dest_y" transfer-ownership="none">
          <doc xml:space="preserve">Destination Y coordinate within drawable.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">Width of region to render, in pixels, or -1 to use pixbuf width.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">Height of region to render, in pixels, or -1 to use pixbuf height.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="alpha_mode" transfer-ownership="none">
          <doc xml:space="preserve">Ignored. Present for backwards compatibility.</doc>
          <type name="GdkPixbuf.PixbufAlphaMode" c:type="GdkPixbufAlphaMode"/>
        </parameter>
        <parameter name="alpha_threshold" transfer-ownership="none">
          <doc xml:space="preserve">Ignored. Present for backwards compatibility</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="dither" transfer-ownership="none">
          <doc xml:space="preserve">Dithering mode for GdkRGB.</doc>
          <type name="RgbDither" c:type="GdkRgbDither"/>
        </parameter>
        <parameter name="x_dither" transfer-ownership="none">
          <doc xml:space="preserve">X offset for dither.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
        <parameter name="y_dither" transfer-ownership="none">
          <doc xml:space="preserve">Y offset for dither.</doc>
          <type name="gint" c:type="int"/>
        </parameter>
      </parameters>
    </function>
    <function name="pointer_grab" c:identifier="gdk_pointer_grab">
      <return-value transfer-ownership="none">
        <type name="GrabStatus" c:type="GdkGrabStatus"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="owner_events" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
        <parameter name="event_mask" transfer-ownership="none">
          <type name="EventMask" c:type="GdkEventMask"/>
        </parameter>
        <parameter name="confine_to" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="cursor" transfer-ownership="none">
          <type name="Cursor" c:type="GdkCursor*"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="pointer_grab_info_libgtk_only"
              c:identifier="gdk_pointer_grab_info_libgtk_only">
      <doc xml:space="preserve">Determines information about the current pointer grab.
This is not public API and must not be used by applications.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if this application currently has the
 pointer grabbed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay for which to get the grab information</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="grab_window" transfer-ownership="none">
          <doc xml:space="preserve">location to store current grab window</doc>
          <type name="Window" c:type="GdkWindow**"/>
        </parameter>
        <parameter name="owner_events" transfer-ownership="none">
          <doc xml:space="preserve">location to store boolean indicating whether
  the @owner_events flag to gdk_pointer_grab() was %TRUE.</doc>
          <type name="gboolean" c:type="gboolean*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pointer_is_grabbed" c:identifier="gdk_pointer_is_grabbed">
      <doc xml:space="preserve">Returns %TRUE if the pointer on the default display is currently
grabbed by this application.

Note that this does not take the inmplicit pointer grab on button
presses into account.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the pointer is currently grabbed by this application.*</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="pointer_ungrab" c:identifier="gdk_pointer_ungrab">
      <doc xml:space="preserve">Ungrabs the pointer on the default display, if it is grabbed by this
application.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">a timestamp from a #GdkEvent, or %GDK_CURRENT_TIME if no
 timestamp is available.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="pre_parse_libgtk_only"
              c:identifier="gdk_pre_parse_libgtk_only">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="property_change" c:identifier="gdk_property_change">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="property" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="type" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="mode" transfer-ownership="none">
          <type name="PropMode" c:type="GdkPropMode"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="nelements" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="property_delete" c:identifier="gdk_property_delete">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="property" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
      </parameters>
    </function>
    <function name="property_get" c:identifier="gdk_property_get">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="property" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="type" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="offset" transfer-ownership="none">
          <type name="gulong" c:type="gulong"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <type name="gulong" c:type="gulong"/>
        </parameter>
        <parameter name="pdelete" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="actual_property_type" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom*"/>
        </parameter>
        <parameter name="actual_format" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="actual_length" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <type name="guint8" c:type="guchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="query_depths" c:identifier="gdk_query_depths">
      <doc xml:space="preserve">This function returns the available bit depths for the default
screen. It's equivalent to listing the visuals
(gdk_list_visuals()) and then looking at the depth field in each
visual, removing duplicates.

The array returned by this function should not be freed.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="depths"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">return location for available depths</doc>
          <array zero-terminated="0" c:type="gint**">
            <type name="gint" c:type="gint*"/>
          </array>
        </parameter>
        <parameter name="count"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">return location for number of available depths</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="query_visual_types" c:identifier="gdk_query_visual_types">
      <doc xml:space="preserve">This function returns the available visual types for the default
screen. It's equivalent to listing the visuals
(gdk_list_visuals()) and then looking at the type field in each
visual, removing duplicates.

The array returned by this function should not be freed.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="visual_types" transfer-ownership="none">
          <doc xml:space="preserve">return location for the available visual types</doc>
          <type name="VisualType" c:type="GdkVisualType**"/>
        </parameter>
        <parameter name="count" transfer-ownership="none">
          <doc xml:space="preserve">return location for the number of available visual types</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_colormap_ditherable"
              c:identifier="gdk_rgb_colormap_ditherable">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="cmap" transfer-ownership="none">
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_ditherable" c:identifier="gdk_rgb_ditherable">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
    </function>
    <function name="rgb_find_color"
              c:identifier="gdk_rgb_find_color"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">@colormap should be the colormap for the graphics context and
drawable you're using to draw. If you're drawing to a #GtkWidget,
call gtk_widget_get_colormap().

@color should have its %red, %green, and %blue fields initialized;
gdk_rgb_find_color() will fill in the %pixel field with the best
matching pixel from a color cube. The color is then ready to be
used for drawing, e.g. you can call gdk_gc_set_foreground() which
expects %pixel to be initialized.

In many cases, you can avoid this whole issue by calling
gdk_gc_set_rgb_fg_color() or gdk_gc_set_rgb_bg_color(), which
do not expect %pixel to be initialized in advance. If you use those
functions, there's no need for gdk_rgb_find_color().</doc>
      <doc-deprecated xml:space="preserve">Cairo handles colors automatically.</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="colormap" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColormap</doc>
          <type name="Colormap" c:type="GdkColormap*"/>
        </parameter>
        <parameter name="color" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkColor</doc>
          <type name="Color" c:type="GdkColor*"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_gc_set_background"
              c:identifier="gdk_rgb_gc_set_background">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="gc" transfer-ownership="none">
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="rgb" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_gc_set_foreground"
              c:identifier="gdk_rgb_gc_set_foreground">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="gc" transfer-ownership="none">
          <type name="GC" c:type="GdkGC*"/>
        </parameter>
        <parameter name="rgb" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_get_colormap"
              c:identifier="gdk_rgb_get_colormap"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Get the preferred colormap for rendering image data.  Not a
very useful function; historically, GDK could only render RGB image
data to one colormap and visual, but in the current version it can
render to any colormap and visual. So there's no need to call this
function.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_screen_get_system_colormap (gdk_screen_get_default ()) instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the preferred colormap</doc>
        <type name="Colormap" c:type="GdkColormap*"/>
      </return-value>
    </function>
    <function name="rgb_get_visual"
              c:identifier="gdk_rgb_get_visual"
              deprecated="1"
              deprecated-version="2.22">
      <doc xml:space="preserve">Gets a "preferred visual" chosen by GdkRGB for rendering image data
on the default screen. In previous versions of GDK, this was the
only visual GdkRGB could use for rendering. In current versions,
it's simply the visual GdkRGB would have chosen as the optimal one
in those previous versions. GdkRGB can now render to drawables with
any visual.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_visual_get_system_visual (gdk_screen_get_default ()) instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">The #GdkVisual chosen by GdkRGB.</doc>
        <type name="Visual" c:type="GdkVisual*"/>
      </return-value>
    </function>
    <function name="rgb_init" c:identifier="gdk_rgb_init">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="rgb_set_install" c:identifier="gdk_rgb_set_install">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="install" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_set_min_colors" c:identifier="gdk_rgb_set_min_colors">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="min_colors" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_set_verbose" c:identifier="gdk_rgb_set_verbose">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="verbose" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="rgb_xpixel_from_rgb"
              c:identifier="gdk_rgb_xpixel_from_rgb">
      <return-value transfer-ownership="none">
        <type name="gulong" c:type="gulong"/>
      </return-value>
      <parameters>
        <parameter name="rgb" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_convert" c:identifier="gdk_selection_convert">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="requestor" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="selection" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="target" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_owner_get"
              c:identifier="gdk_selection_owner_get"
              introspectable="0">
      <return-value>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="selection" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_owner_get_for_display"
              c:identifier="gdk_selection_owner_get_for_display"
              version="2.2"
              introspectable="0">
      <doc xml:space="preserve">Determine the owner of the given selection.

Note that the return value may be owned by a different
process if a foreign window was previously created for that
window, but a new foreign window will never be created by this call.</doc>
      <return-value>
        <doc xml:space="preserve">if there is a selection owner for this window, and it is a
   window known to the current process, the #GdkWindow that owns the
   selection, otherwise %NULL.</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDisplay.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="selection" transfer-ownership="none">
          <doc xml:space="preserve">an atom indentifying a selection.</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_owner_set"
              c:identifier="gdk_selection_owner_set">
      <return-value transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="owner" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="selection" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
        <parameter name="send_event" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_owner_set_for_display"
              c:identifier="gdk_selection_owner_set_for_display"
              version="2.2">
      <doc xml:space="preserve">Sets the #GdkWindow @owner as the current owner of the selection @selection.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the selection owner was successfully changed to owner,
    otherwise %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="owner" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow or %NULL to indicate that the owner for
        the given should be unset.</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="selection" transfer-ownership="none">
          <doc xml:space="preserve">an atom identifying a selection.</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">timestamp to use when setting the selection.
        If this is older than the timestamp given last time the owner was
        set for the given selection, the request will be ignored.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
        <parameter name="send_event" transfer-ownership="none">
          <doc xml:space="preserve">if %TRUE, and the new owner is different from the current
             owner, the current owner will be sent a SelectionClear event.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_property_get"
              c:identifier="gdk_selection_property_get">
      <doc xml:space="preserve">Retrieves selection data that was stored by the selection
data in response to a call to gdk_selection_convert(). This function
will not be used by applications, who should use the #GtkClipboard
API instead.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the length of the retrieved data.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="requestor" transfer-ownership="none">
          <doc xml:space="preserve">the window on which the data is stored</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">location to store a pointer to the retrieved data.
       If the retrieval failed, %NULL we be stored here, otherwise, it
       will be non-%NULL and the returned data should be freed with g_free()
       when you are finished using it. The length of the
       allocated memory is one more than the length
       of the returned data, and the final byte will always
       be zero, to ensure nul-termination of strings.</doc>
          <type name="guint8" c:type="guchar**"/>
        </parameter>
        <parameter name="prop_type" transfer-ownership="none">
          <doc xml:space="preserve">location to store the type of the property.</doc>
          <type name="Atom" c:type="GdkAtom*"/>
        </parameter>
        <parameter name="prop_format" transfer-ownership="none">
          <doc xml:space="preserve">location to store the format of the property.</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_send_notify"
              c:identifier="gdk_selection_send_notify">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="requestor" transfer-ownership="none">
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
        <parameter name="selection" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="target" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="property" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="selection_send_notify_for_display"
              c:identifier="gdk_selection_send_notify_for_display"
              version="2.2">
      <doc xml:space="preserve">Send a response to SelectionRequest event.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay where @requestor is realized</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="requestor" transfer-ownership="none">
          <doc xml:space="preserve">window to which to deliver response.</doc>
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
        <parameter name="selection" transfer-ownership="none">
          <doc xml:space="preserve">selection that was requested.</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="target" transfer-ownership="none">
          <doc xml:space="preserve">target that was selected.</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="property" transfer-ownership="none">
          <doc xml:space="preserve">property in which the selection owner stored the data,
           or %GDK_NONE to indicate that the request was rejected.</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="time_" transfer-ownership="none">
          <doc xml:space="preserve">timestamp.</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="set_double_click_time"
              c:identifier="gdk_set_double_click_time">
      <doc xml:space="preserve">Set the double click time for the default display. See
gdk_display_set_double_click_time().
See also gdk_display_set_double_click_distance().
Applications should &lt;emphasis&gt;not&lt;/emphasis&gt; set this, it is a
global user-configured setting.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="msec" transfer-ownership="none">
          <doc xml:space="preserve">double click time in milliseconds (thousandths of a second)</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
      </parameters>
    </function>
    <function name="set_locale" c:identifier="gdk_set_locale">
      <return-value transfer-ownership="full">
        <type name="utf8" c:type="gchar*"/>
      </return-value>
    </function>
    <function name="set_pointer_hooks"
              c:identifier="gdk_set_pointer_hooks"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">This function allows for hooking into the operation
of getting the current location of the pointer. This
is only useful for such low-level tools as an
event recorder. Applications should never have any
reason to use this facility.

This function is not multihead safe. For multihead operation,
see gdk_display_set_pointer_hooks().</doc>
      <doc-deprecated xml:space="preserve">This function will go away in GTK 3 for lack of use cases.</doc-deprecated>
      <return-value>
        <doc xml:space="preserve">the previous pointer hook table</doc>
        <type name="PointerHooks" c:type="GdkPointerHooks*"/>
      </return-value>
      <parameters>
        <parameter name="new_hooks" transfer-ownership="none">
          <doc xml:space="preserve">a table of pointers to functions for getting
  quantities related to the current pointer position,
  or %NULL to restore the default table.</doc>
          <type name="PointerHooks" c:type="const GdkPointerHooks*"/>
        </parameter>
      </parameters>
    </function>
    <function name="set_program_class" c:identifier="gdk_set_program_class">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="program_class" transfer-ownership="none">
          <type name="utf8" c:type="const char*"/>
        </parameter>
      </parameters>
    </function>
    <function name="set_show_events" c:identifier="gdk_set_show_events">
      <doc xml:space="preserve">Sets whether a trace of received events is output.
Note that GTK+ must be compiled with debugging (that is,
configured using the &lt;option&gt;--enable-debug&lt;/option&gt; option)
to use this option.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="show_events" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE to output event debugging information.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="set_sm_client_id"
              c:identifier="gdk_set_sm_client_id"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Sets the &lt;literal&gt;SM_CLIENT_ID&lt;/literal&gt; property on the application's leader window so that
the window manager can save the application's state using the X11R6 ICCCM
session management protocol.

See the X Session Management Library documentation for more information on
session management and the Inter-Client Communication Conventions Manual
(ICCCM) for information on the &lt;literal&gt;WM_CLIENT_LEADER&lt;/literal&gt; property.
(Both documents are part of the X Window System distribution.)</doc>
      <doc-deprecated xml:space="preserve">Use gdk_x11_set_sm_client_id() instead</doc-deprecated>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="sm_client_id" transfer-ownership="none">
          <doc xml:space="preserve">the client id assigned by the session manager when the
   connection was opened, or %NULL to remove the property.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="set_use_xshm" c:identifier="gdk_set_use_xshm">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="use_xshm" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="setting_get" c:identifier="gdk_setting_get">
      <doc xml:space="preserve">Obtains a desktop-wide setting, such as the double-click time,
for the default screen. See gdk_screen_get_setting().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the setting existed and a value was stored
  in @value, %FALSE otherwise.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="name" transfer-ownership="none">
          <doc xml:space="preserve">the name of the setting.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <doc xml:space="preserve">location to store the value of the setting.</doc>
          <type name="GObject.Value" c:type="GValue*"/>
        </parameter>
      </parameters>
    </function>
    <function name="spawn_command_line_on_screen"
              c:identifier="gdk_spawn_command_line_on_screen"
              version="2.4"
              deprecated="1"
              deprecated-version="2.24"
              throws="1">
      <doc xml:space="preserve">Like g_spawn_command_line_async(), except the child process is
spawned in such an environment that on calling gdk_display_open()
it would be returned a #GdkDisplay with @screen as the default
screen.

This is useful for applications which wish to launch an application
on a specific screen.</doc>
      <doc-deprecated xml:space="preserve">This function is being removed in 3.0. Use
    either g_spawn_command_line_sync(), g_spawn_command_line_async() or
    #GdkAppLaunchContext instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE on success, %FALSE if error is set.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="screen" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkScreen</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </parameter>
        <parameter name="command_line" transfer-ownership="none">
          <doc xml:space="preserve">a command line</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="spawn_on_screen"
              c:identifier="gdk_spawn_on_screen"
              version="2.4"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24"
              throws="1">
      <doc xml:space="preserve">Like g_spawn_async(), except the child process is spawned in such
an environment that on calling gdk_display_open() it would be
returned a #GdkDisplay with @screen as the default screen.

This is useful for applications which wish to launch an application
on a specific screen.</doc>
      <doc-deprecated xml:space="preserve">This function is being removed in 3.0. Use
    either g_spawn_sync(), g_spawn_async(), or #GdkAppLaunchContext instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE on success, %FALSE if error is set</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="screen" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkScreen</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </parameter>
        <parameter name="working_directory" transfer-ownership="none">
          <doc xml:space="preserve">child's current working directory, or %NULL to
  inherit parent's</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="argv" transfer-ownership="none">
          <doc xml:space="preserve">child's argument vector</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
        <parameter name="envp" transfer-ownership="none">
          <doc xml:space="preserve">child's environment, or %NULL to inherit parent's</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">flags from #GSpawnFlags</doc>
          <type name="GLib.SpawnFlags" c:type="GSpawnFlags"/>
        </parameter>
        <parameter name="child_setup" transfer-ownership="none" closure="6">
          <doc xml:space="preserve">function to run in the child just before exec()</doc>
          <type name="GLib.SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none">
          <doc xml:space="preserve">user data for @child_setup</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="child_pid" transfer-ownership="none">
          <doc xml:space="preserve">return location for child process ID, or %NULL</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="spawn_on_screen_with_pipes"
              c:identifier="gdk_spawn_on_screen_with_pipes"
              version="2.4"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24"
              throws="1">
      <doc xml:space="preserve">Like g_spawn_async_with_pipes(), except the child process is
spawned in such an environment that on calling gdk_display_open()
it would be returned a #GdkDisplay with @screen as the default
screen.

This is useful for applications which wish to launch an application
on a specific screen.</doc>
      <doc-deprecated xml:space="preserve">This function is being removed in 3.0. Use
    either g_spawn_async_with_pipes() or #GdkAppLaunchContext instead.</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE on success, %FALSE if an error was set</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="screen" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkScreen</doc>
          <type name="Screen" c:type="GdkScreen*"/>
        </parameter>
        <parameter name="working_directory" transfer-ownership="none">
          <doc xml:space="preserve">child's current working directory, or %NULL to
  inherit parent's</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="argv" transfer-ownership="none">
          <doc xml:space="preserve">child's argument vector</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
        <parameter name="envp" transfer-ownership="none">
          <doc xml:space="preserve">child's environment, or %NULL to inherit parent's</doc>
          <type name="utf8" c:type="gchar**"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">flags from #GSpawnFlags</doc>
          <type name="GLib.SpawnFlags" c:type="GSpawnFlags"/>
        </parameter>
        <parameter name="child_setup" transfer-ownership="none" closure="6">
          <doc xml:space="preserve">function to run in the child just before exec()</doc>
          <type name="GLib.SpawnChildSetupFunc" c:type="GSpawnChildSetupFunc"/>
        </parameter>
        <parameter name="user_data" transfer-ownership="none">
          <doc xml:space="preserve">user data for @child_setup</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="child_pid" transfer-ownership="none">
          <doc xml:space="preserve">return location for child process ID, or %NULL</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="standard_input" transfer-ownership="none">
          <doc xml:space="preserve">return location for file descriptor to write to
  child's stdin, or %NULL</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="standard_output" transfer-ownership="none">
          <doc xml:space="preserve">return location for file descriptor to read child's
  stdout, or %NULL</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="standard_error" transfer-ownership="none">
          <doc xml:space="preserve">return location for file descriptor to read child's
  stderr, or %NULL</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="string_extents" c:identifier="gdk_string_extents">
      <doc xml:space="preserve">Gets the metrics of a nul-terminated string.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont.</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="string" transfer-ownership="none">
          <doc xml:space="preserve">the nul-terminated string to measure.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="lbearing" transfer-ownership="none">
          <doc xml:space="preserve">the left bearing of the string.</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="rbearing" transfer-ownership="none">
          <doc xml:space="preserve">the right bearing of the string.</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">the width of the string.</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="ascent" transfer-ownership="none">
          <doc xml:space="preserve">the ascent of the string.</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="descent" transfer-ownership="none">
          <doc xml:space="preserve">the descent of the string.</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="string_height" c:identifier="gdk_string_height">
      <doc xml:space="preserve">Determines the total height of a given nul-terminated
string. This value is not generally useful, because you
cannot determine how this total height will be drawn in
relation to the baseline. See gdk_string_extents().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the height of the string in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="string" transfer-ownership="none">
          <doc xml:space="preserve">the nul-terminated string to measure.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="string_measure" c:identifier="gdk_string_measure">
      <doc xml:space="preserve">Determines the distance from the origin to the rightmost
portion of a nul-terminated string when drawn. This is not the
correct value for determining the origin of the next
portion when drawing text in multiple pieces.
See gdk_string_width().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the right bearing of the string in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="string" transfer-ownership="none">
          <doc xml:space="preserve">the nul-terminated string to measure.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="string_to_compound_text"
              c:identifier="gdk_string_to_compound_text">
      <return-value transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="encoding" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="ctext" transfer-ownership="none">
          <type name="guint8" c:type="guchar**"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="string_to_compound_text_for_display"
              c:identifier="gdk_string_to_compound_text_for_display"
              version="2.2"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Convert a string from the encoding of the current
locale into a form suitable for storing in a window property.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_x11_display_string_to_compound_text()</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">0 upon success, non-zero upon failure.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay where the encoding is defined.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve">a nul-terminated string.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="encoding" transfer-ownership="none">
          <doc xml:space="preserve">location to store the encoding atom
      (to be used as the type for the property).</doc>
          <type name="Atom" c:type="GdkAtom*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">location to store the format of the property</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="ctext" transfer-ownership="none">
          <doc xml:space="preserve">location to store newly allocated data for the property.</doc>
          <type name="guint8" c:type="guchar**"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve">the length of @text, in bytes</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="string_width" c:identifier="gdk_string_width">
      <doc xml:space="preserve">Determines the width of a nul-terminated string.
(The distance from the origin of the string to the
point where the next string in a sequence of strings
should be drawn)</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the width of the string in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="string" transfer-ownership="none">
          <doc xml:space="preserve">the nul-terminated string to measure</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="synthesize_window_state"
              c:identifier="gdk_synthesize_window_state">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="unset_flags" transfer-ownership="none">
          <type name="WindowState" c:type="GdkWindowState"/>
        </parameter>
        <parameter name="set_flags" transfer-ownership="none">
          <type name="WindowState" c:type="GdkWindowState"/>
        </parameter>
      </parameters>
    </function>
    <function name="test_render_sync"
              c:identifier="gdk_test_render_sync"
              version="2.14">
      <doc xml:space="preserve">This function retrieves a pixel from @window to force the windowing
system to carry out any pending rendering commands.
This function is intended to be used to syncronize with rendering
pipelines, to benchmark windowing system rendering operations.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a mapped #GdkWindow</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
      </parameters>
    </function>
    <function name="test_simulate_button"
              c:identifier="gdk_test_simulate_button"
              version="2.14">
      <doc xml:space="preserve">This function is intended to be used in GTK+ test programs.
It will warp the mouse pointer to the given (@x,@y) corrdinates
within @window and simulate a button press or release event.
Because the mouse pointer needs to be warped to the target
location, use of this function outside of test programs that
run in their own virtual windowing system (e.g. Xvfb) is not
recommended.

Also, gtk_test_simulate_button() is a fairly low level function,
for most testing purposes, gtk_test_widget_click() is the right
function to call which will generate a button press event followed
by its accompanying button release event.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">whether all actions neccessary for a button event simulation
    were carried out successfully.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow to simulate a button event for.</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">x coordinate within @window for the button event.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">y coordinate within @window for the button event.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="button" transfer-ownership="none">
          <doc xml:space="preserve">Number of the pointer button for the event, usually 1, 2 or 3.</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="modifiers" transfer-ownership="none">
          <doc xml:space="preserve">Keyboard modifiers the event is setup with.</doc>
          <type name="ModifierType" c:type="GdkModifierType"/>
        </parameter>
        <parameter name="button_pressrelease" transfer-ownership="none">
          <doc xml:space="preserve">either %GDK_BUTTON_PRESS or %GDK_BUTTON_RELEASE</doc>
          <type name="EventType" c:type="GdkEventType"/>
        </parameter>
      </parameters>
    </function>
    <function name="test_simulate_key"
              c:identifier="gdk_test_simulate_key"
              version="2.14">
      <doc xml:space="preserve">This function is intended to be used in GTK+ test programs.
If (@x,@y) are &gt; (-1,-1), it will warp the mouse pointer to
the given (@x,@y) corrdinates within @window and simulate a
key press or release event.

When the mouse pointer is warped to the target location, use
of this function outside of test programs that run in their
own virtual windowing system (e.g. Xvfb) is not recommended.
If (@x,@y) are passed as (-1,-1), the mouse pointer will not
be warped and @window origin will be used as mouse pointer
location for the event.

Also, gtk_test_simulate_key() is a fairly low level function,
for most testing purposes, gtk_test_widget_send_key() is the
right function to call which will generate a key press event
followed by its accompanying key release event.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">whether all actions neccessary for a key event simulation
    were carried out successfully.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="window" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkWindow to simulate a key event for.</doc>
          <type name="Window" c:type="GdkWindow*"/>
        </parameter>
        <parameter name="x" transfer-ownership="none">
          <doc xml:space="preserve">x coordinate within @window for the key event.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="y" transfer-ownership="none">
          <doc xml:space="preserve">y coordinate within @window for the key event.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="keyval" transfer-ownership="none">
          <doc xml:space="preserve">A GDK keyboard value.</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="modifiers" transfer-ownership="none">
          <doc xml:space="preserve">Keyboard modifiers the event is setup with.</doc>
          <type name="ModifierType" c:type="GdkModifierType"/>
        </parameter>
        <parameter name="key_pressrelease" transfer-ownership="none">
          <doc xml:space="preserve">either %GDK_KEY_PRESS or %GDK_KEY_RELEASE</doc>
          <type name="EventType" c:type="GdkEventType"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_extents" c:identifier="gdk_text_extents">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="lbearing" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="rbearing" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="ascent" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="descent" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_extents_wc" c:identifier="gdk_text_extents_wc">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <type name="WChar" c:type="const GdkWChar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="lbearing" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="rbearing" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="ascent" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="descent" transfer-ownership="none">
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_height" c:identifier="gdk_text_height">
      <doc xml:space="preserve">Determines the total height of a given string.
This value is not generally useful, because you cannot
determine how this total height will be drawn in
relation to the baseline. See gdk_text_extents().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the height of the string in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve">the text to measure.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <doc xml:space="preserve">the length of the text in bytes.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_measure" c:identifier="gdk_text_measure">
      <doc xml:space="preserve">Determines the distance from the origin to the rightmost
portion of a string when drawn. This is not the
correct value for determining the origin of the next
portion when drawing text in multiple pieces.
See gdk_text_width().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the right bearing of the string in pixels.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkFont</doc>
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve">the text to measure.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <doc xml:space="preserve">the length of the text in bytes.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_property_to_text_list"
              c:identifier="gdk_text_property_to_text_list">
      <return-value transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="encoding" transfer-ownership="none">
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="list" transfer-ownership="none">
          <type name="utf8" c:type="gchar***"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_property_to_text_list_for_display"
              c:identifier="gdk_text_property_to_text_list_for_display"
              version="2.2"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Convert a text string from the encoding as it is stored
in a property into an array of strings in the encoding of
the current locale. (The elements of the array represent the
nul-separated elements of the original text string.)</doc>
      <doc-deprecated xml:space="preserve">Use gdk_x11_display_text_property_to_text_list()</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the number of strings stored in list, or 0,
if the conversion failed.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">The #GdkDisplay where the encoding is defined.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="encoding" transfer-ownership="none">
          <doc xml:space="preserve">an atom representing the encoding. The most
   common values for this are STRING, or COMPOUND_TEXT.
   This is value used as the type for the property.</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">the format of the property.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve">The text data.</doc>
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve">The number of items to transform.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="list" transfer-ownership="none">
          <doc xml:space="preserve">location to store a terminated array of strings in
   the encoding of the current locale. This array should be
   freed using gdk_free_text_list().</doc>
          <type name="utf8" c:type="gchar***"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_property_to_utf8_list"
              c:identifier="gdk_text_property_to_utf8_list">
      <doc xml:space="preserve">Convert a text property in the giving encoding to
a list of UTF-8 strings.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the number of strings in the resulting
              list.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="encoding" transfer-ownership="none">
          <doc xml:space="preserve">an atom representing the encoding of the text</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">the format of the property</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve">the text to convert</doc>
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve">the length of @text, in bytes</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="list"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve">location to store the list of strings or %NULL. The
           list should be freed with g_strfreev().</doc>
          <type name="utf8" c:type="gchar***"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_property_to_utf8_list_for_display"
              c:identifier="gdk_text_property_to_utf8_list_for_display"
              version="2.2">
      <doc xml:space="preserve">Converts a text property in the given encoding to
a list of UTF-8 strings.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the number of strings in the resulting
              list.</doc>
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDisplay</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="encoding" transfer-ownership="none">
          <doc xml:space="preserve">an atom representing the encoding of the text</doc>
          <type name="Atom" c:type="GdkAtom"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">the format of the property</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <doc xml:space="preserve">the text to convert</doc>
          <type name="guint8" c:type="const guchar*"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve">the length of @text, in bytes</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="list" transfer-ownership="none">
          <doc xml:space="preserve">location to store the list of strings or %NULL. The
           list should be freed with g_strfreev().</doc>
          <type name="utf8" c:type="gchar***"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_width" c:identifier="gdk_text_width">
      <return-value transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="text_width_wc" c:identifier="gdk_text_width_wc">
      <return-value transfer-ownership="none">
        <type name="gint" c:type="gint"/>
      </return-value>
      <parameters>
        <parameter name="font" transfer-ownership="none">
          <type name="Font" c:type="GdkFont*"/>
        </parameter>
        <parameter name="text" transfer-ownership="none">
          <type name="WChar" c:type="const GdkWChar*"/>
        </parameter>
        <parameter name="text_length" transfer-ownership="none">
          <type name="gint" c:type="gint"/>
        </parameter>
      </parameters>
    </function>
    <function name="threads_add_idle"
              c:identifier="gdk_threads_add_idle"
              version="2.12"
              introspectable="0">
      <doc xml:space="preserve">A wrapper for the common usage of gdk_threads_add_idle_full()
assigning the default priority, #G_PRIORITY_DEFAULT_IDLE.

See gdk_threads_add_idle_full().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the ID (greater than 0) of the event source.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="function" transfer-ownership="none" closure="1">
          <doc xml:space="preserve">function to call</doc>
          <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">data to pass to @function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="threads_add_idle_full"
              c:identifier="gdk_threads_add_idle_full"
              version="2.12">
      <doc xml:space="preserve">Adds a function to be called whenever there are no higher priority
events pending.  If the function returns %FALSE it is automatically
removed from the list of event sources and will not be called again.

This variant of g_idle_add_full() calls @function with the GDK lock
held. It can be thought of a MT-safe version for GTK+ widgets for the
following use case, where you have to worry about idle_callback()
running in thread A and accessing @self after it has been finalized
in thread B:

|[
static gboolean
idle_callback (gpointer data)
{
   /&amp;ast; gdk_threads_enter(); would be needed for g_idle_add() &amp;ast;/

   SomeWidget *self = data;
   /&amp;ast; do stuff with self &amp;ast;/

   self-&gt;idle_id = 0;

   /&amp;ast; gdk_threads_leave(); would be needed for g_idle_add() &amp;ast;/
   return FALSE;
}

static void
some_widget_do_stuff_later (SomeWidget *self)
{
   self-&gt;idle_id = gdk_threads_add_idle (idle_callback, self)
   /&amp;ast; using g_idle_add() here would require thread protection in the callback &amp;ast;/
}

static void
some_widget_finalize (GObject *object)
{
   SomeWidget *self = SOME_WIDGET (object);
   if (self-&gt;idle_id)
     g_source_remove (self-&gt;idle_id);
   G_OBJECT_CLASS (parent_class)-&gt;finalize (object);
}
]|</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the ID (greater than 0) of the event source.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="priority" transfer-ownership="none">
          <doc xml:space="preserve">the priority of the idle source. Typically this will be in the
           range btweeen #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="function"
                   transfer-ownership="none"
                   scope="notified"
                   closure="2"
                   destroy="3">
          <doc xml:space="preserve">function to call</doc>
          <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">data to pass to @function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="notify"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async">
          <doc xml:space="preserve">function to call when the idle is removed, or %NULL</doc>
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
        </parameter>
      </parameters>
    </function>
    <function name="threads_add_timeout"
              c:identifier="gdk_threads_add_timeout"
              version="2.12"
              introspectable="0">
      <doc xml:space="preserve">A wrapper for the common usage of gdk_threads_add_timeout_full()
assigning the default priority, #G_PRIORITY_DEFAULT.

See gdk_threads_add_timeout_full().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the ID (greater than 0) of the event source.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="interval" transfer-ownership="none">
          <doc xml:space="preserve">the time between calls to the function, in milliseconds
            (1/1000ths of a second)</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="function" transfer-ownership="none" closure="2">
          <doc xml:space="preserve">function to call</doc>
          <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">data to pass to @function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="threads_add_timeout_full"
              c:identifier="gdk_threads_add_timeout_full"
              version="2.12">
      <doc xml:space="preserve">Sets a function to be called at regular intervals holding the GDK lock,
with the given priority.  The function is called repeatedly until it
returns %FALSE, at which point the timeout is automatically destroyed
and the function will not be called again.  The @notify function is
called when the timeout is destroyed.  The first call to the
function will be at the end of the first @interval.

Note that timeout functions may be delayed, due to the processing of other
event sources. Thus they should not be relied on for precise timing.
After each call to the timeout function, the time of the next
timeout is recalculated based on the current time and the given interval
(it does not try to 'catch up' time lost in delays).

This variant of g_timeout_add_full() can be thought of a MT-safe version
for GTK+ widgets for the following use case:

|[
static gboolean timeout_callback (gpointer data)
{
   SomeWidget *self = data;
   
   /&amp;ast; do stuff with self &amp;ast;/
   
   self-&gt;timeout_id = 0;
   
   return FALSE;
}
 
static void some_widget_do_stuff_later (SomeWidget *self)
{
   self-&gt;timeout_id = g_timeout_add (timeout_callback, self)
}
 
static void some_widget_finalize (GObject *object)
{
   SomeWidget *self = SOME_WIDGET (object);
   
   if (self-&gt;timeout_id)
     g_source_remove (self-&gt;timeout_id);
   
   G_OBJECT_CLASS (parent_class)-&gt;finalize (object);
}
]|</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the ID (greater than 0) of the event source.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="priority" transfer-ownership="none">
          <doc xml:space="preserve">the priority of the timeout source. Typically this will be in the
           range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="interval" transfer-ownership="none">
          <doc xml:space="preserve">the time between calls to the function, in milliseconds
            (1/1000ths of a second)</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="function"
                   transfer-ownership="none"
                   scope="notified"
                   closure="3"
                   destroy="4">
          <doc xml:space="preserve">function to call</doc>
          <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">data to pass to @function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="notify"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async">
          <doc xml:space="preserve">function to call when the timeout is removed, or %NULL</doc>
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
        </parameter>
      </parameters>
    </function>
    <function name="threads_add_timeout_seconds"
              c:identifier="gdk_threads_add_timeout_seconds"
              version="2.14"
              introspectable="0">
      <doc xml:space="preserve">A wrapper for the common usage of gdk_threads_add_timeout_seconds_full()
assigning the default priority, #G_PRIORITY_DEFAULT.

For details, see gdk_threads_add_timeout_full().</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the ID (greater than 0) of the event source.</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="interval" transfer-ownership="none">
          <doc xml:space="preserve">the time between calls to the function, in seconds</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="function" transfer-ownership="none" closure="2">
          <doc xml:space="preserve">function to call</doc>
          <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">data to pass to @function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="threads_add_timeout_seconds_full"
              c:identifier="gdk_threads_add_timeout_seconds_full"
              version="2.14">
      <doc xml:space="preserve">A variant of gdk_threads_add_timout_full() with second-granularity.
See g_timeout_add_seconds_full() for a discussion of why it is
a good idea to use this function if you don't need finer granularity.

 Return value: the ID (greater than 0) of the event source.</doc>
      <return-value transfer-ownership="none">
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="priority" transfer-ownership="none">
          <doc xml:space="preserve">the priority of the timeout source. Typically this will be in the
           range between #G_PRIORITY_DEFAULT_IDLE and #G_PRIORITY_HIGH_IDLE.</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="interval" transfer-ownership="none">
          <doc xml:space="preserve">the time between calls to the function, in seconds</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="function"
                   transfer-ownership="none"
                   scope="notified"
                   closure="3"
                   destroy="4">
          <doc xml:space="preserve">function to call</doc>
          <type name="GLib.SourceFunc" c:type="GSourceFunc"/>
        </parameter>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve">data to pass to @function</doc>
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
        <parameter name="notify"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async">
          <doc xml:space="preserve">function to call when the timeout is removed, or %NULL</doc>
          <type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
        </parameter>
      </parameters>
    </function>
    <function name="threads_enter" c:identifier="gdk_threads_enter">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="threads_init" c:identifier="gdk_threads_init">
      <doc xml:space="preserve">Initializes GDK so that it can be used from multiple threads
in conjunction with gdk_threads_enter() and gdk_threads_leave().
g_thread_init() must be called previous to this function.

This call must be made before any use of the main loop from
GTK+; to be safe, call it before gtk_init().</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="threads_leave" c:identifier="gdk_threads_leave">
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="threads_set_lock_functions"
              c:identifier="gdk_threads_set_lock_functions"
              version="2.4"
              introspectable="0">
      <doc xml:space="preserve">Allows the application to replace the standard method that
GDK uses to protect its data structures. Normally, GDK
creates a single #GMutex that is locked by gdk_threads_enter(),
and released by gdk_threads_leave(); using this function an
application provides, instead, a function @enter_fn that is
called by gdk_threads_enter() and a function @leave_fn that is
called by gdk_threads_leave().

The functions must provide at least same locking functionality
as the default implementation, but can also do extra application
specific processing.

As an example, consider an application that has its own recursive
lock that when held, holds the GTK+ lock as well. When GTK+ unlocks
the GTK+ lock when entering a recursive main loop, the application
must temporarily release its lock as well.

Most threaded GTK+ apps won't need to use this method.

This method must be called before gdk_threads_init(), and cannot
be called multiple times.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="enter_fn" transfer-ownership="none">
          <doc xml:space="preserve">function called to guard GDK</doc>
          <type name="GObject.Callback" c:type="GCallback"/>
        </parameter>
        <parameter name="leave_fn" transfer-ownership="none">
          <doc xml:space="preserve">function called to release the guard</doc>
          <type name="GObject.Callback" c:type="GCallback"/>
        </parameter>
      </parameters>
    </function>
    <function name="unicode_to_keyval" c:identifier="gdk_unicode_to_keyval">
      <doc xml:space="preserve">Convert from a ISO10646 character to a key symbol.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">the corresponding GDK key symbol, if one exists.
              or, if there is no corresponding symbol,
              wc | 0x01000000</doc>
        <type name="guint" c:type="guint"/>
      </return-value>
      <parameters>
        <parameter name="wc" transfer-ownership="none">
          <doc xml:space="preserve">a ISO10646 encoded character</doc>
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="utf8_to_compound_text"
              c:identifier="gdk_utf8_to_compound_text">
      <doc xml:space="preserve">Convert from UTF-8 to compound text.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the conversion succeeded, otherwise
              false.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve">a UTF-8 string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="encoding" transfer-ownership="none">
          <doc xml:space="preserve">location to store resulting encoding</doc>
          <type name="Atom" c:type="GdkAtom*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">location to store format of the result</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="ctext" transfer-ownership="none">
          <doc xml:space="preserve">location to store the data of the result</doc>
          <type name="guint8" c:type="guchar**"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve">location to store the length of the data
           stored in @ctext</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utf8_to_compound_text_for_display"
              c:identifier="gdk_utf8_to_compound_text_for_display"
              version="2.2"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Converts from UTF-8 to compound text.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_x11_display_utf8_to_compound_text()</doc-deprecated>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">%TRUE if the conversion succeeded, otherwise
              %FALSE.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkDisplay</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve">a UTF-8 string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="encoding" transfer-ownership="none">
          <doc xml:space="preserve">location to store resulting encoding</doc>
          <type name="Atom" c:type="GdkAtom*"/>
        </parameter>
        <parameter name="format" transfer-ownership="none">
          <doc xml:space="preserve">location to store format of the result</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="ctext" transfer-ownership="none">
          <doc xml:space="preserve">location to store the data of the result</doc>
          <type name="guint8" c:type="guchar**"/>
        </parameter>
        <parameter name="length" transfer-ownership="none">
          <doc xml:space="preserve">location to store the length of the data
           stored in @ctext</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="utf8_to_string_target"
              c:identifier="gdk_utf8_to_string_target">
      <doc xml:space="preserve">Converts an UTF-8 string into the best possible representation
as a STRING. The representation of characters not in STRING
is not specified; it may be as pseudo-escape sequences
\x{ABCD}, or it may be in some other form of approximation.</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">the newly-allocated string, or %NULL if the
              conversion failed. (It should not fail for
              any properly formed UTF-8 string unless system
              limits like memory or file descriptors are exceeded.)</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve">a UTF-8 string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="wcstombs" c:identifier="gdk_wcstombs">
      <doc xml:space="preserve">Converts a wide character string to a multi-byte string.
(The function name comes from an acronym of 'Wide Character String TO
Multi-Byte String').</doc>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve">the multi-byte string corresponding to @src, or %NULL if the
conversion failed. The returned string should be freed with g_free() when no
longer needed.</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="src" transfer-ownership="none">
          <doc xml:space="preserve">a wide character string.</doc>
          <type name="WChar" c:type="const GdkWChar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="window_at_pointer" c:identifier="gdk_window_at_pointer">
      <doc xml:space="preserve">Obtains the window underneath the mouse pointer, returning the
location of that window in @win_x, @win_y. Returns %NULL if the
window under the mouse pointer is not known to GDK (if the window
belongs to another application and a #GdkWindow hasn't been created
for it with gdk_window_foreign_new())

NOTE: For multihead-aware widgets or applications use
gdk_display_get_window_at_pointer() instead.</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve">window under the mouse pointer</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="win_x"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full"
                   optional="1"
                   allow-none="1">
          <doc xml:space="preserve">return location for origin of the window under the pointer</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="win_y"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full"
                   optional="1"
                   allow-none="1">
          <doc xml:space="preserve">return location for origin of the window under the pointer</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="window_constrain_size"
              c:identifier="gdk_window_constrain_size">
      <doc xml:space="preserve">Constrains a desired width and height according to a
set of geometry hints (such as minimum and maximum size).</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="geometry" transfer-ownership="none">
          <doc xml:space="preserve">a #GdkGeometry structure</doc>
          <type name="Geometry" c:type="GdkGeometry*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve">a mask indicating what portions of @geometry are set</doc>
          <type name="guint" c:type="guint"/>
        </parameter>
        <parameter name="width" transfer-ownership="none">
          <doc xml:space="preserve">desired width of window</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="height" transfer-ownership="none">
          <doc xml:space="preserve">desired height of the window</doc>
          <type name="gint" c:type="gint"/>
        </parameter>
        <parameter name="new_width"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">location to store resulting width</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
        <parameter name="new_height"
                   direction="out"
                   caller-allocates="0"
                   transfer-ownership="full">
          <doc xml:space="preserve">location to store resulting height</doc>
          <type name="gint" c:type="gint*"/>
        </parameter>
      </parameters>
    </function>
    <function name="window_foreign_new"
              c:identifier="gdk_window_foreign_new"
              introspectable="0">
      <doc xml:space="preserve">Wraps a native window for the default display in a #GdkWindow.
This may fail if the window has been destroyed.

For example in the X backend, a native window handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
      <return-value>
        <doc xml:space="preserve">the newly-created #GdkWindow wrapper for the
   native window or %NULL if the window has been destroyed.</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="anid" transfer-ownership="none">
          <doc xml:space="preserve">a native window handle.</doc>
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
      </parameters>
    </function>
    <function name="window_foreign_new_for_display"
              c:identifier="gdk_window_foreign_new_for_display"
              version="2.2"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Wraps a native window in a #GdkWindow.
This may fail if the window has been destroyed. If the window
was already known to GDK, a new reference to the existing
#GdkWindow is returned.

For example in the X backend, a native window handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_x11_window_foreign_new_for_display() or
    equivalent backend-specific API instead</doc-deprecated>
      <return-value>
        <doc xml:space="preserve">a #GdkWindow wrapper for the native window or
  %NULL if the window has been destroyed. The wrapper will be
  newly created, if one doesn't exist already.</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay where the window handle comes from.</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="anid" transfer-ownership="none">
          <doc xml:space="preserve">a native window handle.</doc>
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
      </parameters>
    </function>
    <function name="window_get_toplevels"
              c:identifier="gdk_window_get_toplevels"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.16">
      <doc xml:space="preserve">Obtains a list of all toplevel windows known to GDK on the default
screen (see gdk_screen_get_toplevel_windows()).
A toplevel window is a child of the root window (see
gdk_get_default_root_window()).

The returned list should be freed with g_list_free(), but
its elements need not be freed.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_screen_get_toplevel_windows() instead.</doc-deprecated>
      <return-value>
        <doc xml:space="preserve">list of toplevel windows, free with g_list_free()</doc>
        <type name="GLib.List" c:type="GList*">
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </return-value>
    </function>
    <function name="window_lookup"
              c:identifier="gdk_window_lookup"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Looks up the #GdkWindow that wraps the given native window handle.

For example in the X backend, a native window handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_x11_window_lookup_for_display() or equivalent
   backend-specific functionality instead</doc-deprecated>
      <return-value>
        <doc xml:space="preserve">the #GdkWindow wrapper for the native window,
   or %NULL if there is none.</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="anid" transfer-ownership="none">
          <doc xml:space="preserve">a native window handle.</doc>
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
      </parameters>
    </function>
    <function name="window_lookup_for_display"
              c:identifier="gdk_window_lookup_for_display"
              version="2.2"
              introspectable="0"
              deprecated="1"
              deprecated-version="2.24">
      <doc xml:space="preserve">Looks up the #GdkWindow that wraps the given native window handle.

For example in the X backend, a native window handle is an Xlib
&lt;type&gt;XID&lt;/type&gt;.</doc>
      <doc-deprecated xml:space="preserve">Use gdk_x11_window_lookup_for_display() instead</doc-deprecated>
      <return-value>
        <doc xml:space="preserve">the #GdkWindow wrapper for the native window,
   or %NULL if there is none.</doc>
        <type name="Window" c:type="GdkWindow*"/>
      </return-value>
      <parameters>
        <parameter name="display" transfer-ownership="none">
          <doc xml:space="preserve">the #GdkDisplay corresponding to the window handle</doc>
          <type name="Display" c:type="GdkDisplay*"/>
        </parameter>
        <parameter name="anid" transfer-ownership="none">
          <doc xml:space="preserve">a native window handle.</doc>
          <type name="NativeWindow" c:type="GdkNativeWindow"/>
        </parameter>
      </parameters>
    </function>
    <function name="window_process_all_updates"
              c:identifier="gdk_window_process_all_updates">
      <doc xml:space="preserve">Calls gdk_window_process_updates() for all windows (see #GdkWindow)
in the application.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
    </function>
    <function name="window_set_debug_updates"
              c:identifier="gdk_window_set_debug_updates">
      <doc xml:space="preserve">With update debugging enabled, calls to
gdk_window_invalidate_region() clear the invalidated region of the
screen to a noticeable color, and GDK pauses for a short time
before sending exposes to windows during
gdk_window_process_updates().  The net effect is that you can see
the invalid region for each window and watch redraws as they
occur. This allows you to diagnose inefficiencies in your application.

In essence, because the GDK rendering model prevents all flicker,
if you are redrawing the same region 400 times you may never
notice, aside from noticing a speed problem. Enabling update
debugging causes GTK to flicker slowly and noticeably, so you can
see exactly what's being redrawn when, in what order.

The --gtk-debug=updates command line option passed to GTK+ programs
enables this debug option at application startup time. That's
usually more useful than calling gdk_window_set_debug_updates()
yourself, though you might want to use this function to enable
updates sometime after application startup time.</doc>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="setting" transfer-ownership="none">
          <doc xml:space="preserve">%TRUE to turn on update debugging</doc>
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
  </namespace>
</repository>