blob: a033b4ee0850cf0974301d7bcba46089803b8a9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Getting started
```bash
nix develop --command cargo run
```
# Links
- gtk4-rs book: https://gtk-rs.org/gtk4-rs/git/book/
- gtk4-rs documentation: https://gtk-rs.org/gtk4-rs/stable/latest/docs/gtk4/
- Event-Driven GTK by Example — 2021 Edition: https://mmstick.github.io/gtkrs-tutorials/
# Tests
cargo test
# TODO
## Description
- Add description textarea field.
## Optimizations
- Optimize refresh.
## Categorize events
1. CRUD for list of types (name + color).
2. Show / hide depending on the type.
## Multi day events
- Try width parameter using grid.attach.
## Nice to have
- Drag & drop events.
- Prevent launching multiple instances.
- Show a date picker in dialog form.
- Print errors on forms when validating.
- Validate the form when pressing enter on any field.
- Select the default focus with a button or a shortcut.
|