Widget.setIcon

void setIcon(gio.icon.Icon icon = null)

Sets a #GIcon for the widget.

Parameters

icona #GIcon or null