rc_get_style


Description:


[ Version ( deprecated = true , deprecated_since = "3.0" ) ]
public unowned Style rc_get_style (Widget widget)

Warning: rc_get_style is deprecated since 3.0.

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

Note:

Use StyleContext 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+-3.0



2022 vala-language.org