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

Function newList

gui/list.go:69–74  ·  view source on GitHub ↗

newList creates and returns a pointer to a new list panel with the specified orientation and dimensions

(vert bool, width, height float32)

Source from the content-addressed store, hash-verified

67// newList creates and returns a pointer to a new list panel
68// with the specified orientation and dimensions
69func newList(vert bool, width, height float32) *List {
70
71 li := new(List)
72 li.initialize(vert, width, height)
73 return li
74}
75
76func (li *List) initialize(vert bool, width, height float32) {
77

Callers 2

NewVListFunction · 0.85
NewHListFunction · 0.85

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected