Change focus #895
-
Please tell me how to implement switching focus between windows using the tab key |
Beta Was this translation helpful? Give feedback.
Answered by
ArthurSonzogni
Jul 11, 2024
Replies: 1 comment
-
What about: auto windows = Container::Stacked({
window_1,
window_2,
window_3,
window_4,
window_5,
});
windows |= CatchEvent([=](Event event) {
if (event == Event::Tab) {
windows->SetActiveChild(windows->ChildAt(1));
return true;
}
return false;
}); I guess this could be added as a builtin. Do you want to open a new feature request about this? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SLHome
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What about:
I guess this could be added as a builtin. Do you want to open a new feature request about this?