Method

Gtk.Widget.get_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

Returns: GtkStyleContext

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

The data is owned by the called function