Skip to main content

widgets

Function widgets 

Source
pub fn widgets<P>(cx: &Cx) -> Pin<Box<dyn View + '_>>
where P: Page,
Expand description

The widget grid of the page P: each Widget its PageDef::widget calls added, in their order, that the request may see.

It renders nothing outside a request to P’s panel, for a request the panel’s sign-in or PageDef::access refuses — the check can_open makes — and leaves out each widget whose WidgetDef::access refuses the request. The default Page::render places it; the Page::render docs show a page placing it itself.