Method

GtkTooltipset_icon_from_icon_name

since: 2.14

Declaration [src]

void
gtk_tooltip_set_icon_from_icon_name (
  GtkTooltip* tooltip,
  const gchar* icon_name,
  GtkIconSize size
)

Description [src]

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

Available since: 2.14

Parameters

icon_name

Type: const gchar*

An icon name, or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
size

Type: GtkIconSize

A stock icon size (GtkIconSize).