Widget.setIcon

Sets a #GIcon for the widget.

class Widget
void
setIcon
()

Parameters

icon gio.icon.Icon

a #GIcon or null