Struct cursive_core::views::HideableView [−][src]
pub struct HideableView<V> { /* fields omitted */ }Expand description
Wrapper around another view that can be hidden at will.
By default, it simply forwards all calls to the inner view.
When hidden (with HideableView::hide()), it will appear as a zero-sized
invisible view, will not take focus and will not accept input.
It can be made visible again with HideableView::unhide().
Implementations
Creates a new HideableView around view.
It will be visible by default.
Sets the visibility for this view.
Sets the visibility for this view to false.
Chainable variant.
Sets the visibility for this view to flag value. Useful when creating views needs to be decided at runtime. Chainable variant.
Returns true if the wrapped view is going to be visible.
Gets mutable access to the inner view.
Trait Implementations
type V = V
type V = V
Type that this view wraps.
Runs a function on the inner view, returning the result. Read more
Runs a function on the inner view, returning the result. Read more
Wraps the find method.
Attempts to retrieve the inner view.
Wraps the layout method.
Wraps the needs_relayout method.
Wraps the required_size method.
Wraps the on_event method.
Wraps the take_focus method.
Wraps the focus_view method.
Wraps the important_area method.
