MCPcopy Create free account
hub / github.com/lxn/walk / DoubleBuffering

Method DoubleBuffering

window.go:1002–1004  ·  view source on GitHub ↗

DoubleBuffering returns whether double buffering of the drawing is enabled, which may help reduce flicker.

()

Source from the content-addressed store, hash-verified

1000// DoubleBuffering returns whether double buffering of the
1001// drawing is enabled, which may help reduce flicker.
1002func (wb *WindowBase) DoubleBuffering() bool {
1003 return wb.hasExtendedStyleBits(win.WS_EX_COMPOSITED)
1004}
1005
1006// SetDoubleBuffering enables or disables double buffering of the
1007// drawing, which may help reduce flicker.

Callers

nothing calls this directly

Calls 1

hasExtendedStyleBitsMethod · 0.95

Tested by

no test coverage detected