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

Method SetY

window.go:1737–1739  ·  view source on GitHub ↗

SetY sets the y coordinate of the *WindowBase, relative to the screen for RootWidgets like *MainWindow or *Dialog and relative to the parent for child Windows.

(value int)

Source from the content-addressed store, hash-verified

1735// RootWidgets like *MainWindow or *Dialog and relative to the parent for
1736// child Windows.
1737func (wb *WindowBase) SetY(value int) error {
1738 return wb.SetYPixels(wb.IntFrom96DPI(value))
1739}
1740
1741// SetYPixels sets the y coordinate of the *WindowBase, relative to the screen for
1742// RootWidgets like *MainWindow or *Dialog and relative to the parent for

Callers

nothing calls this directly

Calls 2

SetYPixelsMethod · 0.95
IntFrom96DPIMethod · 0.95

Tested by

no test coverage detected