Event-Driven Programming
GUI programs wait in an event loop and run callbacks when the user clicks or types.
Easy
Never block the event loop with long work — use threads, timers or async, or the window freezes.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.