Can we focus this window with Ctrl+Tab (or PadMenu + PadFocusPrev/PadFocusNext) Note that NoNavFocus makes the window not reachable with Ctrl+Tab but it can still be focused with mouse or programmatically. If you want a window to never be focused, you may use the e.g. NoInputs flag.
| 14433 | // Note that NoNavFocus makes the window not reachable with Ctrl+Tab but it can still be focused with mouse or programmatically. |
| 14434 | // If you want a window to never be focused, you may use the e.g. NoInputs flag. |
| 14435 | bool ImGui::IsWindowNavFocusable(ImGuiWindow* window) |
| 14436 | { |
| 14437 | return window->WasActive && window == window->RootWindow && !(window->Flags & ImGuiWindowFlags_NoNavFocus); |
| 14438 | } |
| 14439 | |
| 14440 | static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N) |
| 14441 | { |
nothing calls this directly
no outgoing calls
no test coverage detected