You create an initial root window and then multiple widgets (such as Labels, Buttons, Events).
You have to pack each one of them and can do it in several ways that I'm aware of.
Button(root, text="Button1", command=something).pack()
or
btn1 = Button(root, text="Button1", command=something)
btn1.pack()
Is it possible to pack multiple widgets that are assigned to "root" in one swoop without using a for loop and explicitly naming the items, like this:
for item in [btn1, btn2, label1, label2]:
item.pack()
sorted(root.children)
because that's actually in reverse order. – Ity