Method

GtkTooltipset_icon_from_stock

deprecated: 3.10 since: 2.12

Declaration [src]

void
gtk_tooltip_set_icon_from_stock (
  GtkTooltip* tooltip,
  const gchar* stock_id,
  GtkIconSize size
)

Description [src]

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

Available since: 2.12

Deprecated since: 3.10

Use gtk_tooltip_set_icon_from_icon_name() instead.

Parameters

stock_id

Type: const gchar*

A stock id, 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).