StatusIcon.from_stock


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public StatusIcon.from_stock (string stock_id)

Creates a status icon displaying a stock icon.

Note:

Use Notification and Application to provide status notifications

Sample stock icon names are OPEN, QUIT. You can register your own stock icon names, see add_default and add.

Parameters:

stock_id

a stock icon id

Returns:

a new StatusIcon