Gtk.IconSource.prototype.get_icon_name

function get_icon_name():String {
    // Gjs wrapper for gtk_icon_source_get_icon_name()
}

Retrieves the source icon name, or null if none is set. The icon_name is not a copy, and should not be modified or expected to persist beyond the lifetime of the icon source.

Returns

icon name. This string must not be modified or freed.