Gio.EmblemedIcon

const Gio = imports.gi.Gio;

let emblemedIcon = new Gio.EmblemedIcon({
    gicon: value,
});
  

Gio.EmblemedIcon is an implementation of Gio.Icon that supports adding an emblem to an icon. Adding multiple emblems to an icon is ensured via Gio.EmblemedIcon.prototype.add_emblem.

Note that Gio.EmblemedIcon allows no control over the position of the emblems. See also Gio.Emblem for more information.

Hierarchy

  • GObject.Object
    • Gio.EmblemedIcon