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

Method queue_sort

scene/gui/container.cpp:138–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void Container::queue_sort() {
139 if (!is_inside_tree()) {
140 return;
141 }
142
143 if (pending_sort) {
144 return;
145 }
146
147 callable_mp(this, &Container::_sort_children).call_deferred();
148 pending_sort = true;
149}
150
151Control *Container::as_sortable_control(Node *p_node, SortableVisibilityMode p_visibility_mode) const {
152 Control *c = Object::cast_to<Control>(p_node);

Callers 4

gui_inputMethod · 0.80

Calls 1

call_deferredMethod · 0.45

Tested by

no test coverage detected