Moderator
Posts: 2242 from 2003/2/24
Well actually there is small main-loop at the end of every example waiting just for the user to quit, either by closeing the window or hitting CTRL-C.
Envbrowser.c even has an oldstyle main-loop with input-IDs for every gadget.
But as allready pointed out notification and subclassing can be very powerfull and leads to better code ..... well atleast if done right ;)