All Questions
Tagged with event-programming programming-languages
4 questions
58
votes
8
answers
9k
views
Are events only used for GUI programming?
Are events only used for GUI programming?
How do you handle in normal backend programming when something happens to this other thing?
66
votes
6
answers
24k
views
Is an event loop just a for/while loop with optimized polling?
I'm trying to understand what an event loop is. Often the explanation is that in an event loop, you do something until you're notified that an event has occurred. You then handle the event and ...
1
vote
3
answers
2k
views
Do all programs run in a loop? [closed]
I was wondering whether all programs run in a Loop, checking for variable changes then acting upon said changes followed by another Loop. Or do they run in a While statement, waiting for a variable to ...
1
vote
2
answers
243
views
Where is interface between button click and event raising defined
When I click on button, might be in windows apps, web apps, etc it has some animation to actually see it clicked and event is raised in background. I've knowledge of events and its attaching to button ...