1. A computer-implemented method for creating a graphical program, the method comprising: creating a graphical user interface for the graphical program in response to user input; displaying an event structure node in a block diagram for the graphical program in response to user input; and configuring the event structure node to receive and respond to one or more user interface events during execution of the graphical program.