Function

GtkNumerableIconnew_with_style_context

deprecated: 3.14 since: 3.0

Declaration [src]

GIcon*
gtk_numerable_icon_new_with_style_context (
  GIcon* base_icon,
  GtkStyleContext* context
)

Description [src]

Creates a new GtkNumerableIcon which will themed according to the passed GtkStyleContext. This is a convenience constructor that calls gtk_numerable_icon_set_style_context() internally.

Available since: 3.0

Deprecated since: 3.14

Please do not use it in newly written code.

Parameters

base_icon

Type: GIcon

A GIcon to overlay on.

The data is owned by the caller of the function.
context

Type: GtkStyleContext

A GtkStyleContext.

The data is owned by the caller of the function.

Return value

Type: GIcon

A new GIcon.

The caller of the function takes ownership of the data, and is responsible for freeing it.