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

Method Synchronize

window.go:2079–2083  ·  view source on GitHub ↗

Synchronize enqueues func f to be called some time later by the main goroutine from inside a message loop.

(f func())

Source from the content-addressed store, hash-verified

2077// Synchronize enqueues func f to be called some time later by the main
2078// goroutine from inside a message loop.
2079func (wb *WindowBase) Synchronize(f func()) {
2080 wb.group.Synchronize(f)
2081
2082 win.PostMessage(wb.hWnd, syncMsgId, 0, 0)
2083}
2084
2085// synchronizeLayout causes the given layout computations to be applied
2086// later by the message loop running on the group's thread.

Callers

nothing calls this directly

Calls 1

SynchronizeMethod · 0.65

Tested by

no test coverage detected