StatusIcon.setFromIconName

void setFromIconName(string iconName)

Makes status_icon display the icon named icon_name from the current icon theme. See gtk.status_icon.StatusIcon.newFromIconName for details.

Parameters

iconNamean icon name

Deprecated

Use #GNotification and #GtkApplication to

provide status notifications; you can use gio.notification.Notification.setIcon to associate a #GIcon with a notification