Window.setIcon

Sets the icon of window as a pixmap or window. If using GTK+, investigate gtk_window_set_default_icon_list() first, and then gtk_window_set_icon_list() and gtk_window_set_icon(). If those don't meet your needs, look at gdk_window_set_icon_list(). Only if all those are too high-level do you want to fall back to gdk_window_set_icon().

class Window
void
setIcon

Parameters

iconWindow Window

a GdkWindow to use for the icon, or NULL to unset

pixmap Pixmap

a GdkPixmap to use as the icon, or NULL to unset

mask Bitmap

a 1-bit pixmap (GdkBitmap) to use as mask for pixmap, or NULL to have none

Meta