[−][src]Crate ezgui
Widgets
If none of these do what you need, implementing a new [WidgetImpl
] isn't tough.
TODO inline pictures of some of these
- [
AreaSlider
] - slider with an associated area graph - [
Autocomplete
] - select predefined value by combining text entry with menus - [
Button
] - clickable buttons with keybindings and tooltips - [
Checkbox
] - toggle between two buttons - [
CompareTimes
] - a scatter plot specialized for comparing times - [
DrawWithTooltips
] - draw static geometry, with mouse tooltips in certain regions - [
Dropdown
] - a button that expands into a menu - [
FanChart
] - visualize a range of values over time - [
Filler
] - just carve out space in the layout for something else - [
JustDraw
] (argh private) - just draw text,GeomBatch
es, SVGs - [
LinePlot
] - visualize 2 variables with a line plot - [
Menu
] - select something from a menu, with keybindings - [
PersistentSplit
] - a button with a dropdown to change its state - [
ScatterPlot
] - visualize 2 variables with a scatter plot - [
Slider
] - horizontal and vertical sliders - [
Spinner
] - numeric input with up/down buttons - [
TexBox
] - single line text entry
Structs
AreaSlider | |
Autocomplete | |
Btn | |
Canvas | |
Checkbox | |
Choice | |
Color | |
CompareTimes | |
Composite | |
DrawWithTooltips | |
Drawable | |
EventCtx | |
FanChart | |
Filler | |
GeomBatch | A mutable builder for a group of colored polygons. |
GfxCtx | |
LinePlot | |
LinearGradient | |
Menu | |
PersistentSplit | |
PlotOptions | |
Prerender | |
ScatterPlot | |
ScreenDims | ScreenDims is in units of logical pixels, as opposed to physical pixels. |
ScreenPt | ScreenPt is in units of logical pixels, as opposed to physical pixels. |
ScreenRectangle | ScreenRectangle is in units of logical pixels, as opposed to physical pixels. |
Series | |
Settings | |
Slider | |
Spinner | |
Style | |
Text | |
TextSpan | |
UserInput | |
Warper | |
Widget | |
WidgetOutput |
Enums
Event | |
FancyColor | |
HorizontalAlignment | |
Key | |
MultiKey | |
Outcome | |
RewriteColor | |
UpdateType | |
VerticalAlignment |
Traits
GUI | |
TextExt | |
WidgetImpl | Create a new widget by implementing this trait. You can instantiate your widget by calling
|
Functions
Line | |
hotkey | |
hotkeys | |
lctrl | |
run |