Method

GtkWidgetset_style

deprecated: 3.0 

Declaration [src]

void
gtk_widget_set_style (
  GtkWidget* widget,
  GtkStyle* style
)

Description [src]

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

Deprecated since: 3.0

Use GtkStyleContext instead.

Sets propertyGtk.Widget:style

Parameters

style

Type: GtkStyle

A GtkStyle, or NULL to remove the effect of a previous call to gtk_widget_set_style() and go back to the default style.

The argument can be NULL.
The data is owned by the caller of the method.