Usually used for input element such as a textbox, this event triggers actions when the focus leaves a widget. This action is the opposite of the onfocus event.