[Accessibility] Process non-focusable windows (popups, menus) as part of the parent window tree.

This commit is contained in:
Pāvels Nadtočajevs 2025-07-28 11:27:43 +03:00
parent 0c51ede243
commit 7b47f5e8db
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
8 changed files with 96 additions and 42 deletions

View file

@ -332,6 +332,8 @@ public:
void set_flag(Flags p_flag, bool p_enabled);
bool get_flag(Flags p_flag) const;
bool is_popup() const;
bool is_maximize_allowed() const;
void request_attention();
@ -399,6 +401,7 @@ public:
Window *get_exclusive_child() const { return exclusive_child; }
HashSet<Window *> get_transient_children() const { return transient_children; }
Window *get_parent_visible_window() const;
Window *get_non_popup_window() const;
Viewport *get_parent_viewport() const;
virtual void popup(const Rect2i &p_screen_rect = Rect2i());