Sophie

Sophie

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

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.Layout.Fixed</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-Layout-Fixed.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-Layout-Fixed.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.Layout.Fixed</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"
>Child 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 container which allows you to position widgets at fixed coordinates
</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%3AFixed"
>Fixed</A
> </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><SPAN CLASS="keyword"
>class</SPAN
> <A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass"
>ContainerClass</A
> o =&gt; <A HREF="#t%3AFixedClass"
>FixedClass</A
> o </TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AcastToFixed"
>castToFixed</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-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AgTypeFixed"
>gTypeFixed</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%3AtoFixed"
>toFixed</A
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfixedNew"
>fixedNew</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-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfixedPut"
>fixedPut</A
> :: (<A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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/Data-Int.html#t%3AInt"
>Int</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
>) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfixedMove"
>fixedMove</A
> :: (<A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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/Data-Int.html#t%3AInt"
>Int</A
>, <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
>) -&gt; <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfixedSetHasWindow"
>fixedSetHasWindow</A
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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%3AfixedGetHasWindow"
>fixedGetHasWindow</A
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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%3AfixedHasWindow"
>fixedHasWindow</A
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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%3AfixedChildX"
>fixedChildX</A
> :: (<A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&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-Int.html#t%3AInt"
>Int</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AfixedChildY"
>fixedChildY</A
> :: (<A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&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-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"
><P
>The <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> widget is a container which can place child widgets at fixed
 positions and with fixed sizes, given in pixels. <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> performs no
 automatic layout management.
</P
><P
>For most applications, you should not use this container! It keeps you
 from having to learn about the other Gtk+ containers, but it results in
 broken applications. With <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
>, the following things will result in
 truncated text, overlapping widgets, and other display bugs:
</P
><UL
><LI
> Themes, which may change widget sizes.
</LI
><LI
> Fonts other than the one you used to write the app will of course
 change the size of widgets containing text; keep in mind that users may use
 a larger font because of difficulty reading the default, or they may be
 using Windows or the framebuffer port of Gtk+, where different fonts are
 available.
</LI
><LI
> Translation of text into other languages changes its size. Also,
 display of non-English text will use a different font in many cases.
</LI
></UL
><P
>In addition, the fixed widget can't properly be mirrored in right-to-left
 languages such as Hebrew and Arabic. i.e. normally Gtk+ will flip the
 interface to put labels to the right of the thing they label, but it can't
 do that with <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
>. So your application will not be usable in
 right-to-left languages.
</P
><P
>Finally, fixed positioning makes it kind of annoying to add/remove GUI
 elements, since you have to reposition all the other elements. This is a
 long-term maintenance problem for your application.
</P
><P
>If you know none of these things are an issue for your application, and
 prefer the simplicity of <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
>, by all means use the widget. But you
 should be aware of the tradeoffs.
</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
>
 |                     +----Fixed
</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:Fixed"
><A NAME="t%3AFixed"
></A
></A
><B
>Fixed</B
>  </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#Fixed"
>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:Fixed')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:Fixed" 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-Layout-Fixed.html#t%3AFixed"
>Fixed</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-Layout-Fixed.html#t%3AFixed"
>Fixed</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-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass"
>ContainerClass</A
> <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass"
>ObjectClass</A
> <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</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-Abstract-Container.html#t%3AContainerClass"
>ContainerClass</A
> o =&gt; <A NAME="t:FixedClass"
><A NAME="t%3AFixedClass"
></A
></A
><B
>FixedClass</B
> o </TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#FixedClass"
>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:FixedClass')" ALT="show/hide"
> Instances</TD
></TR
><TR
><TD CLASS="body"
><DIV ID="i:FixedClass" STYLE="display:block;"
><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</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:castToFixed"
><A NAME="v%3AcastToFixed"
></A
></A
><B
>castToFixed</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-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#castToFixed"
>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:gTypeFixed"
><A NAME="v%3AgTypeFixed"
></A
></A
><B
>gTypeFixed</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#gTypeFixed"
>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:toFixed"
><A NAME="v%3AtoFixed"
></A
></A
><B
>toFixed</B
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> o =&gt; o -&gt; <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Types.html#toFixed"
>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:fixedNew"
><A NAME="v%3AfixedNew"
></A
></A
><B
>fixedNew</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-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Layout-Fixed.html#fixedNew"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Creates a new <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</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:fixedPut"
><A NAME="v%3AfixedPut"
></A
></A
><B
>fixedPut</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Layout-Fixed.html#fixedPut"
>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-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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
> - the widget to add.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
>, <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
>(x,y)</TT
> - the horizontal and vertical position to place
 the widget at.
</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 a widget to a <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> container at the given position.
</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:fixedMove"
><A NAME="v%3AfixedMove"
></A
></A
><B
>fixedMove</B
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Layout-Fixed.html#fixedMove"
>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-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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
> - the child widget.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; (<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
>, <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
>(x,y)</TT
> - the horizontal and vertical position to move the
 widget to.
</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"
>Moves a child of a <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> container to the given position.
</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:fixedSetHasWindow"
><A NAME="v%3AfixedSetHasWindow"
></A
></A
><B
>fixedSetHasWindow</B
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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-Layout-Fixed.html#fixedSetHasWindow"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Sets whether the <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> widget is created with a separate <TT
><A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow"
>DrawWindow</A
></TT
> for
 its window or not. (By default, it will be created with no separate
 <TT
><A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow"
>DrawWindow</A
></TT
>). This function must be called while the <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> is not
 realized, for instance, immediately after the window is created.
</P
><P
>This function was added to provide an easy migration path for older
 applications which may expect <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> to have a separate window.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fixedGetHasWindow"
><A NAME="v%3AfixedGetHasWindow"
></A
></A
><B
>fixedGetHasWindow</B
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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-Layout-Fixed.html#fixedGetHasWindow"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>Gets whether the <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixed"
>Fixed</A
></TT
> has its own <TT
><A HREF="Graphics-UI-Gtk-Gdk-DrawWindow.html#t%3ADrawWindow"
>DrawWindow</A
></TT
>. See
 <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#v%3AfixedSetHasWindow"
>fixedSetHasWindow</A
></TT
>.
</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:fixedHasWindow"
><A NAME="v%3AfixedHasWindow"
></A
></A
><B
>fixedHasWindow</B
> :: <A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</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-Layout-Fixed.html#fixedHasWindow"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
>'hasWindow' property. See <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#v%3AfixedGetHasWindow"
>fixedGetHasWindow</A
></TT
> and <TT
><A HREF="Graphics-UI-Gtk-Layout-Fixed.html#v%3AfixedSetHasWindow"
>fixedSetHasWindow</A
></TT
>
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
><A NAME="7"
><A NAME="7"
>Child 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:fixedChildX"
><A NAME="v%3AfixedChildX"
></A
></A
><B
>fixedChildX</B
> :: (<A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&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-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Layout-Fixed.html#fixedChildX"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>X position of child widget.
</P
><P
>Default value: 0
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="topdecl"
><TABLE CLASS="declbar"
><TR
><TD CLASS="declname"
><A NAME="v:fixedChildY"
><A NAME="v%3AfixedChildY"
></A
></A
><B
>fixedChildY</B
> :: (<A HREF="Graphics-UI-Gtk-Layout-Fixed.html#t%3AFixedClass"
>FixedClass</A
> self, <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass"
>WidgetClass</A
> child) =&gt; child -&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-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="declbut"
><A HREF="src/Graphics-UI-Gtk-Layout-Fixed.html#fixedChildY"
>Source</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="doc"
><P
>Y position of child widget.
</P
><P
>Default value: 0
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.1</TD
></TR
></TABLE
></BODY
></HTML
>