Gio.Emblem

const Gio = imports.gi.Gio;

let emblem = new Gio.Emblem({
    icon: value,
    origin: value,
});
  

Gio.Emblem is an implementation of Gio.Icon that supports having an emblem, which is an icon with additional properties. It can than be added to a Gio.EmblemedIcon.

Currently, only metainformation about the emblem's origin is supported. More may be added in the future.

Hierarchy

  • GObject.Object
    • Gio.Emblem