Module cursive_core::views

source ·
Expand description

Various views to use when creating the layout.

Structs

A boxed View.
Simple text label with a callback when is pressed.
A blank view that forwards calls to closures.
Checkable box.
Adds circular focus to a wrapped view.
View used for debugging, showing logs.
Popup-like view with a main content, and optional buttons under it.
Dummy view.
Input box where the user can enter and edit text.
Wrapper around another view that can be enabled/disabled at will.
Arranges its children in a fixed layout.
Detects focus events for a view.
Wrapper around another view that can be hidden at will.
Wrapper around a view that remembers its size.
Wrapper view that fills the background.
Arranges its children linearly according to its orientation.
Displays a list of elements.
Popup that shows a list of items.
Shows a single-line list of items, with pop-up menus when one is selected.
Wrapper around a view to make it identifiable.
A wrapper view that can react to events.
View wrapper overriding the View::layout method.
Adds padding to another view.
Draws a border around a wrapped view.
Animated bar showing a progress value.
Variant of Checkbox arranged in group.
Group to coordinate multiple radio buttons.
Wrapper around another view, with a controlled size.
A view that can switch between different screens.
Wraps a view in a scrollable area.
View to select an item among a list.
Wrapper view that adds a shadow.
A horizontal or vertical slider.
Simple stack of views. Only the top-most view is active and can receive input.
Multi-lines text editor.
Provides access to the content of a TextView.
A reference to the text content.
A simple view showing a fixed text.
Applies a theme to the wrapped view.
Wrapper around a view that remembers its position.

Enums

Identifies currently focused element in Dialog.
Identifies a layer in a StackView.
Represents a child from a ListView.

Type Definitions

Mutable reference to a view.