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

Method NodeWalkDown

tree/node.go:57–57  ·  view source on GitHub ↗

NodeWalkDown is a method that nodes can implement to traverse additional nodes like widget parts during [NodeBase.WalkDown]. It is called with the function passed to [Node.WalkDown] after the function is called with the node itself.

(fun func(n Node) bool)

Source from the content-addressed store, hash-verified

55 // like widget parts during [NodeBase.WalkDown]. It is called with the function passed
56 // to [Node.WalkDown] after the function is called with the node itself.
57 NodeWalkDown(fun func(n Node) bool)
58
59 // CopyFieldsFrom copies the fields of the node from the given node.
60 // By default, it is [NodeBase.CopyFieldsFrom], which automatically does

Callers 1

WalkDownMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected