MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_accessibility_element

Method get_accessibility_element

scene/main/node.cpp:3770–3781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3768}
3769
3770RID 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
3783void Node::_bind_methods() {
3784 GLOBAL_DEF(PropertyInfo(Variant::INT, "editor/naming/node_name_num_separator", PROPERTY_HINT_ENUM, "None,Space,Underscore,Dash"), 0);

Callers 4

_notificationMethod · 0.45
_notificationMethod · 0.45
_notificationMethod · 0.45
_notificationMethod · 0.45

Calls 5

RIDClass · 0.85
is_nullMethod · 0.45
get_window_idMethod · 0.45
is_visibleMethod · 0.45

Tested by

no test coverage detected