RcStyle.getStyle

Warning gtk_rc_get_style has been deprecated since version 3.0 and should not be used in newly-written code. Use GtkStyleContext instead 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.)

class RcStyle
deprecated static
getStyle

Parameters

widget Widget

a GtkWidget

Return Value

Type: Style

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. [transfer none]

Meta