[][src]Type Definition native_windows_gui::EventCallback

type EventCallback<ID> = dyn Fn(&Ui<ID>, &ID, &Event, &EventArgs);

The function signature for the event callback

Arguments:
• 1: A reference to the Ui
• 2: A reference to the ID of the control
• 3: A reference to the event type that was called
• 4: A reference to the arguments passed with the controls