Crate zng_wgt_container

Source
Expand description

Base container widget and properties.

§Crate

This crate is part of the zng project.

Structs§

Container
W Base container.

Enums§

ChildInsert
Placement of a node inserted by the child_insert property.

Functions§

child
P The widget’s child.
child_align
P Aligns the widget content within the available space.
child_bottom
P Insert node below the widget’s child.
child_end
P Insert node to the right of the widget’s child in LTR contexts or to the right of the widget’s child in RTL contexts.
child_insert
P Insert node in the placement relative to the widget’s child.
child_left
P Insert node to the left of the widget’s child.
child_out_bottom
P Insert node below the widget’s child, outside of the child layout.
child_out_end
P Insert node to the right of the widget’s child in LTR contexts or to the right of the widget’s child in RTL contexts, outside of the child layout.
child_out_insert
P Insert node in the placement relative to the widget’s child, outside of the child layout.
child_out_left
P Insert node to the left of the widget’s child, outside of the child layout.
child_out_over
P Insert node over the widget’s child, not affected by child layout.
child_out_right
P Insert node to the right of the widget’s child, outside of the child layout.
child_out_start
P Insert node to the left of the widget’s child in LTR contexts or to the right in RTL contexts, outside of the child layout.
child_out_top
P Insert node above the widget’s child, outside of the child layout.
child_out_under
P Insert node under the widget’s child, not affected by child layout.
child_over
P Insert node over the widget’s child.
child_right
P Insert node to the right of the widget’s child.
child_start
P Insert node to the left of the widget’s child in LTR contexts or to the right in RTL contexts.
child_top
P Insert node above the widget’s child.
child_under
P Insert node under the widget’s child.
padding
P Margin space around the content of a widget.