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

Function NewHSplitter

gui/splitter.go:42–45  ·  view source on GitHub ↗

NewHSplitter creates and returns a pointer to a new horizontal splitter widget with the specified initial dimensions

(width, height float32)

Source from the content-addressed store, hash-verified

40// NewHSplitter creates and returns a pointer to a new horizontal splitter
41// widget with the specified initial dimensions
42func NewHSplitter(width, height float32) *Splitter {
43
44 return newSplitter(true, width, height)
45}
46
47// NewVSplitter creates and returns a pointer to a new vertical splitter
48// widget with the specified initial dimensions

Callers 1

buildSplitterFunction · 0.85

Calls 1

newSplitterFunction · 0.85

Tested by

no test coverage detected