Method

GtkNumerableIconset_background_gicon

deprecated: 3.14 since: 3.0

Declaration [src]

void
gtk_numerable_icon_set_background_gicon (
  GtkNumerableIcon* self,
  GIcon* icon
)

Description [src]

Updates the icon to use icon as the base background image. If icon is NULL, self will go back using style information or default theming for its background image.

If this method is called and an icon name was already set as background for the icon, icon will be used, i.e. the last method called between gtk_numerable_icon_set_background_gicon() and gtk_numerable_icon_set_background_icon_name() has always priority.

Available since: 3.0

Deprecated since: 3.14

Please do not use it in newly written code.

Parameters

icon

Type: GIcon

A GIcon, or NULL.

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