StatusIcon.newFromGicon

Creates a status icon displaying a #GIcon. If the icon is a themed icon, it will be updated when the theme changes.

More...
class StatusIcon
static
newFromGicon

Parameters

icon gio.icon.Icon

a #GIcon

Return Value

Type: gtk.status_icon.StatusIcon

a new #GtkStatusIcon

Detailed Description

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