Skip to main content

Module template

Module template 

Source
Expand description

What an app’s windows are made of, and the Logic that gives their dynamic parts their values.

Structs§

AppTemplate
Everything an app shows: its windows, and the menus of its menu bar.
MenuBar
The app’s menus, whose items run their actions with frame as their locals.
Shown
Part of what a region shows: templates, with frame as their locals.
WindowRequest
A request for the app’s window at window, its position among the app’s windows.
WindowTemplate
A window and the column it shows its content in.

Enums§

Template
One element of a window’s UI, before it is shown.
Widget
WindowAction
What code asks of a window. repr(u32) because compiled apps pass it to the runtime, which every platform’s C calling convention passes without widening.

Traits§

Logic
The program behind an app’s UI. Templates hold its handles to values, bindings, actions and regions, and the engine asks it to evaluate them against a frame of locals.

Type Aliases§

Templates