pub struct BasicWindow<'a> { /* private fields */ }
Expand description

Create a simple window using sub-grids.

Implementations

Create a new BasicWindow grid.

  • text - A text component to be displayed at the top of the window.
  • middle - A sub-grid to display in the middle of the window.
  • buttons - A sub-grid to display at the bottom of the window, hopefully containing buttons.

Trait Implementations

Return newtComponent pointer.

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Allow the Widget to be focused when its parent Form is run. Read more

Get the position of the Widget’s top left corner. Read more

Get the Widget’s width and height. Read more