Crate rat_popup

Source
Expand description

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 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§

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 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.