Gtk.Widget.prototype.ensure_style

function ensure_style():void {
    // Gjs wrapper for gtk_widget_ensure_style()
}

Ensures that widget has a style (widget->style).

Not a very useful function; most of the time, if you want the style, the widget is realized, and realized widgets are guaranteed to have a style already.