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

Method WidthPixels

window.go:1757–1759  ·  view source on GitHub ↗

WidthPixels returns the outer width of the *WindowBase, including decorations.

()

Source from the content-addressed store, hash-verified

1755
1756// WidthPixels returns the outer width of the *WindowBase, including decorations.
1757func (wb *WindowBase) WidthPixels() int {
1758 return wb.window.BoundsPixels().Width
1759}
1760
1761// SetWidth sets the outer width of the *WindowBase, including decorations.
1762func (wb *WindowBase) SetWidth(value int) error {

Callers 2

WidthMethod · 0.95

Calls 1

BoundsPixelsMethod · 0.65

Tested by

no test coverage detected