Window.setIconName

void setIconName(string name = null)

Sets the icon for the window from a named themed icon.

See the docs for [gtk.icon_theme.IconTheme] for more details. On some platforms, the window icon is not used at all.

Note that this has nothing to do with the WM_ICON_NAME property which is mentioned in the ICCCM.

Parameters

namethe name of the themed icon