Method

GtkTooltipset_icon_from_gicon

since: 2.20

Declaration [src]

void
gtk_tooltip_set_icon_from_gicon (
  GtkTooltip* tooltip,
  GIcon* gicon,
  GtkIconSize size
)

Description [src]

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.

Available since: 2.20

Parameters

gicon

Type: GIcon

A GIcon representing the icon, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
size

Type: GtkIconSize

A stock icon size (GtkIconSize)