on_event

Execute the specified function when the widget event is fired

Arguments

  1. Widget
  2. Function to call

Output

Boolean

Examples

on_event