Gio.EmblemedIcon.new

function new(icon: Gio.Icon, emblem: Gio.Emblem): Gio.EmblemedIcon {
    // Gjs wrapper for g_emblemed_icon_new()
}
  

Creates a new emblemed icon for icon with the emblem emblem.

Since 2.18

icon

a Gio.Icon

emblem

a Gio.Emblem, or null

Returns

a new Gio.Icon