StatusIcon.newFromPixbuf

gtk.status_icon.StatusIcon newFromPixbuf(gdkpixbuf.pixbuf.Pixbuf pixbuf) static nothrow

Creates a status icon displaying pixbuf.

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

Parameters

pixbufa #GdkPixbuf

Returns

a new #GtkStatusIcon

Deprecated

Use #GNotification and #GtkApplication to

provide status notifications