Gtk.Style.prototype.detach

function detach():void {
    // Gjs wrapper for gtk_style_detach()
}

Detaches a style from a window. If the style is not attached to any windows anymore, it is unrealized. See Gtk.attach.