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

Method Render

core/widget.go:89–89  ·  view source on GitHub ↗

Render is the method that widgets should implement to define their custom rendering steps. It should not typically be called outside of [Widget.RenderWidget], which also does other steps applicable for all widgets. The base [WidgetBase.Render] implementation renders the standard box model.

()

Source from the content-addressed store, hash-verified

87 // for all widgets. The base [WidgetBase.Render] implementation
88 // renders the standard box model.
89 Render()
90
91 // RenderWidget renders the widget and any parts and children that it has.
92 // It does not render if the widget is invisible. It calls [Widget.Render]

Callers 11

RenderMethod · 0.65
RenderMethod · 0.65
renderSVGMethod · 0.65
RenderMethod · 0.65
RenderMethod · 0.65
renderSVGMethod · 0.65
RenderWidgetMethod · 0.65
RenderWidgetMethod · 0.65
RenderMethod · 0.65
RenderMethod · 0.65
RenderMethod · 0.65

Implementers 6

WidgetBasecore/widget.go
_cogentcore_org_core_core_Layouteryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Treeryaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Valueyaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_core_Widgetyaegicore/symbols/cogentcore_org-core-
_cogentcore_org_core_filetree_Fileryaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected