Gio.FileIcon.prototype.get_file

function get_file(): Gio.File {
    // Gjs wrapper for g_file_icon_get_file()
}
  

Gets the Gio.File associated with the given icon.

Returns

a Gio.File, or null.