| 3768 | } |
| 3769 | |
| 3770 | RID Node::get_accessibility_element() const { |
| 3771 | if (is_part_of_edited_scene()) { |
| 3772 | return RID(); |
| 3773 | } |
| 3774 | if (unlikely(data.accessibility_element.is_null())) { |
| 3775 | Window *w = get_non_popup_window(); |
| 3776 | if (w && w->get_window_id() != DisplayServer::INVALID_WINDOW_ID && get_window()->is_visible()) { |
| 3777 | data.accessibility_element = DisplayServer::get_singleton()->accessibility_create_element(w->get_window_id(), DisplayServer::ROLE_CONTAINER); |
| 3778 | } |
| 3779 | } |
| 3780 | return data.accessibility_element; |
| 3781 | } |
| 3782 | |
| 3783 | void Node::_bind_methods() { |
| 3784 | GLOBAL_DEF(PropertyInfo(Variant::INT, "editor/naming/node_name_num_separator", PROPERTY_HINT_ENUM, "None,Space,Underscore,Dash"), 0); |
no test coverage detected