MCPcopy Create free account
hub / github.com/DISTRHO/DPF / focus

Method focus

dgl/src/WindowPrivateData.cpp:433–442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431// -----------------------------------------------------------------------
432
433void Window::PrivateData::focus()
434{
435 if (view == nullptr)
436 return;
437
438 if (! isEmbed)
439 puglRaiseWindow(view);
440
441 puglGrabFocus(view);
442}
443
444// -----------------------------------------------------------------------
445

Callers 8

stopModalMethod · 0.45
onPuglCloseMethod · 0.45
onPuglFocusMethod · 0.45
onPuglKeyMethod · 0.45
onPuglTextMethod · 0.45
onPuglMouseMethod · 0.45
onPuglMotionMethod · 0.45
onPuglScrollMethod · 0.45

Calls 2

puglRaiseWindowFunction · 0.70
puglGrabFocusFunction · 0.50

Tested by

no test coverage detected