Gio.Emblem.prototype.get_icon

function get_icon(): Gio.Icon {
    // Gjs wrapper for g_emblem_get_icon()
}
  

Gives back the icon from emblem.

Since 2.18

Returns

a Gio.Icon. The returned object belongs to the emblem and should not be modified or freed.