Method

GtkStatusIconget_pixbuf

deprecated: 3.14 since: 2.10

Declaration [src]

GdkPixbuf*
gtk_status_icon_get_pixbuf (
  GtkStatusIcon* status_icon
)

Description [src]

Gets the GdkPixbuf being displayed by the GtkStatusIcon. The storage type of the status icon must be GTK_IMAGE_EMPTY or GTK_IMAGE_PIXBUF (see gtk_status_icon_get_storage_type()). The caller of this function does not own a reference to the returned pixbuf.

Available since: 2.10

Deprecated since: 3.14

Use GNotification and GtkApplication to provide status notifications; there is no direct replacement for this function.

Gets propertyGtk.StatusIcon:pixbuf

Return value

Type: GdkPixbuf

The displayed pixbuf, or NULL if the image is empty.

The returned data is owned by the instance.
The return value can be NULL.