Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibreSprite/LibreSprite
/ setFocusMagnet
Method
setFocusMagnet
src/ui/widget.cpp:314–320 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
312
}
313
314
void Widget::setFocusMagnet(bool state)
315
{
316
if (state)
317
enableFlags(FOCUS_MAGNET);
318
else
319
disableFlags(FOCUS_MAGNET);
320
}
321
322
bool Widget::isVisible() const
323
{
Callers
10
fillWidgetWithXmlElementAttributes
Method · 0.80
Console
Method · 0.80
onExecute
Method · 0.80
onExecute
Method · 0.80
FilterWindow
Method · 0.80
FontPopup
Method · 0.80
FileSelector
Method · 0.80
processString
Method · 0.80
showPopup
Method · 0.80
onProcessMessage
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected