Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ removeFocus
Method
removeFocus
source/windowing/StarPane.cpp:177–180 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
175
}
176
177
void Pane::removeFocus(Widget const* focus) {
178
if (m_focusWidget.get() == focus)
179
m_focusWidget.reset();
180
}
181
182
void Pane::removeFocus() {
183
m_focusWidget.reset();
Callers
1
blur
Method · 0.80
Calls
2
get
Method · 0.45
reset
Method · 0.45
Tested by
no test coverage detected