summaryrefslogtreecommitdiffstats
path: root/examples/exit/src/main.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-08-12Revert `window::close` producing a `window::Id`Libravatar Héctor Ramón Jiménez1-3/+1
Instead, subscribing to `window::close_events` is preferable; since most use cases will want to react to the user closing a window as well.
2024-08-12Make `window::close` return and introduce `Task::discard`Libravatar Héctor Ramón Jiménez1-1/+3
2024-07-12Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez1-2/+2
2024-07-12Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez1-2/+2
2024-06-20Remove `window::Id::MAIN` constantLibravatar Héctor Ramón Jiménez1-1/+1
2024-06-19Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez1-1/+1
2024-06-14Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez1-3/+3
2024-05-03Introduce `center` widget helperLibravatar Héctor Ramón Jiménez1-9/+3
... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
2024-03-17Move `Program` to `application` moduleLibravatar Héctor Ramón Jiménez1-1/+1
2024-03-16Implement `Program::load` to specify startup `Command`Libravatar Héctor Ramón Jiménez1-7/+1
2024-03-16Introduce `Program` APILibravatar Héctor Ramón Jiménez1-14/+6
2023-07-21refactored window storage;Libravatar Bingus1-1/+1
new helper window events (Destroyed, Created); clippy + fmt;
2023-01-12Draft `Shell:request_redraw` APILibravatar Héctor Ramón Jiménez1-13/+13
... and implement `TextInput` cursor blink :tada:
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-28/+15
2022-01-03Center contents with `Container` in `exit` exampleLibravatar Héctor Ramón Jiménez1-7/+16
... also add some `padding` to buttons!
2021-12-29Allow Sandbox applications to exit.Libravatar Drake Tetreault1-0/+75