Cogl.OnscreenDirtyClosure
const Cogl = imports.gi.Cogl; let onscreenDirtyClosure = new Cogl.OnscreenDirtyClosure();
An opaque type that tracks a Cogl.OnscreenDirtyCallback and associated user data. A Cogl.OnscreenDirtyClosure pointer will be returned from Cogl.Onscreen.prototype.add_dirty_callback and it allows you to remove a callback later using Cogl.Onscreen.prototype.remove_dirty_callback.
Since 1.16