Gtk.Window.prototype.get_icon_name

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

Returns the name of the themed icon for the window, see Gtk.set_icon_name.

Since 2.6

Returns

the icon name or null if the window has no themed icon