pub fn checkbox<'a, C: ContentCx<'a>>(
cx: &mut C,
id: impl Into<WidgetId>,
rect: Rect,
view: &CheckboxView<'_>,
settings: &CheckboxSettings,
kind: &CheckboxRenderKind<'_>,
font: &str,
)Expand description
Register and draw a checkbox. font is the label font shorthand.