Constructor

GtkStatusIconnew_from_gicon

deprecated: 3.14 since: 2.14

Declaration [src]

GtkStatusIcon*
gtk_status_icon_new_from_gicon (
  GIcon* icon
)

Description [src]

Creates a status icon displaying a GIcon. If the icon is a themed icon, it will be updated when the theme changes.

Available since: 2.14

Deprecated since: 3.14

Use GNotification and GtkApplication to provide status notifications.

Parameters

icon

Type: GIcon

A GIcon.

The data is owned by the caller of the function.

Return value

Type: GtkStatusIcon

A new GtkStatusIcon.

The caller of the function takes ownership of the data, and is responsible for freeing it.