Widget.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.

More...
class Widget
void
styleAttach
()

Detailed Description

Deprecated: This step is unnecessary with #GtkStyleContext.

Meta

Since

2.20