StatusIcon.newFromFile

gtk.status_icon.StatusIcon newFromFile(string filename)

Creates a status icon displaying the file filename.

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

Parameters

filenamea filename

Returns

a new #GtkStatusIcon

Deprecated

Use #GNotification and #GtkApplication to

provide status notifications