Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aseprite/laf
/ focus
Method
focus
examples/floating_window.cpp:42–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
40
void close() { m_nativeWindow = nullptr; }
41
42
void focus() { m_nativeWindow->activate(); }
43
44
bool isVisible() const { return (m_nativeWindow && m_nativeWindow->isVisible()); }
45
Callers
nothing calls this directly
Calls
1
activate
Method · 0.45
Tested by
no test coverage detected