summaryrefslogtreecommitdiffstats
path: root/examples/system_information (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-02-21Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez2-2/+2
2025-02-15Use SI metrics for memory in `system_information` exampleLibravatar Héctor Ramón Jiménez1-9/+9
2024-12-03Avoid using `Message` to drive logic in `system_information` exampleLibravatar Héctor Ramón Jiménez1-7/+11
2024-12-03fix: add run_with(Example::new)Libravatar Osma S. Rautila1-1/+5
The example was not running the `update` method and was stuck on the loading screen (at least on macos). This fixes is on my system.
2024-06-19Introduce `daemon` API and unify shell runtimesLibravatar Héctor Ramón Jiménez1-2/+6
2024-06-14Replace `Command` with a new `Task` API with chain supportLibravatar Héctor Ramón Jiménez1-4/+5
2024-05-13Ask for explicit `Length` in `center_*` methodsLibravatar Héctor Ramón Jiménez1-2/+2
2024-05-03Introduce `center` widget helperLibravatar Héctor Ramón Jiménez1-7/+2
... 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-18fix: run `cargo fmt`Libravatar Richard Custodio1-8/+4
2024-03-18refactor: replace `text(format!(` with `text` macroLibravatar Richard Custodio1-18/+18
2024-03-17Move `Program` to `application` moduleLibravatar Héctor Ramón Jiménez1-6/+2
2024-03-16Implement `Program::load` to specify startup `Command`Libravatar Héctor Ramón Jiménez1-13/+13
2024-03-16Introduce `Program` APILibravatar Héctor Ramón Jiménez1-15/+6
2024-02-02The memory information is returned in bytes and not kb.Libravatar brianch1-4/+4
Fix the documentation of the Information struct, and the example system_information that uses it. Co-authored-by: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com>
2023-09-19Chore: Inline format args for ease of readingLibravatar Yuri Astrakhan1-2/+2
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-04Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez1-2/+4
We are also taking this as a chance to synchronize the versions of all the crates! Because of this, we will skip the `0.11` version.
2023-01-27Fix: Clippy lint 'uninlined_format_args'Libravatar 13r0ck1-3/+2
2022-09-23Include short version in example appLibravatar Clark Moody1-0/+11
2022-07-27Replace stateful widgets with new `iced_pure` APILibravatar Héctor Ramón Jiménez1-45/+31
2022-07-09Fix `clippy` lints for all crates and featuresLibravatar Héctor Ramón Jiménez1-5/+2
... and check those in CI as well!
2022-05-14Draft first-class `Theme` supportLibravatar Héctor Ramón Jiménez1-1/+2
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-04Show `Loading` screen when refreshing in `system_information` exampleLibravatar Héctor Ramón Jiménez1-0/+2
2022-04-30Expose `system` module through feature flagLibravatar Héctor Ramón Jiménez1-2/+2
2022-04-27Simplify the `QueryInformation` ActionLibravatar Richard2-13/+7
2022-04-27Rename `system::information` to `fetch_information`Libravatar Richard1-2/+2
2022-04-26Add memory usage to `Information` structLibravatar Richard1-6/+37
2022-04-26Improve example readabilityLibravatar Richard1-8/+9
2022-04-26Add graphics information to exampleLibravatar Richard1-0/+12
2022-04-26Add unformated memory total to exampleLibravatar Richard1-1/+7
2022-04-26Add `system_information` exampleLibravatar Richard2-0/+129