Gio.Emblem.new

function new(icon: Gio.Icon): Gio.Emblem {
    // Gjs wrapper for g_emblem_new()
}
  

Creates a new emblem for icon.

Since 2.18

icon

a GIcon containing the icon.

Returns

a new Gio.Emblem.