Struct cursive::views::LinearLayout [] [src]

pub struct LinearLayout { /* fields omitted */ }

Arranges its children linearly according to its orientation.

Methods

impl LinearLayout
[src]

Creates a new layout with the given orientation.

Modifies the weight of the last child added.

It is an error to call this before adding a child (and it will panic).

Adds a child to the layout.

Chainable variant.

Adds a child to the layout.

Creates a new vertical layout.

Creates a new horizontal layout.

Trait Implementations

impl View for LinearLayout
[src]

Draws the view with the given printer (includes bounds) and focus.

Returns true if the view content changed since last layout phase. Read more

Called once the size for this view has been decided, Read more

Returns the minimum size the view requires with the given restrictions. Read more

This view is offered focus. Will it take it? Read more

Called when a key was pressed. Read more

Finds the view pointed to by the given path. Read more