Module vizia::view

source ·
Expand description

Views are used to visually present model data and to act as controls which, when interacted with, send events to mutate model data.

§Example

The Label view is used to display a text string:

Application::new(|cx|{
    Label::new(cx, "Hello World");
})
.run();

Structs§

  • A handle to a view which has been already built into the tree.

Traits§

  • A view is any object which can be displayed on the screen.

Type Aliases§

  • The canvas which all views draw to.