rc_get_style


Description:


public unowned Style rc_get_style (Widget widget)

Finds all matching RC styles for a given widget, composites them together, and then creates a Style representing the composite appearance.

Note:

Use GtkStyleContext instead

(GTK+ actually keeps a cache of previously created styles, so a new style may not be created.)

Parameters:

widget

a Widget

Returns:

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.


Namespace: Gtk
Package: gtk+-2.0