MCPcopy Create free account
hub / github.com/cogentcore/core / renderChildren

Method renderChildren

core/render.go:396–401  ·  view source on GitHub ↗

renderChildren renders all of the widget's children.

()

Source from the content-addressed store, hash-verified

394
395// renderChildren renders all of the widget's children.
396func (wb *WidgetBase) renderChildren() {
397 wb.ForWidgetChildren(func(i int, cw Widget, cwb *WidgetBase) bool {
398 cw.RenderWidget()
399 return tree.Continue
400 })
401}
402
403////////////////////////////////////////////////////////////////////////////////
404// Standard Box Model rendering

Callers 2

RenderWidgetMethod · 0.95
RenderWidgetMethod · 0.80

Calls 2

ForWidgetChildrenMethod · 0.95
RenderWidgetMethod · 0.65

Tested by

no test coverage detected