Export Menu + Finish Guide Stubs

This commit is contained in:
Jonathan Johnson 2024-05-11 19:30:36 -07:00
parent ddacd53084
commit 7f55b352b4
No known key found for this signature in database
GPG key ID: A66D6A34D6620579
10 changed files with 58 additions and 5 deletions

View file

@ -34,14 +34,17 @@
- [Image](./widgets/controls/image.md)
- [Input](./widgets/controls/input.md)
- [Label](./widgets/controls/label.md)
- [Menu](./widgets/controls/menu.md)
- [ProgressBar](./widgets/controls/progress.md)
- [Scroll](./widgets/controls/scroll.md)
- [Slider](./widgets/controls/slider.md)
- [Space](./widgets/controls/space.md)
- [Switcher](./widgets/controls/switcher.md)
- [TileMap](./widgets/controls/tilemap.md)
- [Validated](./widgets/controls/validated.md)
- [Utility Widgets](./widgets/utility.md)
- [Custom]()
- [Data]()
- [Style]()
- [Themed]()
- [ThemedMode]()
- [Custom](./widgets/utility/custom.md)
- [Data](./widgets/utility/data.md)
- [Style](./widgets/utility/style.md)
- [Themed](./widgets/utility/themed.md)
- [ThemedMode](./widgets/utility/themedmode.md)

View file

@ -0,0 +1,7 @@
# Menu
The [`Menu`][Menu] widget is a widget designed to work in an overlay layer. It
presents a pop-up menu and invokes a callback with the selected item if the user
selects an item.
[Menu]: <{{ docs }}/widgets/menu/struct.Menu.html>

View file

@ -0,0 +1,6 @@
# TileMap
The [`TileMap`][TileMap] widget provides a layered 2d surface that draws layers
of tiles or objects in a scrollable and zoomable 2d plane.
[TileMap]: <{{ docs }}/widgets/struct.TileMap.html>

View file

@ -0,0 +1,6 @@
# Validated
The [`Validated`][Validated] widget displays validation information around
another widget. This widget can be used to visualize input errors in forms.
[Validated]: <{{ docs }}/widgets/validated/struct.Validated.html>

View file

@ -0,0 +1,6 @@
# Custom
The [`Custom`][Custom] widget enables creating a new widget by providing
callbacks instead of creating a new type.
[Custom]: <{{ docs }}/widgets/struct.Custom.html>

View file

@ -0,0 +1,7 @@
# Data
The [`Data`][Data] widget is a widget that can contain an arbitrary value. The
widget does not display or occupy any space. This is useful for ensuring a
resource isn't dropped while a user interface is displayed.
[Data]: <{{ docs }}/widgets/struct.Data.html>

View file

@ -0,0 +1,5 @@
# Style
The [`Style`][Style] widget attaches style information for its contents.
[Style]: <{{ docs }}/widgets/struct.Style.html>

View file

@ -0,0 +1,5 @@
# Themed
The [`Themed`][Themed] widget overrides the theme for its contents.
[Themed]: <{{ docs }}/widgets/struct.Themed.html>

View file

@ -0,0 +1,7 @@
# ThemedMode
The [`ThemedMode`][ThemedMode] widget allows changing the
[`ThemeMode`][ThemeMode] of the widgets belonging to it.
[ThemedMode]: <{{ docs }}/widgets/struct.ThemedMode.html>
[ThemeMode]: <{{ docs }}/window/enum.ThemeMode.html>

View file

@ -51,6 +51,7 @@ pub use self::image::Image;
pub use self::input::Input;
pub use self::label::Label;
pub use self::layers::Layers;
pub use self::menu::Menu;
pub use self::mode_switch::ThemedMode;
pub use self::progress::ProgressBar;
pub use self::radio::Radio;