Emblem.with_origin


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.18" ) ]
public Emblem.with_origin (Icon icon, EmblemOrigin origin)

Creates a new emblem for icon.

Parameters:

icon

a GIcon containing the icon.

origin

a GEmblemOrigin enum defining the emblem's origin

Returns:

a new Emblem.