Gtk.Widget.prototype.unrealize

function unrealize():void {
    // Gjs wrapper for gtk_widget_unrealize()
}

This function is only useful in widget implementations. Causes a widget to be unrealized (frees all GDK resources associated with the widget, such as widget->window).