extends VBoxContainer func populate(_data): var TaskCategory = load("res://screens/TaskManager/TaskCategory.tscn") var tabs = $"%Tabs" for i in range(DataHelpers.Frequency.SIZE): var cat = TaskCategory.instance() cat.name = DataHelpers.frequency(i).replace("\n", " ") cat.populate(i) tabs.add_child(cat)