2 unstable releases
0.1.0 | Jul 25, 2022 |
---|---|
0.0.1 | Jul 5, 2022 |
#595 in GUI
87KB
2K
SLoC
guiver
GUI programming with Rust.
guiver can be used in immediate mode, which is inspired by egui. In this case it is just a thin wrapper around druid-shell for event handling/windowing and Piet for rendering.
There are retained mode widgets that can be used with the help of an optional widget manager. The widgets are decoupled from the application data via message passing, which is inspired by Tk commands and egui.
Backlog
TextInput
:- accept paste
- display a caret
- arrow keys should move the caret
- support text selection:
- Shift + cursor movement
- Ctrl + A
- Ctrl+X should cut the text
- Ctrl-C should copy the text
- add to `Style:
accent_color
font
spacing
- use it in
Row
CTOR? - use it in
Padding
CTOR?
- use it in
- implement 7GUIs
- 7GUIs "Flight Booker"
- implement
DropdownBox
- implement
- 7GUIs "Timer"
- 7GUIs "CRUD"
- 7GUIs "Circle Drawer"
- 7GUIs "Cells"
- 7GUIs "Flight Booker"
- add Redmond 31 widgets
-
WidgetManager
: implementcollect_garbage()
- remove all widgets that do not have the main widget as ancestor
-
WidgetManager
: add tab order - allow a "no loop" optimization for static applications that only render once
- add Python bindings
- provide native widgets?
- provide a WebAssembly demo
Dependencies
~3.5–7MB
~127K SLoC