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

Method SetWidth

window.go:1762–1764  ·  view source on GitHub ↗

SetWidth sets the outer width of the *WindowBase, including decorations.

(value int)

Source from the content-addressed store, hash-verified

1760
1761// SetWidth sets the outer width of the *WindowBase, including decorations.
1762func (wb *WindowBase) SetWidth(value int) error {
1763 return wb.SetWidthPixels(wb.IntFrom96DPI(value))
1764}
1765
1766// SetWidthPixels sets the outer width of the *WindowBase, including decorations.
1767func (wb *WindowBase) SetWidthPixels(value int) error {

Callers

nothing calls this directly

Calls 2

SetWidthPixelsMethod · 0.95
IntFrom96DPIMethod · 0.95

Tested by

no test coverage detected