Method

GtkWidgetensure_style

deprecated: 3.0 

Declaration [src]

void
gtk_widget_ensure_style (
  GtkWidget* widget
)

Description [src]

Ensures that widget has a style (widget->style).

Not a very useful function; most of the time, if you want the style, the widget is realized, and realized widgets are guaranteed to have a style already.

Deprecated since: 3.0

Use GtkStyleContext instead.