Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK
GTK.Window

Method GTK.Window()->set_icon()


Method set_icon

GTK.Window set_icon(GDK.Pixmap p, GDK.Bitmap b, GDK.Window w)

Description

Set the icon to the specified image (with mask) or the specified GDK.Window. It is up to the window manager to display the icon. Most window manager handles window and pixmap icons, but only a few can handle the mask argument. If you want a shaped icon, the only safe bet is a shaped window.