The occurrences of this pattern are not restricted to GUI programming, however.