Widget.styleAttach
void styleAttach()This function attaches the widget’s #GtkStyle to the widget's #GdkWindow. 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 #GtkWidget) would attach the style itself.
Deprecated
This step is unnecessary with #GtkStyleContext.