Method

GtkWindowset_icon_name

since: 2.6

Declaration [src]

void
gtk_window_set_icon_name (
  GtkWindow* window,
  const gchar* name
)

Description [src]

Sets the icon for the window from a named themed icon. See the docs for GtkIconTheme 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.

Available since: 2.6

Sets propertyGtk.Window:icon-name

Parameters

name

Type: const gchar*

The name of the themed icon.

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