MCPcopy
hub / github.com/g3n/engine / update

Method update

gui/tree.go:369–372  ·  view source on GitHub ↗

update updates this tree node style

()

Source from the content-addressed store, hash-verified

367
368// update updates this tree node style
369func (n *TreeNode) update() {
370
371 n.applyStyle(&n.tree.styles.Node.Normal)
372}
373
374// recalc recalculates the positions of the internal node panels
375func (n *TreeNode) recalc() {

Callers 9

SetExpandedMethod · 0.95
onMouseMethod · 0.95
insertMethod · 0.95
SetStylesMethod · 0.45
InsertNodeAtMethod · 0.45
AddNodeMethod · 0.45
onKeyMethod · 0.45
newTreeNodeFunction · 0.45
insertItemsMethod · 0.45

Calls 1

applyStyleMethod · 0.95

Tested by

no test coverage detected