This function attaches the widget’s Style to the widget's Window.
This step is unnecessary with GtkStyleContext.
It is a replacement for
widget->style = gtk_style_attach (widget->style, widget->window);
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 Widget) would attach the style itself.
| this |
a Widget |