Expand description
This crate simplifies the process of creating widgets in bevy using a simple extensible DSL.
Structs§
- UiChild
Builder - Wrapper for
ChildBuilderthat also propogates anAssetServerfor the children that need it. - UiEntity
Commands - Wrapper for
EntityCommandsthat also propagates anAssetServerfor the children that need it.
Traits§
- Asset
Class - Something that can overwrite a value, typically a node bundle.
Depends on an
AssetServer, unlikeClass. - Class
- Something that can overwrite a value, typically a node bundle.
- Entity
Writer - Adds a helper method to
Entitythat allows it to be sent to anOptionergonomically.
Functions§
- blank
- Spawns a clear
NodeBundlethat takes up the full space of its parent. Often required for embedding other widgets after the initial widget is spawned. - blanki
- Spawns a clear
NodeBundlethat takes up the full space of its parent. Often required for embedding other widgets after the initial widget is spawned. - button
- Spawns a
ButtonBundlewith children. - buttoni
- Spawns a
ButtonBundlewith children. - grid
- Spawns a
NodeBundlecomposed ofNodeBundlecells in the form of a grid. The callback function argument spawns the contents of those cells. - gridi
- Spawns a
NodeBundlecomposed ofNodeBundlecells in the form of a grid. The callback function argument spawns the contents of those cells. - image
- Spawns an
ImageBundle. - image_
pane - Spawns an
ImageBundlewith children. - image_
panei - Spawns an
ImageBundlewith children. - imagei
- Spawns an
ImageBundle. - node
- Spawns a
NodeBundlewith children. - nodei
- Spawns a
NodeBundlewith children. - root
- Spawns a
NodeBundleas the root with children. - rooti
- Spawns a
NodeBundleas the root with children. - simple_
button - Spawns a
ButtonBundlewithout children. - simple_
buttoni - Spawns a
ButtonBundlewithout children. - text
- Spawns a
TextBundle. - text_
button - Spawns a
ButtonBundlewith a singleTextBundleas its child. - text_
buttoni - Spawns a
ButtonBundlewith a singleTextBundleas its child. - texti
- Spawns a
TextBundle.