Gtk.Widget.prototype.style_attach
function style_attach():void { // Gjs wrapper for gtk_widget_style_attach() }
This function attaches the widget's Gtk.Style to the widget's Gdk.Window. It is a replacement for
<programlisting> widget->style = gtk_style_attach (widget->style, widget->window); </programlisting>
and should only ever be called in a derived widget's "realize" implementation which does not chain up to its parent class' "realize" implementation, because one of the parent classes (finally Gtk.Widget) would attach the style itself.
Since 2.20