MCPcopy Index your code
hub / github.com/lxn/walk / SetHeightPixels

Method SetHeightPixels

window.go:1790–1795  ·  view source on GitHub ↗

SetHeightPixels sets the outer height of the *WindowBase, including decorations.

(value int)

Source from the content-addressed store, hash-verified

1788
1789// SetHeightPixels sets the outer height of the *WindowBase, including decorations.
1790func (wb *WindowBase) SetHeightPixels(value int) error {
1791 bounds := wb.window.BoundsPixels()
1792 bounds.Height = value
1793
1794 return wb.SetBoundsPixels(bounds)
1795}
1796
1797func windowTrimToClientBounds(hwnd win.HWND, pt *win.POINT) {
1798 var r win.RECT

Callers 1

SetHeightMethod · 0.95

Calls 2

SetBoundsPixelsMethod · 0.95
BoundsPixelsMethod · 0.65

Tested by

no test coverage detected