ui.Thumbnail.unlisten

Deletes callbacks.

UsageReturns
Thumbnail.unlisten(idOrType)
ArgumentTypeDetails
this: ui.widgetui.WidgetThe ui.Widget instance.
idOrTypeString, optionalEither an ID returned by an onEventType() function during callback registration, an event type, or nothing. If an ID is passed, the corresponding callback is deleted. If an event type is passed, all callbacks for that type are deleted. If nothing is passed, all callbacks are deleted.