Commonly Used Events Types Repaint events - telling the program a window (or part of it) needs to be redrawn (e.g. cause its contents has changed, or cause it was just exposed). Keyboard/mouse events - we got input form the user into one of the windows controlled by the program, and this input should be processed. Window management events - one of our windows was just moved, resized, got the input focus, etc. Widget events - a higher-level toolkit library recognized that an input event is supposed to invoke some action on a widget.