Gdk.Window.SetIcon Method
Sets the icon of this window as a pixmap or window.

Syntax

public void SetIcon (Window icon_window, Pixmap pixmap, Pixmap mask)

Parameters

icon_window
A Gdk.Window
pixmap
A Gdk.Pixmap
mask
mask bitmap

Remarks

If using GTK+, investigate Gtk.Window.SetDefaultIconList first, and then Gtk.Window.SetIconList and Gtk.Window.SetIcon. If those don't meet your needs, look at Window.SetIconList. Only if all those are too high-level do you want to fall back to this method.

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)
Since: Gtk# 2.4