NumerableIcon.newWithStyleContext

gio.icon.Icon newWithStyleContext(gio.icon.Icon baseIcon, gtk.style_context.StyleContext context)

Creates a new #GtkNumerableIcon which will themed according to the passed #GtkStyleContext. This is a convenience constructor that calls [gtk.numerable_icon.NumerableIcon.setStyleContext] internally.

Parameters

baseIcona #GIcon to overlay on
contexta #GtkStyleContext

Returns

a new #GIcon