Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 677c1b5134368504c2e447757584d19e > files > 665

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.Selection</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-Selection.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-Selection.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.Selection</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"
>Stability</TD
><TD CLASS="infoval"
>provisional</TD
></TR
><TR
><TD CLASS="infohead"
>Maintainer</TD
><TD CLASS="infoval"
>gtk2hs-users@lists.sourceforge.net</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"
>Constants
</A
></DT
><DT
><A HREF="#3"
>Constructors
</A
></DT
><DT
><A HREF="#4"
>Methods
</A
></DT
><DT
><A HREF="#5"
>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"
>Functions for handling inter-process communication via selections.
</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"
>type</SPAN
> <A HREF="#t%3AInfoId"
>InfoId</A
> = <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-C-Types.html#t%3ACUInt"
>CUInt</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AAtom"
>Atom</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A HREF="#t%3ATargetTag"
>TargetTag</A
> = <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A HREF="#t%3ASelectionTag"
>SelectionTag</A
> = <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A HREF="#t%3ASelectionTypeTag"
>SelectionTypeTag</A
> = <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ATargetList"
>TargetList</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>type</SPAN
> <A HREF="#t%3ASelectionDataM"
>SelectionDataM</A
> a = <A HREF="/usr/share/doc/ghc/html/libraries/mtl-1.1.0.2/Control-Monad-Reader.html#t%3AReaderT"
>ReaderT</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-Ptr.html#t%3APtr"
>Ptr</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>) <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> a</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%3ATargetFlags"
>TargetFlags</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3ATargetSameApp"
>TargetSameApp</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ATargetSameWidget"
>TargetSameWidget</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ATargetOtherApp"
>TargetOtherApp</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3ATargetOtherWidget"
>TargetOtherWidget</A
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtargetString"
>targetString</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%3AselectionTypeAtom"
>selectionTypeAtom</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AselectionTypeInteger"
>selectionTypeInteger</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AselectionTypeString"
>selectionTypeString</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AatomNew"
>atomNew</A
> :: <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="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AtargetListNew"
>targetListNew</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</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%3AtargetListAdd"
>targetListAdd</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
> -&gt; [<A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetFlags"
>TargetFlags</A
>] -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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%3AtargetListAddTextTargets"
>targetListAddTextTargets</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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%3AtargetListAddImageTargets"
>targetListAddImageTargets</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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%3AtargetListAddUriTargets"
>targetListAddUriTargets</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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%3AtargetListAddRichTextTargets"
>targetListAddRichTextTargets</A
> :: <A HREF="Graphics-UI-Gtk-Multiline-TextBuffer.html#t%3ATextBufferClass"
>TextBufferClass</A
> tb =&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; tb -&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%3AtargetListRemove"
>targetListRemove</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</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%3AselectionAddTarget"
>selectionAddTarget</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%3ASelectionTag"
>SelectionTag</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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%3AselectionClearTargets"
>selectionClearTargets</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%3ASelectionTag"
>SelectionTag</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%3AselectionOwnerSet"
>selectionOwnerSet</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTag"
>SelectionTag</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%3AselectionOwnerSetForDisplay"
>selectionOwnerSetForDisplay</A
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; <A HREF="Graphics-UI-Gtk-Gdk-Display.html#t%3ADisplay"
>Display</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTag"
>SelectionTag</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%3AselectionRemoveAll"
>selectionRemoveAll</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%3AselectionDataSet"
>selectionDataSet</A
> :: (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AIntegral"
>Integral</A
> a, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-Storable.html#t%3AStorable"
>Storable</A
> a) =&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
> -&gt; [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%3AselectionDataGet"
>selectionDataGet</A
> :: (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AIntegral"
>Integral</A
> a, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-Storable.html#t%3AStorable"
>Storable</A
> a) =&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> [a])</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AselectionDataIsValid"
>selectionDataIsValid</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataSetText"
>selectionDataSetText</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataGetText"
>selectionDataGetText</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AselectionDataSetPixbuf"
>selectionDataSetPixbuf</A
> :: <A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataGetPixbuf"
>selectionDataGetPixbuf</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
>)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AselectionDataSetURIs"
>selectionDataSetURIs</A
> :: [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>] -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataGetURIs"
>selectionDataGetURIs</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>])</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AselectionDataTargetsIncludeImage"
>selectionDataTargetsIncludeImage</A
> :: <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-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataGetTarget"
>selectionDataGetTarget</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataSetTarget"
>selectionDataSetTarget</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</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%3AselectionDataGetTargets"
>selectionDataGetTargets</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataTargetsIncludeText"
>selectionDataTargetsIncludeText</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataTargetsIncludeUri"
>selectionDataTargetsIncludeUri</A
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionDataTargetsIncludeRichText"
>selectionDataTargetsIncludeRichText</A
> :: <A HREF="Graphics-UI-Gtk-Multiline-TextBuffer.html#t%3ATextBufferClass"
>TextBufferClass</A
> tb =&gt; tb -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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%3AselectionGet"
>selectionGet</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-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%3AselectionReceived"
>selectionReceived</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-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
></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"
>type</SPAN
> <A NAME="t:InfoId"
><A NAME="t%3AInfoId"
></A
></A
><B
>InfoId</B
> = <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-C-Types.html#t%3ACUInt"
>CUInt</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#InfoId"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>A number that the application can use to differentiate between different
   data types or application states.
</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:Atom"
><A NAME="t%3AAtom"
></A
></A
><B
>Atom</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#Atom"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>An atom is an index into a global string table. It is possible to
 associate binary data with each entry. This facility is used for
 inter-application data exchange such as properties of
 Graphics.UI.Gtk.Gdk.DrawWindow.DrawWindow (using <TT
>PropertyTag</TT
>),
 Graphics.UI.Gtk.Clipboard.Clipboard or Graphics.UI.Gtk.General.Drag
 (SelectionId and TargetId).
</TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Atom')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Atom" 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-Selection.html#t%3AAtom"
>Atom</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-Selection.html#t%3AAtom"
>Atom</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"
>type</SPAN
> <A NAME="t:TargetTag"
><A NAME="t%3ATargetTag"
></A
></A
><B
>TargetTag</B
> = <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#TargetTag"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>A tag that uniquely identifies a target. A target describes the format of
 the underlying data source, for instance, it might be a string. A single
 selection may support multiple targets: suppose a new target is created for
 the Haskell data type <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3ADouble"
>Double</A
></TT
>. In this case, the value of the floating
 point number could also be offered as a string.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>type</SPAN
> <A NAME="t:SelectionTag"
><A NAME="t%3ASelectionTag"
></A
></A
><B
>SelectionTag</B
> = <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#SelectionTag"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>A tag that uniquely identifies a selection. A selection denotes the
 exchange mechanism that is being used, for instance, the clipboard is the
 most common exchange mechanism. For drag and drop applications, a new
 selection tag is usually created for each different kind of data that is
 being exchanged.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><SPAN CLASS="keyword"
>type</SPAN
> <A NAME="t:SelectionTypeTag"
><A NAME="t%3ASelectionTypeTag"
></A
></A
><B
>SelectionTypeTag</B
> = <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#SelectionTypeTag"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>A tag that defines the encoding of the binary data. For instance, a
 string might be encoded as UTF-8 or in a different locale. Each encoding
 would use the same <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TT
> but a different <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TT
>.
</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:TargetList"
><A NAME="t%3ATargetList"
></A
></A
><B
>TargetList</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#TargetList"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>A <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
></TT
> contains information about all possible formats
 (represented as <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TT
>) that a widget can create or receive in form of
 a selection.
</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"
>type</SPAN
> <A NAME="t:SelectionDataM"
><A NAME="t%3ASelectionDataM"
></A
></A
><B
>SelectionDataM</B
> a = <A HREF="/usr/share/doc/ghc/html/libraries/mtl-1.1.0.2/Control-Monad-Reader.html#t%3AReaderT"
>ReaderT</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-Ptr.html#t%3APtr"
>Ptr</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
>) <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> a</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#SelectionDataM"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>A monad providing access to selection data.
</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:TargetFlags"
><A NAME="t%3ATargetFlags"
></A
></A
><B
>TargetFlags</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Enums.html#TargetFlags"
>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-Selection.html#t%3ATargetFlags"
>TargetFlags</A
></TT
> enumeration is used to specify constraints on an entry
 in a Graphics.UI.Gtk.Gdk.Selection.TargetList. These flags are only
 used for drag and drop.
</P
><UL
><LI
> If the <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#v%3ATargetSameApp"
>TargetSameApp</A
></TT
> flag is set, the target will only be selected for
 drags within a single application.
</LI
><LI
> If the <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#v%3ATargetSameWidget"
>TargetSameWidget</A
></TT
> flag is set, the target will only be selected
 for drags within a single widget.
</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:TargetSameApp"
><A NAME="v%3ATargetSameApp"
></A
></A
><B
>TargetSameApp</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:TargetSameWidget"
><A NAME="v%3ATargetSameWidget"
></A
></A
><B
>TargetSameWidget</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:TargetOtherApp"
><A NAME="v%3ATargetOtherApp"
></A
></A
><B
>TargetOtherApp</B
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:TargetOtherWidget"
><A NAME="v%3ATargetOtherWidget"
></A
></A
><B
>TargetOtherWidget</B
></TD
><TD CLASS="rdoc"
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:TargetFlags')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:TargetFlags" 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-Selection.html#t%3ATargetFlags"
>TargetFlags</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-Selection.html#t%3ATargetFlags"
>TargetFlags</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-Selection.html#t%3ATargetFlags"
>TargetFlags</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-Selection.html#t%3ATargetFlags"
>TargetFlags</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-Selection.html#t%3ATargetFlags"
>TargetFlags</A
></TD
></TR
></TABLE
></DIV
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="2"
><A NAME="2"
>Constants
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:targetString"
><A NAME="v%3AtargetString"
></A
></A
><B
>targetString</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Structs.html#targetString"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>If this target is provided by a selection, then the data is a string.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionTypeAtom"
><A NAME="v%3AselectionTypeAtom"
></A
></A
><B
>selectionTypeAtom</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Structs.html#selectionTypeAtom"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The type indicating that the associated data is itself a (list of)
 Graphics.UI.Gtk.General.Selection.Atoms.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionTypeInteger"
><A NAME="v%3AselectionTypeInteger"
></A
></A
><B
>selectionTypeInteger</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Structs.html#selectionTypeInteger"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The type indicating that the associated data consists of integers.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionTypeString"
><A NAME="v%3AselectionTypeString"
></A
></A
><B
>selectionTypeString</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Structs.html#selectionTypeString"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>The type indicating that the associated data is a string without further
 information on its encoding.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="3"
><A NAME="3"
>Constructors
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:atomNew"
><A NAME="v%3AatomNew"
></A
></A
><B
>atomNew</B
> :: <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="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#atomNew"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Create a new <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TT
>, <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTag"
>SelectionTag</A
></TT
>, <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
></TT
> or
   <TT
>PropertyTag</TT
>. Note that creating two target tags with the same name will
   create the same tag, in particular, the tag will be the same across
   different applications. Note that the name of an <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AAtom"
>Atom</A
></TT
> can be printed
   by <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Text-Show.html#v%3Ashow"
>show</A
></TT
> though comparing the atom is merely an integer comparison.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:targetListNew"
><A NAME="v%3AtargetListNew"
></A
></A
><B
>targetListNew</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-DNDTypes.html#targetListNew"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Create a new, empty <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="4"
><A NAME="4"
>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:targetListAdd"
><A NAME="v%3AtargetListAdd"
></A
></A
><B
>targetListAdd</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
> -&gt; [<A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetFlags"
>TargetFlags</A
>] -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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-Selection.html#targetListAdd"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Append another target to the given <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
></TT
>.
</P
><UL
><LI
> Note that the <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetFlags"
>TargetFlags</A
></TT
> are only used for drag and drop, not in normal
 selection handling.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:targetListAddTextTargets"
><A NAME="v%3AtargetListAddTextTargets"
></A
></A
><B
>targetListAddTextTargets</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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-Selection.html#targetListAddTextTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Append all text targets supported by the selection mechanism to the
 target list. All targets are added with the same <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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:targetListAddImageTargets"
><A NAME="v%3AtargetListAddImageTargets"
></A
></A
><B
>targetListAddImageTargets</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#targetListAddImageTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Append all image targets supported by the selection mechanism to the
 target list. All targets are added with the same <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
></TT
>. If the boolean
 flag is set, only targets will be added which Gtk+ knows how to convert
 into a Graphics.UI.Gtk.Pixbuf.Pixbuf.
</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:targetListAddUriTargets"
><A NAME="v%3AtargetListAddUriTargets"
></A
></A
><B
>targetListAddUriTargets</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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-Selection.html#targetListAddUriTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Append all URI (universal resource indicator, fomerly URL) targets
 supported by the selection mechanism to the target list. All targets are
 added with the same <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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:targetListAddRichTextTargets"
><A NAME="v%3AtargetListAddRichTextTargets"
></A
></A
><B
>targetListAddRichTextTargets</B
> :: <A HREF="Graphics-UI-Gtk-Multiline-TextBuffer.html#t%3ATextBufferClass"
>TextBufferClass</A
> tb =&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
> -&gt; tb -&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-Selection.html#targetListAddRichTextTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Append all rich text targets registered with
 Graphics.UI.Gtk.TextBuffer.textBufferRegisterSerializeFormat to the
 target list. All targets are added with the same <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</A
></TT
>. If the boolean
 flag is <TT
>True</TT
> then deserializable rich text formats will be added,
 serializable formats otherwise.
</P
><UL
><LI
> Since Gtk 2.10.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:targetListRemove"
><A NAME="v%3AtargetListRemove"
></A
></A
><B
>targetListRemove</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetList"
>TargetList</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</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-Selection.html#targetListRemove"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Remove a target from a target list.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionAddTarget"
><A NAME="v%3AselectionAddTarget"
></A
></A
><B
>selectionAddTarget</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%3ASelectionTag"
>SelectionTag</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3AInfoId"
>InfoId</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-Selection.html#selectionAddTarget"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Appends a specified target to the list of supported targets for a given
 widget and selection.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionClearTargets"
><A NAME="v%3AselectionClearTargets"
></A
></A
><B
>selectionClearTargets</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%3ASelectionTag"
>SelectionTag</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-Selection.html#selectionClearTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Remove all targets registered for the given selection for the widget.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionOwnerSet"
><A NAME="v%3AselectionOwnerSet"
></A
></A
><B
>selectionOwnerSet</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTag"
>SelectionTag</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-Selection.html#selectionOwnerSet"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Claims ownership of a given selection for a particular widget, or, if
 widget is <TT
><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#v%3ANothing"
>Nothing</A
></TT
>, release ownership of the selection.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionOwnerSetForDisplay"
><A NAME="v%3AselectionOwnerSetForDisplay"
></A
></A
><B
>selectionOwnerSetForDisplay</B
> :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget =&gt; <A HREF="Graphics-UI-Gtk-Gdk-Display.html#t%3ADisplay"
>Display</A
> -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> widget -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTag"
>SelectionTag</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-Selection.html#selectionOwnerSetForDisplay"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Set the ownership of a given selection and display.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionRemoveAll"
><A NAME="v%3AselectionRemoveAll"
></A
></A
><B
>selectionRemoveAll</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-Selection.html#selectionRemoveAll"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Removes all handlers and unsets ownership of all selections for a widget.
 Called when widget is being destroyed. This function will not generally be
 called by applications.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataSet"
><A NAME="v%3AselectionDataSet"
></A
></A
><B
>selectionDataSet</B
> :: (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AIntegral"
>Integral</A
> a, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-Storable.html#t%3AStorable"
>Storable</A
> a) =&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
> -&gt; [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-Selection.html#selectionDataSet"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Stores new data in the <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> monad. The stored data may only
 be an array of integer types that are no larger than 32 bits.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataGet"
><A NAME="v%3AselectionDataGet"
></A
></A
><B
>selectionDataGet</B
> :: (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Prelude.html#t%3AIntegral"
>Integral</A
> a, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Foreign-Storable.html#t%3AStorable"
>Storable</A
> a) =&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionTypeTag"
>SelectionTypeTag</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> [a])</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#selectionDataGet"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Retreives the data in the <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> monad. The returned array
 must have elements of the size that were used to set this data. If
 the size or the type tag does not match, <TT
>Nothing</TT
> is returned.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataIsValid"
><A NAME="v%3AselectionDataIsValid"
></A
></A
><B
>selectionDataIsValid</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Selection.html#selectionDataIsValid"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Check if the currently stored data is valid.
</P
><UL
><LI
> If this function returns <TT
>False</TT
>, no data is set in this selection
 and <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#v%3AselectionDataGet"
>selectionDataGet</A
></TT
> will return <TT
>Nothing</TT
> no matter what type
 is requested.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataSetText"
><A NAME="v%3AselectionDataSetText"
></A
></A
><B
>selectionDataSetText</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Selection.html#selectionDataSetText"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Sets the contents of the selection from a string. The
 string is converted to the form determined by the allowed targets of the
 selection.
</P
><UL
><LI
> Returns <TT
>True</TT
> if setting the text was successful.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataGetText"
><A NAME="v%3AselectionDataGetText"
></A
></A
><B
>selectionDataGetText</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#selectionDataGetText"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Gets the contents of the selection data as a string.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataSetPixbuf"
><A NAME="v%3AselectionDataSetPixbuf"
></A
></A
><B
>selectionDataSetPixbuf</B
> :: <A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
> -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Selection.html#selectionDataSetPixbuf"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Sets the contents of the selection from a <TT
><A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
></TT
>. The pixbuf is
 converted to the form determined by the allowed targets of the selection.
</P
><UL
><LI
> Returns <TT
>True</TT
> if setting the <TT
><A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
></TT
> was successful. 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:selectionDataGetPixbuf"
><A NAME="v%3AselectionDataGetPixbuf"
></A
></A
><B
>selectionDataGetPixbuf</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
>)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#selectionDataGetPixbuf"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the contents of the selection data as a <TT
><A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</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:selectionDataSetURIs"
><A NAME="v%3AselectionDataSetURIs"
></A
></A
><B
>selectionDataSetURIs</B
> :: [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>] -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Selection.html#selectionDataSetURIs"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Sets the contents of the selection from a list of URIs. The string is
 converted to the form determined by the possible targets of the selection.
</P
><UL
><LI
> Returns <TT
>True</TT
> if setting the URIs was successful. 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:selectionDataGetURIs"
><A NAME="v%3AselectionDataGetURIs"
></A
></A
><B
>selectionDataGetURIs</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Maybe.html#t%3AMaybe"
>Maybe</A
> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>])</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#selectionDataGetURIs"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Gets the contents of the selection data as list of URIs. Returns
 <TT
>Nothing</TT
> if the selection did not contain any URIs.
</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:selectionDataTargetsIncludeImage"
><A NAME="v%3AselectionDataTargetsIncludeImage"
></A
></A
><B
>selectionDataTargetsIncludeImage</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#selectionDataTargetsIncludeImage"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>whether to accept only targets for which GTK+ knows how to convert a
 pixbuf into the format
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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"
><P
>Given a <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> holding a list of targets, determines if any of
 the targets in targets can be used to provide a <TT
><A HREF="Graphics-UI-Gtk-Gdk-Pixbuf.html#t%3APixbuf"
>Pixbuf</A
></TT
>.
</P
><UL
><LI
> Since Gtk 2.6
</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:selectionDataGetTarget"
><A NAME="v%3AselectionDataGetTarget"
></A
></A
><B
>selectionDataGetTarget</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#selectionDataGetTarget"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Retrieve the currently set <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TT
> in the selection.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataSetTarget"
><A NAME="v%3AselectionDataSetTarget"
></A
></A
><B
>selectionDataSetTarget</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</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-Selection.html#selectionDataSetTarget"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Set the selection to the given <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TT
>.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataGetTargets"
><A NAME="v%3AselectionDataGetTargets"
></A
></A
><B
>selectionDataGetTargets</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
> [<A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
>]</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Selection.html#selectionDataGetTargets"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Queries the content type of the selection data as a list of targets.
 Whenever the application is asked whether certain targets are acceptable,
 it is handed a selection that contains a list of <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ATargetTag"
>TargetTag</A
></TT
>s as payload.
 A similar result could be achieved using 'selectionDataGet
 selectionTypeAtom'.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataTargetsIncludeText"
><A NAME="v%3AselectionDataTargetsIncludeText"
></A
></A
><B
>selectionDataTargetsIncludeText</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Selection.html#selectionDataTargetsIncludeText"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Given a <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> holding a list of targets, determines if any of
 the targets in targets can be used to provide text.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataTargetsIncludeUri"
><A NAME="v%3AselectionDataTargetsIncludeUri"
></A
></A
><B
>selectionDataTargetsIncludeUri</B
> :: <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Selection.html#selectionDataTargetsIncludeUri"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Given a <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> holding a list of targets, determines if any of
 the targets in targets can be used to provide URIs.
</P
><UL
><LI
> Since Gtk 2.10
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionDataTargetsIncludeRichText"
><A NAME="v%3AselectionDataTargetsIncludeRichText"
></A
></A
><B
>selectionDataTargetsIncludeRichText</B
> :: <A HREF="Graphics-UI-Gtk-Multiline-TextBuffer.html#t%3ATextBufferClass"
>TextBufferClass</A
> tb =&gt; tb -&gt; <A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</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-Selection.html#selectionDataTargetsIncludeRichText"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Given a <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#t%3ASelectionDataM"
>SelectionDataM</A
></TT
> holding a list of targets, check if,
 well, dunno really. FIXME: what does the <TT
><A HREF="Graphics-UI-Gtk-Multiline-TextBuffer.html#t%3ATextBuffer"
>TextBuffer</A
></TT
> do?
</P
><UL
><LI
> Since Gtk 2.10
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="5"
><A NAME="5"
>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:selectionGet"
><A NAME="v%3AselectionGet"
></A
></A
><B
>selectionGet</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-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-Selection.html#selectionGet"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Emitted in order to ask the application for selection data. Within the
 handler the function <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#v%3AselectionDataSet"
>selectionDataSet</A
></TT
> or one of its derivatives should be
 called.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:selectionReceived"
><A NAME="v%3AselectionReceived"
></A
></A
><B
>selectionReceived</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-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-Selection.html#selectionReceived"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Pass the supplied selection data to the application. The application is
 expected to read the data using <TT
><A HREF="Graphics-UI-Gtk-General-Selection.html#v%3AselectionDataGet"
>selectionDataGet</A
></TT
> or one of its
 derivatives.
</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
>