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

Method RenderWidget

core/frame.go:195–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193}
194
195func (fr *Frame) RenderWidget() {
196 if fr.PushBounds() {
197 fr.This.(Widget).Render()
198 fr.renderParts()
199 fr.RenderChildren()
200 fr.RenderScrolls()
201 fr.PopBounds()
202 }
203}
204
205// childWithFocus returns a direct child of this layout that either is the
206// current window focus item, or contains that focus item (along with its

Callers

nothing calls this directly

Calls 6

RenderChildrenMethod · 0.95
RenderScrollsMethod · 0.95
renderPartsMethod · 0.80
RenderMethod · 0.65
PushBoundsMethod · 0.45
PopBoundsMethod · 0.45

Tested by

no test coverage detected