setIconFromGicon

open fun setIconFromGicon(gicon: <Error class: unknown class>? = null)

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.

Parameters

gicon

a GIcon representing the icon