MCPcopy
hub / github.com/lxn/walk / SizePixels

Method SizePixels

window.go:1673–1675  ·  view source on GitHub ↗

SizePixels returns the outer size of the *WindowBase, including decorations.

()

Source from the content-addressed store, hash-verified

1671
1672// SizePixels returns the outer size of the *WindowBase, including decorations.
1673func (wb *WindowBase) SizePixels() Size {
1674 return wb.window.BoundsPixels().Size()
1675}
1676
1677// SetSize sets the outer size of the *WindowBase, including decorations.
1678func (wb *WindowBase) SetSize(size Size) error {

Callers 1

SizeMethod · 0.95

Calls 2

SizeMethod · 0.65
BoundsPixelsMethod · 0.65

Tested by

no test coverage detected