StatusIcon.newFromStock

gtk.status_icon.StatusIcon newFromStock(string stockId)

Creates a status icon displaying a stock icon. Sample stock icon names are #GTK_STOCK_OPEN, #GTK_STOCK_QUIT. You can register your own stock icon names, see [gtk.icon_factory.IconFactory.addDefault] and [gtk.icon_factory.IconFactory.add].

Parameters

stockIda stock icon id

Returns

a new #GtkStatusIcon

Deprecated

Use #GNotification and #GtkApplication to

provide status notifications