|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Window
|
|
window :: Window a -> [Prop (Window ())] -> IO (Window ()) | Source |
|
Create a plain window. Can be used to define custom controls for example.
- Attributes: rootParent, frameParent, tabTraversal
- Instances: Textual, Literate, Dimensions, Colored, Visible, Child,
Able, Tipped, Identity, Styled, Reactive, Paint.
|
|
|
Ensure that a widget is refitted inside a window when
its size changes, for example when the text of a
staticText control changes. (calls windowReFit)
|
|
|
Ensure that a widget is refitted inside a window when
its size changes, for example when the text of a
staticText control changes. Always resizes the
window to its minimal acceptable size. (calls windowReFitMinimal)
|
|
|
The ultimate root parent of the widget.
|
|
|
The parent frame or dialog of a widget.
|
|
|
Enable (or disable) tab-traversal. (= wxTAB_TRAVERSAL)
|
|
ScrolledWindow
|
|
scrolledWindow :: Window a -> [Prop (ScrolledWindow ())] -> IO (ScrolledWindow ()) | Source |
|
A scrollable window. Use virtualSize and scrollRate to set the scrollbar
behaviour.
- Attributes: scrollRate
- Instances: Textual, Literate, Dimensions, Colored, Visible, Child,
Able, Tipped, Identity, Styled, Reactive, Paint.
|
|
|
The horizontal and vertical scroll rate of scrolled window. Use 0 to disable
scrolling in that direction.
|
|
Internal
|
|
initialWindow :: (Id -> Rect -> [Prop (Window w)] -> Style -> a) -> [Prop (Window w)] -> Style -> a | Source |
|
Helper function that retrieves initial window settings, including
|identity|, |style|, and |area| (or |position| and |outerSize|).
|
|
initialContainer :: (Id -> Rect -> [Prop (Window w)] -> Style -> a) -> [Prop (Window w)] -> Style -> a | Source |
|
Helper function that retrieves initial window settings, including |clipChildren|
and |fullRepaintOnResize|.
|
|
|
Helper function that retrieves the initial |identity|.
|
|
|
Helper function that retrieves the initial |style|.
|
|
|
Retrieve the initial title from the |text| attribute.
|
|
|
Helper function that transforms the style accordding
to the fullRepaintOnResize flag in of the properties
|
|
|
Helper function that transforms the style accordding
to the clipChildren flag out of the properties
|
|
Produced by Haddock version 2.1.0 |