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

Function FocusedWindow

window.go:1948–1950  ·  view source on GitHub ↗

FocusedWindow returns the Window that has the keyboard input focus.

()

Source from the content-addressed store, hash-verified

1946
1947// FocusedWindow returns the Window that has the keyboard input focus.
1948func FocusedWindow() Window {
1949 return windowFromHandle(win.GetFocus())
1950}
1951
1952// Focused returns whether the Window has the keyboard input focus.
1953func (wb *WindowBase) Focused() bool {

Callers

nothing calls this directly

Calls 1

windowFromHandleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…