Lines Matching defs:event
1813 // Since we're blocking the event loop, we need to retrieve
3615 \return handled if true, the event was already handled, and will not
3621 BWindow::_HandleKeyDown(BMessage* event)
3623 // Only handle special functions when the event targeted the active focus
3625 if (!_IsFocusMessage(event))
3629 if (event->FindString("bytes", &bytes) != B_OK)
3635 if (event->FindInt32("modifiers", (int32*)&modifiers) != B_OK)
3654 event->FindInt32("key", &rawKey);
3658 _Switcher(rawKey, modifiers, event->HasInt32("be:key_repeat"));
3707 // eat the event
3717 // eat the event
3760 // we always eat the event if the command key was pressed
3771 BWindow::_HandleUnmappedKeyDown(BMessage* event)
3773 // Only handle special functions when the event targeted the active focus
3775 if (!_IsFocusMessage(event))
3780 if (event->FindInt32("modifiers", (int32*)&modifiers) != B_OK
3781 || event->FindInt32("key", &rawKey))
3786 _Switcher(rawKey, modifiers, event->HasInt32("be:key_repeat"));