Expand description
This crate is a part of rat-salsa.
For examples see rat-popup GitHub
§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 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.
Modules§
Structs§
- Popup
Core - Provides the core for popup widgets.
- Popup
Core State - State for the PopupCore.
- Popup
Style - Complete styles for the popup.
Enums§
- Placement
- Placement of the popup.
- Popup
Constraint - Placement constraint for PopupCore.
Functions§
- fallback_
popup_ style - Fallback for popup style.
- reset_
buf_ area - Reset an area of the buffer.