Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 677c1b5134368504c2e447757584d19e > files > 659

ghc-gtk-devel-0.11.2-5.fc14.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Graphics.UI.Gtk.General.Drag</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_Graphics-UI-Gtk-General-Drag.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>gtk-0.11.2: Binding to the Gtk+ graphical user interface library.</TD
><TD CLASS="topbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html"
>Source code</A
></TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Graphics.UI.Gtk.General.Drag</FONT
></TD
><TD ALIGN="right"
><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="infohead"
>Portability</TD
><TD CLASS="infoval"
>portable (depends on GHC)</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>gtk2hs-users@lists.sourceforge.net Stability : provisional</TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><B
>Contents</B
></TD
></TR
><TR
><TD
><DL
><DT
><A HREF="#1"
>Types
</A
></DT
><DT
><A HREF="#2"
>Methods
</A
></DT
><DT
><A HREF="#3"
>Signals
</A
></DT
></DL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
><P
>Drag-and-Drop functionality.
</P
><P
>GTK+ has a rich set of functions for doing inter-process communication via
 the drag-and-drop metaphor. GTK+ can do drag-and-drop (DND) via multiple
 protocols. The currently supported protocols are the Xdnd and Motif
 protocols. As well as the functions listed here, applications may need to
 use some facilities provided for Selections. Also, the Drag and Drop API
 makes use of signals in the <TT
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
></TT
> class.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADragContext"
>DragContext</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> o =&gt; <A HREF="#t%3ADragContextClass"
>DragContextClass</A
> o </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADragAction"
>DragAction</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AActionDefault"
>ActionDefault</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AActionCopy"
>ActionCopy</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AActionMove"
>ActionMove</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AActionLink"
>ActionLink</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AActionPrivate"
>ActionPrivate</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AActionAsk"
>ActionAsk</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADestDefaults"
>DestDefaults</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3ADestDefaultMotion"
>DestDefaultMotion</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADestDefaultHighlight"
>DestDefaultHighlight</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADestDefaultDrop"
>DestDefaultDrop</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADestDefaultAll"
>DestDefaultAll</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADragProtocol"
>DragProtocol</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3ADragProtoMotif"
>DragProtoMotif</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragProtoXdnd"
>DragProtoXdnd</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragProtoRootwin"
>DragProtoRootwin</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragProtoNone"
>DragProtoNone</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragProtoWin32Dropfiles"
>DragProtoWin32Dropfiles</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragProtoOle2"
>DragProtoOle2</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragProtoLocal"
>DragProtoLocal</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADragResult"
>DragResult</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3ADragResultSuccess"
>DragResultSuccess</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragResultNoTarget"
>DragResultNoTarget</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragResultUserCancelled"
>DragResultUserCancelled</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragResultTimeoutExpired"
>DragResultTimeoutExpired</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragResultGrabBroken"
>DragResultGrabBroken</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ADragResultError"
>DragResultError</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcastToDragContext"
>castToDragContext</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AgTypeDragContext"
>gTypeDragContext</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType"
>GType</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtoDragContext"
>toDragContext</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragContextActions"
>dragContextActions</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
>]</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragContextSuggestedAction"
>dragContextSuggestedAction</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragContextAction"
>dragContextAction</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestSet"
>dragDestSet</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
>] -&gt; [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestSetProxy"
>dragDestSetProxy</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow"
>DrawWindow</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragProtocol"
>DragProtocol</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestUnset"
>dragDestUnset</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestFindTarget"
>dragDestFindTarget</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget, <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context) =&gt; widget -&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestGetTargetList"
>dragDestGetTargetList</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestSetTargetList"
>dragDestSetTargetList</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestAddTextTargets"
>dragDestAddTextTargets</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestAddImageTargets"
>dragDestAddImageTargets</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDestAddURITargets"
>dragDestAddURITargets</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragStatus"
>dragStatus</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragFinish"
>dragFinish</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragGetData"
>dragGetData</A
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget, <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context) =&gt; widget -&gt; context -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragGetSourceWidget"
>dragGetSourceWidget</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragHighlight"
>dragHighlight</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragUnhighlight"
>dragUnhighlight</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSetIconWidget"
>dragSetIconWidget</A
> :: (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget) =&gt; context -&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSetIconPixbuf"
>dragSetIconPixbuf</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSetIconStock"
>dragSetIconStock</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="Graphics-UI-Gtk-General-StockItems.html#t%3AStockId"
>StockId</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSetIconName"
>dragSetIconName</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSetIconDefault"
>dragSetIconDefault</A
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragCheckThreshold"
>dragCheckThreshold</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceSet"
>dragSourceSet</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; [<A HREF="Graphics-UI-Gtk-General-Enums.html#t%3AModifier"
>Modifier</A
>] -&gt; [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceSetIconPixbuf"
>dragSourceSetIconPixbuf</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceSetIconStock"
>dragSourceSetIconStock</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-General-StockItems.html#t%3AStockId"
>StockId</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceSetIconName"
>dragSourceSetIconName</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceUnset"
>dragSourceUnset</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceSetTargetList"
>dragSourceSetTargetList</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceGetTargetList"
>dragSourceGetTargetList</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceAddTextTargets"
>dragSourceAddTextTargets</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceAddImageTargets"
>dragSourceAddImageTargets</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragSourceAddURITargets"
>dragSourceAddURITargets</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragBegin"
>dragBegin</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDataDelete"
>dragDataDelete</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDataGet"
>dragDataGet</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDataReceived"
>dragDataReceived</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Drawable.html#t%3APoint"
>Point</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragDrop"
>dragDrop</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Drawable.html#t%3APoint"
>Point</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragEnd"
>dragEnd</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragFailed"
>dragFailed</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragResult"
>DragResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragLeave"
>dragLeave</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdragMotion"
>dragMotion</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Drawable.html#t%3APoint"
>Point</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>)</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="1"
><A NAME="1"
>Types
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:DragContext"
><A NAME="t%3ADragContext"
></A
></A
><B
>DragContext</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#DragContext"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:DragContext')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:DragContext" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd"
>Ord</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> o =&gt; <A NAME="t:DragContextClass"
><A NAME="t%3ADragContextClass"
></A
></A
><B
>DragContextClass</B
> o </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#DragContextClass"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:DragContextClass')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:DragContextClass" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:DragAction"
><A NAME="t%3ADragAction"
></A
></A
><B
>DragAction</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Gdk-Enums.html#DragAction"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
><P
>Used in Graphics.UI.Gtk.Genearl.Drag.DragContext to indicate what the
 destination should do with the dropped data.
</P
><UL
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionDefault"
>ActionDefault</A
></TT
>: Initialisation value, should not be used.
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionCopy"
>ActionCopy</A
></TT
>: Copy the data.
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionMove"
>ActionMove</A
></TT
>: Move the data, i.e. first copy it, then delete it from the source.
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionLink"
>ActionLink</A
></TT
>: Add a link to the data. Note that this is only useful if source and
 destination agree on what it means.
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionPrivate"
>ActionPrivate</A
></TT
>: Special action which tells the source that the destination will do
 something that the source doesn't understand.
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionAsk"
>ActionAsk</A
></TT
>: Ask the user what to do with the data.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:ActionDefault"
><A NAME="v%3AActionDefault"
></A
></A
><B
>ActionDefault</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ActionCopy"
><A NAME="v%3AActionCopy"
></A
></A
><B
>ActionCopy</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ActionMove"
><A NAME="v%3AActionMove"
></A
></A
><B
>ActionMove</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ActionLink"
><A NAME="v%3AActionLink"
></A
></A
><B
>ActionLink</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ActionPrivate"
><A NAME="v%3AActionPrivate"
></A
></A
><B
>ActionPrivate</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ActionAsk"
><A NAME="v%3AActionAsk"
></A
></A
><B
>ActionAsk</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:DragAction')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:DragAction" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Flags.html#t%3AFlags"
>Flags</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:DestDefaults"
><A NAME="t%3ADestDefaults"
></A
></A
><B
>DestDefaults</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Enums.html#DestDefaults"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
><P
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
></TT
> enumeration specifies the various types of action that
 will be taken on behalf of the user for a drag destination site.
</P
><UL
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultMotion"
>DestDefaultMotion</A
></TT
>: If set for a widget, GTK+, during a drag over this
 widget will check if the drag matches this widget's list of possible
 targets and actions. GTK+ will then call
 Graphics.UI.Gtk.Gdk.Drag.dragStatus as appropriate.
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultHighlight"
>DestDefaultHighlight</A
></TT
>: If set for a widget, GTK+ will draw a
 highlight on this widget as long as a drag is over this widget and the
 widget drag format and action are acceptable.
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultDrop"
>DestDefaultDrop</A
></TT
>: If set for a widget, when a drop occurs, GTK+ will
 will check if the drag matches this widget's list of possible targets and
 actions. If so, GTK+ will call Graphics.UI.Gtk.Gdk.Drag.dragGetData on
 behalf of the widget. Whether or not the drop is successful, GTK+ will
 call Graphics.UI.Gtk.Gdk.Drag.dragFinish. If the action was a move,
 then if the drag was successful, then <TT
>True</TT
> will be passed for the
 delete parameter to Graphics.UI.Gtk.Gdk.Drag.dragFinish
</LI
><LI
> <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultAll"
>DestDefaultAll</A
></TT
>: If set, specifies that all default actions should be
 taken.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:DestDefaultMotion"
><A NAME="v%3ADestDefaultMotion"
></A
></A
><B
>DestDefaultMotion</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DestDefaultHighlight"
><A NAME="v%3ADestDefaultHighlight"
></A
></A
><B
>DestDefaultHighlight</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DestDefaultDrop"
><A NAME="v%3ADestDefaultDrop"
></A
></A
><B
>DestDefaultDrop</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DestDefaultAll"
><A NAME="v%3ADestDefaultAll"
></A
></A
><B
>DestDefaultAll</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:DestDefaults')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:DestDefaults" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Flags.html#t%3AFlags"
>Flags</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:DragProtocol"
><A NAME="t%3ADragProtocol"
></A
></A
><B
>DragProtocol</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Gdk-Enums.html#DragProtocol"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>Used in Graphics.UI.Gtk.Gdk.Drag.DragContext to indicate the protocol according to which DND is done.
</TD
></TR
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:DragProtoMotif"
><A NAME="v%3ADragProtoMotif"
></A
></A
><B
>DragProtoMotif</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragProtoXdnd"
><A NAME="v%3ADragProtoXdnd"
></A
></A
><B
>DragProtoXdnd</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragProtoRootwin"
><A NAME="v%3ADragProtoRootwin"
></A
></A
><B
>DragProtoRootwin</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragProtoNone"
><A NAME="v%3ADragProtoNone"
></A
></A
><B
>DragProtoNone</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragProtoWin32Dropfiles"
><A NAME="v%3ADragProtoWin32Dropfiles"
></A
></A
><B
>DragProtoWin32Dropfiles</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragProtoOle2"
><A NAME="v%3ADragProtoOle2"
></A
></A
><B
>DragProtoOle2</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragProtoLocal"
><A NAME="v%3ADragProtoLocal"
></A
></A
><B
>DragProtoLocal</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:DragProtocol')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:DragProtocol" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragProtocol"
>DragProtocol</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragProtocol"
>DragProtocol</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragProtocol"
>DragProtocol</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragProtocol"
>DragProtocol</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>data</SPAN
>  <A NAME="t:DragResult"
><A NAME="t%3ADragResult"
></A
></A
><B
>DragResult</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Enums.html#DragResult"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="section4"
>Constructors</TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="arg"
><A NAME="v:DragResultSuccess"
><A NAME="v%3ADragResultSuccess"
></A
></A
><B
>DragResultSuccess</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragResultNoTarget"
><A NAME="v%3ADragResultNoTarget"
></A
></A
><B
>DragResultNoTarget</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragResultUserCancelled"
><A NAME="v%3ADragResultUserCancelled"
></A
></A
><B
>DragResultUserCancelled</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragResultTimeoutExpired"
><A NAME="v%3ADragResultTimeoutExpired"
></A
></A
><B
>DragResultTimeoutExpired</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragResultGrabBroken"
><A NAME="v%3ADragResultGrabBroken"
></A
></A
><B
>DragResultGrabBroken</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:DragResultError"
><A NAME="v%3ADragResultError"
></A
></A
><B
>DragResultError</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:DragResult')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:DragResult" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ABounded"
>Bounded</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragResult"
>DragResult</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AEnum"
>Enum</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragResult"
>DragResult</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq"
>Eq</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragResult"
>DragResult</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#t%3AShow"
>Show</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragResult"
>DragResult</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:castToDragContext"
><A NAME="v%3AcastToDragContext"
></A
></A
><B
>castToDragContext</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#castToDragContext"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:gTypeDragContext"
><A NAME="v%3AgTypeDragContext"
></A
></A
><B
>gTypeDragContext</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType"
>GType</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#gTypeDragContext"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:toDragContext"
><A NAME="v%3AtoDragContext"
></A
></A
><B
>toDragContext</B
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#toDragContext"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>Methods
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragContextActions"
><A NAME="v%3AdragContextActions"
></A
></A
><B
>dragContextActions</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragContextActions"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>A set of actions that the source recommends to be taken. Only valid if
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragContextSuggestedAction"
>dragContextSuggestedAction</A
></TT
> is set to <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionAsk"
>ActionAsk</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragContextSuggestedAction"
><A NAME="v%3AdragContextSuggestedAction"
></A
></A
><B
>dragContextSuggestedAction</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragContextSuggestedAction"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The action suggested by the source.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragContextAction"
><A NAME="v%3AdragContextAction"
></A
></A
><B
>dragContextAction</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr"
>Attr</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragContextAction"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The action chosen by the destination.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestSet"
><A NAME="v%3AdragDestSet"
></A
></A
><B
>dragDestSet</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
>] -&gt; [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestSet"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Sets a widget as a potential drop destination.
</P
><UL
><LI
> The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADestDefaults"
>DestDefaults</A
></TT
> flags specify what actions Gtk should take on behalf
 of a widget for drops onto that widget. The given actions and any targets
 set through <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDestSetTargetList"
>dragDestSetTargetList</A
></TT
> only are used if <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultMotion"
>DestDefaultMotion</A
></TT
>
 or <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultDrop"
>DestDefaultDrop</A
></TT
> are given.
</LI
><LI
> Things become more complicated when you try to preview the dragged data,
 as described in the documentation for <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
>. The default
 behaviors described by flags make some assumptions, that can conflict
 with your own signal handlers. For instance <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultDrop"
>DestDefaultDrop</A
></TT
> causes
 invocations of <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragStatus"
>dragStatus</A
></TT
> in the handler of <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
>, and
 invocations of <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragFinish"
>dragFinish</A
></TT
> in <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDataReceived"
>dragDataReceived</A
></TT
>. Especially the
 latter is dramatic, when your own <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
> handler calls
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragGetData"
>dragGetData</A
></TT
> to inspect the dragged data.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestSetProxy"
><A NAME="v%3AdragDestSetProxy"
></A
></A
><B
>dragDestSetProxy</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestSetProxy"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; widget</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow"
>DrawWindow</A
></TD
><TD CLASS="rdoc"
>The window to which to forward drag events.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragProtocol"
>DragProtocol</A
></TD
><TD CLASS="rdoc"
>The drag protocol which the <TT
><A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow"
>DrawWindow</A
></TT
> accepts.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>If <TT
>True</TT
>, send the same coordinates to the destination,
 because it is an embedded subwindow.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Sets this widget as a proxy for drops to another window.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestUnset"
><A NAME="v%3AdragDestUnset"
></A
></A
><B
>dragDestUnset</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestUnset"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Clears information about a drop destination set with <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDestSet"
>dragDestSet</A
></TT
>. The
 widget will no longer receive notification of drags.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestFindTarget"
><A NAME="v%3AdragDestFindTarget"
></A
></A
><B
>dragDestFindTarget</B
> :: (<A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget, <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context) =&gt; widget -&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestFindTarget"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Looks for a match between the targets mentioned in the context and the
 <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
></TT
>, returning the first matching target, otherwise returning
 <TT
>Nothing</TT
>. If <TT
>Nothing</TT
> is given as target list, use the value from
 destGetTargetList. Some widgets may have different valid targets for
 different parts of the widget; in that case, they will have to implement a
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
> handler that passes the correct target list to this
 function.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestGetTargetList"
><A NAME="v%3AdragDestGetTargetList"
></A
></A
><B
>dragDestGetTargetList</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestGetTargetList"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Returns the list of targets this widget can accept for drag-and-drop.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestSetTargetList"
><A NAME="v%3AdragDestSetTargetList"
></A
></A
><B
>dragDestSetTargetList</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestSetTargetList"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Sets the target types that this widget can accept from drag-and-drop. The
 widget must first be made into a drag destination with <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDestSet"
>dragDestSet</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestAddTextTargets"
><A NAME="v%3AdragDestAddTextTargets"
></A
></A
><B
>dragDestAddTextTargets</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestAddTextTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Add the text targets supported by the selection mechanism to the target
 list of the drag source. The targets are added with an <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
></TT
> of 0. If
 you need another value, use Graphics.UI.Gtk.General.Selection.targetListAddTextTargets and
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSetTargetList"
>dragSourceSetTargetList</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestAddImageTargets"
><A NAME="v%3AdragDestAddImageTargets"
></A
></A
><B
>dragDestAddImageTargets</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestAddImageTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Add image targets supported by the selection mechanism to the target list
 of the drag source. The targets are added with an <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
></TT
> of 0. If you
 need another value, use
 Graphics.UI.Gtk.General.Selection.targetListAddTextTargets and
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSetTargetList"
>dragSourceSetTargetList</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDestAddURITargets"
><A NAME="v%3AdragDestAddURITargets"
></A
></A
><B
>dragDestAddURITargets</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDestAddURITargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Add URI targets supported by the selection mechanism to the target list
 of the drag source. The targets are added with an <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
></TT
> of 0. If you
 need another value, use
 Graphics.UI.Gtk.General.Selection.targetListAddTextTargets and
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSetTargetList"
>dragSourceSetTargetList</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragStatus"
><A NAME="v%3AdragStatus"
></A
></A
><B
>dragStatus</B
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragStatus"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Visualises the actions offered by the drag source.
</P
><UL
><LI
> This function is called by the drag destination in response to
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
> called by the drag source. The passed-in action
 is indicated where <TT
>Nothing</TT
> will show that the drop is not
 allowed.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragFinish"
><A NAME="v%3AdragFinish"
></A
></A
><B
>dragFinish</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragFinish"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>a flag indicating whether the drop was successful
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>a flag indicating whether the source should delete the original data.
 (This should be <TT
>True</TT
> for a move)
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
></TD
><TD CLASS="rdoc"
>the timestamp from the <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDrop"
>dragDrop</A
></TT
> signal.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Informs the drag source that the drop is finished, and that the data of
 the drag will no longer be required.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragGetData"
><A NAME="v%3AdragGetData"
></A
></A
><B
>dragGetData</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragGetData"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget, <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; widget</TD
><TD CLASS="rdoc"
>The widget that will receive the <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDataReceived"
>dragDataReceived</A
></TT
> signal.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TD
><TD CLASS="rdoc"
>The target (form of the data) to retrieve.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
></TD
><TD CLASS="rdoc"
>A timestamp for retrieving the data. This will generally be
 the time received in a <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
> or <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDrop"
>dragDrop</A
></TT
> signal.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Gets the data associated with a drag. When the data is received or the
 retrieval fails, GTK+ will emit a <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDataReceived"
>dragDataReceived</A
></TT
> signal. Failure of
 the retrieval is indicated by passing <TT
>Nothing</TT
> in the selectionData signal.
 However, when <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragGetData"
>dragGetData</A
></TT
> is called
 implicitely because the <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3ADestDefaultDrop"
>DestDefaultDrop</A
></TT
> was set, then the widget will
 not receive notification of failed drops.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragGetSourceWidget"
><A NAME="v%3AdragGetSourceWidget"
></A
></A
><B
>dragGetSourceWidget</B
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget"
>Widget</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragGetSourceWidget"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Queries he source widget for a drag.
</P
><UL
><LI
> If the drag is occurring within a single application, a pointer to the
 source widget is returned. Otherwise the return value is <TT
>Nothing</TT
>.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragHighlight"
><A NAME="v%3AdragHighlight"
></A
></A
><B
>dragHighlight</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragHighlight"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Draws a highlight around a widget. This will attach handlers to
 the expose handlers, so the highlight will continue to be displayed
 until <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragUnhighlight"
>dragUnhighlight</A
></TT
> is called.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragUnhighlight"
><A NAME="v%3AdragUnhighlight"
></A
></A
><B
>dragUnhighlight</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragUnhighlight"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Removes a highlight set by <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragHighlight"
>dragHighlight</A
></TT
> from a widget.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSetIconWidget"
><A NAME="v%3AdragSetIconWidget"
></A
></A
><B
>dragSetIconWidget</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSetIconWidget"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; widget</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>x hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>y hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
><P
>Changes the icon for a drag to a given widget. GTK+ will not destroy
 the widget, so if you don't want it to persist, you should connect to the
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragEnd"
>dragEnd</A
></TT
> signal and destroy it yourself.
</P
><UL
><LI
> The function must be called with the context of the source side.
</LI
></UL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSetIconPixbuf"
><A NAME="v%3AdragSetIconPixbuf"
></A
></A
><B
>dragSetIconPixbuf</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSetIconPixbuf"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>x hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>y hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Set the given <TT
><A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
></TT
> as the icon for the given drag.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSetIconStock"
><A NAME="v%3AdragSetIconStock"
></A
></A
><B
>dragSetIconStock</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSetIconStock"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-General-StockItems.html#t%3AStockId"
>StockId</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>x hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>y hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Sets the icon for a given drag from a stock ID.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSetIconName"
><A NAME="v%3AdragSetIconName"
></A
></A
><B
>dragSetIconName</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSetIconName"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; context</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>x hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>y hot-spot
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Sets the icon for a given drag from a named themed icon. See the docs for
 <TT
><A HREF="Graphics-UI-Gtk-General-IconTheme.html#t%3AIconTheme"
>IconTheme</A
></TT
> for more details. Note that the size of the icon depends on the
 icon theme (the icon is loaded at the DND size), thus x and y hot-spots
 have to be used with care. Since Gtk 2.8.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSetIconDefault"
><A NAME="v%3AdragSetIconDefault"
></A
></A
><B
>dragSetIconDefault</B
> :: <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContextClass"
>DragContextClass</A
> context =&gt; context -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSetIconDefault"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Sets the icon for a particular drag to the default icon. This function
 must be called with a context for the source side of a drag
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragCheckThreshold"
><A NAME="v%3AdragCheckThreshold"
></A
></A
><B
>dragCheckThreshold</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragCheckThreshold"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; widget</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><PRE
>startX</PRE
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><PRE
>startY</PRE
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><PRE
>currentX</PRE
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><PRE
>currentY</PRE
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Checks to see if a mouse drag starting at <TT
>(startX, startY)</TT
> and ending
 at <TT
>(currentX, currenty)</TT
> has passed the GTK+ drag threshold, and thus
 should trigger the beginning of a drag-and-drop operation.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceSet"
><A NAME="v%3AdragSourceSet"
></A
></A
><B
>dragSourceSet</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; [<A HREF="Graphics-UI-Gtk-General-Enums.html#t%3AModifier"
>Modifier</A
>] -&gt; [<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragAction"
>DragAction</A
>] -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceSet"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Sets up a widget so that GTK+ will start a drag operation when the user
 clicks and drags on the widget. The widget must have a window. Note that a
 set of possible targets have to be set for a drag to be successful.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceSetIconPixbuf"
><A NAME="v%3AdragSourceSetIconPixbuf"
></A
></A
><B
>dragSourceSetIconPixbuf</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceSetIconPixbuf"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Sets the icon that will be used for drags from a particular widget from a
 <TT
><A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceSetIconStock"
><A NAME="v%3AdragSourceSetIconStock"
></A
></A
><B
>dragSourceSetIconStock</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-General-StockItems.html#t%3AStockId"
>StockId</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceSetIconStock"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Sets the icon that will be used for drags from a particular source to a
 stock icon.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceSetIconName"
><A NAME="v%3AdragSourceSetIconName"
></A
></A
><B
>dragSourceSetIconName</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceSetIconName"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Sets the icon that will be used for drags from a particular source to a
 themed icon. See the docs for <TT
><A HREF="Graphics-UI-Gtk-General-IconTheme.html#t%3AIconTheme"
>IconTheme</A
></TT
> for more details.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceUnset"
><A NAME="v%3AdragSourceUnset"
></A
></A
><B
>dragSourceUnset</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceUnset"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Undoes the effects of <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSet"
>dragSourceSet</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceSetTargetList"
><A NAME="v%3AdragSourceSetTargetList"
></A
></A
><B
>dragSourceSetTargetList</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceSetTargetList"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Changes the target types that this widget offers for drag-and-drop. The
 widget must first be made into a drag source with <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSet"
>dragSourceSet</A
></TT
>.
</P
><UL
><LI
> Since Gtk 2.4.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceGetTargetList"
><A NAME="v%3AdragSourceGetTargetList"
></A
></A
><B
>dragSourceGetTargetList</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceGetTargetList"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the list of targets this widget can provide for drag-and-drop.
</P
><UL
><LI
> Since Gtk 2.4.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceAddTextTargets"
><A NAME="v%3AdragSourceAddTextTargets"
></A
></A
><B
>dragSourceAddTextTargets</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceAddTextTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Add the text targets supported by
 Graphics.UI.Gtk.General.Selection.Selection to the target list of
 the drag source. The targets are added with <TT
>info = 0</TT
>. If you need
 another value, use
 Graphics.UI.Gtk.General.Selection.targetListAddTextTargets and
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSetTargetList"
>dragSourceSetTargetList</A
></TT
>.
</P
><UL
><LI
> Since Gtk 2.6.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceAddImageTargets"
><A NAME="v%3AdragSourceAddImageTargets"
></A
></A
><B
>dragSourceAddImageTargets</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceAddImageTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Add the image targets supported by Selection to the target list of the
 drag source. The targets are added with <TT
>info = 0</TT
>. If you need another
 value, use Graphics.UI.Gtk.General.Selection.targetListAddTextTargets and <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSetTargetList"
>dragSourceSetTargetList</A
></TT
>.
</P
><UL
><LI
> Since Gtk 2.6.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragSourceAddURITargets"
><A NAME="v%3AdragSourceAddURITargets"
></A
></A
><B
>dragSourceAddURITargets</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; widget -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragSourceAddURITargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Add the URI targets supported by Selection to the target list of the
 drag source. The targets are added with <TT
>info = 0</TT
>. If you need another
 value, use Graphics.UI.Gtk.General.Selection.targetListAddTextTargets and <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragSourceSetTargetList"
>dragSourceSetTargetList</A
></TT
>.
</P
><UL
><LI
> Since Gtk 2.6.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="3"
><A NAME="3"
>Signals
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragBegin"
><A NAME="v%3AdragBegin"
></A
></A
><B
>dragBegin</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragBegin"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragBegin"
>dragBegin</A
></TT
> signal is emitted on the drag source when a drag is
 started. A typical reason to connect to this signal is to set up a custom
 drag icon with dragSourceSetIcon.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDataDelete"
><A NAME="v%3AdragDataDelete"
></A
></A
><B
>dragDataDelete</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDataDelete"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDataDelete"
>dragDataDelete</A
></TT
> signal is emitted on the drag source when a drag
 with the action <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionMove"
>ActionMove</A
></TT
> is successfully completed. The signal handler
 is responsible for deleting the data that has been dropped. What &quot;delete&quot;
 means, depends on the context of the drag operation.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDataGet"
><A NAME="v%3AdragDataGet"
></A
></A
><B
>dragDataGet</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDataGet"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The ::drag-data-get signal is emitted on the drag source when the
 drop site requests the data which is dragged. It is the
 responsibility of the signal handler to set the selection data in
 the format which is indicated by <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
></TT
>. See
 Graphics.UI.Gtk.General.Selection.selectionDataSet and
 Graphics.UI.Gtk.General.Selection.selectionDataSetText.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDataReceived"
><A NAME="v%3AdragDataReceived"
></A
></A
><B
>dragDataReceived</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Drawable.html#t%3APoint"
>Point</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDataReceived"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDataReceived"
>dragDataReceived</A
></TT
> signal is emitted on the drop site when the
 dragged data has been received. If the data was received in order to
 determine whether the drop will be accepted, the handler is expected to call
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragStatus"
>dragStatus</A
></TT
> and <EM
>not</EM
> finish the drag. If the data was received in response
 to a <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDrop"
>dragDrop</A
></TT
> signal (and this is the last target to be received), the
 handler for this signal is expected to process the received data and then
 call <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragFinish"
>dragFinish</A
></TT
>, setting the <TT
>success</TT
> parameter depending on whether the
 data was processed successfully.
</P
><P
>The handler may inspect and modify <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragContextAction"
>dragContextAction</A
></TT
> before calling
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragFinish"
>dragFinish</A
></TT
>, e.g. to implement <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AActionAsk"
>ActionAsk</A
></TT
> as shown in the following
 example:
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragDrop"
><A NAME="v%3AdragDrop"
></A
></A
><B
>dragDrop</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Drawable.html#t%3APoint"
>Point</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragDrop"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDrop"
>dragDrop</A
></TT
> signal is emitted on the drop site when the user drops
 the data onto the widget. The signal handler must determine whether the
 cursor position is in a drop zone or not. If it is not in a drop zone, it
 returns <TT
>False</TT
> and no further processing is necessary. Otherwise, the
 handler returns <TT
>True</TT
>. In this case, the handler must ensure that
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragFinish"
>dragFinish</A
></TT
> is called to let the source know that the drop is done. The
 call to <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragFinish"
>dragFinish</A
></TT
> can be done either directly or in a
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDataReceived"
>dragDataReceived</A
></TT
> handler which gets triggered by calling dropGetData
 to receive the data for one or more of the supported targets.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragEnd"
><A NAME="v%3AdragEnd"
></A
></A
><B
>dragEnd</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragEnd"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragEnd"
>dragEnd</A
></TT
> signal is emitted on the drag source when a drag is
 finished. A typical reason to connect to this signal is to undo things done
 in <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragBegin"
>dragBegin</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragFailed"
><A NAME="v%3AdragFailed"
></A
></A
><B
>dragFailed</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragResult"
>DragResult</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragFailed"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragFailed"
>dragFailed</A
></TT
> signal is emitted on the drag source when a drag has
 failed. The signal handler may hook custom code to handle a failed DND
 operation based on the type of error, it returns <TT
>True</TT
> is the failure has
 been already handled (not showing the default &quot;drag operation failed&quot;
 animation), otherwise it returns <TT
>False</TT
>.
</P
><UL
><LI
> Available since Gtk+ 2.12.0.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragLeave"
><A NAME="v%3AdragLeave"
></A
></A
><B
>dragLeave</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragLeave"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragLeave"
>dragLeave</A
></TT
> signal is emitted on the drop site when the cursor
 leaves the widget. A typical reason to connect to this signal is to undo
 things done in <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
>, e.g. undo highlighting with <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragUnhighlight"
>dragUnhighlight</A
></TT
>
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dragMotion"
><A NAME="v%3AdragMotion"
></A
></A
><B
>dragMotion</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Signals.html#t%3ASignal"
>Signal</A
> self (<A HREF="Graphics-UI-Gtk-General-Drag.html#t%3ADragContext"
>DragContext</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Drawable.html#t%3APoint"
>Point</A
> -&gt; <A HREF="Graphics-UI-Gtk-Gdk-Events.html#t%3ATimeStamp"
>TimeStamp</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Drag.html#dragMotion"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
> signal is emitted on the drop site when the user moves
 the cursor over the widget during a drag. The signal handler must determine
 whether the cursor position is in a drop zone or not. If it is not in a drop
 zone, it returns <TT
>False</TT
> and no further processing is necessary. Otherwise,
 the handler returns <TT
>True</TT
>. In this case, the handler is responsible for
 providing the necessary information for displaying feedback to the user, by
 calling <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragStatus"
>dragStatus</A
></TT
>. If the decision whether the drop will be accepted or
 rejected can't be made based solely on the cursor position and the type of
 the data, the handler may inspect the dragged data by calling <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragGetData"
>dragGetData</A
></TT
>
 and defer the <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragStatus"
>dragStatus</A
></TT
> call to the <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragDataReceived"
>dragDataReceived</A
></TT
> handler.
</P
><P
>Note that there is no dragEnter signal. The drag receiver has to keep
 track of whether he has received any <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
> signals since the last
 <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragLeave"
>dragLeave</A
></TT
> and if not, treat the <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragMotion"
>dragMotion</A
></TT
> signal as an &quot;enter&quot;
 signal. Upon an &quot;enter&quot;, the handler will typically highlight the drop
 site with <TT
><A HREF="Graphics-UI-Gtk-General-Drag.html#v%3AdragHighlight"
>dragHighlight</A
></TT
>.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.1</TD
></TR
></TABLE
></BODY
></HTML
>