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

Method onPuglFocus

dgl/src/WindowPrivateData.cpp:757–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

755}
756
757void Window::PrivateData::onPuglFocus(const bool focus, const CrossingMode mode)
758{
759 DGL_DBGp("onPuglFocus : %i %i | %i\n", focus, mode, isClosed);
760
761 if (isClosed)
762 return;
763
764 if (modal.child != nullptr)
765 return modal.child->focus();
766
767 self->onFocus(focus, mode);
768}
769
770void Window::PrivateData::onPuglKey(const Widget::KeyboardEvent& ev)
771{

Callers 1

puglEventCallbackMethod · 0.80

Calls 2

onFocusMethod · 0.80
focusMethod · 0.45

Tested by

no test coverage detected