Method

GtkWidgetget_style_context

Declaration [src]

GtkStyleContext*
gtk_widget_get_style_context (
  GtkWidget* widget
)

Description [src]

Returns the style context associated to widget. The returned object is guaranteed to be the same for the lifetime of widget.

Return value

Type: GtkStyleContext

A GtkStyleContext. This memory is owned by widget and must not be freed.

The returned data is owned by the instance.