<!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.Selectors.ColorSelection</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-Selectors-ColorSelection.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-Selectors-ColorSelection.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.Selectors.ColorSelection</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" >Detail </A ></DT ><DT ><A HREF="#2" >Class Hierarchy </A ></DT ><DT ><A HREF="#3" >Types </A ></DT ><DT ><A HREF="#4" >Constructors </A ></DT ><DT ><A HREF="#5" >Methods </A ></DT ><DT ><A HREF="#6" >Attributes </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" >A widget used to select a color </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%3AColorSelection" >ColorSelection</A > </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBoxClass" >VBoxClass</A > o => <A HREF="#t%3AColorSelectionClass" >ColorSelectionClass</A > o </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcastToColorSelection" >castToColorSelection</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgTypeColorSelection" >gTypeColorSelection</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%3AtoColorSelection" >toColorSelection</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcolorSelectionNew" >colorSelectionNew</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-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcolorSelectionGetCurrentAlpha" >colorSelectionGetCurrentAlpha</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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-Int.html#t%3AInt" >Int</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcolorSelectionSetCurrentAlpha" >colorSelectionSetCurrentAlpha</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <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%3AcolorSelectionGetCurrentColor" >colorSelectionGetCurrentColor</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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-Gdk-GC.html#t%3AColor" >Color</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcolorSelectionSetCurrentColor" >colorSelectionSetCurrentColor</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <A HREF="Graphics-UI-Gtk-Gdk-GC.html#t%3AColor" >Color</A > -> <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%3AcolorSelectionGetHasOpacityControl" >colorSelectionGetHasOpacityControl</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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%3AcolorSelectionSetHasOpacityControl" >colorSelectionSetHasOpacityControl</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <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%3AcolorSelectionGetHasPalette" >colorSelectionGetHasPalette</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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%3AcolorSelectionSetHasPalette" >colorSelectionSetHasPalette</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <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%3AcolorSelectionGetPreviousAlpha" >colorSelectionGetPreviousAlpha</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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-Int.html#t%3AInt" >Int</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcolorSelectionSetPreviousAlpha" >colorSelectionSetPreviousAlpha</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A > -> <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%3AcolorSelectionGetPreviousColor" >colorSelectionGetPreviousColor</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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-Gdk-GC.html#t%3AColor" >Color</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcolorSelectionSetPreviousColor" >colorSelectionSetPreviousColor</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <A HREF="Graphics-UI-Gtk-Gdk-GC.html#t%3AColor" >Color</A > -> <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%3AcolorSelectionIsAdjusting" >colorSelectionIsAdjusting</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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%3AcolorSelectionHasOpacityControl" >colorSelectionHasOpacityControl</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <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%3AcolorSelectionHasPalette" >colorSelectionHasPalette</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <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%3AcolorSelectionCurrentAlpha" >colorSelectionCurrentAlpha</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcolorSelectionPreviousAlpha" >colorSelectionPreviousAlpha</A > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</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" >Detail </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="doc" >The <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TT > is a widget that is used to select a color. It consists of a color wheel and number of sliders and entry boxes for color parameters such as hue, saturation, value, red, green, blue, and opacity. It is found on the standard color selection dialog box <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelectionDialog.html#t%3AColorSelectionDialog" >ColorSelectionDialog</A ></TT >. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="2" ><A NAME="2" >Class Hierarchy </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="doc" ><PRE > | <TT ><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObject" >GObject</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObject" >Object</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget" >Widget</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainer" >Container</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox" >Box</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox" >VBox</A ></TT > | +----ColorSelection </PRE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="3" ><A NAME="3" >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:ColorSelection" ><A NAME="t%3AColorSelection" ></A ></A ><B >ColorSelection</B > </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#ColorSelection" >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:ColorSelection')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ColorSelection" 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-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</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-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</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-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBoxClass" >VBoxClass</A > <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass" >BoxClass</A > <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass" >ContainerClass</A > <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass" >WidgetClass</A > <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass" >ObjectClass</A > <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</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="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBoxClass" >VBoxClass</A > o => <A NAME="t:ColorSelectionClass" ><A NAME="t%3AColorSelectionClass" ></A ></A ><B >ColorSelectionClass</B > o </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#ColorSelectionClass" >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:ColorSelectionClass')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ColorSelectionClass" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</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:castToColorSelection" ><A NAME="v%3AcastToColorSelection" ></A ></A ><B >castToColorSelection</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#castToColorSelection" >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:gTypeColorSelection" ><A NAME="v%3AgTypeColorSelection" ></A ></A ><B >gTypeColorSelection</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#gTypeColorSelection" >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:toColorSelection" ><A NAME="v%3AtoColorSelection" ></A ></A ><B >toColorSelection</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#toColorSelection" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="4" ><A NAME="4" >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:colorSelectionNew" ><A NAME="v%3AcolorSelectionNew" ></A ></A ><B >colorSelectionNew</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-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionNew" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Creates a new <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TT >. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="5" ><A NAME="5" >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:colorSelectionGetCurrentAlpha" ><A NAME="v%3AcolorSelectionGetCurrentAlpha" ></A ></A ><B >colorSelectionGetCurrentAlpha</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionGetCurrentAlpha" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <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-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="rdoc" >returns an integer between 0 and 65535. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Returns the current alpha value. </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:colorSelectionSetCurrentAlpha" ><A NAME="v%3AcolorSelectionSetCurrentAlpha" ></A ></A ><B >colorSelectionSetCurrentAlpha</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionSetCurrentAlpha" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="rdoc" ><TT >alpha</TT > - an integer between 0 and 65535. </TD ></TR ><TR ><TD CLASS="arg" >-> <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 current opacity to be <TT >alpha</TT >. The first time this is called, it will also set the original opacity to be <TT >alpha</TT > too. </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:colorSelectionGetCurrentColor" ><A NAME="v%3AcolorSelectionGetCurrentColor" ></A ></A ><B >colorSelectionGetCurrentColor</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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-Gdk-GC.html#t%3AColor" >Color</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionGetCurrentColor" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Gets the current color in the <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TT > widget. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:colorSelectionSetCurrentColor" ><A NAME="v%3AcolorSelectionSetCurrentColor" ></A ></A ><B >colorSelectionSetCurrentColor</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionSetCurrentColor" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="Graphics-UI-Gtk-Gdk-GC.html#t%3AColor" >Color</A ></TD ><TD CLASS="rdoc" ><TT >color</TT > - A <TT ><A HREF="Graphics-UI-Gtk-Gdk-GC.html#t%3AColor" >Color</A ></TT > to set the current color with. </TD ></TR ><TR ><TD CLASS="arg" >-> <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 current color to be <TT >color</TT >. The first time this is called, it will also set the original color to be <TT >color</TT > too. </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:colorSelectionGetHasOpacityControl" ><A NAME="v%3AcolorSelectionGetHasOpacityControl" ></A ></A ><B >colorSelectionGetHasOpacityControl</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionGetHasOpacityControl" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <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" >returns <TT >True</TT > if the color selector has an opacity control. <TT >False</TT > if it does't. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Determines whether the <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TT > widget has an opacity control. </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:colorSelectionSetHasOpacityControl" ><A NAME="v%3AcolorSelectionSetHasOpacityControl" ></A ></A ><B >colorSelectionSetHasOpacityControl</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionSetHasOpacityControl" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><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" ><TT >hasOpacity</TT > - <TT >True</TT > if color selector can set the opacity, <TT >False</TT > otherwise. </TD ></TR ><TR ><TD CLASS="arg" >-> <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 <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelection" >ColorSelection</A ></TT > widget to use or not use opacity. </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:colorSelectionGetHasPalette" ><A NAME="v%3AcolorSelectionGetHasPalette" ></A ></A ><B >colorSelectionGetHasPalette</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionGetHasPalette" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <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" >returns <TT >True</TT > if the selector has a palette. <TT >False</TT > if it hasn't. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Determines whether the color selector has a color palette. </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:colorSelectionSetHasPalette" ><A NAME="v%3AcolorSelectionSetHasPalette" ></A ></A ><B >colorSelectionSetHasPalette</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionSetHasPalette" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><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" ><TT >hasPalette</TT > - <TT >True</TT > if palette is to be visible, <TT >False</TT > otherwise. </TD ></TR ><TR ><TD CLASS="arg" >-> <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 whether to show or hide the palette. </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:colorSelectionGetPreviousAlpha" ><A NAME="v%3AcolorSelectionGetPreviousAlpha" ></A ></A ><B >colorSelectionGetPreviousAlpha</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionGetPreviousAlpha" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <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-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="rdoc" >returns an integer between 0 and 65535. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Returns the previous alpha value. </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:colorSelectionSetPreviousAlpha" ><A NAME="v%3AcolorSelectionSetPreviousAlpha" ></A ></A ><B >colorSelectionSetPreviousAlpha</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionSetPreviousAlpha" >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-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="rdoc" ><TT >alpha</TT > - an integer between 0 and 65535. </TD ></TR ><TR ><TD CLASS="arg" >-> <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 'previous' alpha to be <TT >alpha</TT >. This function should be called with some hesitations, as it might seem confusing to have that alpha change. </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:colorSelectionGetPreviousColor" ><A NAME="v%3AcolorSelectionGetPreviousColor" ></A ></A ><B >colorSelectionGetPreviousColor</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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-Gdk-GC.html#t%3AColor" >Color</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionGetPreviousColor" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Returns the original color value. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:colorSelectionSetPreviousColor" ><A NAME="v%3AcolorSelectionSetPreviousColor" ></A ></A ><B >colorSelectionSetPreviousColor</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <A HREF="Graphics-UI-Gtk-Gdk-GC.html#t%3AColor" >Color</A > -> <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-Selectors-ColorSelection.html#colorSelectionSetPreviousColor" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Sets the 'previous' color to be <TT >color</TT >. This function should be called with some hesitations, as it might seem confusing to have that color change. Calling <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#v%3AcolorSelectionSetCurrentColor" >colorSelectionSetCurrentColor</A ></TT > will also set this color the first time it is called. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:colorSelectionIsAdjusting" ><A NAME="v%3AcolorSelectionIsAdjusting" ></A ></A ><B >colorSelectionIsAdjusting</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => self -> <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-Selectors-ColorSelection.html#colorSelectionIsAdjusting" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Gets the current state of the widget. Returns True if the user is currently dragging a color around, and False if the selection has stopped. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="6" ><A NAME="6" >Attributes </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:colorSelectionHasOpacityControl" ><A NAME="v%3AcolorSelectionHasOpacityControl" ></A ></A ><B >colorSelectionHasOpacityControl</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <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-Selectors-ColorSelection.html#colorSelectionHasOpacityControl" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Whether the color selector should allow setting opacity. </P ><P >Default value: <TT >False</TT > </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:colorSelectionHasPalette" ><A NAME="v%3AcolorSelectionHasPalette" ></A ></A ><B >colorSelectionHasPalette</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <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-Selectors-ColorSelection.html#colorSelectionHasPalette" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Whether a palette should be used. </P ><P >Default value: <TT >False</TT > </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:colorSelectionCurrentAlpha" ><A NAME="v%3AcolorSelectionCurrentAlpha" ></A ></A ><B >colorSelectionCurrentAlpha</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionCurrentAlpha" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >The current opacity value (0 fully transparent, 65535 fully opaque). </P ><P >Allowed values: <= 65535 </P ><P >Default value: 65535 </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:colorSelectionPreviousAlpha" ><A NAME="v%3AcolorSelectionPreviousAlpha" ></A ></A ><B >colorSelectionPreviousAlpha</B > :: <A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#t%3AColorSelectionClass" >ColorSelectionClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt" >Int</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-ColorSelection.html#colorSelectionPreviousAlpha" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >'previousAlpha' property. See <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#v%3AcolorSelectionGetPreviousAlpha" >colorSelectionGetPreviousAlpha</A ></TT > and <TT ><A HREF="Graphics-UI-Gtk-Selectors-ColorSelection.html#v%3AcolorSelectionSetPreviousAlpha" >colorSelectionSetPreviousAlpha</A ></TT > </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 >