Crate rat_popup

Crate rat_popup 

Source
Expand description

semver stable crates.io Documentation License License

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§

event

Structs§

PopupCore
Provides the core for popup widgets.
PopupCoreState
State for the PopupCore.
PopupStyle
Complete styles for the popup.

Enums§

Placement
Placement of the popup.
PopupConstraint
Placement constraint for PopupCore.

Functions§

fallback_popup_style
Fallback for popup style.
reset_buf_area
Reset an area of the buffer.