StatusIcon.newFromPixbuf

Creates a status icon displaying pixbuf.

The image will be scaled down to fit in the available space in the notification area, if necessary.

More...
class StatusIcon
static
newFromPixbuf

Parameters

pixbuf gdkpixbuf.pixbuf.Pixbuf

a #GdkPixbuf

Return Value

Type: gtk.status_icon.StatusIcon

a new #GtkStatusIcon

Detailed Description

Deprecated: Use #GNotification and #GtkApplication to provide status notifications