<!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.FontSelectionDialog</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-FontSelectionDialog.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-FontSelectionDialog.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.FontSelectionDialog</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 dialog box for selecting fonts </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%3AFontSelectionDialog" >FontSelectionDialog</A > </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialogClass" >DialogClass</A > o => <A HREF="#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</A > o </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcastToFontSelectionDialog" >castToFontSelectionDialog</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgTypeFontSelectionDialog" >gTypeFontSelectionDialog</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%3AtoFontSelectionDialog" >toFontSelectionDialog</A > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AfontSelectionDialogNew" >fontSelectionDialogNew</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AfontSelectionDialogGetFontName" >fontSelectionDialogGetFontName</A > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-Maybe.html#t%3AMaybe" >Maybe</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >)</TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AfontSelectionDialogSetFontName" >fontSelectionDialogSetFontName</A > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</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/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%3AfontSelectionDialogGetPreviewText" >fontSelectionDialogGetPreviewText</A > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AfontSelectionDialogSetPreviewText" >fontSelectionDialogSetPreviewText</A > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</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%3AfontSelectionDialogPreviewText" >fontSelectionDialogPreviewText</A > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-Char.html#t%3AString" >String</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" ><P >The <TT ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TT > widget is a dialog box for selecting a font. </P ><P >To set the font which is initially selected, use <TT ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#v%3AfontSelectionDialogSetFontName" >fontSelectionDialogSetFontName</A ></TT >. </P ><P >To get the selected font use <TT ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#v%3AfontSelectionDialogGetFontName" >fontSelectionDialogGetFontName</A ></TT >. </P ><P >To change the text which is shown in the preview area, use <TT ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#v%3AfontSelectionDialogSetPreviewText" >fontSelectionDialogSetPreviewText</A ></TT >. </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 > | +----<TT ><A HREF="Graphics-UI-Gtk-Windows-Dialog.html#t%3ADialog" >Dialog</A ></TT > | +----FontSelectionDialog </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:FontSelectionDialog" ><A NAME="t%3AFontSelectionDialog" ></A ></A ><B >FontSelectionDialog</B > </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#FontSelectionDialog" >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:FontSelectionDialog')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:FontSelectionDialog" 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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Windows-Window.html#t%3AWindowClass" >WindowClass</A > <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Bin.html#t%3ABinClass" >BinClass</A > <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</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-Dialog.html#t%3ADialogClass" >DialogClass</A > o => <A NAME="t:FontSelectionDialogClass" ><A NAME="t%3AFontSelectionDialogClass" ></A ></A ><B >FontSelectionDialogClass</B > o </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#FontSelectionDialogClass" >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:FontSelectionDialogClass')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:FontSelectionDialogClass" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</A > <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</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:castToFontSelectionDialog" ><A NAME="v%3AcastToFontSelectionDialog" ></A ></A ><B >castToFontSelectionDialog</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-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#castToFontSelectionDialog" >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:gTypeFontSelectionDialog" ><A NAME="v%3AgTypeFontSelectionDialog" ></A ></A ><B >gTypeFontSelectionDialog</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#gTypeFontSelectionDialog" >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:toFontSelectionDialog" ><A NAME="v%3AtoFontSelectionDialog" ></A ></A ><B >toFontSelectionDialog</B > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</A > o => o -> <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#toFontSelectionDialog" >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:fontSelectionDialogNew" ><A NAME="v%3AfontSelectionDialogNew" ></A ></A ><B >fontSelectionDialogNew</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#fontSelectionDialogNew" >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-Char.html#t%3AString" >String</A ></TD ><TD CLASS="rdoc" ><TT >title</TT > - the title of the dialog box. </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="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Creates a new <TT ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialog" >FontSelectionDialog</A ></TT >. </TD ></TR ></TABLE ></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:fontSelectionDialogGetFontName" ><A NAME="v%3AfontSelectionDialogGetFontName" ></A ></A ><B >fontSelectionDialogGetFontName</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#fontSelectionDialogGetFontName" >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-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-Maybe.html#t%3AMaybe" >Maybe</A > <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >)</TD ><TD CLASS="rdoc" >returns the currently-selected font name, or <TT >Nothing</TT > if no font is selected. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Gets the currently-selected font name. </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:fontSelectionDialogSetFontName" ><A NAME="v%3AfontSelectionDialogSetFontName" ></A ></A ><B >fontSelectionDialogSetFontName</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#fontSelectionDialogSetFontName" >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-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-Char.html#t%3AString" >String</A ></TD ><TD CLASS="rdoc" ><TT >fontname</TT > - a fontname. </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 font was found. </TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" >Sets the currently-selected font. </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:fontSelectionDialogGetPreviewText" ><A NAME="v%3AfontSelectionDialogGetPreviewText" ></A ></A ><B >fontSelectionDialogGetPreviewText</B > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-Char.html#t%3AString" >String</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#fontSelectionDialogGetPreviewText" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Gets the text displayed in the preview area. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:fontSelectionDialogSetPreviewText" ><A NAME="v%3AfontSelectionDialogSetPreviewText" ></A ></A ><B >fontSelectionDialogSetPreviewText</B > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</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-FontSelectionDialog.html#fontSelectionDialogSetPreviewText" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Sets the text displayed in the preview area. </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:fontSelectionDialogPreviewText" ><A NAME="v%3AfontSelectionDialogPreviewText" ></A ></A ><B >fontSelectionDialogPreviewText</B > :: <A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#t%3AFontSelectionDialogClass" >FontSelectionDialogClass</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-Char.html#t%3AString" >String</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#fontSelectionDialogPreviewText" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >'previewText' property. See <TT ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#v%3AfontSelectionDialogGetPreviewText" >fontSelectionDialogGetPreviewText</A ></TT > and <TT ><A HREF="Graphics-UI-Gtk-Selectors-FontSelectionDialog.html#v%3AfontSelectionDialogSetPreviewText" >fontSelectionDialogSetPreviewText</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 >