Support for widget events.