Std.Ui.Layout
35 public declarations
- Alignment
Where a child sits across its stack, or inside a layer.
- Axis
Which way a stack places its children.
- box
Std.Ui.Layout.ViewA leaf node with no intrinsic extent.
- column
Array[Std.Ui.Layout.View] -> Std.Ui.Layout.ViewChildren placed top to bottom.
- Composing
A view with one property changed, each answering a view.
- damage
&Std.Ui.Layout.Layout -> &Std.Ui.Layout.Layout -> Array[Std.Ui.Canvas.Rect]The regions whose pixels differ between two placements of a screen.
- focusOrder
&Std.Ui.Layout.Layout -> Array[Int]The nodes keyboard focus visits, in reading order.
- frameOf
&Std.Ui.Layout.Layout -> Int -> Option[Std.Ui.Canvas.Rect]The frame of a node, or nothing for a position outside the layout.
- hitTest
&Std.Ui.Layout.Layout -> Std.Ui.Canvas.Point -> Option[Int]The frontmost meaningful node under a point.
- insets
Int -> Int -> Int -> Int -> Std.Ui.Layout.InsetsInsets from four edges.
- Insets
Space inside a node's edges, in logical pixels.
- isControlAt
&Std.Ui.Layout.Layout -> Int -> BoolWhether a node is a control that takes focus and activation.
- Kind
How a node arranges its children.
- layer
Array[Std.Ui.Layout.View] -> Std.Ui.Layout.ViewChildren placed over one another, later ones in front.
- Layout
A placed screen: every node's frame, flat, in pre-order.
- LayoutError
Why a view could not be placed or painted.
- nodeCount
&Std.Ui.Layout.Layout -> IntHow many nodes were placed.
- nodeNamed
&Std.Ui.Layout.Layout -> Str -> Option[Int]The first node in reading order with a name.
- nodeTagged
&Std.Ui.Layout.Layout -> Str -> Option[Int]The control carrying a tag, the identity its events are named by.
- paint
&Std.Ui.Layout.Layout -> &Std.Ui.Canvas.Canvas -> Result[Std.Ui.Canvas.Canvas, Std.Ui.Layout.LayoutError]A canvas holding every node's fill and text, in painting order.
- place
&Std.Ui.Layout.View -> Std.Ui.Canvas.Size -> Result[Std.Ui.Layout.Layout, Std.Ui.Layout.LayoutError]Place a view into a viewport with default node and depth budgets.
- Placed
One node after placement, in reading and painting order.
- placeWithin
&Std.Ui.Layout.View -> Std.Ui.Canvas.Size -> Int -> Int -> Result[Std.Ui.Layout.Layout, Std.Ui.Layout.LayoutError]Place a view with explicit node and nesting budgets.
- Role
What a node means to someone who cannot see it.
- row
Array[Std.Ui.Layout.View] -> Std.Ui.Layout.ViewChildren placed left to right.
- scrollColumn
Array[Std.Ui.Layout.View] -> Std.Ui.Layout.ViewChildren placed top to bottom inside a window showing part of them.
- scrollOffsetOf
&Std.Ui.Layout.Layout -> Int -> Option[Int]How far a node is scrolled after clamping, or nothing outside the layout.
- scrollRangeOf
&Std.Ui.Layout.Layout -> Int -> Option[Int]How far a node can scroll: its content's length beyond its window.
- scrollRow
Array[Std.Ui.Layout.View] -> Std.Ui.Layout.ViewChildren placed left to right inside a window showing part of them.
- Semantic
One entry in the accessibility tree derived from placement.
- semantics
&Std.Ui.Layout.Layout -> Array[Std.Ui.Layout.Semantic]The accessibility tree: every node that is not decoration, in reading order.
- spacer
Std.Ui.Layout.ViewA leaf that takes one share of the spare length in its stack.
- tagOf
&Std.Ui.Layout.Layout -> Int -> Option[Str]The tag of a node, or nothing for a position outside the layout.
- text
Str -> Std.Ui.Layout.ViewA leaf showing text, measured by its face and named by what it says.
- View
A declarative description of a screen.
