Window.setIconName

Windows may have a name used while minimized, distinct from the name they display in their titlebar. Most of the time this is a bad idea from a user interface standpoint. But you can set such a name with this function, if you like.

After calling this with a non-null name, calls to gdk.window.Window.setTitle will not update the icon title.

Using null for name unsets the icon title; further calls to gdk.window.Window.setTitle will again update the icon title as well.

Note that some platforms don't support window icons.

class Window
void
setIconName
(
string name = null
)

Parameters

name string

name of window while iconified (minimized)