Gtk.IconSource.prototype.get_filename

function get_filename():filename {
    // Gjs wrapper for gtk_icon_source_get_filename()
}

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

Returns

image filename. This string must not be modified or freed.