<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">

<refentry id="gdk-constants">
  <refnamediv>
    <refname>gtk.gdk Constants</refname>
    <refpurpose>the built-in constants of the gtk.gdk module</refpurpose>
  </refnamediv>

  <refsect1>
    <title>Synopsis</title>

    <programlisting>
<xref linkend="gdk-windowing-constant" endterm="gdk-windowing-constant-title"></xref>
<xref linkend="gdk-drag-action-constants" endterm="gdk-drag-action-constants-title"></xref>
<xref linkend="gdk-device-axis-use" endterm="gdk-device-axis-use-title"></xref>
<xref linkend="gdk-byte-order-constants" endterm="gdk-byte-order-constants-title"></xref>
<xref linkend="gdk-cap-style-constants" endterm="gdk-cap-style-constants-title"></xref>
<xref linkend="gdk-crossing-mode-constants" endterm="gdk-crossing-mode-constants-title"></xref>
<xref linkend="gdk-cursor-type-constants" endterm="gdk-cursor-type-constants-title"></xref>
<xref linkend="gdk-drag-protocol-constants" endterm="gdk-drag-protocol-constants-title"></xref>
<xref linkend="gdk-event-mask-constants" endterm="gdk-event-mask-constants-title"></xref>
<xref linkend="gdk-event-type-constants" endterm="gdk-event-type-constants-title"></xref>
<xref linkend="gdk-extension-mode-constants" endterm="gdk-extension-mode-constants-title"></xref>
<xref linkend="gdk-fill-constants" endterm="gdk-fill-constants-title"></xref>
<xref linkend="gdk-fill-rule-constants" endterm="gdk-fill-rule-constants-title"></xref>
<xref linkend="gdk-filter-return-constants" endterm="gdk-filter-return-constants-title"></xref>
<xref linkend="gdk-function-constants" endterm="gdk-function-constants-title"></xref>
<xref linkend="gdk-gc-values-mask-constants" endterm="gdk-gc-values-mask-constants-title"></xref>
<xref linkend="gdk-gravity-constants" endterm="gdk-gravity-constants-title"></xref>
<xref linkend="gdk-image-type-constants" endterm="gdk-image-type-constants-title"></xref>
<xref linkend="gdk-input-condition-constants" endterm="gdk-input-condition-constants-title"></xref>
<xref linkend="gdk-input-mode-constants" endterm="gdk-input-mode-constants-title"></xref>
<xref linkend="gdk-input-source-constants" endterm="gdk-input-source-constants-title"></xref>
<xref linkend="gdk-join-style-constants" endterm="gdk-join-style-constants-title"></xref>
<xref linkend="gdk-line-style-constants" endterm="gdk-line-style-constants-title"></xref>
<xref linkend="gdk-modifier-constants" endterm="gdk-modifier-constants-title"></xref>
<xref linkend="gdk-notify-type-constants" endterm="gdk-notify-type-constants-title"></xref>
<xref linkend="gdk-overlap-type-constants" endterm="gdk-overlap-type-constants-title"></xref>
<xref linkend="gdk-owner-change-constants" endterm="gdk-owner-change-constants-title"></xref>
<xref linkend="gdk-parent-relative-constant" endterm="gdk-parent-relative-constant-title"></xref>
<xref linkend="gdk-pixbuf-rotation-constants" endterm="gdk-pixbuf-rotation-constants-title"></xref>
<xref linkend="gdk-property-mode-constants" endterm="gdk-property-mode-constants-title"></xref>
<xref linkend="gdk-property-state-constants" endterm="gdk-property-state-constants-title"></xref>
<xref linkend="gdk-rgb-dither-constants" endterm="gdk-rgb-dither-constants-title"></xref>
<xref linkend="gdk-scroll-direction-constants" endterm="gdk-scroll-direction-constants-title"></xref>
<xref linkend="gdk-setting-action-constants" endterm="gdk-setting-action-constants-title"></xref>
<xref linkend="gdk-subwindow-mode-constants" endterm="gdk-subwindow-mode-constants-title"></xref>
<xref linkend="gdk-visibility-state-constants" endterm="gdk-visibility-state-constants-title"></xref>
<xref linkend="gdk-visual-type-constants" endterm="gdk-visual-type-constants-title"></xref>
<xref linkend="gdk-window-class-constants" endterm="gdk-window-class-constants-title"></xref>
<xref linkend="gdk-window-edge-constants" endterm="gdk-window-edge-constants-title"></xref>
<xref linkend="gdk-window-hints-constants" endterm="gdk-window-hints-constants-title"></xref>
<xref linkend="gdk-window-state-constants" endterm="gdk-window-state-constants-title"></xref>
<xref linkend="gdk-window-type-constants" endterm="gdk-window-type-constants-title"></xref>
<xref linkend="gdk-window-type-hint-constants" endterm="gdk-window-type-hint-constants-title"></xref>
<xref linkend="gdk-wm-decoration-constants" endterm="gdk-wm-decoration-constants-title"></xref>
<xref linkend="gdk-wm-function-constants" endterm="gdk-wm-function-constants-title"></xref>
</programlisting>

  </refsect1>

  <refsect1 id="gdk-constants-description">
    <title>Description</title>

    <refsect2 id="gdk-windowing-constant">
      <title id="gdk-windowing-constant-title">GDK Windowing Constant</title>

      <note>
        <para>This constant is available in PyGTK 2.16 and above.</para>
      </note>

      <para>This consntant specifies which windowing backend GDK uses.
        It is similar to <literal>GDK_WINDOWING_*</literal> C macros.
        The constant value is one of the following strings (note that
        all values are lowercase):</para>

      <variablelist>
        <varlistentry>
          <term><literal>"x11"</literal></term>
          <listitem>
            <simpara>X Window System</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>"win32"</literal></term>
          <listitem>
            <simpara>Microsoft Windows API</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>"quartz"</literal></term>
          <listitem>
            <simpara>Mac OS X Quartz</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>"directfb"</literal></term>
          <listitem>
            <simpara>Direct Frame Buffer on a UNIX-like system</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>"?"</literal></term>
          <listitem>
            <simpara>Unknown (this can in theory happen if GTK+
              library is newer than PyGTK)</simpara>
          </listitem>
        </varlistentry>
      </variablelist>
    </refsect2>

    <refsect2 id="gdk-drag-action-constants">
      <title id="gdk-drag-action-constants-title">GDK Drag Action Constants</title>

      <para>The Drag Action constants are used by <link
linkend="class-gdkdragcontext"><classname>gtk.gdk.DragContext</classname></link>
objects to indicate what the destination should do with the dropped
data.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.ACTION_DEFAULT</literal></term>
          <listitem>
            <simpara></simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.ACTION_COPY</literal></term>
          <listitem>
            <simpara>Copy the data.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.ACTION_MOVE</literal></term>
          <listitem>
            <simpara>Move the data, i.e. first copy it, then delete it from
the source using the DELETE target of the X selection protocol.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.ACTION_LINK</literal></term>
          <listitem>
            <simpara>Add a link to the data. Note that this is only useful
if source and destination agree on what it means.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.ACTION_PRIVATE</literal></term>
          <listitem>
            <simpara>Special action which tells the source that the
destination will do something that the source doesn't understand.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.ACTION_ASK</literal></term>
          <listitem>
            <simpara>Ask the user what to do with the data.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-device-axis-use">
      <title id="gdk-device-axis-use-title">GDK Device Axis Use Constants</title>

      <para>The Device Axis constants describing the way in which a device
axis (valuator) maps onto predefined valuator types.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_IGNORE</literal></term>
          <listitem>
            <simpara>the axis is ignored.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_X</literal></term>
          <listitem>
            <simpara>the axis is used as the x axis.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_Y</literal></term>
          <listitem>
            <simpara>the axis is used as the y axis.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_PRESSURE</literal></term>
          <listitem>
            <simpara>the axis is used for pressure information.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_XTILT</literal></term>
          <listitem>
            <simpara>the axis is used for x tilt information.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_YTILT</literal></term>
          <listitem>
            <simpara>the axis is used for y tilt information.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_WHEEL</literal></term>
          <listitem>
            <simpara>the axis is used for wheel information.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.AXIS_LAST</literal></term>
          <listitem>
            <simpara>a constant equal to the numerically highest axis
value.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-byte-order-constants">
      <title id="gdk-byte-order-constants-title">GDK Byte Order Constants</title>

      <para>The Byte Order constants specify a set of values describing the
possible byte-orders for storing pixel values in memory.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.LSB_FIRST</literal></term>
	  <listitem>
	    <simpara>The values are stored with the least-significant byte
	    first. For instance, the 32-bit value 0xffeecc would be stored
	    in memory as 0xcc, 0xee, 0xff, 0x00.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.MSB_FIRST</literal></term>
	  <listitem>
	    <simpara>The values are stored with the most-significant byte
	    first. For instance, the 32-bit value 0xffeecc would be stored
	    in memory as 0x00, 0xcc, 0xee, 0xff.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-cap-style-constants">
      <title id="gdk-cap-style-constants-title">GDK Cap Style Constants</title>

      <para>The Cap Style constants specify how the end of lines are
drawn.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.CAP_NOT_LAST</literal></term>
          <listitem>
            <simpara>The same as <literal>gtk.gdk.CAP_BUTT</literal> for
lines of non-zero width but for zero width lines, the final point on the
line will not be drawn.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.CAP_BUTT</literal></term>
          <listitem>
            <simpara>The ends of the lines are drawn squared off and
extending to the coordinates of the end point.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.CAP_ROUND</literal></term>
          <listitem>
            <simpara>The ends of the lines are drawn as semicircles with the
diameter equal to the line width and centered at the end point.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.CAP_PROJECTING</literal></term>
          <listitem>
            <simpara>The ends of the lines are drawn squared off and
extending half the width of the line beyond the end point.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

   </refsect2>

    <refsect2 id="gdk-crossing-mode-constants">
      <title id="gdk-crossing-mode-constants-title">GDK Crossing Mode Constants</title>

      <para>The Crossing Mode constants specify the crossing mode for the
Crossing <link
linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link></para>

      <variablelist>
	<varlistentry>
	  <term><literal></literal></term>
	  <listitem>
	    <simpara></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal></literal></term>
	  <listitem>
	    <simpara></simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-cursor-type-constants">
      <title id="gdk-cursor-type-constants-title">GDK Cursor Type Constants</title>

      <para>The Cursor Type constants specify the set of standard cursors
available.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.X_CURSOR</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/X_cursor.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BASED_ARROW_DOWN</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/based_arrow_down.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BASED_ARROW_UP</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/based_arrow_up.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BOAT</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/boat.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BOGOSITY</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/bogosity.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BOTTOM_LEFT_CORNER</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/bottom_left_corner.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BOTTOM_RIGHT_CORNER</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/bottom_right_corner.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BOTTOM_SIDE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/bottom_side.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BOTTOM_TEE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/bottom_tee.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.BOX_SPIRAL</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/box_spiral.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.CENTER_PTR</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/center_ptr.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.CIRCLE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/circle.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.CLOCK</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/clock.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.COFFEE_MUG</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/coffee_mug.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.CROSS</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/cross.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.CROSS_REVERSE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/cross_reverse.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.CROSSHAIR</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/crosshair.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DIAMOND_CROSS</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/diamond_cross.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DOT</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/dot.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DOTBOX</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/dotbox.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DOUBLE_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/double_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DRAFT_LARGE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/draft_large.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DRAFT_SMALL</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/draft_small.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DRAPED_BOX</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/draped_box.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.EXCHANGE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/exchange.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.FLEUR</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/fleur.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GOBBLER</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/gobbler.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GUMBY</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/gumby.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HAND1</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/hand1.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HAND2</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/hand2.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HEART</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/heart.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.ICON</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/icon.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.IRON_CROSS</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/iron_cross.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.LEFT_PTR</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/left_ptr.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.LEFT_SIDE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/left_side.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.LEFT_TEE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/left_tee.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.LEFTBUTTON</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/leftbutton.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.LL_ANGLE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/ll_angle.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.LR_ANGLE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/lr_angle.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.MAN</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/man.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.MIDDLEBUTTON</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/middlebutton.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.MOUSE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/mouse.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.PENCIL</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/pencil.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.PIRATE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/pirate.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.PLUS</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/plus.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.QUESTION_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/question_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.RIGHT_PTR</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/right_ptr.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.RIGHT_SIDE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/right_side.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.RIGHT_TEE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/right_tee.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.RIGHTBUTTON</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/rightbutton.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.RTL_LOGO</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/rtl_logo.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SAILBOAT</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sailboat.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SB_DOWN_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sb_down_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SB_H_DOUBLE_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sb_h_double_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SB_LEFT_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sb_left_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SB_RIGHT_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sb_right_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SB_UP_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sb_up_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SB_V_DOUBLE_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sb_v_double_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SHUTTLE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/shuttle.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SIZING</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/sizing.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SPIDER</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/spider.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SPRAYCAN</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/spraycan.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.STAR</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/star.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TARGET</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/target.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TCROSS</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/tcross.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TOP_LEFT_ARROW</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/top_left_arrow.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TOP_LEFT_CORNER</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/top_left_corner.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TOP_RIGHT_CORNER</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/top_right_corner.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TOP_SIDE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/top_side.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TOP_TEE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/top_tee.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.TREK</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/trek.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.UL_ANGLE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/ul_angle.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.UMBRELLA</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/umbrella.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.UR_ANGLE</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/ur_angle.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WATCH</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/watch.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.XTERM</literal></term>
	  <listitem>
	    <simpara><imagedata fileref="cursors/xterm.png" format="png"/></simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-drag-protocol-constants">
      <title id="gdk-drag-protocol-constants-title">GDK Drag Protocol Constants</title>

      <para>The Drag Protocol constants specify the protocol for a <link
linkend="class-gdkdragcontext"><classname>gtk.gdk.DragContext</classname></link>
according to which <literal>DND</literal> is done.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_PROTO_MOTIF</literal></term>
          <listitem>
            <simpara>The Motif DND protocol. </simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_PROTO_XDND</literal></term>
          <listitem>
            <simpara>The Xdnd protocol.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_PROTO_ROOTWIN</literal></term>
          <listitem>
            <simpara>An extension to the Xdnd protocol for unclaimed root
window drops. </simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_PROTO_NONE</literal></term>
          <listitem>
            <simpara>no protocol.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_PROTO_WIN32_DROPFILES</literal></term>
          <listitem>
            <simpara>The simple WM_DROPFILES protocol.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_PROTO_OLE2</literal></term>
          <listitem>
            <simpara>The complex OLE2 DND protocol (not
implemented).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_PROTO_LOCAL</literal></term>
          <listitem>
            <simpara>Intra-application DND.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-event-mask-constants">
      <title id="gdk-event-mask-constants-title">GDK Event Mask Flag Constants</title>

      <para>The Event Mask flag constants are a set of bit-flags that
specify the events a window is to receive. Most of these masks map onto one
or more of the <link linkend="gdk-event-type-constants">Event Type
Constants</link>.</para>

      <variablelist>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.EXPOSURE_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.POINTER_MOTION_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.POINTER_MOTION_HINT_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.BUTTON_MOTION_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.BUTTON1_MOTION_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.BUTTON2_MOTION_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.BUTTON3_MOTION_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.BUTTON_PRESS_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.BUTTON_RELEASE_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.KEY_PRESS_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.KEY_RELEASE_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.ENTER_NOTIFY_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.LEAVE_NOTIFY_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.FOCUS_CHANGE_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.STRUCTURE_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.PROPERTY_CHANGE_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.VISIBILITY_NOTIFY_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.PROXIMITY_IN_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.PROXIMITY_OUT_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.SUBSTRUCTURE_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.SCROLL_MASK</literal></simpara>
	</listitem></varlistentry>
	<varlistentry><listitem>
	  <simpara><literal>gtk.gdk.ALL_EVENTS_MASK</literal></simpara>
	</listitem></varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-event-type-constants">
      <title id="gdk-event-type-constants-title">GDK Event Type Constants</title>

      <para>The Event Type constants specify the type of an event.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.NOTHING</literal></term>
          <listitem>
            <simpara>a special code to indicate a null event.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DELETE</literal></term>
          <listitem>
            <simpara>the window manager has requested that the toplevel window be hidden or destroyed, usually when the user clicks on a special icon in the title bar.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DESTROY</literal></term>
          <listitem>
            <simpara>the window has been destroyed.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.EXPOSE</literal></term>
          <listitem>
            <simpara>all or part of the window has become visible and needs to be redrawn.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MOTION_NOTIFY</literal></term>
          <listitem>
            <simpara>the pointer (usually a mouse) has moved.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.BUTTON_PRESS</literal></term>
          <listitem>
            <simpara>a mouse button has been pressed.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk._2BUTTON_PRESS</literal></term>
          <listitem>
	    <simpara>a mouse button has been double-clicked (clicked twice within
a short period of time). Note that each click also generates a <literal>gtk.gdk.BUTTON_PRESS</literal> event.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk._3BUTTON_PRESS</literal></term>
          <listitem>
            <simpara>a mouse button has been clicked 3 times in a short period of time. Note that each click also generates a <literal>gtk.gdk.BUTTON_PRESS</literal> event.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.BUTTON_RELEASE</literal></term>
          <listitem>
            <simpara>a mouse button has been released.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.KEY_PRESS</literal></term>
          <listitem>
            <simpara>a key has been pressed.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.KEY_RELEASE</literal></term>
          <listitem>
            <simpara>a key has been released.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.ENTER_NOTIFY</literal></term>
          <listitem>
            <simpara>the pointer has entered the window.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.LEAVE_NOTIFY</literal></term>
          <listitem>
            <simpara>the pointer has left the window.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.FOCUS_CHANGE</literal></term>
          <listitem>
            <simpara>the keyboard focus has entered or left the window.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.CONFIGURE</literal></term>
          <listitem>
	    <simpara>the size, position or stacking order of the window has changed. Note that <literal>PyGTK</literal> discards these events for <literal>gtk.gdk.WINDOW_CHILD</literal> windows.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MAP</literal></term>
          <listitem>
            <simpara>the window has been mapped.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.UNMAP</literal></term>
          <listitem>
            <simpara>the window has been unmapped.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PROPERTY_NOTIFY</literal></term>
          <listitem>
            <simpara>a property on the window has been changed or deleted.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SELECTION_CLEAR</literal></term>
          <listitem>
            <simpara>the application has lost ownership of a selection.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SELECTION_REQUEST</literal></term>
          <listitem>
            <simpara>another application has requested a selection.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SELECTION_NOTIFY</literal></term>
          <listitem>
            <simpara>a selection has been received.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PROXIMITY_IN</literal></term>
          <listitem>
            <simpara>an input device has moved into contact with a sensing surface (e.g. a touchscreen or graphics tablet).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PROXIMITY_OUT</literal></term>
          <listitem>
            <simpara>an input device has moved out of contact with a sensing surface.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_ENTER</literal></term>
          <listitem>
            <simpara>the mouse has entered the window while a drag is in progress.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_LEAVE</literal></term>
          <listitem>
            <simpara>the mouse has left the window while a drag is in progress</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_MOTION</literal></term>
          <listitem>
            <simpara>the mouse has moved in the window while a drag is in progress.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DRAG_STATUS</literal></term>
          <listitem>
            <simpara>the status of the drag operation initiated by the window has changed.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DROP_START</literal></term>
          <listitem>
            <simpara>a drop operation onto the window has started.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.DROP_FINISHED</literal></term>
          <listitem>
            <simpara>the drop operation initiated by the window has completed.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.CLIENT_EVENT</literal></term>
          <listitem>
            <simpara>a message has been received from another application.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.VISIBILITY_NOTIFY</literal></term>
          <listitem>
            <simpara>the window visibility status has changed.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.NO_EXPOSE</literal></term>
          <listitem>
            <simpara>indicates that the source region was completely available when parts of a drawable were copied. This is not very useful.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SCROLL</literal></term>
          <listitem>
            <simpara>a scroll had occurred for a window</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_STATE</literal></term>
          <listitem>
            <simpara>the window state has changed</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SETTING</literal></term>
          <listitem>
            <simpara>a setting has changed</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-extension-mode-constants">
      <title id="gdk-extension-mode-constants-title">GDK Extension Mode Constants</title>

      <para>The Extension Mode constants specify which extension events are
desired for a particular widget.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.EXTENSION_EVENTS_NONE</literal></term>
	  <listitem>
	    <simpara>No extension events are desired.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.EXTENSION_EVENTS_ALL</literal></term>
	  <listitem>
	    <simpara>All extension events are desired.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.EXTENSION_EVENTS_CURSOR</literal></term>
	  <listitem>
	    <simpara>Extension events are desired only if a cursor will be
	    displayed for the device.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-fill-constants">
      <title id="gdk-fill-constants-title">GDK Fill Constants</title>

      <para>The Fill constants specify how primitives are drawn.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.SOLID</literal></term>
          <listitem>
            <simpara>draw with the foreground color. </simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.TILED</literal></term>
          <listitem>
            <simpara>draw with a tiled pixmap.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.STIPPLED</literal></term>
          <listitem>
            <simpara>draw using the stipple bitmap. Pixels corresponding to
bits in the stipple bitmap that are set will be drawn in the foreground
color; pixels corresponding to bits that are not set will be left
untouched.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.OPAQUE_STIPPLED</literal></term>
          <listitem>
            <simpara>draw using the stipple bitmap. Pixels corresponding to
bits in the stipple bitmap that are set will be drawn in the foreground
color; pixels corresponding to bits that are not set will be drawn with the
background color.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-fill-rule-constants">
      <title id="gdk-fill-rule-constants-title">GDK Fill Rule Constants</title>

      <para>The Fill Rule constants specify the method for determining which
pixels are included in a region, when creating a GdkRegion from a
polygon. The fill rule is only relevant for polygons which overlap
themselves. Not used in PyGTK.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.EVEN_ODD_RULE</literal></term>
	  <listitem>
	    <simpara>Areas which are overlapped an odd number of times are
included in the region, while areas overlapped an even number of times are
not.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDING_RULE</literal></term>
	  <listitem>
	    <simpara>Overlapping areas are always included.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-filter-return-constants">
      <title id="gdk-filter-return-constants-title">GDK Filter Return Constants</title>

      <para>The Filter Return constants specify the result of filtering a
native event. See the <link
linkend="method-gdkwindow--add-filter"><methodname>gtk.gdk.Window.add_filter</methodname>()</link>
method for more information.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.FILTER_CONTINUE</literal></term>
	  <listitem>
	    <simpara>Event not handled, continue processing.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.FILTER_TRANSLATE</literal></term>
	  <listitem>
	    <simpara>Native event translated and stored into the <link
linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link> passed
in.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.FILTER_REMOVE</literal></term>
	  <listitem>
	    <simpara>Event handled, terminate processing.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-function-constants">
      <title id="gdk-function-constants-title">GDK Function Constants</title>

      <para>The Function constants specify how the bit values for the source
pixels are combined with the bit values for destination pixels to produce
the final result. The sixteen values here correspond to the 16 different
possible 2x2 truth tables. Only a couple of these values are usually useful;
for colored images, only <literal>gtk.gdk.COPY</literal>,
<literal>gtk.gdk.XOR</literal> and <literal>gtk.gdk.INVERT</literal> are
generally useful. For bitmaps, <literal>gtk.gdk.AND</literal> and
<literal>gtk.gdk.OR</literal> are also useful.</para>

      <variablelist>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.COPY</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.INVERT</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.XOR</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.CLEAR</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.AND</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.AND_REVERSE.</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.AND_INVERT</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.NOOP</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.OR</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.EQUIV</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.OR_REVERSE</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.COPY_INVERT</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.OR_INVERT</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.NAND</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.NOR</literal></simpara>
        </listitem></varlistentry>
        <varlistentry><listitem>
          <simpara><literal>gtk.gdk.SET</literal></simpara>
        </listitem></varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-gc-values-mask-constants">
      <title id="gdk-gc-values-mask-constants-title">GDK GC Values Mask Flag Constants</title>

      <para>The GC Values Mask flag constants are a set of bit flags used to
specify which fields GdkGCValues structure are set. These are only used
internally by PyGTK.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_FOREGROUND</literal></term>
	  <listitem>
	    <simpara>the foreground is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_BACKGROUND</literal></term>
	  <listitem>
	    <simpara>the background is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_FONT</literal></term>
	  <listitem>
	    <simpara>the font is set.</simpara>
	  </listitem>
	</varlistentry>
 	<varlistentry>
	  <term><literal>gtk.gdk.GC_FUNCTION</literal></term>
	  <listitem>
	    <simpara>the function is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_FILL</literal></term>
	  <listitem>
	    <simpara>the fill is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_TILE</literal></term>
	  <listitem>
	    <simpara>the tile is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_STIPPLE</literal></term>
	  <listitem>
	    <simpara>the stipple is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_CLIP_MASK</literal></term>
	  <listitem>
	    <simpara>the clip_mask is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_SUBWINDOW</literal></term>
	  <listitem>
	    <simpara>the subwindow_mode is set.</simpara>
	  </listitem>
	</varlistentry>
 	<varlistentry>
	  <term><literal>gtk.gdk.GC_TS_X_ORIGIN</literal></term>
	  <listitem>
	    <simpara>the ts_x_origin is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_TS_Y_ORIGIN</literal></term>
	  <listitem>
	    <simpara>the ts_y_origin is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_CLIP_X_ORIGIN</literal></term>
	  <listitem>
	    <simpara>the clip_x_origin is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_CLIP_Y_ORIGIN</literal></term>
	  <listitem>
	    <simpara>the clip_y_origin is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_EXPOSURES</literal></term>
	  <listitem>
	    <simpara>the graphics_exposures is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_LINE_WIDTH</literal></term>
	  <listitem>
	    <simpara>the line_width is set.</simpara>
	  </listitem>
	</varlistentry>
 	<varlistentry>
	  <term><literal>gtk.gdk.GC_LINE_STYLE</literal></term>
	  <listitem>
	    <simpara>the line_style is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_CAP_STYLE</literal></term>
	  <listitem>
	    <simpara>the cap_style is set.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GC_JOIN_STYLE</literal></term>
	  <listitem>
	    <simpara>the join_style is set.</simpara>
	  </listitem>
	</varlistentry>
     </variablelist>

    </refsect2>

    <refsect2 id="gdk-gravity-constants">
      <title id="gdk-gravity-constants-title">GDK Gravity Constants</title>

      <para>The Gravity constants specify the reference point of a window
and the meaning of coordinates passed to the <link
linkend="method-gtkwindow--move"><methodname>gtk.Window.move</methodname>()</link>
method.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_NORTH_WEST</literal></term>
	  <listitem>
	    <simpara>The reference point is at the top left
	    corner.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_NORTH</literal></term>
	  <listitem>
	    <simpara>The reference point is in the middle of the top
	    edge.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_NORTH_EAST</literal></term>
	  <listitem>
	    <simpara>The reference point is at the top right
	    corner.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_WEST</literal></term>
	  <listitem>
	    <simpara>The reference point is at the middle of the left
	    edge.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_CENTER</literal></term>
	  <listitem>
	    <simpara>The reference point is at the center of the
	    window.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_EAST</literal></term>
	  <listitem>
	    <simpara>The reference point is at the middle of the right
	    edge. </simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_SOUTH_WEST</literal></term>
	  <listitem>
	    <simpara>The reference point is at the lower left
	    corner.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_SOUTH</literal></term>
	  <listitem>
	    <simpara>The reference point is at the middle of the lower
	    edge.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_SOUTH_EAST</literal></term>
	  <listitem>
	    <simpara>The reference point is at the lower right
	    corner.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.GRAVITY_STATIC</literal></term>
	  <listitem>
	    <simpara>The reference point is at the top left corner of the
	    window itself, ignoring window manager decorations.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-image-type-constants">
      <title id="gdk-image-type-constants-title">GDK Image Type Constants</title>

      <para>The Image Type constants specify the type of a <link
linkend="class-gdkimage"><classname>gtk.gdk.Image</classname></link>.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.IMAGE_NORMAL</literal></term>
	  <listitem>
	    <simpara>The original X image type, which is quite slow since the
image has to be transferred from the client to the server to display
it.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.IMAGE_SHARED</literal></term>
	  <listitem>
	    <simpara>A faster image type, which uses shared memory to transfer
the image data between client and server. However this will only be
available if client and server are on the same machine and the shared memory
extension is supported by the server.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.IMAGE_FASTEST</literal></term>
	  <listitem>
	    <simpara>Specifies that gtk.gdk.IMAGE_SHARED should be tried
first, and if that fails then gtk.gdk.IMAGE_NORMAL will be used.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-input-condition-constants">
      <title id="gdk-input-condition-constants-title">GDK Input Condition Flag Constants</title>

      <para>The Input Condition constants are a set of bit-flags that
specify conditions for which an input callback will be triggered. The three
members of this enumeration correspond to the
<parameter>readfds</parameter>, <parameter>writefds</parameter>, and
<parameter>exceptfds</parameter> arguments to the
<function>select</function> system call.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.INPUT_READ</literal></term>
	  <listitem>
	    <simpara>The file descriptor has become available for
	    reading. (Or, as is standard in Unix, a socket or pipe was
	    closed at the other end; this is the case if a subsequent read
	    on the file descriptor returns a count of zero.)</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.INPUT_WRITE</literal></term>
	  <listitem>
	    <simpara>The file descriptor has become available for
	    writing.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.INPUT_EXCEPTION</literal></term>
	  <listitem>
	    <simpara>An exception was raised on the file
	    descriptor.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-input-mode-constants">
      <title id="gdk-input-mode-constants-title">GDK Input Mode Constants</title>

      <para>The Input Mode constants specify the mode of an input
device.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.MODE_DISABLED</literal></term>
          <listitem>
            <simpara>the device is disabled and will not report any
events.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MODE_SCREEN</literal></term>
          <listitem>
            <simpara>the device is enabled. The device's coordinate space
maps to the entire screen.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MODE_WINDOW</literal></term>
          <listitem>
            <simpara>the device is enabled. The device's coordinate space is
mapped to a single window. The manner in which this window is chosen is
undefined, but it will typically be the same way in which the focus window
for key events is determined.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-input-source-constants">
      <title id="gdk-input-source-constants-title">GDK Input Source Constants</title>

      <para>The Input Source constants specify the type of an input device
in general terms.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.SOURCE_MOUSE</literal></term>
          <listitem>
            <simpara>the device is a mouse. (This will be reported for the
core pointer, even if it is something else, such as a trackball.)</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SOURCE_PEN</literal></term>
          <listitem>
            <simpara>the device is a stylus of a graphics tablet or similar
device.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SOURCE_ERASER</literal></term>
          <listitem>
            <simpara>the device is an eraser. Typically, this would be the
other end of a stylus on a graphics tablet.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.SOURCE_CURSOR</literal></term>
          <listitem>
            <simpara>the device is a graphics tablet "puck" or similar
device.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-join-style-constants">
      <title id="gdk-join-style-constants-title">GDK Join Style Constants</title>

      <para>The Join Style constants specify how the joins between segments
of a polygon are drawn.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.JOIN_MITER</literal></term>
          <listitem>
            <simpara>The sides of each line are extended to meet at an
angle.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.JOIN_ROUND</literal></term>
          <listitem>
            <simpara>The sides of the two lines are joined by a circular
arc.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.JOIN_BEVEL</literal></term>
          <listitem>
            <simpara>The sides of the two lines are joined by a straight
line which makes an equal angle with each line.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>
 
    </refsect2>

    <refsect2 id="gdk-line-style-constants">
      <title id="gdk-line-style-constants-title">GDK Line Style Constants</title>

      <para>The Line Style constants specify how lines are drawn.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.LINE_SOLID</literal></term>
          <listitem>
            <simpara>Lines are drawn solid.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.LINE_ON_OFF_DASH</literal></term>
          <listitem>
            <simpara>Lines are drawn dashed where even segments are drawn
but odd segments are not drawn.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.LINE_DOUBLE_DASH</literal></term>
          <listitem>
            <simpara>Lines are drawn dashed where even segments are drawn
normally but odd segments are drawn in the background color if the fill
style is <literal>gtk.gdk.SOLID</literal>, or in the background color masked
by the stipple if the fill style is
<literal>gtk.gdk.STIPPLED</literal>.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-modifier-constants">
      <title id="gdk-modifier-constants-title">GDK Modifier Constants</title>

      <para>The Modifier constants are a set of bit-flags to indicate the
state of modifier keys and mouse buttons in various event types. Typical
modifier keys are <keycap>Shift</keycap>, <keycap>Control</keycap>,
<keycap>Meta</keycap>, <keycap>Super</keycap>, <keycap>Hyper</keycap>,
<keycap>Alt</keycap>, <keycap>Compose</keycap>, <keycap>Apple</keycap>,
<keycap>CapsLock</keycap> or <keycap>ShiftLock</keycap>.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.SHIFT_MASK</literal></term>
          <listitem>
            <simpara>The Shift key.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.LOCK_MASK</literal></term>
          <listitem>
            <simpara>A Lock key (depending on the modifier mapping of the X
server this may either be CapsLock or ShiftLock).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.CONTROL_MASK</literal></term>
          <listitem>
            <simpara>The Control key. </simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MOD1_MASK</literal></term>
          <listitem>
            <simpara>The fourth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this modifier, but
normally it is the Alt key).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MOD2_MASK</literal></term>
          <listitem>
            <simpara>The fifth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this
modifier).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MOD3_MASK</literal></term>
          <listitem>
            <simpara>The sixth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this
modifier).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MOD4_MASK</literal></term>
          <listitem>
            <simpara>The seventh modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this
modifier).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MOD5_MASK</literal></term>
          <listitem>
            <simpara>The eighth modifier key (it depends on the modifier
mapping of the X server which key is interpreted as this
modifier).</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.BUTTON1_MASK</literal></term>
          <listitem>
            <simpara>The first mouse button.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.BUTTON2_MASK</literal></term>
          <listitem>
            <simpara>The second mouse button.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.BUTTON3_MASK</literal></term>
          <listitem>
            <simpara>The third mouse button.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.BUTTON4_MASK</literal></term>
          <listitem>
            <simpara>The fourth mouse button.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.BUTTON5_MASK</literal></term>
          <listitem>
            <simpara>The fifth mouse button.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.RELEASE_MASK</literal></term>
          <listitem>
            <simpara>Differentiates between (keyval, modifiers) pairs from
key press and release events.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.MODIFIER_MASK</literal></term>
          <listitem>
            <simpara>all of the above</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-notify-type-constants">
      <title id="gdk-notify-type-constants-title">GDK Notify Type Constants</title>

      <para>The Notify Type constants specify the kind of crossing for the
Crossing <link
linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link></para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.NOTIFY_ANCESTOR</literal></term>
	  <listitem>
	    <simpara>the window is entered from an ancestor or left toward
	    an ancestor.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.NOTIFY_VIRTUAL</literal></term>
	  <listitem>
	    <simpara>the pointer moves between an ancestor and an inferior
	    of the window.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.NOTIFY_INFERIOR</literal></term>
	  <listitem>
	    <simpara>the window is entered from an inferior or left toward
	    an inferior.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.NOTIFY_NONLINEAR</literal></term>
	  <listitem>
	    <simpara> the window is entered from or left toward a window
	    which is neither an ancestor nor an inferior.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.NOTIFY_NONLINEAR_VIRTUAL</literal></term>
	  <listitem>
	    <simpara>the pointer moves between two windows which are not
	    ancestors of each other and the window is part of the ancestor
	    chain between one of these windows and their least common
	    ancestor.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.NOTIFY_UNKNOWN</literal></term>
	  <listitem>
	    <simpara>???</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-overlap-type-constants">
      <title id="gdk-overlap-type-constants-title">GDK Overlap Type Constants</title>

      <para>The Overlap Type constants specify the possible values returned
      by the <link
      linkend="method-gdkregion--rect-in"><methodname>gtk.gdk.Region.rect_in</methodname>()</link>
      method.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.OVERLAP_RECTANGLE_IN</literal></term>
	  <listitem>
	    <simpara>The rectangle is inside the GdkRegion.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.OVERLAP_RECTANGLE_OUT</literal></term>
	  <listitem>
	    <simpara>The rectangle is outside the GdkRegion.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.OVERLAP_RECTANGLE_PART</literal></term>
	  <listitem>
	    <simpara>The rectangle is partly inside the GdkRegion.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-owner-change-constants">
      <title id="gdk-owner-change-constants-title">GDK Owner Change Constants</title>

      <para>The Owner Change constants specify the possible values
      indicating why selection ownership changed. These are used by the
      <literal>gdk.OWNER_CHANGE</literal> type <link
      linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link>
      "owner" attribute.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.OVERLAP_RECTANGLE_IN</literal></term>
	  <listitem>
	    <simpara>The rectangle is inside the GdkRegion.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.OVERLAP_RECTANGLE_OUT</literal></term>
	  <listitem>
	    <simpara>The rectangle is outside the GdkRegion.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.OVERLAP_RECTANGLE_PART</literal></term>
	  <listitem>
	    <simpara>The rectangle is partly inside the GdkRegion.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-parent-relative-constant">
      <title id="gdk-parent-relative-constant-title">GDK Parent Relative Constant</title>

      <note>
        <para>This constant is available in PyGTK 2.10 and above.</para>
      </note>

      <para>The Parent Relative constant is a special value (equivalent to
      1L) for <link
      linkend="class-gdkpixmap"><classname>gtk.gdk.Pixmap</classname></link>
      variables, indicating that the background pixmap for a window should
      be inherited from the parent window.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.PARENT_RELATIVE</literal></term>
          <listitem>
            <simpara>the background pixmap for a window should be inherited
            from the parent window.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-pixbuf-rotation-constants">
      <title id="gdk-pixbuf-rotation-constants-title">GDK Pixbuf Rotation Constants</title>

      <para>The Pixbuf Rotation constants specify the angles that a pixbuf
      can be rotated using the <link
      linkend="method-gdkpixbuf--rotate-simple"><methodname>gtk.gdk.Pixbuf.rotate_simple</methodname>()</link>
      method.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.PIXBUF_ROTATE_NONE</literal></term>
          <listitem>
            <simpara>No rotation. Rotate by 0 degrees.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PIXBUF_ROTATE_COUNTERCLOCKWISE</literal></term>
          <listitem>
            <simpara>Rotate by 90 degrees.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PIXBUF_ROTATE_UPSIDEDOWN</literal></term>
          <listitem>
            <simpara>Rotate by 180 degrees.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PIXBUF_ROTATE_CLOCKWISE</literal></term>
          <listitem>
            <simpara>Rotate by 270 degrees.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-property-mode-constants">
      <title id="gdk-property-mode-constants-title">GDK Property Mode Constants</title>

      <para>The Property Mode constants specify how existing data is
combined with new data when using the the <link
linkend="method-gdkwindow--property-change"><methodname>gtk.gdk.Window.property_change</methodname>()</link>
method.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.PROP_MODE_REPLACE</literal></term>
          <listitem>
            <simpara>The new data replaces the existing data.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PROP_MODE_PREPEND</literal></term>
          <listitem>
            <simpara>The new data is prepended to the existing data.
</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.PROP_MODE_APPEND</literal></term>
          <listitem>
            <simpara>The new data is appended to the existing
data.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-property-state-constants">
      <title id="gdk-property-state-constants-title">GDK Property State Constants</title>

      <para>The Property State constants specify the type of a property
change for a Property <link
linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link></para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.PROPERTY_NEW_VALUE</literal></term>
	  <listitem>
	    <simpara>the property value was changed.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.PROPERTY_DELETE</literal></term>
	  <listitem>
	    <simpara>the property was deleted.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-rgb-dither-constants">
      <title id="gdk-rgb-dither-constants-title">GDK RGB Dither Constants</title>

      <para>The RGB Dither constants specify the type of dithering to apply
to the image on display.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.RGB_DITHER_NONE</literal></term>
          <listitem>
            <simpara>Never use dithering.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.RGB_DITHER_NORMAL</literal></term>
          <listitem>
            <simpara>Use dithering in 8 bits per pixel (and below)
            only.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.RGB_DITHER_MAX</literal></term>
          <listitem>
            <simpara>Use dithering in 16 bits per pixel and below.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-scroll-direction-constants">
      <title id="gdk-scroll-direction-constants-title">GDK Scroll Direction Constants</title>

      <para>The Scroll Direction constants specify the direction for the
Scroll.<link
linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link></para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.SCROLL_UP</literal></term>
	  <listitem>
	    <simpara>the window is scrolled up.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SCROLL_DOWN</literal></term>
	  <listitem>
	    <simpara>the window is scrolled down. </simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SCROLL_LEFT</literal></term>
	  <listitem>
	    <simpara>the window is scrolled to the left.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SCROLL_RIGHT</literal></term>
	  <listitem>
	    <simpara>the window is scrolled to the right.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-setting-action-constants">
      <title id="gdk-setting-action-constants-title">GDK Setting Action Constants</title>

      <para>The Setting Action constants specify the kind of modification
applied to a setting in a Setting <link
linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link></para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.SETTING_ACTION_NEW</literal></term>
	  <listitem>
	    <simpara>A setting was added.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SETTING_ACTION_CHANGED</literal></term>
	  <listitem>
	    <simpara>A setting was changed.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.SETTING_ACTION_DELETED</literal></term>
	  <listitem>
	    <simpara>A setting was deleted.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-subwindow-mode-constants">
      <title id="gdk-subwindow-mode-constants-title">GDK Subwindow Mode Constants</title>

      <para>The Subwindow Mode constants specify how drawing onto a window
will affect child windows of that window.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.CLIP_BY_CHILDREN</literal></term>
          <listitem>
            <simpara>only draw onto the window itself not the
subwindows.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.INCLUDE_INFERIORS</literal></term>
          <listitem>
            <simpara>draw onto the window and child windows.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-visibility-state-constants">
      <title id="gdk-visibility-state-constants-title">GDK Visibility State Constants</title>

      <para>The Visibility State constants specify the visibility status of a
window for the Visibility <link
linkend="class-gdkevent"><classname>gtk.gdk.Event</classname></link></para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.VISIBILITY_UNOBSCURED</literal></term>
	  <listitem>
	    <simpara>the window is completely visible.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.VISIBILITY_PARTIAL</literal></term>
	  <listitem>
	    <simpara>the window is partially visible.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.VISIBILITY_FULLY_OBSCURED</literal></term>
	  <listitem>
	    <simpara>the window is not visible at all.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-visual-type-constants">
      <title id="gdk-visual-type-constants-title">GDK Visual Type Constants</title>

      <para>The Visual Type constants specify a set of values that describe
the manner in which the pixel values for a visual are converted into RGB
values for display.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.VISUAL_STATIC_GRAY</literal></term>
	  <listitem>
	    <simpara>Each pixel value indexes a grayscale value
directly.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.VISUAL_GRAYSCALE</literal></term>
	  <listitem>
	    <simpara>Each pixel is an index into a color map that maps pixel
values into grayscale values. The color map can be changed by an
application.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.VISUAL_STATIC_COLOR</literal></term>
	  <listitem>
	    <simpara>Each pixel value is an index into a predefined,
unmodifiable color map that maps pixel values into RGB values.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.VISUAL_PSEUDO_COLOR</literal></term>
	  <listitem>
	    <simpara>Each pixel is an index into a color map that maps pixel
values into rgb values. The color map can be changed by an
application.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.VISUAL_TRUE_COLOR</literal></term>
	  <listitem>
	    <simpara>Each pixel value directly contains red, green, and blue
components. The red_mask, green_mask, and blue_mask fields of the <link
linkend="class-gdkvisual"><classname>gtk.gdk.Visual</classname></link>
structure describe how the components are assembled into a pixel
value.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.VISUAL_DIRECT_COLOR</literal></term>
	  <listitem>
	    <simpara>Each pixel value contains red, green, and blue components
as for <literal>gtk.gdk.TRUE_COLOR</literal>, but the components are mapped
via a color table into the final output table instead of being converted
directly. </simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-window-class-constants">
      <title id="gdk-window-class-constants-title">GDK Window Class Constants</title>

      <para>The Window Class constants specify the class of
window. <literal>gtk.gdk.INPUT_OUTPUT</literal> windows are the standard
kind of window you might expect. <literal>gtk.gdk.INPUT_ONLY</literal>
windows are invisible; they are used to trap events, but you can't draw on
them.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.INPUT_OUTPUT</literal></term>
	  <listitem>
	    <simpara>A window for graphics and events.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.INPUT_ONLY</literal></term>
	  <listitem>
	    <simpara>A window for events only.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-window-edge-constants">
      <title id="gdk-window-edge-constants-title">GDK Window Edge Constants</title>

      <para>The Window Edge constants specify  window edge or corner.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_NORTH_WEST</literal></term>
          <listitem>
            <simpara>The top left corner.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_NORTH</literal></term>
          <listitem>
            <simpara>The top edge.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_NORTH_EAST</literal></term>
          <listitem>
            <simpara>The top right corner.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_WEST</literal></term>
          <listitem>
            <simpara>The left edge.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_EAST</literal></term>
          <listitem>
            <simpara>The right edge.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_SOUTH_WEST</literal></term>
          <listitem>
            <simpara>The lower left corner.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_SOUTH</literal></term>
          <listitem>
            <simpara>The lower edge.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_EDGE_SOUTH_EAST</literal></term>
          <listitem>
            <simpara>The lower right corner.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-window-hints-constants">
      <title id="gdk-window-hints-constants-title">GDK Window Hints Constants</title>

      <para>The Window Hints constants specify the fields of a GdkGeometry
struct should be paid attention to. Also, the presence/absence of
<literal>gtk.gdk.HINT_POS</literal>,
<literal>gtk.gdk.HINT_USER_POS</literal>, and
<literal>gtk.gdk.HINT_USER_SIZE</literal> is significant, though they don't
directly refer to GdkGeometry
fields. <literal>gtk.gdk.HINT_USER_POS</literal> will be set automatically
by <link linkend="class-gtkwindow"><classname>gtk.Window</classname></link>
if you call the <link
linkend="method-gtkwindow--move"><methodname>gtk.Window.move</methodname>()</link>
method. <literal>gtk.gdk.HINT_USER_POS</literal> and
<literal>gtk.gdk.HINT_USER_SIZE</literal> should be set if the user
specified a size/position using a --geometry command-line argument; the
<link
linkend="method-gtkwindow--parse-geometry"><methodname>gtk.Window.parse_geometry</methodname>()</link>
method automatically sets these flags. These constants aren't useful in
PyGTK.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_POS</literal></term>
	  <listitem>
	    <simpara>Indicates that the program has positioned the
	    window</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_MIN_SIZE</literal></term>
	  <listitem>
	    <simpara>Min size fields are set</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_MAX_SIZE</literal></term>
	  <listitem>
	    <simpara>Max size fields are set</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_BASE_SIZE</literal></term>
	  <listitem>
	    <simpara>Base size fields are set </simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_ASPECT</literal></term>
	  <listitem>
	    <simpara>Aspect ratio fields are set</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_RESIZE_INC</literal></term>
	  <listitem>
	    <simpara>Resize increment fields are set</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_WIN_GRAVITY</literal></term>
	  <listitem>
	    <simpara>Window gravity field is set</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_USER_POS</literal></term>
	  <listitem>
	    <simpara>Indicates that the window's position was explicitly set
	    by the user</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.HINT_USER_SIZE</literal></term>
	  <listitem>
	    <simpara>Indicates that the window's size was explicitly set by
	    the user</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-window-state-constants">
      <title id="gdk-window-state-constants-title">GDK Window State Flag Constants</title>

      <para>The Window State flag constants are a set of bit-flags that
specify the state of a toplevel window.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_STATE_WITHDRAWN</literal></term>
	  <listitem>
	    <simpara>The window is not shown.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_STATE_ICONIFIED</literal></term>
	  <listitem>
	    <simpara>The window is minimized.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_STATE_MAXIMIZED</literal></term>
	  <listitem>
	    <simpara>The window is maximized. </simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_STATE_STICKY</literal></term>
	  <listitem>
	    <simpara>The window is sticky.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_STATE_FULLSCREEN</literal></term>
	  <listitem>
	    <simpara>The window is maximized without decorations. Available
in PyGTK 2.2 and above.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_STATE_ABOVE</literal></term>
	  <listitem>
	    <simpara>The window is kept above other windows. Available in
PyGTK 2.4 and above.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_STATE_BELOW</literal></term>
	  <listitem>
	    <simpara>The window is kept below other windows. Available in
PyGTK 2.4 and above.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-window-type-constants">
      <title id="gdk-window-type-constants-title">GDK Window Type Constants</title>

      <para>The Window Type constants specify the type of window.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_ROOT</literal></term>
	  <listitem>
	    <simpara>The root window; this window has no parent, covers the
entire screen, and is created by the window system.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_TOPLEVEL</literal></term>
	  <listitem>
	    <simpara>A toplevel window (used to implement <link
linkend="class-gtkwindow"><classname>gtk.Window</classname></link>).</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_CHILD</literal></term>
	  <listitem>
	    <simpara>A child window (used to implement widgets e.g. <link
linkend="class-gtkentry"><classname>gtk.Entry</classname></link>).</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_DIALOG</literal></term>
	  <listitem>
	    <simpara>A useless/deprecated compatibility type.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_TEMP</literal></term>
	  <listitem>
	    <simpara>An override redirect temporary window (used to implement
<link
linkend="class-gtkmenu"><classname>gtk.Menu</classname></link>).</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.WINDOW_FOREIGN</literal></term>
	  <listitem>
	    <simpara>A foreign window (see the <link
linkend="function-gdk--window-foreign-new"><function>gtk.gdk.window_foreign_new</function>()</link>
function).</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>


    </refsect2>

    <refsect2 id="gdk-window-type-hint-constants">
      <title id="gdk-window-type-hint-constants-title">GDK Window Type Hint Constants</title>

      <para>The Window Type Hint constants specify hints for the window
manager that indicate what type of function the window has. The window
manager can use this when determining decoration and behavior of the
window. The hint must be set before mapping the window.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_NORMAL</literal></term>
          <listitem>
            <simpara>A normal toplevel window.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_DIALOG</literal></term>
          <listitem>
            <simpara>A dialog window.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_MENU</literal></term>
          <listitem>
            <simpara>A window used to implement a menu.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_TOOLBAR</literal></term>
          <listitem>
            <simpara>A window used to implement a toolbar.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_SPLASHSCREEN</literal></term>
          <listitem>
            <simpara>A window used to implement a splash screen</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_UTILITY</literal></term>
          <listitem>
            <simpara></simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_DOCK</literal></term>
          <listitem>
            <simpara>A window used to implement a docking bar.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_DESKTOP</literal></term>
          <listitem>
            <simpara>A window used to implement a desktop.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_DROPDOWN_MENU</literal></term>
          <listitem>
            <simpara>A menu that belongs to a menubar.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_POPUP_MENU</literal></term>
          <listitem>
            <simpara>A menu that does not belong to a menubar, e.g. a context menu.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_TOOLTIP</literal></term>
          <listitem>
            <simpara>A tooltip.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_NOTIFICATION</literal></term>
          <listitem>
            <simpara>A notification - typically a "bubble" that belongs to a status icon.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_COMBO</literal></term>
          <listitem>
            <simpara>A popup from a combo box.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.WINDOW_TYPE_HINT_DND</literal></term>
          <listitem>
            <simpara>A window that is used to implement a DND cursor.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-wm-decoration-constants">
      <title id="gdk-wm-decoration-constants-title">GDK WM Decoration Constants</title>

      <para>The WM Decoration constants are bit-flags that specify the hints
that the window manager can use when determining how to decorate the
window. The hints must be set before mapping the window.</para>

      <variablelist>
	<varlistentry>
	  <term><literal>gtk.gdk.DECOR_ALL</literal></term>
	  <listitem>
	    <simpara>All decorations should be applied.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DECOR_BORDER</literal></term>
	  <listitem>
	    <simpara>A frame should be drawn around the window.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DECOR_RESIZEH</literal></term>
	  <listitem>
	    <simpara>The frame should have resize handles.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DECOR_TITLE</literal></term>
	  <listitem>
	    <simpara>A titlebar should be placed above the window.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DECOR_MENU</literal></term>
	  <listitem>
	    <simpara>A button for opening a menu should be included.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DECOR_MINIMIZE</literal></term>
	  <listitem>
	    <simpara>A minimize button should be included.</simpara>
	  </listitem>
	</varlistentry>
	<varlistentry>
	  <term><literal>gtk.gdk.DECOR_MAXIMIZE</literal></term>
	  <listitem>
	    <simpara>A maximize button should be included.</simpara>
	  </listitem>
	</varlistentry>
      </variablelist>

    </refsect2>

    <refsect2 id="gdk-wm-function-constants">
      <title id="gdk-wm-function-constants-title">GDK WM Function Constants</title>

      <para>The WM Function constants specify hints originally defined by
the Motif toolkit. The window manager can use them when determining the
functions to offer for the window. The hint must be set before mapping the
window.</para>

      <variablelist>
        <varlistentry>
          <term><literal>gtk.gdk.FUNC_ALL</literal></term>
          <listitem>
            <simpara>All functions should be offered.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.FUNC_RESIZE</literal></term>
          <listitem>
            <simpara>The window should be resizable.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.FUNC_MOVE</literal></term>
          <listitem>
            <simpara>The window should be movable.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.FUNC_MINIMIZE</literal></term>
          <listitem>
            <simpara>The window should be minimizable.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.FUNC_MAXIMIZE</literal></term>
          <listitem>
            <simpara>The window should be maximizable.</simpara>
          </listitem>
        </varlistentry>
        <varlistentry>
          <term><literal>gtk.gdk.FUNC_CLOSE</literal></term>
          <listitem>
            <simpara>The window should be closeable.</simpara>
          </listitem>
        </varlistentry>
      </variablelist>

    </refsect2>

  </refsect1>

</refentry>
