MCPcopy Create free account
hub / github.com/wailsapp/wails / WindowSetPosition

Function WindowSetPosition

v2/pkg/runtime/window.go:102–105  ·  view source on GitHub ↗

WindowSetPosition sets the position of the window

(ctx context.Context, x int, y int)

Source from the content-addressed store, hash-verified

100
101// WindowSetPosition sets the position of the window
102func WindowSetPosition(ctx context.Context, x int, y int) {
103 appFrontend := getFrontend(ctx)
104 appFrontend.WindowSetPosition(x, y)
105}
106
107func WindowGetPosition(ctx context.Context) (int, int) {
108 appFrontend := getFrontend(ctx)

Callers

nothing calls this directly

Calls 2

getFrontendFunction · 0.85
WindowSetPositionMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…