Sophie

Sophie

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

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.Windows.Dialog</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-Windows-Dialog.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-Windows-Dialog.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.Windows.Dialog</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
><DT
><A HREF="#7"
>Signals
</A
></DT
><DT
><A HREF="#8"
>Deprecated
</A
></DT
></DL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
><P
>Create popup windows
</P
><P
>NOTE:
 Now FFI haven't support variadic function gtk_dialog_set_alternative_button_order
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3ADialog"
>Dialog</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="Graphics-UI-Gtk-Windows-Window.html#t%3AWindowClass"
>WindowClass</A
> o =&gt; <A HREF="#t%3ADialogClass"
>DialogClass</A
> o </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcastToDialog"
>castToDialog</A
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AgTypeDialog"
>gTypeDialog</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%3AtoDialog"
>toDialog</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogNew"
>dialogNew</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-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogGetUpper"
>dialogGetUpper</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> dc =&gt; dc -&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-Layout-VBox.html#t%3AVBox"
>VBox</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogGetActionArea"
>dialogGetActionArea</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> dc =&gt; dc -&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-Layout-HBox.html#t%3AHBox"
>HBox</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogRun"
>dialogRun</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&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-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogResponse"
>dialogResponse</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>data</SPAN
>  <A HREF="#t%3AResponseId"
>ResponseId</A
>  </TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
>= <A HREF="#v%3AResponseNone"
>ResponseNone</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseReject"
>ResponseReject</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseAccept"
>ResponseAccept</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseDeleteEvent"
>ResponseDeleteEvent</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseOk"
>ResponseOk</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseCancel"
>ResponseCancel</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseClose"
>ResponseClose</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseYes"
>ResponseYes</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseNo"
>ResponseNo</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseApply"
>ResponseApply</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseHelp"
>ResponseHelp</A
></TD
></TR
><TR
><TD CLASS="decl"
>| <A HREF="#v%3AResponseUser"
>ResponseUser</A
> <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
></TABLE
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogAddButton"
>dialogAddButton</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; <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-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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-Buttons-Button.html#t%3AButton"
>Button</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogAddActionWidget"
>dialogAddActionWidget</A
> :: (<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; self -&gt; child -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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%3AdialogGetHasSeparator"
>dialogGetHasSeparator</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&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%3AdialogSetDefaultResponse"
>dialogSetDefaultResponse</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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%3AdialogSetHasSeparator"
>dialogSetHasSeparator</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&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%3AdialogSetResponseSensitive"
>dialogSetResponseSensitive</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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%3AdialogGetResponseForWidget"
>dialogGetResponseForWidget</A
> :: (<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget) =&gt; self -&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="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AdialogAlternativeDialogButtonOrder"
>dialogAlternativeDialogButtonOrder</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-Screen.html#t%3AScreen"
>Screen</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%3AdialogSetAlternativeButtonOrderFromArray"
>dialogSetAlternativeButtonOrderFromArray</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; [<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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%3AdialogHasSeparator"
>dialogHasSeparator</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <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%3AdialogActionAreaBorder"
>dialogActionAreaBorder</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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%3AdialogButtonSpacing"
>dialogButtonSpacing</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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%3AdialogContentAreaBorder"
>dialogContentAreaBorder</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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%3AdialogContentAreaSpacing"
>dialogContentAreaSpacing</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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%3Aresponse"
>response</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</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-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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%3AonResponse"
>onResponse</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; (<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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
>) -&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/glib-0.11.2/System-Glib-Signals.html#t%3AConnectId"
>ConnectId</A
> self)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AafterResponse"
>afterResponse</A
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; (<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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
>) -&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/glib-0.11.2/System-Glib-Signals.html#t%3AConnectId"
>ConnectId</A
> self)</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"
><P
>Dialog boxes are a convenient way to prompt the user for a small amount
 of input, e.g. to display a message, ask a question, or anything else that
 does not require extensive effort on the user's part.
</P
><P
>Gtk+ treats a dialog as a window split vertically. The top section is a
 <TT
><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TT
>, and is where widgets such as a <TT
><A HREF="Graphics-UI-Gtk-Display-Label.html#t%3ALabel"
>Label</A
></TT
> or a <TT
><A HREF="Graphics-UI-Gtk-Entry-Entry.html#t%3AEntry"
>Entry</A
></TT
> should be
 packed. The bottom area is known as the action_area. This is generally used
 for packing buttons into the dialog which may perform functions such as
 cancel, ok, or apply. The two areas are separated by a <TT
><A HREF="Graphics-UI-Gtk-Ornaments-HSeparator.html#t%3AHSeparator"
>HSeparator</A
></TT
>.
</P
><P
><TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TT
> boxes are created with a call to <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogNew"
>dialogNew</A
></TT
> or
 dialogNewWithButtons. dialogNewWithButtons is recommended; it allows you
 to set the dialog title, some convenient flags, and add simple buttons.
</P
><P
>If 'dialog' is a newly created dialog, the two primary areas of the
 window can be accessed using <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogGetUpper"
>dialogGetUpper</A
></TT
> and
 <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogGetActionArea"
>dialogGetActionArea</A
></TT
>.
</P
><P
>A 'modal' dialog (that is, one which freezes the rest of the
 application from user input), can be created by calling windowSetModal on
 the dialog. When using dialogNewWithButtons you can also
 pass the DialogModal flag to make a dialog modal.
</P
><P
>If you add buttons to <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TT
> using dialogNewWithButtons,
 <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogAddButton"
>dialogAddButton</A
></TT
>, dialogAddButtons, or <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogAddActionWidget"
>dialogAddActionWidget</A
></TT
>, clicking
 the button will emit a signal called &quot;response&quot; with a response ID that
 you specified. Gtk+ will never assign a meaning to positive response IDs;
 these are entirely user-defined. But for convenience, you can use the
 response IDs in the ResponseType enumeration (these all have values less
 than zero). If a dialog receives a delete event, the &quot;response&quot; signal
 will be emitted with a response ID of <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AResponseNone"
>ResponseNone</A
></TT
>.
</P
><P
>If you want to block waiting for a dialog to return before returning
 control flow to your code, you can call <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
>. This function enters a
 recursive main loop and waits for the user to respond to the dialog,
 returning the response ID corresponding to the button the user clicked.
</P
><P
>For a simple message box, you probably want to use
 Graphics.UI.Gtk.Windows.MessageDialog.MessageDialog which provides
 convenience functions
 for creating standard dialogs containing simple messages to inform
 or ask the user.
</P
></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-Bin.html#t%3ABin"
>Bin</A
></TT
>
 | +----<TT
><A HREF="Graphics-UI-Gtk-Windows-Window.html#t%3AWindow"
>Window</A
></TT
>
 | +----Dialog
 | +----<TT
><A HREF="Graphics-UI-Gtk-Windows-AboutDialog.html#t%3AAboutDialog"
>AboutDialog</A
></TT
>
 | +----<TT
><A HREF="Graphics-UI-Gtk-Selectors-ColorSelectionDialog.html#t%3AColorSelectionDialog"
>ColorSelectionDialog</A
></TT
>
 | +----<TT
><A HREF="Graphics-UI-Gtk-Selectors-FileChooserDialog.html#t%3AFileChooserDialog"
>FileChooserDialog</A
></TT
>
 | +----<TT
><A HREF="Graphics-UI-Gtk-Selectors-FileSelection.html#t%3AFileSelection"
>FileSelection</A
></TT
>
 | +----<TT
><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog"
>FontSelectionDialog</A
></TT
>
 | +----<TT
>InputDialog</TT
>
 | +----<TT
><A HREF="Graphics-UI-Gtk-Windows-MessageDialog.html#t%3AMessageDialog"
>MessageDialog</A
></TT
>
</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:Dialog"
><A NAME="t%3ADialog"
></A
></A
><B
>Dialog</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#Dialog"
>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:Dialog')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Dialog" 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-Windows-Dialog.html#t%3ADialog"
>Dialog</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-Windows-Dialog.html#t%3ADialog"
>Dialog</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-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Window.html#t%3AWindowClass"
>WindowClass</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Bin.html#t%3ABinClass"
>BinClass</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass"
>ContainerClass</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass"
>ObjectClass</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</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-Windows-Window.html#t%3AWindowClass"
>WindowClass</A
> o =&gt; <A NAME="t:DialogClass"
><A NAME="t%3ADialogClass"
></A
></A
><B
>DialogClass</B
> o </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#DialogClass"
>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:DialogClass')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:DialogClass" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Windows-MessageDialog.html#t%3AMessageDialog"
>MessageDialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> InputDialog</TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog"
>FontSelectionDialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-FileChooserDialog.html#t%3AFileChooserDialog"
>FileChooserDialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-FileSelection.html#t%3AFileSelection"
>FileSelection</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Selectors-ColorSelectionDialog.html#t%3AColorSelectionDialog"
>ColorSelectionDialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Windows-AboutDialog.html#t%3AAboutDialog"
>AboutDialog</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</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:castToDialog"
><A NAME="v%3AcastToDialog"
></A
></A
><B
>castToDialog</B
> :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass"
>GObjectClass</A
> obj =&gt; obj -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#castToDialog"
>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:gTypeDialog"
><A NAME="v%3AgTypeDialog"
></A
></A
><B
>gTypeDialog</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#gTypeDialog"
>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:toDialog"
><A NAME="v%3AtoDialog"
></A
></A
><B
>toDialog</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#toDialog"
>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:dialogNew"
><A NAME="v%3AdialogNew"
></A
></A
><B
>dialogNew</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-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogNew"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Creates a new dialog box. Widgets should not be packed into this <TT
><A HREF="Graphics-UI-Gtk-Windows-Window.html#t%3AWindow"
>Window</A
></TT
>
 directly, but into the &quot;upper&quot; and &quot;action area&quot;, which are obtained
 using <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogGetUpper"
>dialogGetUpper</A
></TT
> and <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogGetActionArea"
>dialogGetActionArea</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:dialogGetUpper"
><A NAME="v%3AdialogGetUpper"
></A
></A
><B
>dialogGetUpper</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> dc =&gt; dc -&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-Layout-VBox.html#t%3AVBox"
>VBox</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Structs.html#dialogGetUpper"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Get the upper part of a dialog.
</P
><UL
><LI
> The upper part of a dialog window consists of a <TT
><A HREF="Graphics-UI-Gtk-Layout-VBox.html#t%3AVBox"
>VBox</A
></TT
>.
   Add the required widgets into this box.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogGetActionArea"
><A NAME="v%3AdialogGetActionArea"
></A
></A
><B
>dialogGetActionArea</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> dc =&gt; dc -&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-Layout-HBox.html#t%3AHBox"
>HBox</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Structs.html#dialogGetActionArea"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Extract the action area of a dialog box.
</P
><UL
><LI
> This
 is useful to add some special widgets that cannot be added with
 dialogAddActionWidget.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogRun"
><A NAME="v%3AdialogRun"
></A
></A
><B
>dialogRun</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&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-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogRun"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Blocks in a recursive main loop until the dialog either emits the
 response signal, or is destroyed. If the dialog is destroyed during the call
 to <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
>, it returns <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AResponseNone"
>ResponseNone</A
></TT
>. Otherwise, it returns the
 response ID from the &quot;response&quot; signal emission. Before entering the
 recursive main loop, <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> calls widgetShow on the dialog for you.
 Note that you still need to show any children of the dialog yourself.
</P
><P
>During <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
>, the default behavior of &quot;delete_event&quot; is disabled;
 if the dialog receives &quot;delete_event&quot;, it will not be destroyed as windows
 usually are, and <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> will return <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AResponseDeleteEvent"
>ResponseDeleteEvent</A
></TT
>. Also, during
 <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> the dialog will be modal. You can force <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> to return at
 any time by calling <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogResponse"
>dialogResponse</A
></TT
> to emit the &quot;response&quot; signal.
 Destroying the dialog during <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> is a very bad idea, because your
 post-run code won't know whether the dialog was destroyed or not.
 Hence, you should not call Graphics.UI.Gtk.Abstract.widgetDestroy
 before <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> has returned.
</P
><P
>After <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> returns, you are responsible for hiding or destroying
 the dialog if you wish to do so.
</P
><P
>Note that even though the recursive main loop gives the effect of a modal
 dialog (it prevents the user from interacting with other windows while the
 dialog is run), callbacks such as timeouts, IO channel watches, DND drops,
 etc, <EM
>will</EM
> be triggered during a <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> call.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogResponse"
><A NAME="v%3AdialogResponse"
></A
></A
><B
>dialogResponse</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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-Windows-Dialog.html#dialogResponse"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Emits the &quot;response&quot; signal with the given response ID. Used to
 indicate that the user has responded to the dialog in some way; typically
 either you or <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogRun"
>dialogRun</A
></TT
> will be monitoring the &quot;response&quot; signal and
 take appropriate action.
</P
><P
>This function can be used to add a custom widget to the action area that
 should close the dialog when activated or to close the dialog otherwise.
</P
></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:ResponseId"
><A NAME="t%3AResponseId"
></A
></A
><B
>ResponseId</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-General-Structs.html#ResponseId"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="ndoc"
>Some constructors that can be used as response
 numbers for dialogs.
</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:ResponseNone"
><A NAME="v%3AResponseNone"
></A
></A
><B
>ResponseNone</B
></TD
><TD CLASS="rdoc"
>GTK returns this if a response widget has no <TT
>response_id</TT
>,
   or if the dialog gets programmatically hidden or destroyed.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseReject"
><A NAME="v%3AResponseReject"
></A
></A
><B
>ResponseReject</B
></TD
><TD CLASS="rdoc"
>GTK won't return these unless you pass them in as
   the response for an action widget. They are for your convenience.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseAccept"
><A NAME="v%3AResponseAccept"
></A
></A
><B
>ResponseAccept</B
></TD
><TD CLASS="rdoc"
>(as above)
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseDeleteEvent"
><A NAME="v%3AResponseDeleteEvent"
></A
></A
><B
>ResponseDeleteEvent</B
></TD
><TD CLASS="rdoc"
>If the dialog is deleted.
</TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseOk"
><A NAME="v%3AResponseOk"
></A
></A
><B
>ResponseOk</B
></TD
><TD CLASS="rdoc"
><P
>&quot;Ok&quot; was pressed.
</P
><UL
><LI
> This value is returned from the &quot;Ok&quot; stock dialog button.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseCancel"
><A NAME="v%3AResponseCancel"
></A
></A
><B
>ResponseCancel</B
></TD
><TD CLASS="rdoc"
><P
>&quot;Cancel&quot; was pressed.
</P
><UL
><LI
> These value is returned from the &quot;Cancel&quot; stock dialog button.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseClose"
><A NAME="v%3AResponseClose"
></A
></A
><B
>ResponseClose</B
></TD
><TD CLASS="rdoc"
><P
>&quot;Close&quot; was pressed.
</P
><UL
><LI
> This value is returned from the &quot;Close&quot; stock dialog button.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseYes"
><A NAME="v%3AResponseYes"
></A
></A
><B
>ResponseYes</B
></TD
><TD CLASS="rdoc"
><P
>&quot;Yes&quot; was pressed.
</P
><UL
><LI
> This value is returned from the &quot;Yes&quot; stock dialog button.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseNo"
><A NAME="v%3AResponseNo"
></A
></A
><B
>ResponseNo</B
></TD
><TD CLASS="rdoc"
><P
>&quot;No&quot; was pressed.
</P
><UL
><LI
> This value is returned from the &quot;No&quot; stock dialog button.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseApply"
><A NAME="v%3AResponseApply"
></A
></A
><B
>ResponseApply</B
></TD
><TD CLASS="rdoc"
><P
>&quot;Apply&quot; was pressed.
</P
><UL
><LI
> This value is returned from the &quot;Apply&quot; stock dialog button.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseHelp"
><A NAME="v%3AResponseHelp"
></A
></A
><B
>ResponseHelp</B
></TD
><TD CLASS="rdoc"
><P
>&quot;Help&quot; was pressed.
</P
><UL
><LI
> This value is returned from the &quot;Help&quot; stock dialog button.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="arg"
><A NAME="v:ResponseUser"
><A NAME="v%3AResponseUser"
></A
></A
><B
>ResponseUser</B
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
><P
>A user-defined response
</P
><UL
><LI
> This value is returned from a user defined button
</LI
></UL
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="section4"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:ResponseId')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:ResponseId" 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-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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:dialogAddButton"
><A NAME="v%3AdialogAddButton"
></A
></A
><B
>dialogAddButton</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogAddButton"
>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-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
></TD
><TD CLASS="rdoc"
><TT
>buttonText</TT
> - text of button, or stock ID
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TD
><TD CLASS="rdoc"
><TT
>responseId</TT
> - response ID for the button
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Graphics-UI-Gtk-Buttons-Button.html#t%3AButton"
>Button</A
></TD
><TD CLASS="rdoc"
>returns the button widget that was added
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Adds a button with the given text (or a stock button, if <TT
>buttonText</TT
> is
 a stock ID) and sets things up so that clicking the button will emit the
 &quot;response&quot; signal with the given <TT
>responseId</TT
>. The button is appended to
 the end of the dialog's action area. The button widget is returned, but
 usually you don't need it.
</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:dialogAddActionWidget"
><A NAME="v%3AdialogAddActionWidget"
></A
></A
><B
>dialogAddActionWidget</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogAddActionWidget"
>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-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; child</TD
><TD CLASS="rdoc"
><TT
>child</TT
> - an activatable widget
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TD
><TD CLASS="rdoc"
><TT
>responseId</TT
> - response ID for <TT
>child</TT
>
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Adds an activatable widget to the action area of a <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog"
>Dialog</A
></TT
>, connecting a
 signal handler that will emit the &quot;response&quot; signal on the dialog when the
 widget is activated. The widget is appended to the end of the dialog's
 action area. If you want to add a non-activatable widget, simply pack it
 into the action area.
</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:dialogGetHasSeparator"
><A NAME="v%3AdialogGetHasSeparator"
></A
></A
><B
>dialogGetHasSeparator</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&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-Windows-Dialog.html#dialogGetHasSeparator"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Query if the dialog has a visible horizontal separator.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogSetDefaultResponse"
><A NAME="v%3AdialogSetDefaultResponse"
></A
></A
><B
>dialogSetDefaultResponse</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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-Windows-Dialog.html#dialogSetDefaultResponse"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Sets the last widget in the dialog's action area with the given
 <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TT
> as the default widget for the dialog. Pressing &quot;Enter&quot;
 normally activates the default widget.
</P
><UL
><LI
> The default response is reset once it is triggered. Hence, if you
 hide the dialog (rather than closing it) and re-display it later,
 you need to call this function again.
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogSetHasSeparator"
><A NAME="v%3AdialogSetHasSeparator"
></A
></A
><B
>dialogSetHasSeparator</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&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-Windows-Dialog.html#dialogSetHasSeparator"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Sets whether the dialog has a separator above the buttons. <TT
>True</TT
> by
 default.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogSetResponseSensitive"
><A NAME="v%3AdialogSetResponseSensitive"
></A
></A
><B
>dialogSetResponseSensitive</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogSetResponseSensitive"
>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-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TD
><TD CLASS="rdoc"
><TT
>responseId</TT
> - a response ID
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
><TT
>setting</TT
> - <TT
>True</TT
> for sensitive
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Calls <TT
>widgetSetSensitive widget setting</TT
> for each widget in the
 dialog's action area with the given <TT
>responseId</TT
>. A convenient way to
 sensitize/desensitize dialog buttons.
</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:dialogGetResponseForWidget"
><A NAME="v%3AdialogGetResponseForWidget"
></A
></A
><B
>dialogGetResponseForWidget</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogGetResponseForWidget"
>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-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> widget)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; widget</TD
><TD CLASS="rdoc"
><TT
>widget</TT
> - a widget in the action area of dialog
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
></TD
><TD CLASS="rdoc"
>return the response id of widget, or <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AResponseNone"
>ResponseNone</A
></TT
> if widget doesn't have a response id set. 
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>Gets the response id of a widget in the action area of a dialog.
</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:dialogAlternativeDialogButtonOrder"
><A NAME="v%3AdialogAlternativeDialogButtonOrder"
></A
></A
><B
>dialogAlternativeDialogButtonOrder</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogAlternativeDialogButtonOrder"
>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-Maybe.html#t%3AMaybe"
>Maybe</A
> <A HREF="Graphics-UI-Gtk-Gdk-Screen.html#t%3AScreen"
>Screen</A
></TD
><TD CLASS="rdoc"
><TT
>screen</TT
> - a <TT
><A HREF="Graphics-UI-Gtk-Gdk-Screen.html#t%3AScreen"
>Screen</A
></TT
>, or <TT
>Nothing</TT
> to use the default screen
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool"
>Bool</A
></TD
><TD CLASS="rdoc"
>returns whether the alternative button order should be used
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
><P
>Returns <TT
>True</TT
> if dialogs are expected to use an alternative button order on the screen screen.
 See dialogSetAlternativeButtonOrder for more details about alternative button order.
</P
><P
>If you need to use this function, you should probably connect to the alternativeButtonOrder signal on the GtkSettings object associated to screen, in order to be notified if the button order setting changes.
</P
><UL
><LI
> Available since Gtk+ version 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:dialogSetAlternativeButtonOrderFromArray"
><A NAME="v%3AdialogSetAlternativeButtonOrderFromArray"
></A
></A
><B
>dialogSetAlternativeButtonOrderFromArray</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#dialogSetAlternativeButtonOrderFromArray"
>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-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; self</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; [<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</A
>]</TD
><TD CLASS="rdoc"
><TT
>newOrder</TT
> - an array of response ids of dialog's buttons 
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
><P
>Sets an alternative button order.
</P
><P
>If the alternativeButtonOrder setting is set to <TT
>True</TT
>, the dialog
 buttons are reordered according to the order of the response ids in
 <TT
>newOrder</TT
>.
</P
><P
>See dialogSetAlternativeButtonOrder for more information.
</P
><P
>This function is for use by language bindings.
</P
><UL
><LI
> Available since Gtk+ version 2.6
</LI
></UL
></TD
></TR
></TABLE
></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:dialogHasSeparator"
><A NAME="v%3AdialogHasSeparator"
></A
></A
><B
>dialogHasSeparator</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <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-Windows-Dialog.html#dialogHasSeparator"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The dialog has a separator bar above its buttons.
</P
><P
>Default value: <TT
>True</TT
>
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogActionAreaBorder"
><A NAME="v%3AdialogActionAreaBorder"
></A
></A
><B
>dialogActionAreaBorder</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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-Windows-Dialog.html#dialogActionAreaBorder"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Width of border around the button area at the bottom of the dialog.
</P
><P
>Allowed values: &gt;= 0
</P
><P
>Default value: 5
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogButtonSpacing"
><A NAME="v%3AdialogButtonSpacing"
></A
></A
><B
>dialogButtonSpacing</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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-Windows-Dialog.html#dialogButtonSpacing"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Spacing between buttons.
</P
><P
>Allowed values: &gt;= 0
</P
><P
>Default value: 6
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogContentAreaBorder"
><A NAME="v%3AdialogContentAreaBorder"
></A
></A
><B
>dialogContentAreaBorder</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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-Windows-Dialog.html#dialogContentAreaBorder"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Width of border around the main dialog area.
</P
><P
>Allowed values: &gt;= 0
</P
><P
>Default value: 2
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:dialogContentAreaSpacing"
><A NAME="v%3AdialogContentAreaSpacing"
></A
></A
><B
>dialogContentAreaSpacing</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AReadAttr"
>ReadAttr</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-Windows-Dialog.html#dialogContentAreaSpacing"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>The default spacing used between elements of the content area of the dialog,
 as returned by dialogSetContentArea, unless boxSetSpacing was called on that widget directly.
</P
><P
>Allowed values: &gt;= 0
</P
><P
>Default value: 0
</P
><UL
><LI
> Available since Gtk+ version 2.16
</LI
></UL
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="7"
><A NAME="7"
>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:response"
><A NAME="v%3Aresponse"
></A
></A
><B
>response</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</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-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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-Windows-Dialog.html#response"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Emitted when an action widget is clicked, the dialog receives a delete
 event, or the application programmer calls <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogResponse"
>dialogResponse</A
></TT
>. On a delete
 event, the response ID is <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AResponseNone"
>ResponseNone</A
></TT
>. Otherwise, it depends on which
 action widget was clicked.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="8"
><A NAME="8"
>Deprecated
</A
></A
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:onResponse"
><A NAME="v%3AonResponse"
></A
></A
><B
>onResponse</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; (<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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
>) -&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/glib-0.11.2/System-Glib-Signals.html#t%3AConnectId"
>ConnectId</A
> self)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#onResponse"
>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:afterResponse"
><A NAME="v%3AafterResponse"
></A
></A
><B
>afterResponse</B
> :: <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass"
>DialogClass</A
> self =&gt; self -&gt; (<A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3AResponseId"
>ResponseId</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
>) -&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/glib-0.11.2/System-Glib-Signals.html#t%3AConnectId"
>ConnectId</A
> self)</TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Windows-Dialog.html#afterResponse"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Emitted when an action widget is clicked, the dialog receives a delete
 event, or the application programmer calls <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AdialogResponse"
>dialogResponse</A
></TT
>. On a delete
 event, the response ID is <TT
><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#v%3AResponseNone"
>ResponseNone</A
></TT
>. Otherwise, it depends on which
 action widget was clicked.
</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
>