StatusIcon.newFromFile

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.

More...
class StatusIcon
static
newFromFile
(
string filename
)

Parameters

filename string

a filename

Return Value

Type: gtk.status_icon.StatusIcon

a new #GtkStatusIcon

Detailed Description

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