Tooltip.setIconFromGicon

Sets the icon of the tooltip (which is in front of the text) to be the icon indicated by gicon with the size indicated by size. If gicon is null, the image will be hidden.

class Tooltip
void
setIconFromGicon

Parameters

gicon gio.icon.Icon

a #GIcon representing the icon, or null

size gtk.types.IconSize

a stock icon size (#GtkIconSize)