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

Method add_task

editor/gui/progress_dialog.cpp:109–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void BackgroundProgress::add_task(const String &p_task, const String &p_label, int p_steps) {
110 callable_mp(this, &BackgroundProgress::_add_task).call_deferred(p_task, p_label, p_steps);
111}
112
113void BackgroundProgress::task_step(const String &p_task, int p_step) {
114 //this code is weird, but it prevents deadlock.

Callers 10

initMethod · 0.45
progress_add_taskMethod · 0.45
progress_add_task_bgMethod · 0.45
_import_selectedMethod · 0.45
_install_assetMethod · 0.45
initMethod · 0.45
initMethod · 0.45
initMethod · 0.45

Calls 12

is_flushingMethod · 0.80
add_margin_childMethod · 0.80
call_deferredMethod · 0.45
hasMethod · 0.45
set_maxMethod · 0.45
set_valueMethod · 0.45
add_childMethod · 0.45
set_clip_textMethod · 0.45
showMethod · 0.45
hideMethod · 0.45
move_to_frontMethod · 0.45
grab_focusMethod · 0.45

Tested by

no test coverage detected