[−][src]Module fui::cursive::views
Various views to use when creating the layout.
Structs
BoxView | Wrapper around another view, with a controlled size. |
Button | Simple text label with a callback when |
Canvas | A blank view that forwards calls to closures. |
Checkbox | Checkable box. |
CircularFocus | Adds circular focus to a wrapped view. |
DebugView | View used for debugging, showing logs. |
Dialog | Popup-like view with a main content, and optional buttons under it. |
DummyView | Dummy view. |
EditView | Input box where the user can enter and edit text. |
EnableableView | Wrapper around another view that can be enabled/disabled at will. |
HideableView | Wrapper around another view that can be hidden at will. |
IdView | Wrapper around a view to provide interior mutability. |
Layer | Wrapper view that fills the background. |
LinearLayout | Arranges its children linearly according to its orientation. |
ListView | Displays a list of elements. |
MenuPopup | Popup that shows a list of items. |
Menubar | Shows a single-line list of items, with pop-up menus when one is selected. |
OnEventView | A wrapper view that can react to events. |
PaddedView | Adds padding to another view. |
Panel | Draws a border around a wrapped view. |
ProgressBar | Animated bar showing a progress value. |
RadioButton | Variant of |
RadioGroup | Group to coordinate multiple radio buttons. |
ScrollView | Wraps a view in a scrollable area. |
SelectView | View to select an item among a list. |
ShadowView | Wrapper view that adds a shadow. |
SizedView | Wrapper around a view that remembers its size. |
SliderView | A horizontal or vertical slider. |
StackView | Simple stack of views. Only the top-most view is active and can receive input. |
TextArea | Multi-lines text editor. |
TextContent | Provides access to the content of a |
TextContentRef | A reference to the text content. |
TextView | A simple view showing a fixed text. |
TrackedView | Wrapper around a view that remembers its position. |
ViewBox | A boxed |
Enums
DialogFocus | Identifies currently focused element in |
LayerPosition | Identifies a layer in a |
ListChild | Represents a child from a |
Type Definitions
ViewRef | Mutable reference to a view. |