Widget.setStyle

void setStyle(gtk.style.Style style = null)

Used to set the #GtkStyle for a widget (widget->style). Since GTK 3, this function does nothing, the passed in style is ignored.

Parameters

stylea #GtkStyle, or null to remove the effect of a previous call to [gtk.widget.Widget.setStyle] and go back to the default style

Deprecated

Use #GtkStyleContext instead