Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ focus
Method
focus
source/windowing/StarWidget.cpp:259–263 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
257
}
258
259
void Widget::focus() {
260
m_focus = true;
261
if (auto w = window())
262
w->setFocus(this);
263
}
264
265
void Widget::blur() {
266
m_focus = false;
Callers
10
common
Method · 0.80
makeWidgetCallbacks
Method · 0.80
innerSendEvent
Method · 0.80
sendEvent
Method · 0.80
show
Method · 0.80
initMultiPlayerMenu
Method · 0.80
switchState
Method · 0.80
show
Method · 0.80
startChat
Method · 0.80
startCommand
Method · 0.80
Calls
1
setFocus
Method · 0.80
Tested by
no test coverage detected