Skip to main content

annotate

Function annotate 

Source
pub fn annotate(ctx: &Context, host: Id, meaning: &str)
Expand description

Adds a meaning to a widget’s accessible name: “Masks” becomes “Masks, 3 errors”. A widget named by another node (labelled_by) gets it as its description instead. Call it after the widget gave its own name, each pass.