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

Method keyboardEvent

dgl/src/TopLevelWidgetPrivateData.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50bool TopLevelWidget::PrivateData::keyboardEvent(const KeyboardEvent& ev)
51{
52 // ignore event if we are not visible
53 if (! selfw->pData->visible)
54 return false;
55
56 // propagate event to all subwidgets recursively
57 return selfw->pData->giveKeyboardEventForSubWidgets(ev);
58}
59
60bool TopLevelWidget::PrivateData::characterInputEvent(const CharacterInputEvent& ev)
61{

Callers 1

onKeyboardMethod · 0.80

Calls 1

Tested by

no test coverage detected