Embodiments of the present invention provide an intuitive method for the specification of a design as follows. A widget is added to the design at the direction of a user. The widget has an event and an event handler. A second widget is added to the design. The design is exported from a design program and an instantiation of the design is created that is capable of being rendered by an external player. Executing the event handler adds a second event handler to a second widget in the instantiation of the design.