MCPcopy Create free account
hub / github.com/andlabs/ui / NumPages

Method NumPages

tab.go:72–74  ·  view source on GitHub ↗

NumPages returns the number of pages in the Tab.

()

Source from the content-addressed store, hash-verified

70
71// NumPages returns the number of pages in the Tab.
72func (t *Tab) NumPages() int {
73 return len(t.children)
74}
75
76// Margined returns whether page n (starting at 0) of the Tab
77// has margins around its child.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected