wx-0.92.3.0: wxHaskell

Copyright(c) Daan Leijen 2003
LicenseBSD-style
Maintainerwxhaskell-devel@lists.sourceforge.net
Stabilityprovisional
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Graphics.UI.WX.Layout

Contents

Description

Just re-exports functionality of Graphics.UI.WXCore.Layout. See that module for a description of layout combinators.

Any object in the Form class has a layout attribute to specify the layout. Here is a short example:

do f <- frame [text := "layout demo"]
   q <- button f [text := "quit", on command := close f]
   set f [layout := margin 10 $
                    floatCentre $
                    column 5 [label "hi",widget q]]

Synopsis

Classes

class Form w where Source #

Forms can contain other widgets.

Minimal complete definition

layout

Methods

layout :: Attr w Layout Source #

Set the layout of the child widgets.

layout :: Form w => Attr w Layout Source #

Set the layout of the child widgets.

Layout