Method

GdkWindowset_icon_name

Declaration [src]

void
gdk_window_set_icon_name (
  GdkWindow* window,
  const gchar* name
)

Description [src]

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_set_title() will not update the icon title.

Using NULL for name unsets the icon title; further calls to gdk_window_set_title() will again update the icon title as well.

Note that some platforms don’t support window icons.

Parameters

name

Type: const gchar*

Name of window while iconified (minimized).

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.