# psuedo-code Initialization; Create main widget; Create child widgets; MainLoop; exit; Callbacks that do stuff;