ui.Thumbnail.unlisten

Deletes callbacks.

UsageReturns
Thumbnail.unlisten(idOrType)
ArgumentTypeDetails
this: ui.widgetui.Widget

The ui.Widget instance.

idOrTypeString, optional

Either 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.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!