

[](https://crates.io/crates/rat-popup)
[](https://docs.rs/rat-popup)
[](https://opensource.org/licenses/MIT)
[](https://www.apache.org/licenses/LICENSE-2.0)

This crate is a part of [rat-salsa][refRatSalsa].
For examples see [rat-popup GitHub][refGitHubPopup]
* [Changes](https://github.com/thscharler/rat-salsa/blob/master/rat-popup/changes.md)
# Rat-Popup
This is not a standalone widget, this is support for widgets that need
a popup window.
The point is, that it uses a
[PopupConstraint](https://docs.rs/rat-popup/latest/rat_popup/enum.PopupConstraint.html)
to place the popup relative to some widget-area.
After rendering the PopupCore the actual area has been
calculated and cleared.
Your widget can then use the calculated area to render its content.
[refRatSalsa]: https://docs.rs/rat-salsa/latest/rat_salsa/
[refGitHubPopup]: https://github.com/thscharler/rat-popup/tree/master/examples