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 first user input; displaying a first node for receiving user interface events in a block diagram for the graphical program in response to second user input; receiving third user input explicitly specifying one or more user interface events to configure for the first node, wherein said receiving the third user input explicitly specifying the one or more user interface events to configure for the first node is performed independently of configuring other nodes in the block diagram of the graphical program; configuring the first node to receive the one or more user interface events explicitly specified by the third user input during execution of the graphical program; and associating one or more portions of graphical code with the first node in response to fourth user input, wherein each portion of graphical code comprises one or more nodes for responding to one or more of the user interface events which the first node is configured to receive.