MCPcopy Index your code
hub / github.com/g3n/engine / InsertAt

Method InsertAt

gui/tree.go:76–79  ·  view source on GitHub ↗

InsertAt inserts a child panel at the specified position in the tree.

(pos int, child IPanel)

Source from the content-addressed store, hash-verified

74
75// InsertAt inserts a child panel at the specified position in the tree.
76func (t *Tree) InsertAt(pos int, child IPanel) {
77
78 t.List.InsertAt(pos, child)
79}
80
81// Add child panel to the end tree.
82func (t *Tree) Add(ichild IPanel) {

Callers 3

InsertNodeAtMethod · 0.45
insertMethod · 0.45
insertItemsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected