Skip to main content

Module gallery

Module gallery 

Expand description

What the gallery app (apps/tl/gallery) shows of the toolkit’s described components.

The gallery is the window a person opens to see every component of the toolkit as tilolang places it, and a component described in this crate is shown there the day it is written: a described component no view of the gallery names is a gap. One check reads the gallery for both sides — this crate’s own tests (which a widget’s author runs) and the language’s, which lays the app out as well — so the two cannot drift apart.

A component a window cannot meaningfully show — one that draws nothing where a view puts it, such as a place’s window well — says so at its declaration (#[component(not_in_gallery = "…")], carried into the catalogue as not_in_gallery), so the exemption is the toolkit’s own declaration, never a name list kept here.

Structs§

Coverage
What the gallery’s sources, all together, show of the toolkit: the described components no view of theirs names, and those they show although the component says no window can.

Functions§

coverage
What the gallery’s tilolang sources, together, show of the toolkit’s described components.
names
Whether source names the component name as ui.<name>, not as the start of a longer name (ui.Card is not ui.CardGrid).