NumerableIcon.newWithStyleContext

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.

class NumerableIcon
static
newWithStyleContext

Parameters

baseIcon gio.icon.Icon

a #GIcon to overlay on

context gtk.style_context.StyleContext

a #GtkStyleContext

Return Value

Type: gio.icon.Icon

a new #GIcon