pub fn section(
ctx: &Context,
title: &'static str,
lines: impl FnOnce() -> Vec<String>,
)Expand description
Show a panel of text lines in the inspector (logs, the undo history…). lines runs only while
the inspector is open, so calling this every frame costs nothing when it is closed. Call it
each frame before the frame ends (sections are not kept).