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

Method editor_set_section_unfold

core/object/object.cpp:1759–1769  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1757
1758#ifdef TOOLS_ENABLED
1759void Object::editor_set_section_unfold(const String &p_section, bool p_unfolded, bool p_initializing) {
1760 if (!p_initializing) {
1761 set_edited(true);
1762 }
1763
1764 if (p_unfolded) {
1765 editor_section_folding.insert(p_section);
1766 } else {
1767 editor_section_folding.erase(p_section);
1768 }
1769}
1770
1771bool Object::editor_is_section_unfolded(const String &p_section) {
1772 return editor_section_folding.has(p_section);

Callers 9

_edit_pressedMethod · 0.80
unfoldMethod · 0.80
foldMethod · 0.80
_add_meta_confirmMethod · 0.80
_resource_selectedMethod · 0.80
fold_resourceMethod · 0.80
_edit_pressedMethod · 0.80
_set_unfoldsMethod · 0.80
_do_object_unfoldsMethod · 0.80

Calls 2

insertMethod · 0.45
eraseMethod · 0.45

Tested by 3

unfoldMethod · 0.64
foldMethod · 0.64
_add_meta_confirmMethod · 0.64