Expand description
This crate is a part of rat-salsa.
For examples see rat-popup GitHub
§Rat-Popup
This is not a full widget, rather it supports popup widgets.
The main point for its existence is Placement which locates the popup-widget relative to an area or point.
The rendered size for the popup is given to render(), and the actual widget can then render its content in PopupCoreState::widget_area.
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 relative to the widget area + the widget area.
Functions§
- fallback_
popup_ style - Fallback for popup style.
- reset_
buf_ area - Reset an area of the buffer.