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.


The Label view is used to display a text string:

    Label::new(cx, "Hello World");


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


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

Type Aliases§

  • The canvas which all views draw to.