of user input. That input triggers some code to take an action leading to modified output in the GUI. Then, the program waits for more user input. Another example of event-driven interactions is the ...
Typically, we think of computer programs as being sequential: moving from one block to another, each block transforming inputs to outputs, with continuous "action". GUIs are typically "reactive" or ...