Method

GtkWindowset_icon_name

Declaration [src]

void
gtk_window_set_icon_name (
  GtkWindow* window,
  const char* 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.

Sets propertyGtk.Window:icon-name

Parameters

name const char*
 

the name of the themed icon

 Can be NULL
 The data is owned by the caller of the function
 The string is a NUL terminated UTF-8 string