Method

GtkStyleProviderget_style

deprecated: 3.8 since: 3.0

Declaration [src]

GtkStyleProperties*
gtk_style_provider_get_style (
  GtkStyleProvider* provider,
  GtkWidgetPath* path
)

Description [src]

Returns the style settings affecting a widget defined by path, or NULL if provider doesn’t contemplate styling path.

Available since: 3.0

Deprecated since: 3.8

Will always return NULL for all GTK-provided style providers as the interface cannot correctly work the way CSS is specified.

Parameters

path

Type: GtkWidgetPath

GtkWidgetPath to query.

The data is owned by the caller of the method.

Return value

Type: GtkStyleProperties

A GtkStyleProperties containing the style settings affecting path.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.