StatusIcon.newFromStock

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.

More...
class StatusIcon
static
newFromStock
(
string stockId
)

Parameters

stockId string

a stock icon id

Return Value

Type: gtk.status_icon.StatusIcon

a new #GtkStatusIcon

Detailed Description

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