Crate bevy_ui_dsl
source ·Expand description
This crate simplifies the process of creating widgets in bevy using a simple extensible DSL.
Structs§
- Wrapper for
ChildBuilder
that also propogates anAssetServer
for the children that need it. - Wrapper for
EntityCommands
that also propagates anAssetServer
for the children that need it.
Traits§
- Something that can overwrite a value, typically a node bundle. Depends on an
AssetServer
, unlikeClass
. - Something that can overwrite a value, typically a node bundle.
Functions§
- Spawns a clear
NodeBundle
that takes up the full space of its parent. Often required for embedding other widgets after the initial widget is spawned. - Spawns a clear
NodeBundle
that takes up the full space of its parent. Often required for embedding other widgets after the initial widget is spawned. - Spawns a
ButtonBundle
with children. - Spawns a
ButtonBundle
with children. - Spawns a
NodeBundle
composed ofNodeBundle
cells in the form of a grid. The callback function argument spawns the contents of those cells. - Spawns a
NodeBundle
composed ofNodeBundle
cells in the form of a grid. The callback function argument spawns the contents of those cells. - Spawns an
ImageBundle
. - Spawns an
ImageBundle
with children. - Spawns an
ImageBundle
with children. - Spawns an
ImageBundle
. - Spawns a
NodeBundle
with children. - Spawns a
NodeBundle
with children. - Spawns a
NodeBundle
as the root with children. - Spawns a
NodeBundle
as the root with children. - Spawns a
ButtonBundle
without children. - Spawns a
ButtonBundle
without children. - Spawns a
TextBundle
. - Spawns a
ButtonBundle
with a singleTextBundle
as its child. - Spawns a
ButtonBundle
with a singleTextBundle
as its child. - Spawns a
TextBundle
.