Gtk.IconInfo.prototype.get_embedded_rect

function get_embedded_rect():Boolean {
    // Gjs wrapper for gtk_icon_info_get_embedded_rect()
}

Gets the coordinates of a rectangle within the icon that can be used for display of information such as a preview of the contents of a text file. See Gtk.set_raw_coordinates for further information about the coordinate system.

Since 2.4

Returns

true if the icon has an embedded rectangle