egui/crates/egui_extras/src
Addis Webb 2b9595ee3c
Add `TableRow::set_hovered` (#4820)
<!--
Please read the "Making a PR" section of
[`CONTRIBUTING.md`](https://github.com/emilk/egui/blob/master/CONTRIBUTING.md)
before opening a Pull Request!

* Keep your PR:s small and focused.
* The PR title is what ends up in the changelog, so make it descriptive!
* If applicable, add a screenshot or gif.
* If it is a non-trivial addition, consider adding a demo for it to
`egui_demo_lib`, or a new example.
* Do NOT open PR:s from your `master` branch, as that makes it hard for
maintainers to test and add commits to your PR.
* Remember to run `cargo fmt` and `cargo clippy`.
* Open the PR as a draft until you have self-reviewed it and run
`./scripts/check.sh`.
* When you have addressed a PR comment, mark it as resolved.

Please be patient! I will review your PR, but my time is limited!
-->
I added a util function `set_hovered` to change the hovered state of a
row from tables in `egui_extras` which matches the already present
`set_selected` function.

* [x] I have followed the instructions in the PR template
2024-07-15 10:36:29 +02:00
..
datepicker Improve `egui_extras::Table` layout (#4755) 2024-07-02 20:57:46 +02:00
loaders Gif support (#4620) 2024-06-19 14:05:05 +02:00
image.rs Update `image` crate to 0.25 (#4160) 2024-05-13 13:35:15 +02:00
layout.rs egui_extras: Improve the auto-sizing of `Table` (#4756) 2024-07-02 21:13:55 +02:00
lib.rs Remove work-around for `unsafe` in puffin macro (#4484) 2024-05-11 20:17:19 +02:00
loaders.rs Gif support (#4620) 2024-06-19 14:05:05 +02:00
sizing.rs Improve `egui_extras::Table` layout (#4755) 2024-07-02 20:57:46 +02:00
strip.rs Fix: assign a different id to each table cell, avoiding id clashes (#4076) 2024-02-20 13:35:19 +01:00
syntax_highlighting.rs `egui_extras`: Make `serde` an optional feature (#4641) 2024-06-18 22:27:48 +02:00
table.rs Add `TableRow::set_hovered` (#4820) 2024-07-15 10:36:29 +02:00