Function

Gtkrc_get_style

Declaration [src]

GtkStyle*
gtk_rc_get_style (
  GtkWidget* widget
)

Description [src]

Finds all matching RC styles for a given widget, composites them together, and then creates a GtkStyle representing the composite appearance. (GTK+ actually keeps a cache of previously created styles, so a new style may not be created.)

Deprecated since:3.0

Use GtkStyleContext instead.

Parameters

widget GtkWidget
 

A GtkWidget.

 The data is owned by the caller of the function.

Return value

Returns: GtkStyle
 

The resulting style. No refcount is added to the returned style, so if you want to save this style around, you should add a reference yourself.

 The data is owned by the called function.