Widget.setStyle

Warning gtk_widget_set_style has been deprecated since version 3.0 and should not be used in newly-written code. Use GtkStyleContext instead Used to set the GtkStyle for a widget (widget->style). Since GTK 3, this function does nothing, the passed in style is ignored.

class Widget
void
setStyle

Parameters

style Style

a GtkStyle, or NULL to remove the effect of a previous call to gtk_widget_set_style() and go back to the default style. [allow-none]

Meta